| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
feat(cli-create-command): new create command for zeroyaml in the cli (#4892) <!-- Describe the problem and your solution --> ``` ➜ nango-cli-create-test npx nango create --sync google-calendar calendar-events Created sync: /Users/khaliqgant/Sites/nango-cli-create-test/google-calendar/syncs/calendar-events.ts ➜ nango-cli-create-test npx nango create --action google-calendar create-event Created action: /Users/khaliqgant/Sites/nango-cli-create-test/google-calendar/actions/create-event.ts ➜ nango-cli-create-test pulumi up --replace urn:pulumi:prod::prpm-infra::aws:rds/parameterGroup:ParameterGroup::prpm-prod-db-params ➜ nango-cli-create-test npx nango create --on-event google-calendar validate-credentials ``` <!-- Issue ticket number and link (if applicable) --> <!-- Testing instructions (skip if just adding/editing providers) --> <!-- Summary by @propel-code-bot --> --- **Add `nango create` zero-yaml scaffolding command to CLI** Introduces a new `create` sub-command to the Nango CLI that generates boilerplate TypeScript files (`sync`, `action`, or `on-event`) for zero-yaml integrations. A generation service (`function-create.service.ts`) copies a template, writes it to the correct directory structure, and appends an import to `index.ts`. Supporting constants, ESLint ignores, example comments and CLI wiring are added. <details> <summary><strong>Key Changes</strong></summary> • New service `packages/cli/lib/services/function-create.service.ts` that handles template selection, directory creation, file write and `index.ts` import append • Three scaffolding templates added under `packages/cli/templates/` (`sync.ts`, `action.ts`, `on-event.ts`) • CLI registration of `create` command with `--sync`, `--action`, `--on-event` flags and integration/name args in `packages/cli/lib/index.ts` • Added `templateFolder` constant to `packages/cli/lib/zeroYaml/constants.ts` • Updated `eslint.config.mjs` ignore list to skip `packages/cli/templates/` • Minor comment tweak in example file `packages/cli/example/github/on-events/pre-connection-deletion.ts` </details> <details> <summary><strong>Affected Areas</strong></summary> • `packages/cli/lib/services/function-create.service.ts` • `packages/cli/lib/index.ts` (command registration) • `packages/cli/lib/zeroYaml/constants.ts` • `packages/cli/templates/*` • `eslint.config.mjs` </details> --- *This summary was automatically generated by @propel-code-bot* | 10 个月前 | |
feat(cli-create-command): new create command for zeroyaml in the cli (#4892) <!-- Describe the problem and your solution --> ``` ➜ nango-cli-create-test npx nango create --sync google-calendar calendar-events Created sync: /Users/khaliqgant/Sites/nango-cli-create-test/google-calendar/syncs/calendar-events.ts ➜ nango-cli-create-test npx nango create --action google-calendar create-event Created action: /Users/khaliqgant/Sites/nango-cli-create-test/google-calendar/actions/create-event.ts ➜ nango-cli-create-test pulumi up --replace urn:pulumi:prod::prpm-infra::aws:rds/parameterGroup:ParameterGroup::prpm-prod-db-params ➜ nango-cli-create-test npx nango create --on-event google-calendar validate-credentials ``` <!-- Issue ticket number and link (if applicable) --> <!-- Testing instructions (skip if just adding/editing providers) --> <!-- Summary by @propel-code-bot --> --- **Add `nango create` zero-yaml scaffolding command to CLI** Introduces a new `create` sub-command to the Nango CLI that generates boilerplate TypeScript files (`sync`, `action`, or `on-event`) for zero-yaml integrations. A generation service (`function-create.service.ts`) copies a template, writes it to the correct directory structure, and appends an import to `index.ts`. Supporting constants, ESLint ignores, example comments and CLI wiring are added. <details> <summary><strong>Key Changes</strong></summary> • New service `packages/cli/lib/services/function-create.service.ts` that handles template selection, directory creation, file write and `index.ts` import append • Three scaffolding templates added under `packages/cli/templates/` (`sync.ts`, `action.ts`, `on-event.ts`) • CLI registration of `create` command with `--sync`, `--action`, `--on-event` flags and integration/name args in `packages/cli/lib/index.ts` • Added `templateFolder` constant to `packages/cli/lib/zeroYaml/constants.ts` • Updated `eslint.config.mjs` ignore list to skip `packages/cli/templates/` • Minor comment tweak in example file `packages/cli/example/github/on-events/pre-connection-deletion.ts` </details> <details> <summary><strong>Affected Areas</strong></summary> • `packages/cli/lib/services/function-create.service.ts` • `packages/cli/lib/index.ts` (command registration) • `packages/cli/lib/zeroYaml/constants.ts` • `packages/cli/templates/*` • `eslint.config.mjs` </details> --- *This summary was automatically generated by @propel-code-bot* | 10 个月前 | |
feat(cli-create-command): new create command for zeroyaml in the cli (#4892) <!-- Describe the problem and your solution --> ``` ➜ nango-cli-create-test npx nango create --sync google-calendar calendar-events Created sync: /Users/khaliqgant/Sites/nango-cli-create-test/google-calendar/syncs/calendar-events.ts ➜ nango-cli-create-test npx nango create --action google-calendar create-event Created action: /Users/khaliqgant/Sites/nango-cli-create-test/google-calendar/actions/create-event.ts ➜ nango-cli-create-test pulumi up --replace urn:pulumi:prod::prpm-infra::aws:rds/parameterGroup:ParameterGroup::prpm-prod-db-params ➜ nango-cli-create-test npx nango create --on-event google-calendar validate-credentials ``` <!-- Issue ticket number and link (if applicable) --> <!-- Testing instructions (skip if just adding/editing providers) --> <!-- Summary by @propel-code-bot --> --- **Add `nango create` zero-yaml scaffolding command to CLI** Introduces a new `create` sub-command to the Nango CLI that generates boilerplate TypeScript files (`sync`, `action`, or `on-event`) for zero-yaml integrations. A generation service (`function-create.service.ts`) copies a template, writes it to the correct directory structure, and appends an import to `index.ts`. Supporting constants, ESLint ignores, example comments and CLI wiring are added. <details> <summary><strong>Key Changes</strong></summary> • New service `packages/cli/lib/services/function-create.service.ts` that handles template selection, directory creation, file write and `index.ts` import append • Three scaffolding templates added under `packages/cli/templates/` (`sync.ts`, `action.ts`, `on-event.ts`) • CLI registration of `create` command with `--sync`, `--action`, `--on-event` flags and integration/name args in `packages/cli/lib/index.ts` • Added `templateFolder` constant to `packages/cli/lib/zeroYaml/constants.ts` • Updated `eslint.config.mjs` ignore list to skip `packages/cli/templates/` • Minor comment tweak in example file `packages/cli/example/github/on-events/pre-connection-deletion.ts` </details> <details> <summary><strong>Affected Areas</strong></summary> • `packages/cli/lib/services/function-create.service.ts` • `packages/cli/lib/index.ts` (command registration) • `packages/cli/lib/zeroYaml/constants.ts` • `packages/cli/templates/*` • `eslint.config.mjs` </details> --- *This summary was automatically generated by @propel-code-bot* | 10 个月前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 10 个月前 | ||
| 10 个月前 | ||
| 10 个月前 |