Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@factorialco/gat

Package Overview
Dependencies
Maintainers
3
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@factorialco/gat - npm Package Compare versions

Comparing version 1.4.0 to 1.5.0

2

dist/cli.js

@@ -18,3 +18,3 @@ #!/usr/bin/env node

// NOTE: can we improve this using ts-node or typescript programatically?
const { stdout } = await execPromise(`npx ts-node --swc -T ${templateFile}`);
const { stdout } = await execPromise(`npx ts-node ${process.env["GAT_BUILD_FLAGS"] ?? "--swc -T"} ${templateFile}`);
await writeFilePromise(path_1.default.join(process.cwd(), ".github", "workflows", templateFile.split("/").at(-1).replace(".ts", ".yml")), stdout);

@@ -21,0 +21,0 @@ };

@@ -1,3 +0,3 @@

export declare type EventName = "push" | "pull_request" | "pull_request_review" | "workflow_run" | "workflow_dispatch" | "schedule" | "pull_request_target" | "repository_dispatch";
export declare type EventOptions<T extends EventName> = T extends "push" ? PushEventOptions : T extends "pull_request" ? PullRequestEventOptions : T extends "pull_request_review" ? PullRequestReviewEventOptions : T extends "workflow_run" ? WorkflowRunEventOptions : T extends "workflow_dispatch" ? WorkflowDispatchEventOptions : T extends "schedule" ? ScheduleEventOptions : T extends "repository_dispatch" ? RepositoryDispatchEventOptions : never;
export type EventName = "push" | "pull_request" | "pull_request_review" | "workflow_run" | "workflow_dispatch" | "schedule" | "pull_request_target" | "repository_dispatch";
export type EventOptions<T extends EventName> = T extends "push" ? PushEventOptions : T extends "pull_request" ? PullRequestEventOptions : T extends "pull_request_review" ? PullRequestReviewEventOptions : T extends "workflow_run" ? WorkflowRunEventOptions : T extends "workflow_dispatch" ? WorkflowDispatchEventOptions : T extends "schedule" ? ScheduleEventOptions : T extends "repository_dispatch" ? RepositoryDispatchEventOptions : never;
interface PushEventOptions {

@@ -30,3 +30,3 @@ branches?: string[];

}
declare type ScheduleEventOptions = Array<{
type ScheduleEventOptions = Array<{
cron: string;

@@ -33,0 +33,0 @@ }>;

@@ -38,3 +38,3 @@ export interface ConcurrencyGroup {

}
export declare type StringWithNoSpaces<T> = T extends `${string} ${string}` ? never : T extends ` ${string}` ? never : T extends `${string} ` ? never : T;
export type StringWithNoSpaces<T> = T extends `${string} ${string}` ? never : T extends ` ${string}` ? never : T extends `${string} ` ? never : T;
export interface Job<Step, Runner, Name> {

@@ -41,0 +41,0 @@ name: string;

@@ -10,3 +10,3 @@ export interface BaseStep {

}
export declare type Step = RunStep | UseStep;
export type Step = RunStep | UseStep;
export interface RunStep extends BaseStep {

@@ -13,0 +13,0 @@ run: string;

{
"name": "@factorialco/gat",
"version": "1.4.0",
"version": "1.5.0",
"description": "Write your GitHub Actions workflows using TypeScript",

@@ -29,10 +29,10 @@ "bin": {

"@types/lodash": "^4.14.184",
"@typescript-eslint/eslint-plugin": "^5.35.1",
"@typescript-eslint/parser": "^5.35.1",
"commander": "^9.4.0",
"@typescript-eslint/eslint-plugin": "^6.9.1",
"@typescript-eslint/parser": "^6.9.1",
"commander": "^11.1.0",
"eslint": "^8.23.0",
"eslint-config-prettier": "^8.5.0",
"prettier": "2.7.1",
"typescript": "^4.7.4",
"vitest": "^0.18.1"
"eslint-config-prettier": "^9.0.0",
"prettier": "^3.0.3",
"typescript": "^5.2.2",
"vitest": "^0.34.6"
},

@@ -39,0 +39,0 @@ "dependencies": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc