@cbnventures/nova 0.13.1 → 0.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +48 -0
- package/bin/nova.mjs +3 -0
- package/build/package.json +38 -32
- package/build/src/api/node-releases.d.ts +4 -4
- package/build/src/api/node-releases.d.ts.map +1 -1
- package/build/src/api/node-releases.js +31 -26
- package/build/src/api/node-releases.js.map +1 -1
- package/build/src/api/spdx-licenses.d.ts +4 -4
- package/build/src/api/spdx-licenses.d.ts.map +1 -1
- package/build/src/api/spdx-licenses.js +21 -18
- package/build/src/api/spdx-licenses.js.map +1 -1
- package/build/src/cli/generate/github/funding.d.ts +5 -0
- package/build/src/cli/generate/github/funding.d.ts.map +1 -0
- package/build/src/cli/generate/github/funding.js +68 -0
- package/build/src/cli/generate/github/funding.js.map +1 -0
- package/build/src/cli/generate/github/issue-template.d.ts +5 -0
- package/build/src/cli/generate/github/issue-template.d.ts.map +1 -0
- package/build/src/cli/generate/github/issue-template.js +267 -0
- package/build/src/cli/generate/github/issue-template.js.map +1 -0
- package/build/src/cli/generate/github/workflows.d.ts +10 -0
- package/build/src/cli/generate/github/workflows.d.ts.map +1 -0
- package/build/src/cli/generate/github/workflows.js +464 -0
- package/build/src/cli/generate/github/workflows.js.map +1 -0
- package/build/src/cli/generate/must-haves/agent-conventions.d.ts +5 -0
- package/build/src/cli/generate/must-haves/agent-conventions.d.ts.map +1 -0
- package/build/src/cli/generate/must-haves/agent-conventions.js +114 -0
- package/build/src/cli/generate/must-haves/agent-conventions.js.map +1 -0
- package/build/src/cli/generate/must-haves/dotenv.d.ts +12 -0
- package/build/src/cli/generate/must-haves/dotenv.d.ts.map +1 -0
- package/build/src/cli/generate/must-haves/dotenv.js +504 -0
- package/build/src/cli/generate/must-haves/dotenv.js.map +1 -0
- package/build/src/cli/generate/must-haves/editorconfig.d.ts +5 -0
- package/build/src/cli/generate/must-haves/editorconfig.d.ts.map +1 -0
- package/build/src/cli/generate/must-haves/editorconfig.js +37 -0
- package/build/src/cli/generate/must-haves/editorconfig.js.map +1 -0
- package/build/src/cli/generate/must-haves/gitignore.d.ts +13 -0
- package/build/src/cli/generate/must-haves/gitignore.d.ts.map +1 -0
- package/build/src/cli/generate/must-haves/gitignore.js +446 -0
- package/build/src/cli/generate/must-haves/gitignore.js.map +1 -0
- package/build/src/cli/generate/must-haves/license.d.ts +5 -0
- package/build/src/cli/generate/must-haves/license.d.ts.map +1 -0
- package/build/src/cli/generate/must-haves/license.js +131 -0
- package/build/src/cli/generate/must-haves/license.js.map +1 -0
- package/build/src/cli/generate/must-haves/read-me.d.ts +8 -0
- package/build/src/cli/generate/must-haves/read-me.d.ts.map +1 -0
- package/build/src/cli/generate/must-haves/read-me.js +255 -0
- package/build/src/cli/generate/must-haves/read-me.js.map +1 -0
- package/build/src/cli/index.js +421 -107
- package/build/src/cli/index.js.map +1 -1
- package/build/src/cli/recipe/index.d.ts +3 -0
- package/build/src/cli/recipe/index.d.ts.map +1 -0
- package/build/src/cli/recipe/index.js +57 -0
- package/build/src/cli/recipe/index.js.map +1 -0
- package/build/src/cli/recipe/package-json/cleanup.d.ts +8 -0
- package/build/src/cli/recipe/package-json/cleanup.d.ts.map +1 -0
- package/build/src/cli/recipe/package-json/cleanup.js +183 -0
- package/build/src/cli/recipe/package-json/cleanup.js.map +1 -0
- package/build/src/cli/recipe/package-json/normalize-artifacts.d.ts +8 -0
- package/build/src/cli/recipe/package-json/normalize-artifacts.d.ts.map +1 -0
- package/build/src/cli/recipe/package-json/normalize-artifacts.js +250 -0
- package/build/src/cli/recipe/package-json/normalize-artifacts.js.map +1 -0
- package/build/src/cli/recipe/package-json/normalize-bundler.d.ts +6 -0
- package/build/src/cli/recipe/package-json/normalize-bundler.d.ts.map +1 -0
- package/build/src/cli/recipe/package-json/normalize-bundler.js +146 -0
- package/build/src/cli/recipe/package-json/normalize-bundler.js.map +1 -0
- package/build/src/cli/recipe/package-json/normalize-dependencies.d.ts +9 -0
- package/build/src/cli/recipe/package-json/normalize-dependencies.d.ts.map +1 -0
- package/build/src/cli/recipe/package-json/normalize-dependencies.js +268 -0
- package/build/src/cli/recipe/package-json/normalize-dependencies.js.map +1 -0
- package/build/src/cli/recipe/package-json/normalize-modules.d.ts +6 -0
- package/build/src/cli/recipe/package-json/normalize-modules.d.ts.map +1 -0
- package/build/src/cli/recipe/package-json/normalize-modules.js +263 -0
- package/build/src/cli/recipe/package-json/normalize-modules.js.map +1 -0
- package/build/src/cli/recipe/package-json/normalize-tooling.d.ts +7 -0
- package/build/src/cli/recipe/package-json/normalize-tooling.d.ts.map +1 -0
- package/build/src/cli/recipe/package-json/normalize-tooling.js +163 -0
- package/build/src/cli/recipe/package-json/normalize-tooling.js.map +1 -0
- package/build/src/cli/recipe/package-json/sync-environment.d.ts +9 -0
- package/build/src/cli/recipe/package-json/sync-environment.d.ts.map +1 -0
- package/build/src/cli/recipe/package-json/sync-environment.js +283 -0
- package/build/src/cli/recipe/package-json/sync-environment.js.map +1 -0
- package/build/src/cli/recipe/package-json/sync-identity.d.ts +6 -0
- package/build/src/cli/recipe/package-json/sync-identity.d.ts.map +1 -0
- package/build/src/cli/recipe/package-json/sync-identity.js +224 -0
- package/build/src/cli/recipe/package-json/sync-identity.js.map +1 -0
- package/build/src/cli/recipe/package-json/sync-ownership.d.ts +6 -0
- package/build/src/cli/recipe/package-json/sync-ownership.d.ts.map +1 -0
- package/build/src/cli/recipe/package-json/sync-ownership.js +349 -0
- package/build/src/cli/recipe/package-json/sync-ownership.js.map +1 -0
- package/build/src/cli/scaffold/app/expressjs.d.ts +5 -0
- package/build/src/cli/scaffold/app/expressjs.d.ts.map +1 -0
- package/build/src/cli/scaffold/app/expressjs.js +8 -0
- package/build/src/cli/scaffold/app/expressjs.js.map +1 -0
- package/build/src/cli/scaffold/app/nextjs.d.ts +5 -0
- package/build/src/cli/scaffold/app/nextjs.d.ts.map +1 -0
- package/build/src/cli/scaffold/app/nextjs.js +8 -0
- package/build/src/cli/scaffold/app/nextjs.js.map +1 -0
- package/build/src/cli/scaffold/app/vite.d.ts +5 -0
- package/build/src/cli/scaffold/app/vite.d.ts.map +1 -0
- package/build/src/cli/scaffold/app/vite.js +8 -0
- package/build/src/cli/scaffold/app/vite.js.map +1 -0
- package/build/src/cli/scaffold/app/workers.d.ts +5 -0
- package/build/src/cli/scaffold/app/workers.d.ts.map +1 -0
- package/build/src/cli/scaffold/app/workers.js +8 -0
- package/build/src/cli/scaffold/app/workers.js.map +1 -0
- package/build/src/cli/scaffold/docs/docusaurus.d.ts +5 -0
- package/build/src/cli/scaffold/docs/docusaurus.d.ts.map +1 -0
- package/build/src/cli/scaffold/docs/docusaurus.js +8 -0
- package/build/src/cli/scaffold/docs/docusaurus.js.map +1 -0
- package/build/src/cli/scaffold/starter/base.d.ts +5 -0
- package/build/src/cli/scaffold/starter/base.d.ts.map +1 -0
- package/build/src/cli/scaffold/starter/base.js +132 -0
- package/build/src/cli/scaffold/starter/base.js.map +1 -0
- package/build/src/cli/utility/changelog.d.ts +3 -3
- package/build/src/cli/utility/changelog.d.ts.map +1 -1
- package/build/src/cli/utility/changelog.js +207 -173
- package/build/src/cli/utility/changelog.js.map +1 -1
- package/build/src/cli/utility/initialize.d.ts +6 -3
- package/build/src/cli/utility/initialize.d.ts.map +1 -1
- package/build/src/cli/utility/initialize.js +1194 -284
- package/build/src/cli/utility/initialize.js.map +1 -1
- package/build/src/cli/utility/run-recipes.d.ts +5 -0
- package/build/src/cli/utility/run-recipes.d.ts.map +1 -0
- package/build/src/cli/utility/run-recipes.js +43 -0
- package/build/src/cli/utility/run-recipes.js.map +1 -0
- package/build/src/cli/utility/run-scripts.d.ts +10 -0
- package/build/src/cli/utility/run-scripts.d.ts.map +1 -0
- package/build/src/cli/utility/run-scripts.js +257 -0
- package/build/src/cli/utility/run-scripts.js.map +1 -0
- package/build/src/cli/utility/transpile.d.ts +9 -0
- package/build/src/cli/utility/transpile.d.ts.map +1 -0
- package/build/src/cli/utility/transpile.js +64 -0
- package/build/src/cli/utility/transpile.js.map +1 -0
- package/build/src/cli/utility/type-check.d.ts +3 -3
- package/build/src/cli/utility/type-check.d.ts.map +1 -1
- package/build/src/cli/utility/type-check.js +26 -21
- package/build/src/cli/utility/type-check.js.map +1 -1
- package/build/src/cli/utility/version.d.ts +3 -3
- package/build/src/cli/utility/version.d.ts.map +1 -1
- package/build/src/cli/utility/version.js +126 -68
- package/build/src/cli/utility/version.js.map +1 -1
- package/build/src/lib/item.d.ts +31 -24
- package/build/src/lib/item.d.ts.map +1 -1
- package/build/src/lib/item.js +129 -39
- package/build/src/lib/item.js.map +1 -1
- package/build/src/lib/nova-config.d.ts +6 -5
- package/build/src/lib/nova-config.d.ts.map +1 -1
- package/build/src/lib/nova-config.js +252 -69
- package/build/src/lib/nova-config.js.map +1 -1
- package/build/src/lib/regex.d.ts +92 -26
- package/build/src/lib/regex.d.ts.map +1 -1
- package/build/src/lib/regex.js +92 -26
- package/build/src/lib/regex.js.map +1 -1
- package/build/src/lib/scaffold.d.ts +10 -0
- package/build/src/lib/scaffold.d.ts.map +1 -0
- package/build/src/lib/scaffold.js +535 -0
- package/build/src/lib/scaffold.js.map +1 -0
- package/build/src/lib/schema.d.ts +2 -9
- package/build/src/lib/schema.d.ts.map +1 -1
- package/build/src/lib/schema.js +6 -8
- package/build/src/lib/schema.js.map +1 -1
- package/build/src/lib/utility.d.ts +21 -18
- package/build/src/lib/utility.d.ts.map +1 -1
- package/build/src/lib/utility.js +176 -79
- package/build/src/lib/utility.js.map +1 -1
- package/build/src/lib/workflow-templates.d.ts +3 -0
- package/build/src/lib/workflow-templates.d.ts.map +1 -0
- package/build/src/lib/workflow-templates.js +187 -0
- package/build/src/lib/workflow-templates.js.map +1 -0
- package/build/src/presets/eslint/dx-code-style.d.ts +4 -0
- package/build/src/presets/eslint/dx-code-style.d.ts.map +1 -0
- package/build/src/presets/eslint/dx-code-style.js +523 -0
- package/build/src/presets/eslint/dx-code-style.js.map +1 -0
- package/build/src/presets/eslint/dx-ignore.d.ts +4 -0
- package/build/src/presets/eslint/dx-ignore.d.ts.map +1 -0
- package/build/src/presets/eslint/{dx-ignore.mjs → dx-ignore.js} +1 -1
- package/build/src/presets/eslint/dx-ignore.js.map +1 -0
- package/build/src/presets/eslint/fw-docusaurus.d.ts +4 -0
- package/build/src/presets/eslint/fw-docusaurus.d.ts.map +1 -0
- package/build/src/presets/eslint/fw-docusaurus.js +6 -0
- package/build/src/presets/eslint/fw-docusaurus.js.map +1 -0
- package/build/src/presets/eslint/fw-expressjs.d.ts +4 -0
- package/build/src/presets/eslint/fw-expressjs.d.ts.map +1 -0
- package/build/src/presets/eslint/{fw-expressjs.mjs → fw-expressjs.js} +3 -5
- package/build/src/presets/eslint/fw-expressjs.js.map +1 -0
- package/build/src/presets/eslint/fw-nextjs.d.ts +4 -0
- package/build/src/presets/eslint/fw-nextjs.d.ts.map +1 -0
- package/build/src/presets/eslint/{fw-nextjs.mjs → fw-nextjs.js} +3 -5
- package/build/src/presets/eslint/fw-nextjs.js.map +1 -0
- package/build/src/presets/eslint/index.d.ts +16 -0
- package/build/src/presets/eslint/index.d.ts.map +1 -0
- package/build/src/presets/eslint/index.js +16 -0
- package/build/src/presets/eslint/index.js.map +1 -0
- package/build/src/presets/eslint/lang-javascript.d.ts +4 -0
- package/build/src/presets/eslint/lang-javascript.d.ts.map +1 -0
- package/build/src/presets/eslint/lang-javascript.js +34 -0
- package/build/src/presets/eslint/lang-javascript.js.map +1 -0
- package/build/src/presets/eslint/lang-mdx.d.ts +4 -0
- package/build/src/presets/eslint/lang-mdx.d.ts.map +1 -0
- package/build/src/presets/eslint/{lang-mdx.mjs → lang-mdx.js} +4 -8
- package/build/src/presets/eslint/lang-mdx.js.map +1 -0
- package/build/src/presets/eslint/lang-typescript.d.ts +4 -0
- package/build/src/presets/eslint/lang-typescript.d.ts.map +1 -0
- package/build/src/presets/eslint/lang-typescript.js +148 -0
- package/build/src/presets/eslint/lang-typescript.js.map +1 -0
- package/build/src/presets/eslint/runtime-browser.d.ts +4 -0
- package/build/src/presets/eslint/runtime-browser.d.ts.map +1 -0
- package/build/src/presets/eslint/{env-web-worker.mjs → runtime-browser.js} +1 -1
- package/build/src/presets/eslint/runtime-browser.js.map +1 -0
- package/build/src/presets/eslint/runtime-cloudflare-workers.d.ts +4 -0
- package/build/src/presets/eslint/runtime-cloudflare-workers.d.ts.map +1 -0
- package/build/src/presets/eslint/runtime-cloudflare-workers.js +6 -0
- package/build/src/presets/eslint/runtime-cloudflare-workers.js.map +1 -0
- package/build/src/presets/eslint/runtime-edge.d.ts +4 -0
- package/build/src/presets/eslint/runtime-edge.d.ts.map +1 -0
- package/build/src/presets/eslint/{env-edge.mjs → runtime-edge.js} +1 -1
- package/build/src/presets/eslint/runtime-edge.js.map +1 -0
- package/build/src/presets/eslint/runtime-node.d.ts +4 -0
- package/build/src/presets/eslint/runtime-node.d.ts.map +1 -0
- package/build/src/presets/eslint/{env-node.mjs → runtime-node.js} +4 -4
- package/build/src/presets/eslint/runtime-node.js.map +1 -0
- package/build/src/presets/eslint/runtime-service-worker.d.ts +4 -0
- package/build/src/presets/eslint/runtime-service-worker.d.ts.map +1 -0
- package/build/src/presets/eslint/runtime-service-worker.js +3 -0
- package/build/src/presets/eslint/runtime-service-worker.js.map +1 -0
- package/build/src/presets/eslint/runtime-web-worker.d.ts +4 -0
- package/build/src/presets/eslint/runtime-web-worker.d.ts.map +1 -0
- package/build/src/presets/eslint/runtime-web-worker.js +3 -0
- package/build/src/presets/eslint/runtime-web-worker.js.map +1 -0
- package/build/src/presets/eslint/tool-vite.d.ts +4 -0
- package/build/src/presets/eslint/tool-vite.d.ts.map +1 -0
- package/build/src/presets/eslint/{tool-vite.mjs → tool-vite.js} +3 -5
- package/build/src/presets/eslint/tool-vite.js.map +1 -0
- package/build/src/presets/tsconfig/dx-strict.json +1 -0
- package/build/src/presets/tsconfig/runtime-cloudflare-workers.json +12 -0
- package/build/src/presets/tsconfig/{platform-cloudflare-workers.json → runtime-web-worker.json} +2 -2
- package/build/src/rules/eslint/conventions/no-default-export-declaration.d.ts +11 -0
- package/build/src/rules/eslint/conventions/no-default-export-declaration.d.ts.map +1 -0
- package/build/src/rules/eslint/conventions/no-default-export-declaration.js +73 -0
- package/build/src/rules/eslint/conventions/no-default-export-declaration.js.map +1 -0
- package/build/src/rules/eslint/conventions/no-implicit-boolean.d.ts +15 -0
- package/build/src/rules/eslint/conventions/no-implicit-boolean.d.ts.map +1 -0
- package/build/src/rules/eslint/conventions/no-implicit-boolean.js +140 -0
- package/build/src/rules/eslint/conventions/no-implicit-boolean.js.map +1 -0
- package/build/src/rules/eslint/conventions/require-explicit-return.d.ts +15 -0
- package/build/src/rules/eslint/conventions/require-explicit-return.d.ts.map +1 -0
- package/build/src/rules/eslint/conventions/require-explicit-return.js +184 -0
- package/build/src/rules/eslint/conventions/require-explicit-return.js.map +1 -0
- package/build/src/rules/eslint/conventions/require-hash-private.d.ts +12 -0
- package/build/src/rules/eslint/conventions/require-hash-private.d.ts.map +1 -0
- package/build/src/rules/eslint/conventions/require-hash-private.js +67 -0
- package/build/src/rules/eslint/conventions/require-hash-private.js.map +1 -0
- package/build/src/rules/eslint/conventions/require-kebab-case-filename.d.ts +14 -0
- package/build/src/rules/eslint/conventions/require-kebab-case-filename.d.ts.map +1 -0
- package/build/src/rules/eslint/conventions/require-kebab-case-filename.js +95 -0
- package/build/src/rules/eslint/conventions/require-kebab-case-filename.js.map +1 -0
- package/build/src/rules/eslint/conventions/require-naming-convention.d.ts +34 -0
- package/build/src/rules/eslint/conventions/require-naming-convention.d.ts.map +1 -0
- package/build/src/rules/eslint/conventions/require-naming-convention.js +382 -0
- package/build/src/rules/eslint/conventions/require-naming-convention.js.map +1 -0
- package/build/src/rules/eslint/conventions/require-undefined-init.d.ts +11 -0
- package/build/src/rules/eslint/conventions/require-undefined-init.d.ts.map +1 -0
- package/build/src/rules/eslint/conventions/require-undefined-init.js +71 -0
- package/build/src/rules/eslint/conventions/require-undefined-init.js.map +1 -0
- package/build/src/rules/eslint/conventions/switch-case-blocks.d.ts +13 -0
- package/build/src/rules/eslint/conventions/switch-case-blocks.d.ts.map +1 -0
- package/build/src/rules/eslint/conventions/switch-case-blocks.js +82 -0
- package/build/src/rules/eslint/conventions/switch-case-blocks.js.map +1 -0
- package/build/src/rules/eslint/formatting/no-complex-arrow-concise.d.ts +15 -0
- package/build/src/rules/eslint/formatting/no-complex-arrow-concise.d.ts.map +1 -0
- package/build/src/rules/eslint/formatting/no-complex-arrow-concise.js +166 -0
- package/build/src/rules/eslint/formatting/no-complex-arrow-concise.js.map +1 -0
- package/build/src/rules/eslint/formatting/no-multiline-strings.d.ts +15 -0
- package/build/src/rules/eslint/formatting/no-multiline-strings.d.ts.map +1 -0
- package/build/src/rules/eslint/formatting/no-multiline-strings.js +162 -0
- package/build/src/rules/eslint/formatting/no-multiline-strings.js.map +1 -0
- package/build/src/rules/eslint/formatting/no-raw-text-in-code.d.ts +11 -0
- package/build/src/rules/eslint/formatting/no-raw-text-in-code.d.ts.map +1 -0
- package/build/src/rules/eslint/formatting/no-raw-text-in-code.js +57 -0
- package/build/src/rules/eslint/formatting/no-raw-text-in-code.js.map +1 -0
- package/build/src/rules/eslint/formatting/no-ternary-in-template-literal.d.ts +11 -0
- package/build/src/rules/eslint/formatting/no-ternary-in-template-literal.d.ts.map +1 -0
- package/build/src/rules/eslint/formatting/no-ternary-in-template-literal.js +55 -0
- package/build/src/rules/eslint/formatting/no-ternary-in-template-literal.js.map +1 -0
- package/build/src/rules/eslint/formatting/require-import-order.d.ts +14 -0
- package/build/src/rules/eslint/formatting/require-import-order.d.ts.map +1 -0
- package/build/src/rules/eslint/formatting/require-import-order.js +187 -0
- package/build/src/rules/eslint/formatting/require-import-order.js.map +1 -0
- package/build/src/rules/eslint/formatting/require-multiline-condition-groups.d.ts +13 -0
- package/build/src/rules/eslint/formatting/require-multiline-condition-groups.d.ts.map +1 -0
- package/build/src/rules/eslint/formatting/require-multiline-condition-groups.js +138 -0
- package/build/src/rules/eslint/formatting/require-multiline-condition-groups.js.map +1 -0
- package/build/src/rules/eslint/formatting/require-multiline-conditions.d.ts +13 -0
- package/build/src/rules/eslint/formatting/require-multiline-conditions.d.ts.map +1 -0
- package/build/src/rules/eslint/formatting/require-multiline-conditions.js +94 -0
- package/build/src/rules/eslint/formatting/require-multiline-conditions.js.map +1 -0
- package/build/src/rules/eslint/formatting/require-padding-lines.d.ts +25 -0
- package/build/src/rules/eslint/formatting/require-padding-lines.d.ts.map +1 -0
- package/build/src/rules/eslint/formatting/require-padding-lines.js +309 -0
- package/build/src/rules/eslint/formatting/require-padding-lines.js.map +1 -0
- package/build/src/rules/eslint/formatting/require-ternary-parens.d.ts +11 -0
- package/build/src/rules/eslint/formatting/require-ternary-parens.d.ts.map +1 -0
- package/build/src/rules/eslint/formatting/require-ternary-parens.js +76 -0
- package/build/src/rules/eslint/formatting/require-ternary-parens.js.map +1 -0
- package/build/src/rules/eslint/index.d.ts +44 -5
- package/build/src/rules/eslint/index.d.ts.map +1 -1
- package/build/src/rules/eslint/index.js +44 -5
- package/build/src/rules/eslint/index.js.map +1 -1
- package/build/src/rules/eslint/jsdoc/require-jsdoc-body.d.ts +15 -0
- package/build/src/rules/eslint/jsdoc/require-jsdoc-body.d.ts.map +1 -0
- package/build/src/rules/eslint/jsdoc/require-jsdoc-body.js +176 -0
- package/build/src/rules/eslint/jsdoc/require-jsdoc-body.js.map +1 -0
- package/build/src/rules/eslint/jsdoc/require-jsdoc-hierarchy.d.ts +26 -0
- package/build/src/rules/eslint/jsdoc/require-jsdoc-hierarchy.d.ts.map +1 -0
- package/build/src/rules/eslint/jsdoc/require-jsdoc-hierarchy.js +495 -0
- package/build/src/rules/eslint/jsdoc/require-jsdoc-hierarchy.js.map +1 -0
- package/build/src/rules/eslint/jsdoc/require-jsdoc-param-alignment.d.ts +12 -0
- package/build/src/rules/eslint/jsdoc/require-jsdoc-param-alignment.d.ts.map +1 -0
- package/build/src/rules/eslint/jsdoc/require-jsdoc-param-alignment.js +144 -0
- package/build/src/rules/eslint/jsdoc/require-jsdoc-param-alignment.js.map +1 -0
- package/build/src/rules/eslint/jsdoc/require-jsdoc-param-name.d.ts +12 -0
- package/build/src/rules/eslint/jsdoc/require-jsdoc-param-name.d.ts.map +1 -0
- package/build/src/rules/eslint/jsdoc/require-jsdoc-param-name.js +97 -0
- package/build/src/rules/eslint/jsdoc/require-jsdoc-param-name.js.map +1 -0
- package/build/src/rules/eslint/jsdoc/require-jsdoc-private.d.ts +11 -0
- package/build/src/rules/eslint/jsdoc/require-jsdoc-private.d.ts.map +1 -0
- package/build/src/rules/eslint/jsdoc/require-jsdoc-private.js +90 -0
- package/build/src/rules/eslint/jsdoc/require-jsdoc-private.js.map +1 -0
- package/build/src/rules/eslint/jsdoc/require-jsdoc-since.d.ts +11 -0
- package/build/src/rules/eslint/jsdoc/require-jsdoc-since.d.ts.map +1 -0
- package/build/src/rules/eslint/jsdoc/require-jsdoc-since.js +88 -0
- package/build/src/rules/eslint/jsdoc/require-jsdoc-since.js.map +1 -0
- package/build/src/rules/eslint/nova/no-logger-dev.d.ts +13 -0
- package/build/src/rules/eslint/nova/no-logger-dev.d.ts.map +1 -0
- package/build/src/rules/eslint/nova/no-logger-dev.js +112 -0
- package/build/src/rules/eslint/nova/no-logger-dev.js.map +1 -0
- package/build/src/rules/eslint/patterns/no-assign-then-return.d.ts +11 -0
- package/build/src/rules/eslint/patterns/no-assign-then-return.d.ts.map +1 -0
- package/build/src/rules/eslint/patterns/no-assign-then-return.js +96 -0
- package/build/src/rules/eslint/patterns/no-assign-then-return.js.map +1 -0
- package/build/src/rules/eslint/patterns/no-await-in-loop.d.ts +17 -0
- package/build/src/rules/eslint/patterns/no-await-in-loop.d.ts.map +1 -0
- package/build/src/rules/eslint/patterns/no-await-in-loop.js +103 -0
- package/build/src/rules/eslint/patterns/no-await-in-loop.js.map +1 -0
- package/build/src/rules/eslint/patterns/no-boolean-var-for-if.d.ts +11 -0
- package/build/src/rules/eslint/patterns/no-boolean-var-for-if.d.ts.map +1 -0
- package/build/src/rules/eslint/patterns/no-boolean-var-for-if.js +100 -0
- package/build/src/rules/eslint/patterns/no-boolean-var-for-if.js.map +1 -0
- package/build/src/rules/eslint/patterns/no-bracket-assignment.d.ts +11 -0
- package/build/src/rules/eslint/patterns/no-bracket-assignment.d.ts.map +1 -0
- package/build/src/rules/eslint/patterns/no-bracket-assignment.js +69 -0
- package/build/src/rules/eslint/patterns/no-bracket-assignment.js.map +1 -0
- package/build/src/rules/eslint/patterns/no-bracket-method-call.d.ts +12 -0
- package/build/src/rules/eslint/patterns/no-bracket-method-call.d.ts.map +1 -0
- package/build/src/rules/eslint/patterns/no-bracket-method-call.js +86 -0
- package/build/src/rules/eslint/patterns/no-bracket-method-call.js.map +1 -0
- package/build/src/rules/eslint/patterns/no-template-curly-in-string.d.ts +11 -0
- package/build/src/rules/eslint/patterns/no-template-curly-in-string.d.ts.map +1 -0
- package/build/src/rules/eslint/patterns/no-template-curly-in-string.js +77 -0
- package/build/src/rules/eslint/patterns/no-template-curly-in-string.js.map +1 -0
- package/build/src/rules/eslint/patterns/no-use-before-define.d.ts +15 -0
- package/build/src/rules/eslint/patterns/no-use-before-define.d.ts.map +1 -0
- package/build/src/rules/eslint/patterns/no-use-before-define.js +148 -0
- package/build/src/rules/eslint/patterns/no-use-before-define.js.map +1 -0
- package/build/src/rules/eslint/regex/no-regex-literal-flags.d.ts +11 -0
- package/build/src/rules/eslint/regex/no-regex-literal-flags.d.ts.map +1 -0
- package/build/src/rules/eslint/regex/no-regex-literal-flags.js +55 -0
- package/build/src/rules/eslint/regex/no-regex-literal-flags.js.map +1 -0
- package/build/src/rules/eslint/regex/no-regex-literals.d.ts +12 -0
- package/build/src/rules/eslint/regex/no-regex-literals.d.ts.map +1 -0
- package/build/src/rules/eslint/regex/no-regex-literals.js +72 -0
- package/build/src/rules/eslint/regex/no-regex-literals.js.map +1 -0
- package/build/src/rules/eslint/safety/no-script-url.d.ts +12 -0
- package/build/src/rules/eslint/safety/no-script-url.d.ts.map +1 -0
- package/build/src/rules/eslint/safety/no-script-url.js +71 -0
- package/build/src/rules/eslint/safety/no-script-url.js.map +1 -0
- package/build/src/rules/eslint/syntax/no-destructuring.d.ts +21 -0
- package/build/src/rules/eslint/syntax/no-destructuring.d.ts.map +1 -0
- package/build/src/rules/eslint/syntax/no-destructuring.js +219 -0
- package/build/src/rules/eslint/syntax/no-destructuring.js.map +1 -0
- package/build/src/rules/eslint/syntax/no-numeric-literals.d.ts +14 -0
- package/build/src/rules/eslint/syntax/no-numeric-literals.d.ts.map +1 -0
- package/build/src/rules/eslint/syntax/no-numeric-literals.js +108 -0
- package/build/src/rules/eslint/syntax/no-numeric-literals.js.map +1 -0
- package/build/src/rules/eslint/syntax/no-optional-chaining.d.ts +11 -0
- package/build/src/rules/eslint/syntax/no-optional-chaining.d.ts.map +1 -0
- package/build/src/rules/eslint/syntax/no-optional-chaining.js +51 -0
- package/build/src/rules/eslint/syntax/no-optional-chaining.js.map +1 -0
- package/build/src/rules/eslint/syntax/no-rest-params.d.ts +15 -0
- package/build/src/rules/eslint/syntax/no-rest-params.d.ts.map +1 -0
- package/build/src/rules/eslint/syntax/no-rest-params.js +158 -0
- package/build/src/rules/eslint/syntax/no-rest-params.js.map +1 -0
- package/build/src/rules/eslint/typescript/no-catch-unknown-annotation.d.ts +11 -0
- package/build/src/rules/eslint/typescript/no-catch-unknown-annotation.d.ts.map +1 -0
- package/build/src/rules/eslint/typescript/no-catch-unknown-annotation.js +65 -0
- package/build/src/rules/eslint/typescript/no-catch-unknown-annotation.js.map +1 -0
- package/build/src/rules/eslint/typescript/no-explicit-any.d.ts +11 -0
- package/build/src/rules/eslint/typescript/no-explicit-any.d.ts.map +1 -0
- package/build/src/rules/eslint/typescript/no-explicit-any.js +51 -0
- package/build/src/rules/eslint/typescript/no-explicit-any.js.map +1 -0
- package/build/src/rules/eslint/typescript/no-inline-type-annotation.d.ts +16 -0
- package/build/src/rules/eslint/typescript/no-inline-type-annotation.d.ts.map +1 -0
- package/build/src/rules/eslint/typescript/no-inline-type-annotation.js +186 -0
- package/build/src/rules/eslint/typescript/no-inline-type-annotation.js.map +1 -0
- package/build/src/rules/eslint/typescript/no-shared-type-import.d.ts +12 -0
- package/build/src/rules/eslint/typescript/no-shared-type-import.d.ts.map +1 -0
- package/build/src/rules/eslint/typescript/no-shared-type-import.js +71 -0
- package/build/src/rules/eslint/typescript/no-shared-type-import.js.map +1 -0
- package/build/src/rules/eslint/typescript/require-bracket-property-access.d.ts +12 -0
- package/build/src/rules/eslint/typescript/require-bracket-property-access.d.ts.map +1 -0
- package/build/src/rules/eslint/typescript/require-bracket-property-access.js +115 -0
- package/build/src/rules/eslint/typescript/require-bracket-property-access.js.map +1 -0
- package/build/src/rules/eslint/typescript/require-type-naming.d.ts +12 -0
- package/build/src/rules/eslint/typescript/require-type-naming.d.ts.map +1 -0
- package/build/src/rules/eslint/typescript/require-type-naming.js +98 -0
- package/build/src/rules/eslint/typescript/require-type-naming.js.map +1 -0
- package/build/src/toolkit/bootstrap.d.ts +13 -0
- package/build/src/toolkit/bootstrap.d.ts.map +1 -0
- package/build/src/toolkit/bootstrap.js +175 -0
- package/build/src/toolkit/bootstrap.js.map +1 -0
- package/build/src/toolkit/cli-header.d.ts +5 -4
- package/build/src/toolkit/cli-header.d.ts.map +1 -1
- package/build/src/toolkit/cli-header.js +77 -63
- package/build/src/toolkit/cli-header.js.map +1 -1
- package/build/src/toolkit/index.d.ts +1 -0
- package/build/src/toolkit/index.d.ts.map +1 -1
- package/build/src/toolkit/index.js +1 -0
- package/build/src/toolkit/index.js.map +1 -1
- package/build/src/toolkit/logger.d.ts +9 -8
- package/build/src/toolkit/logger.d.ts.map +1 -1
- package/build/src/toolkit/logger.js +51 -32
- package/build/src/toolkit/logger.js.map +1 -1
- package/build/src/toolkit/markdown-table.d.ts +6 -5
- package/build/src/toolkit/markdown-table.d.ts.map +1 -1
- package/build/src/toolkit/markdown-table.js +36 -20
- package/build/src/toolkit/markdown-table.js.map +1 -1
- package/build/src/types/api/node-releases.d.ts +51 -0
- package/build/src/types/api/spdx-licenses.d.ts +41 -0
- package/build/src/types/cli/generate/github/funding.d.ts +59 -0
- package/build/src/types/cli/generate/github/issue-template.d.ts +142 -0
- package/build/src/types/cli/generate/github/workflows.d.ts +336 -0
- package/build/src/types/cli/generate/must-haves/agent-conventions.d.ts +43 -0
- package/build/src/types/cli/generate/must-haves/dotenv.d.ts +414 -0
- package/build/src/types/cli/generate/must-haves/editorconfig.d.ts +33 -0
- package/build/src/types/cli/generate/must-haves/gitignore.d.ts +344 -0
- package/build/src/types/cli/generate/must-haves/license.d.ts +72 -0
- package/build/src/types/cli/generate/must-haves/read-me.d.ts +175 -0
- package/build/src/types/cli/index.d.ts +182 -0
- package/build/src/types/cli/recipe/index.d.ts +36 -0
- package/build/src/types/cli/recipe/package-json/cleanup.d.ts +125 -0
- package/build/src/types/cli/recipe/package-json/normalize-artifacts.d.ts +104 -0
- package/build/src/types/cli/recipe/package-json/normalize-bundler.d.ts +78 -0
- package/build/src/types/cli/recipe/package-json/normalize-dependencies.d.ts +150 -0
- package/build/src/types/cli/recipe/package-json/normalize-modules.d.ts +76 -0
- package/build/src/types/cli/recipe/package-json/normalize-tooling.d.ts +89 -0
- package/build/src/types/cli/recipe/package-json/sync-environment.d.ts +140 -0
- package/build/src/types/cli/recipe/package-json/sync-identity.d.ts +107 -0
- package/build/src/types/cli/recipe/package-json/sync-ownership.d.ts +152 -0
- package/build/src/types/cli/scaffold/app/expressjs.d.ts +21 -0
- package/build/src/types/cli/scaffold/app/nextjs.d.ts +21 -0
- package/build/src/types/cli/scaffold/app/vite.d.ts +21 -0
- package/build/src/types/cli/scaffold/app/workers.d.ts +21 -0
- package/build/src/types/cli/scaffold/docs/docusaurus.d.ts +21 -0
- package/build/src/types/cli/scaffold/starter/base.d.ts +57 -0
- package/build/src/types/cli/utility/changelog.d.ts +381 -0
- package/build/src/types/cli/utility/initialize.d.ts +1185 -0
- package/build/src/types/cli/utility/run-recipes.d.ts +25 -0
- package/build/src/types/cli/utility/run-scripts.d.ts +133 -0
- package/build/src/types/cli/utility/transpile.d.ts +90 -0
- package/build/src/types/cli/utility/type-check.d.ts +88 -0
- package/build/src/types/cli/utility/version.d.ts +286 -0
- package/build/src/types/fetch-response.d.ts +12 -0
- package/build/src/types/lib/item.d.ts +536 -0
- package/build/src/types/lib/nova-config.d.ts +421 -0
- package/build/src/types/lib/scaffold.d.ts +342 -0
- package/build/src/types/lib/utility.d.ts +486 -0
- package/build/src/types/lib/workflow-templates.d.ts +48 -0
- package/build/src/types/presets/eslint/dx-code-style.d.ts +8 -0
- package/build/src/types/presets/eslint/dx-ignore.d.ts +8 -0
- package/build/src/types/presets/eslint/fw-docusaurus.d.ts +8 -0
- package/build/src/types/presets/eslint/fw-expressjs.d.ts +8 -0
- package/build/src/types/presets/eslint/fw-nextjs.d.ts +8 -0
- package/build/src/types/presets/eslint/lang-javascript.d.ts +8 -0
- package/build/src/types/presets/eslint/lang-mdx.d.ts +8 -0
- package/build/src/types/presets/eslint/lang-typescript.d.ts +8 -0
- package/build/src/types/presets/eslint/runtime-browser.d.ts +8 -0
- package/build/src/types/presets/eslint/runtime-cloudflare-workers.d.ts +8 -0
- package/build/src/types/presets/eslint/runtime-edge.d.ts +8 -0
- package/build/src/types/presets/eslint/runtime-node.d.ts +8 -0
- package/build/src/types/presets/eslint/runtime-service-worker.d.ts +8 -0
- package/build/src/types/presets/eslint/runtime-web-worker.d.ts +8 -0
- package/build/src/types/presets/eslint/tool-vite.d.ts +8 -0
- package/build/src/types/rules/eslint/conventions/no-default-export-declaration.d.ts +32 -0
- package/build/src/types/rules/eslint/conventions/no-implicit-boolean.d.ts +72 -0
- package/build/src/types/rules/eslint/conventions/require-explicit-return.d.ts +73 -0
- package/build/src/types/rules/eslint/conventions/require-hash-private.d.ts +31 -0
- package/build/src/types/rules/eslint/conventions/require-kebab-case-filename.d.ts +64 -0
- package/build/src/types/rules/eslint/conventions/require-naming-convention.d.ts +265 -0
- package/build/src/types/rules/eslint/conventions/require-undefined-init.d.ts +30 -0
- package/build/src/types/rules/eslint/conventions/switch-case-blocks.d.ts +48 -0
- package/build/src/types/rules/eslint/formatting/no-complex-arrow-concise.d.ts +74 -0
- package/build/src/types/rules/eslint/formatting/no-multiline-strings.d.ts +104 -0
- package/build/src/types/rules/eslint/formatting/no-raw-text-in-code.d.ts +28 -0
- package/build/src/types/rules/eslint/formatting/no-ternary-in-template-literal.d.ts +26 -0
- package/build/src/types/rules/eslint/formatting/require-import-order.d.ts +91 -0
- package/build/src/types/rules/eslint/formatting/require-multiline-condition-groups.d.ts +64 -0
- package/build/src/types/rules/eslint/formatting/require-multiline-conditions.d.ts +52 -0
- package/build/src/types/rules/eslint/formatting/require-padding-lines.d.ts +212 -0
- package/build/src/types/rules/eslint/formatting/require-ternary-parens.d.ts +32 -0
- package/build/src/types/rules/eslint/jsdoc/require-jsdoc-body.d.ts +56 -0
- package/build/src/types/rules/eslint/jsdoc/require-jsdoc-hierarchy.d.ts +302 -0
- package/build/src/types/rules/eslint/jsdoc/require-jsdoc-param-alignment.d.ts +108 -0
- package/build/src/types/rules/eslint/jsdoc/require-jsdoc-param-name.d.ts +61 -0
- package/build/src/types/rules/eslint/jsdoc/require-jsdoc-private.d.ts +40 -0
- package/build/src/types/rules/eslint/jsdoc/require-jsdoc-since.d.ts +30 -0
- package/build/src/types/rules/eslint/nova/no-logger-dev.d.ts +60 -0
- package/build/src/types/rules/eslint/patterns/no-assign-then-return.d.ts +42 -0
- package/build/src/types/rules/eslint/patterns/no-await-in-loop.d.ts +87 -0
- package/build/src/types/rules/eslint/patterns/no-boolean-var-for-if.d.ts +48 -0
- package/build/src/types/rules/eslint/patterns/no-bracket-assignment.d.ts +34 -0
- package/build/src/types/rules/eslint/patterns/no-bracket-method-call.d.ts +46 -0
- package/build/src/types/rules/eslint/patterns/no-template-curly-in-string.d.ts +32 -0
- package/build/src/types/rules/eslint/patterns/no-use-before-define.d.ts +84 -0
- package/build/src/types/rules/eslint/regex/no-regex-literal-flags.d.ts +26 -0
- package/build/src/types/rules/eslint/regex/no-regex-literals.d.ts +40 -0
- package/build/src/types/rules/eslint/safety/no-script-url.d.ts +37 -0
- package/build/src/types/rules/eslint/syntax/no-destructuring.d.ts +131 -0
- package/build/src/types/rules/eslint/syntax/no-numeric-literals.d.ts +57 -0
- package/build/src/types/rules/eslint/syntax/no-optional-chaining.d.ts +26 -0
- package/build/src/types/rules/eslint/syntax/no-rest-params.d.ts +78 -0
- package/build/src/types/rules/eslint/typescript/no-catch-unknown-annotation.d.ts +30 -0
- package/build/src/types/rules/eslint/typescript/no-explicit-any.d.ts +26 -0
- package/build/src/types/rules/eslint/typescript/no-inline-type-annotation.d.ts +94 -0
- package/build/src/types/rules/eslint/typescript/no-shared-type-import.d.ts +43 -0
- package/build/src/types/rules/eslint/typescript/require-bracket-property-access.d.ts +53 -0
- package/build/src/types/rules/eslint/typescript/require-type-naming.d.ts +51 -0
- package/build/src/types/shared.d.ts +724 -0
- package/build/src/types/tests/api/node-releases.test.d.ts +14 -0
- package/build/src/types/tests/api/spdx-licenses.test.d.ts +18 -0
- package/build/src/types/tests/cli/generate/github/funding.test.d.ts +26 -0
- package/build/src/types/tests/cli/generate/github/issue-template.test.d.ts +14 -0
- package/build/src/types/tests/cli/generate/github/workflows.test.d.ts +38 -0
- package/build/src/types/tests/cli/generate/must-haves/agent-conventions.test.d.ts +32 -0
- package/build/src/types/tests/cli/generate/must-haves/dotenv.test.d.ts +14 -0
- package/build/src/types/tests/cli/generate/must-haves/editorconfig.test.d.ts +22 -0
- package/build/src/types/tests/cli/generate/must-haves/gitignore.test.d.ts +14 -0
- package/build/src/types/tests/cli/generate/must-haves/license.test.d.ts +26 -0
- package/build/src/types/tests/cli/generate/must-haves/read-me.test.d.ts +26 -0
- package/build/src/types/tests/cli/recipe/package-json/cleanup.test.d.ts +42 -0
- package/build/src/types/tests/cli/recipe/package-json/normalize-artifacts.test.d.ts +32 -0
- package/build/src/types/tests/cli/recipe/package-json/normalize-bundler.test.d.ts +32 -0
- package/build/src/types/tests/cli/recipe/package-json/normalize-dependencies.test.d.ts +40 -0
- package/build/src/types/tests/cli/recipe/package-json/normalize-modules.test.d.ts +32 -0
- package/build/src/types/tests/cli/recipe/package-json/normalize-tooling.test.d.ts +32 -0
- package/build/src/types/tests/cli/recipe/package-json/sync-environment.test.d.ts +32 -0
- package/build/src/types/tests/cli/recipe/package-json/sync-identity.test.d.ts +32 -0
- package/build/src/types/tests/cli/recipe/package-json/sync-ownership.test.d.ts +32 -0
- package/build/src/types/tests/cli/scaffold/app/expressjs.test.d.ts +40 -0
- package/build/src/types/tests/cli/scaffold/app/nextjs.test.d.ts +42 -0
- package/build/src/types/tests/cli/scaffold/app/vite.test.d.ts +42 -0
- package/build/src/types/tests/cli/scaffold/app/workers.test.d.ts +40 -0
- package/build/src/types/tests/cli/scaffold/docs/docusaurus.test.d.ts +40 -0
- package/build/src/types/tests/cli/scaffold/starter/base.test.d.ts +40 -0
- package/build/src/types/tests/cli/utility/changelog.test.d.ts +68 -0
- package/build/src/types/tests/cli/utility/initialize.test.d.ts +14 -0
- package/build/src/types/tests/cli/utility/run-recipes.test.d.ts +22 -0
- package/build/src/types/tests/cli/utility/run-scripts.test.d.ts +52 -0
- package/build/src/types/tests/cli/utility/transpile.test.d.ts +26 -0
- package/build/src/types/tests/cli/utility/type-check.test.d.ts +22 -0
- package/build/src/types/tests/cli/utility/version.test.d.ts +12 -0
- package/build/src/types/tests/lib/item.test.d.ts +88 -0
- package/build/src/types/tests/lib/nova-config.test.d.ts +138 -0
- package/build/src/types/tests/lib/regex.test.d.ts +122 -0
- package/build/src/types/tests/lib/scaffold.test.d.ts +26 -0
- package/build/src/types/tests/lib/schema.test.d.ts +36 -0
- package/build/src/types/tests/lib/utility.test.d.ts +324 -0
- package/build/src/types/tests/lib/workflow-templates.test.d.ts +77 -0
- package/build/src/types/tests/rules/eslint/conventions/no-default-export-declaration.test.d.ts +8 -0
- package/build/src/types/tests/rules/eslint/conventions/no-implicit-boolean.test.d.ts +8 -0
- package/build/src/types/tests/rules/eslint/conventions/require-explicit-return.test.d.ts +8 -0
- package/build/src/types/tests/rules/eslint/conventions/require-hash-private.test.d.ts +8 -0
- package/build/src/types/tests/rules/eslint/conventions/require-kebab-case-filename.test.d.ts +8 -0
- package/build/src/types/tests/rules/eslint/conventions/require-naming-convention.test.d.ts +8 -0
- package/build/src/types/tests/rules/eslint/conventions/require-undefined-init.test.d.ts +8 -0
- package/build/src/types/tests/rules/eslint/conventions/switch-case-blocks.test.d.ts +8 -0
- package/build/src/types/tests/rules/eslint/formatting/no-complex-arrow-concise.test.d.ts +8 -0
- package/build/src/types/tests/rules/eslint/formatting/no-multiline-strings.test.d.ts +8 -0
- package/build/src/types/tests/rules/eslint/formatting/no-raw-text-in-code.test.d.ts +8 -0
- package/build/src/types/tests/rules/eslint/formatting/no-ternary-in-template-literal.test.d.ts +8 -0
- package/build/src/types/tests/rules/eslint/formatting/require-import-order.test.d.ts +8 -0
- package/build/src/types/tests/rules/eslint/formatting/require-multiline-condition-groups.test.d.ts +8 -0
- package/build/src/types/tests/rules/eslint/formatting/require-multiline-conditions.test.d.ts +8 -0
- package/build/src/types/tests/rules/eslint/formatting/require-padding-lines.test.d.ts +8 -0
- package/build/src/types/tests/rules/eslint/formatting/require-ternary-parens.test.d.ts +8 -0
- package/build/src/types/tests/rules/eslint/jsdoc/require-jsdoc-body.test.d.ts +8 -0
- package/build/src/types/tests/rules/eslint/jsdoc/require-jsdoc-hierarchy.test.d.ts +8 -0
- package/build/src/types/tests/rules/eslint/jsdoc/require-jsdoc-param-alignment.test.d.ts +8 -0
- package/build/src/types/tests/rules/eslint/jsdoc/require-jsdoc-param-name.test.d.ts +8 -0
- package/build/src/types/tests/rules/eslint/jsdoc/require-jsdoc-private.test.d.ts +8 -0
- package/build/src/types/tests/rules/eslint/jsdoc/require-jsdoc-since.test.d.ts +8 -0
- package/build/src/types/tests/rules/eslint/nova/no-logger-dev.test.d.ts +8 -0
- package/build/src/types/tests/rules/eslint/patterns/no-assign-then-return.test.d.ts +8 -0
- package/build/src/types/tests/rules/eslint/patterns/no-await-in-loop.test.d.ts +8 -0
- package/build/src/types/tests/rules/eslint/patterns/no-boolean-var-for-if.test.d.ts +8 -0
- package/build/src/types/tests/rules/eslint/patterns/no-bracket-assignment.test.d.ts +8 -0
- package/build/src/types/tests/rules/eslint/patterns/no-bracket-method-call.test.d.ts +8 -0
- package/build/src/types/tests/rules/eslint/patterns/no-template-curly-in-string.test.d.ts +8 -0
- package/build/src/types/tests/rules/eslint/patterns/no-use-before-define.test.d.ts +8 -0
- package/build/src/types/tests/rules/eslint/regex/no-regex-literal-flags.test.d.ts +8 -0
- package/build/src/types/tests/rules/eslint/regex/no-regex-literals.test.d.ts +8 -0
- package/build/src/types/tests/rules/eslint/safety/no-script-url.test.d.ts +8 -0
- package/build/src/types/tests/rules/eslint/syntax/no-destructuring.test.d.ts +8 -0
- package/build/src/types/tests/rules/eslint/syntax/no-numeric-literals.test.d.ts +8 -0
- package/build/src/types/tests/rules/eslint/syntax/no-optional-chaining.test.d.ts +8 -0
- package/build/src/types/tests/rules/eslint/syntax/no-rest-params.test.d.ts +8 -0
- package/build/src/types/tests/rules/eslint/typescript/no-catch-unknown-annotation.test.d.ts +8 -0
- package/build/src/types/tests/rules/eslint/typescript/no-explicit-any.test.d.ts +8 -0
- package/build/src/types/tests/rules/eslint/typescript/no-inline-type-annotation.test.d.ts +8 -0
- package/build/src/types/tests/rules/eslint/typescript/no-shared-type-import.test.d.ts +8 -0
- package/build/src/types/tests/rules/eslint/typescript/require-bracket-property-access.test.d.ts +12 -0
- package/build/src/types/tests/rules/eslint/typescript/require-type-naming.test.d.ts +8 -0
- package/build/src/types/tests/toolkit/bootstrap.test.d.ts +108 -0
- package/build/src/types/tests/toolkit/cli-header.test.d.ts +46 -0
- package/build/src/types/tests/toolkit/logger.test.d.ts +20 -0
- package/build/src/types/tests/toolkit/markdown-table.test.d.ts +65 -0
- package/build/src/types/tests/type-declarations.test.d.ts +564 -0
- package/build/src/types/toolkit/bootstrap.d.ts +133 -0
- package/build/src/types/toolkit/cli-header.d.ts +203 -0
- package/build/src/types/toolkit/logger.d.ts +160 -0
- package/build/src/types/toolkit/markdown-table.d.ts +159 -0
- package/build/templates/.novaignore +0 -0
- package/build/templates/generators/github/funding/FUNDING.yml +12 -0
- package/build/templates/generators/github/issue-template/BUG-REPORT.yml +86 -0
- package/build/templates/generators/github/issue-template/FEATURE-REQUEST.yml +61 -0
- package/build/templates/generators/github/issue-template/SUPPORT-REQUEST.yml +50 -0
- package/build/templates/generators/github/issue-template/bug-report-fields/android.yml +16 -0
- package/build/templates/generators/github/issue-template/bug-report-fields/apple.yml +23 -0
- package/build/templates/generators/github/issue-template/bug-report-fields/csharp.yml +20 -0
- package/build/templates/generators/github/issue-template/bug-report-fields/docker.yml +33 -0
- package/build/templates/generators/github/issue-template/bug-report-fields/homebridge.yml +16 -0
- package/build/templates/generators/github/issue-template/bug-report-fields/nodejs.yml +8 -0
- package/build/templates/generators/github/issue-template/bug-report-fields/pfsense.yml +8 -0
- package/build/templates/generators/github/issue-template/bug-report-fields/php.yml +8 -0
- package/build/templates/generators/github/issue-template/bug-report-fields/python.yml +8 -0
- package/build/templates/generators/github/issue-template/bug-report-fields/screenshots.yml +7 -0
- package/build/templates/generators/github/issue-template/bug-report-fields/synology.yml +8 -0
- package/build/templates/generators/github/issue-template/bug-report-fields/web.yml +21 -0
- package/build/templates/generators/github/issue-template/config.yml +1 -0
- package/build/templates/generators/github/issue-template/legal-agreements/bug-report.yml +8 -0
- package/build/templates/generators/github/issue-template/legal-agreements/feature-request.yml +8 -0
- package/build/templates/generators/github/issue-template/legal-agreements/support-request.yml +8 -0
- package/build/templates/generators/github/workflows/check-sponsor-gated-issues/base.yml +57 -0
- package/build/templates/generators/github/workflows/lock-inactive-issues/base.yml +43 -0
- package/build/templates/generators/github/workflows/lock-inactive-issues/triggers/schedule.yml +5 -0
- package/build/templates/generators/github/workflows/publish-to-aws-amplify-nextjs/base.yml +53 -0
- package/build/templates/generators/github/workflows/publish-to-aws-amplify-nextjs/triggers/push.yml +5 -0
- package/build/templates/generators/github/workflows/publish-to-aws-amplify-nextjs/triggers/release.yml +5 -0
- package/build/templates/generators/github/workflows/publish-to-cloudflare-pages-docusaurus/base.yml +62 -0
- package/build/templates/generators/github/workflows/publish-to-cloudflare-pages-docusaurus/triggers/push.yml +5 -0
- package/build/templates/generators/github/workflows/publish-to-cloudflare-pages-docusaurus/triggers/release.yml +5 -0
- package/build/templates/generators/github/workflows/publish-to-docker-hub/base.yml +58 -0
- package/build/templates/generators/github/workflows/publish-to-docker-hub/triggers/release.yml +5 -0
- package/build/templates/generators/github/workflows/publish-to-docker-hub/triggers/workflow-run-any.yml +7 -0
- package/build/templates/generators/github/workflows/publish-to-docker-hub/triggers/workflow-run-failure.yml +8 -0
- package/build/templates/generators/github/workflows/publish-to-docker-hub/triggers/workflow-run-success.yml +8 -0
- package/build/templates/generators/github/workflows/publish-to-github-packages/base.yml +108 -0
- package/build/templates/generators/github/workflows/publish-to-github-packages/triggers/release.yml +5 -0
- package/build/templates/generators/github/workflows/publish-to-github-packages/triggers/workflow-run-any.yml +7 -0
- package/build/templates/generators/github/workflows/publish-to-github-packages/triggers/workflow-run-failure.yml +8 -0
- package/build/templates/generators/github/workflows/publish-to-github-packages/triggers/workflow-run-success.yml +8 -0
- package/build/templates/generators/github/workflows/publish-to-github-pages-docusaurus/base.yml +79 -0
- package/build/templates/generators/github/workflows/publish-to-github-pages-docusaurus/triggers/push.yml +5 -0
- package/build/templates/generators/github/workflows/publish-to-github-pages-docusaurus/triggers/release.yml +5 -0
- package/build/templates/generators/github/workflows/publish-to-npm/base.yml +91 -0
- package/build/templates/generators/github/workflows/publish-to-npm/triggers/release.yml +5 -0
- package/build/templates/generators/github/workflows/publish-to-npm/triggers/workflow-run-any.yml +7 -0
- package/build/templates/generators/github/workflows/publish-to-npm/triggers/workflow-run-failure.yml +8 -0
- package/build/templates/generators/github/workflows/publish-to-npm/triggers/workflow-run-success.yml +8 -0
- package/build/templates/generators/must-haves/agent-conventions/.cursorrules +54 -0
- package/build/templates/generators/must-haves/agent-conventions/AGENTS.md +54 -0
- package/build/templates/generators/must-haves/agent-conventions/CLAUDE.md +54 -0
- package/build/templates/generators/must-haves/agent-conventions/PROJECT_RULES.md +290 -0
- package/build/templates/generators/must-haves/agent-conventions/VISION.md +62 -0
- package/build/templates/generators/must-haves/agent-conventions/conventions/csharp.md +317 -0
- package/build/templates/generators/must-haves/agent-conventions/conventions/css.md +188 -0
- package/build/templates/generators/must-haves/agent-conventions/conventions/docker.md +131 -0
- package/build/templates/generators/must-haves/agent-conventions/conventions/documentation.md +615 -0
- package/build/templates/generators/must-haves/agent-conventions/conventions/java.md +285 -0
- package/build/templates/generators/must-haves/agent-conventions/conventions/kotlin.md +297 -0
- package/build/templates/generators/must-haves/agent-conventions/conventions/php.md +257 -0
- package/build/templates/generators/must-haves/agent-conventions/conventions/python.md +260 -0
- package/build/templates/generators/must-haves/agent-conventions/conventions/shell.md +205 -0
- package/build/templates/generators/must-haves/agent-conventions/conventions/swift.md +312 -0
- package/build/templates/generators/must-haves/agent-conventions/conventions/typescript.md +1530 -0
- package/build/templates/generators/must-haves/agent-conventions/conventions/universal.md +202 -0
- package/build/templates/generators/must-haves/dotenv/.env.sample +14 -0
- package/build/templates/generators/must-haves/editorconfig/.editorconfig +212 -0
- package/build/templates/generators/must-haves/license/AGPL-3.0 +662 -0
- package/build/templates/generators/must-haves/license/Apache-2.0 +202 -0
- package/build/templates/generators/must-haves/license/BSD-2-Clause +25 -0
- package/build/templates/generators/must-haves/license/BSD-3-Clause +29 -0
- package/build/templates/generators/must-haves/license/BSL-1.0 +24 -0
- package/build/templates/generators/must-haves/license/CC0-1.0 +122 -0
- package/build/templates/generators/must-haves/license/EPL-2.0 +278 -0
- package/build/templates/generators/must-haves/license/GPL-2.0 +340 -0
- package/build/templates/generators/must-haves/license/GPL-3.0 +675 -0
- package/build/templates/generators/must-haves/license/LGPL-2.1 +505 -0
- package/build/templates/generators/must-haves/license/MIT +22 -0
- package/build/templates/generators/must-haves/license/MPL-2.0 +374 -0
- package/build/templates/generators/must-haves/license/Proprietary +22 -0
- package/build/templates/generators/must-haves/license/Unlicense +25 -0
- package/build/templates/generators/must-haves/read-me/README.md +17 -0
- package/build/templates/scaffold/app/express/package.json +20 -0
- package/build/templates/scaffold/app/express/src/index.ts +12 -0
- package/build/templates/scaffold/app/express/tsconfig.json +15 -0
- package/build/templates/scaffold/app/nextjs/next.config.mjs +4 -0
- package/build/templates/scaffold/app/nextjs/package.json +22 -0
- package/build/templates/scaffold/app/nextjs/src/app/globals.css +11 -0
- package/build/templates/scaffold/app/nextjs/src/app/layout.tsx +18 -0
- package/build/templates/scaffold/app/nextjs/src/app/page.tsx +8 -0
- package/build/templates/scaffold/app/nextjs/tsconfig.json +26 -0
- package/build/templates/scaffold/app/vite/index.html +12 -0
- package/build/templates/scaffold/app/vite/package.json +17 -0
- package/build/templates/scaffold/app/vite/src/main.ts +5 -0
- package/build/templates/scaffold/app/vite/tsconfig.json +16 -0
- package/build/templates/scaffold/app/vite/vite.config.mts +3 -0
- package/build/templates/scaffold/app/workers/package.json +16 -0
- package/build/templates/scaffold/app/workers/src/index.ts +13 -0
- package/build/templates/scaffold/app/workers/tsconfig.json +17 -0
- package/build/templates/scaffold/app/workers/wrangler.toml +3 -0
- package/build/templates/scaffold/docs/docusaurus/docs/intro.md +9 -0
- package/build/templates/scaffold/docs/docusaurus/docusaurus.config.ts +33 -0
- package/build/templates/scaffold/docs/docusaurus/package.json +20 -0
- package/build/templates/scaffold/docs/docusaurus/sidebars.ts +9 -0
- package/build/templates/scaffold/docs/docusaurus/static/.gitkeep +0 -0
- package/build/templates/scaffold/docs/docusaurus/tsconfig.json +8 -0
- package/package.json +38 -32
- package/build/eslint.config.d.ts +0 -34
- package/build/eslint.config.d.ts.map +0 -1
- package/build/eslint.config.js +0 -40
- package/build/eslint.config.js.map +0 -1
- package/build/src/cli/recipe/pin-versions.d.ts +0 -7
- package/build/src/cli/recipe/pin-versions.d.ts.map +0 -1
- package/build/src/cli/recipe/pin-versions.js +0 -145
- package/build/src/cli/recipe/pin-versions.js.map +0 -1
- package/build/src/cli/recipe/sync-lts-engines.d.ts +0 -6
- package/build/src/cli/recipe/sync-lts-engines.d.ts.map +0 -1
- package/build/src/cli/recipe/sync-lts-engines.js +0 -118
- package/build/src/cli/recipe/sync-lts-engines.js.map +0 -1
- package/build/src/cli/recipe/sync-packages.d.ts +0 -18
- package/build/src/cli/recipe/sync-packages.d.ts.map +0 -1
- package/build/src/cli/recipe/sync-packages.js +0 -1212
- package/build/src/cli/recipe/sync-packages.js.map +0 -1
- package/build/src/presets/eslint/dx-code-style.d.mts +0 -4
- package/build/src/presets/eslint/dx-code-style.d.mts.map +0 -1
- package/build/src/presets/eslint/dx-code-style.mjs +0 -211
- package/build/src/presets/eslint/dx-code-style.mjs.map +0 -1
- package/build/src/presets/eslint/dx-ignore.d.mts +0 -4
- package/build/src/presets/eslint/dx-ignore.d.mts.map +0 -1
- package/build/src/presets/eslint/dx-ignore.mjs.map +0 -1
- package/build/src/presets/eslint/env-browser.d.mts +0 -4
- package/build/src/presets/eslint/env-browser.d.mts.map +0 -1
- package/build/src/presets/eslint/env-browser.mjs +0 -3
- package/build/src/presets/eslint/env-browser.mjs.map +0 -1
- package/build/src/presets/eslint/env-edge.d.mts +0 -4
- package/build/src/presets/eslint/env-edge.d.mts.map +0 -1
- package/build/src/presets/eslint/env-edge.mjs.map +0 -1
- package/build/src/presets/eslint/env-node.d.mts +0 -4
- package/build/src/presets/eslint/env-node.d.mts.map +0 -1
- package/build/src/presets/eslint/env-node.mjs.map +0 -1
- package/build/src/presets/eslint/env-service-worker.d.mts +0 -4
- package/build/src/presets/eslint/env-service-worker.d.mts.map +0 -1
- package/build/src/presets/eslint/env-service-worker.mjs +0 -3
- package/build/src/presets/eslint/env-service-worker.mjs.map +0 -1
- package/build/src/presets/eslint/env-web-worker.d.mts +0 -4
- package/build/src/presets/eslint/env-web-worker.d.mts.map +0 -1
- package/build/src/presets/eslint/env-web-worker.mjs.map +0 -1
- package/build/src/presets/eslint/fw-docusaurus.d.mts +0 -4
- package/build/src/presets/eslint/fw-docusaurus.d.mts.map +0 -1
- package/build/src/presets/eslint/fw-docusaurus.mjs +0 -10
- package/build/src/presets/eslint/fw-docusaurus.mjs.map +0 -1
- package/build/src/presets/eslint/fw-expressjs.d.mts +0 -4
- package/build/src/presets/eslint/fw-expressjs.d.mts.map +0 -1
- package/build/src/presets/eslint/fw-expressjs.mjs.map +0 -1
- package/build/src/presets/eslint/fw-nextjs.d.mts +0 -4
- package/build/src/presets/eslint/fw-nextjs.d.mts.map +0 -1
- package/build/src/presets/eslint/fw-nextjs.mjs.map +0 -1
- package/build/src/presets/eslint/index.d.mts +0 -16
- package/build/src/presets/eslint/index.d.mts.map +0 -1
- package/build/src/presets/eslint/index.mjs +0 -16
- package/build/src/presets/eslint/index.mjs.map +0 -1
- package/build/src/presets/eslint/lang-javascript.d.mts +0 -4
- package/build/src/presets/eslint/lang-javascript.d.mts.map +0 -1
- package/build/src/presets/eslint/lang-javascript.mjs +0 -3
- package/build/src/presets/eslint/lang-javascript.mjs.map +0 -1
- package/build/src/presets/eslint/lang-mdx.d.mts +0 -4
- package/build/src/presets/eslint/lang-mdx.d.mts.map +0 -1
- package/build/src/presets/eslint/lang-mdx.mjs.map +0 -1
- package/build/src/presets/eslint/lang-typescript.d.mts +0 -4
- package/build/src/presets/eslint/lang-typescript.d.mts.map +0 -1
- package/build/src/presets/eslint/lang-typescript.mjs +0 -88
- package/build/src/presets/eslint/lang-typescript.mjs.map +0 -1
- package/build/src/presets/eslint/platform-cloudflare-workers.d.mts +0 -4
- package/build/src/presets/eslint/platform-cloudflare-workers.d.mts.map +0 -1
- package/build/src/presets/eslint/platform-cloudflare-workers.mjs +0 -8
- package/build/src/presets/eslint/platform-cloudflare-workers.mjs.map +0 -1
- package/build/src/presets/eslint/tool-vite.d.mts +0 -4
- package/build/src/presets/eslint/tool-vite.d.mts.map +0 -1
- package/build/src/presets/eslint/tool-vite.mjs.map +0 -1
- package/build/src/presets/tsconfig/env-web-worker.json +0 -12
- package/build/src/rules/eslint/no-logger-dev.d.ts +0 -6
- package/build/src/rules/eslint/no-logger-dev.d.ts.map +0 -1
- package/build/src/rules/eslint/no-logger-dev.js +0 -88
- package/build/src/rules/eslint/no-logger-dev.js.map +0 -1
- package/build/src/rules/eslint/no-raw-text-in-code.d.ts +0 -6
- package/build/src/rules/eslint/no-raw-text-in-code.d.ts.map +0 -1
- package/build/src/rules/eslint/no-raw-text-in-code.js +0 -34
- package/build/src/rules/eslint/no-raw-text-in-code.js.map +0 -1
- package/build/src/rules/eslint/no-regex-literal-flags.d.ts +0 -6
- package/build/src/rules/eslint/no-regex-literal-flags.d.ts.map +0 -1
- package/build/src/rules/eslint/no-regex-literal-flags.js +0 -30
- package/build/src/rules/eslint/no-regex-literal-flags.js.map +0 -1
- package/build/src/rules/eslint/no-regex-literals.d.ts +0 -9
- package/build/src/rules/eslint/no-regex-literals.d.ts.map +0 -1
- package/build/src/rules/eslint/no-regex-literals.js +0 -55
- package/build/src/rules/eslint/no-regex-literals.js.map +0 -1
- package/build/src/rules/eslint/switch-case-blocks.d.ts +0 -6
- package/build/src/rules/eslint/switch-case-blocks.d.ts.map +0 -1
- package/build/src/rules/eslint/switch-case-blocks.js +0 -36
- package/build/src/rules/eslint/switch-case-blocks.js.map +0 -1
- package/build/src/tests/api/node-releases.test.d.ts +0 -2
- package/build/src/tests/api/node-releases.test.d.ts.map +0 -1
- package/build/src/tests/api/node-releases.test.js +0 -193
- package/build/src/tests/api/node-releases.test.js.map +0 -1
- package/build/src/tests/api/spdx-licenses.test.d.ts +0 -2
- package/build/src/tests/api/spdx-licenses.test.d.ts.map +0 -1
- package/build/src/tests/api/spdx-licenses.test.js +0 -91
- package/build/src/tests/api/spdx-licenses.test.js.map +0 -1
- package/build/src/tests/cli/recipe/pin-versions.test.d.ts +0 -2
- package/build/src/tests/cli/recipe/pin-versions.test.d.ts.map +0 -1
- package/build/src/tests/cli/recipe/pin-versions.test.js +0 -197
- package/build/src/tests/cli/recipe/pin-versions.test.js.map +0 -1
- package/build/src/tests/cli/recipe/sync-lts-engines.test.d.ts +0 -2
- package/build/src/tests/cli/recipe/sync-lts-engines.test.d.ts.map +0 -1
- package/build/src/tests/cli/recipe/sync-lts-engines.test.js +0 -131
- package/build/src/tests/cli/recipe/sync-lts-engines.test.js.map +0 -1
- package/build/src/tests/lib/item.test.d.ts +0 -2
- package/build/src/tests/lib/item.test.d.ts.map +0 -1
- package/build/src/tests/lib/item.test.js +0 -142
- package/build/src/tests/lib/item.test.js.map +0 -1
- package/build/src/tests/lib/nova-config.test.d.ts +0 -2
- package/build/src/tests/lib/nova-config.test.d.ts.map +0 -1
- package/build/src/tests/lib/nova-config.test.js +0 -489
- package/build/src/tests/lib/nova-config.test.js.map +0 -1
- package/build/src/tests/lib/regex.test.d.ts +0 -2
- package/build/src/tests/lib/regex.test.d.ts.map +0 -1
- package/build/src/tests/lib/regex.test.js +0 -342
- package/build/src/tests/lib/regex.test.js.map +0 -1
- package/build/src/tests/lib/schema.test.d.ts +0 -2
- package/build/src/tests/lib/schema.test.d.ts.map +0 -1
- package/build/src/tests/lib/schema.test.js +0 -260
- package/build/src/tests/lib/schema.test.js.map +0 -1
- package/build/src/tests/lib/utility.test.d.ts +0 -2
- package/build/src/tests/lib/utility.test.d.ts.map +0 -1
- package/build/src/tests/lib/utility.test.js +0 -744
- package/build/src/tests/lib/utility.test.js.map +0 -1
- package/build/src/tests/rules/eslint/no-logger-dev.test.d.ts +0 -2
- package/build/src/tests/rules/eslint/no-logger-dev.test.d.ts.map +0 -1
- package/build/src/tests/rules/eslint/no-logger-dev.test.js +0 -55
- package/build/src/tests/rules/eslint/no-logger-dev.test.js.map +0 -1
- package/build/src/tests/rules/eslint/no-raw-text-in-code.test.d.ts +0 -2
- package/build/src/tests/rules/eslint/no-raw-text-in-code.test.d.ts.map +0 -1
- package/build/src/tests/rules/eslint/no-raw-text-in-code.test.js +0 -47
- package/build/src/tests/rules/eslint/no-raw-text-in-code.test.js.map +0 -1
- package/build/src/tests/rules/eslint/no-regex-literal-flags.test.d.ts +0 -2
- package/build/src/tests/rules/eslint/no-regex-literal-flags.test.d.ts.map +0 -1
- package/build/src/tests/rules/eslint/no-regex-literal-flags.test.js +0 -47
- package/build/src/tests/rules/eslint/no-regex-literal-flags.test.js.map +0 -1
- package/build/src/tests/rules/eslint/no-regex-literals.test.d.ts +0 -2
- package/build/src/tests/rules/eslint/no-regex-literals.test.d.ts.map +0 -1
- package/build/src/tests/rules/eslint/no-regex-literals.test.js +0 -49
- package/build/src/tests/rules/eslint/no-regex-literals.test.js.map +0 -1
- package/build/src/tests/rules/eslint/switch-case-blocks.test.d.ts +0 -2
- package/build/src/tests/rules/eslint/switch-case-blocks.test.d.ts.map +0 -1
- package/build/src/tests/rules/eslint/switch-case-blocks.test.js +0 -43
- package/build/src/tests/rules/eslint/switch-case-blocks.test.js.map +0 -1
- package/build/src/tests/toolkit/cli-header.test.d.ts +0 -2
- package/build/src/tests/toolkit/cli-header.test.d.ts.map +0 -1
- package/build/src/tests/toolkit/cli-header.test.js +0 -143
- package/build/src/tests/toolkit/cli-header.test.js.map +0 -1
- package/build/src/tests/toolkit/logger.test.d.ts +0 -2
- package/build/src/tests/toolkit/logger.test.d.ts.map +0 -1
- package/build/src/tests/toolkit/logger.test.js +0 -96
- package/build/src/tests/toolkit/logger.test.js.map +0 -1
- package/build/src/tests/toolkit/markdown-table.test.d.ts +0 -2
- package/build/src/tests/toolkit/markdown-table.test.d.ts.map +0 -1
- package/build/src/tests/toolkit/markdown-table.test.js +0 -138
- package/build/src/tests/toolkit/markdown-table.test.js.map +0 -1
- /package/build/src/presets/tsconfig/{env-browser.json → runtime-browser.json} +0 -0
- /package/build/src/presets/tsconfig/{env-edge.json → runtime-edge.json} +0 -0
- /package/build/src/presets/tsconfig/{env-node.json → runtime-node.json} +0 -0
- /package/build/src/presets/tsconfig/{env-service-worker.json → runtime-service-worker.json} +0 -0
package/build/src/cli/index.js
CHANGED
|
@@ -2,43 +2,78 @@
|
|
|
2
2
|
import chalk from 'chalk';
|
|
3
3
|
import { Command } from 'commander';
|
|
4
4
|
import packageJson from '../../package.json' with { type: 'json' };
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
5
|
+
import { LIB_REGEX_PATTERN_ANSI, LIB_REGEX_PATTERN_ERROR_PREFIX, LIB_REGEX_PATTERN_NOVA_PREFIX, LIB_REGEX_PATTERN_WHITESPACE, } from '../lib/regex.js';
|
|
6
|
+
import { Bootstrap, CLIHeader, Logger } from '../toolkit/index.js';
|
|
7
|
+
import { CliGenerateGithubFunding } from './generate/github/funding.js';
|
|
8
|
+
import { CliGenerateGithubIssueTemplate } from './generate/github/issue-template.js';
|
|
9
|
+
import { CliGenerateGithubWorkflows } from './generate/github/workflows.js';
|
|
10
|
+
import { CliGenerateMustHavesAgentConventions } from './generate/must-haves/agent-conventions.js';
|
|
11
|
+
import { CliGenerateMustHavesDotenv } from './generate/must-haves/dotenv.js';
|
|
12
|
+
import { CliGenerateMustHavesEditorconfig } from './generate/must-haves/editorconfig.js';
|
|
13
|
+
import { CliGenerateMustHavesGitignore } from './generate/must-haves/gitignore.js';
|
|
14
|
+
import { CliGenerateMustHavesLicense } from './generate/must-haves/license.js';
|
|
15
|
+
import { CliGenerateMustHavesReadMe } from './generate/must-haves/read-me.js';
|
|
16
|
+
import { CliRecipePackageJsonCleanup } from './recipe/package-json/cleanup.js';
|
|
17
|
+
import { CliRecipePackageJsonNormalizeArtifacts } from './recipe/package-json/normalize-artifacts.js';
|
|
18
|
+
import { CliRecipePackageJsonNormalizeBundler } from './recipe/package-json/normalize-bundler.js';
|
|
19
|
+
import { CliRecipePackageJsonNormalizeDependencies } from './recipe/package-json/normalize-dependencies.js';
|
|
20
|
+
import { CliRecipePackageJsonNormalizeModules } from './recipe/package-json/normalize-modules.js';
|
|
21
|
+
import { CliRecipePackageJsonNormalizeTooling } from './recipe/package-json/normalize-tooling.js';
|
|
22
|
+
import { CliRecipePackageJsonSyncEnvironment } from './recipe/package-json/sync-environment.js';
|
|
23
|
+
import { CliRecipePackageJsonSyncIdentity } from './recipe/package-json/sync-identity.js';
|
|
24
|
+
import { CliRecipePackageJsonSyncOwnership } from './recipe/package-json/sync-ownership.js';
|
|
25
|
+
import { CliScaffoldAppExpressjs } from './scaffold/app/expressjs.js';
|
|
26
|
+
import { CliScaffoldAppNextjs } from './scaffold/app/nextjs.js';
|
|
27
|
+
import { CliScaffoldAppVite } from './scaffold/app/vite.js';
|
|
28
|
+
import { CliScaffoldAppWorkers } from './scaffold/app/workers.js';
|
|
29
|
+
import { CliScaffoldDocsDocusaurus } from './scaffold/docs/docusaurus.js';
|
|
30
|
+
import { CliScaffoldStarterBase } from './scaffold/starter/base.js';
|
|
31
|
+
import { CliUtilityChangelog } from './utility/changelog.js';
|
|
32
|
+
import { CliUtilityInitialize } from './utility/initialize.js';
|
|
33
|
+
import { CliUtilityRunRecipes } from './utility/run-recipes.js';
|
|
34
|
+
import { CliUtilityRunScripts } from './utility/run-scripts.js';
|
|
35
|
+
import { CliUtilityTranspile } from './utility/transpile.js';
|
|
36
|
+
import { CliUtilityTypeCheck } from './utility/type-check.js';
|
|
37
|
+
import { CliUtilityVersion } from './utility/version.js';
|
|
38
|
+
const envDir = Bootstrap.resolveFileDir('nova', '.env', [
|
|
39
|
+
'cwd',
|
|
40
|
+
'project-root',
|
|
41
|
+
'config-dir',
|
|
42
|
+
]);
|
|
43
|
+
if (envDir !== undefined) {
|
|
44
|
+
Bootstrap.loadEnv(envDir);
|
|
45
|
+
}
|
|
14
46
|
class CLI {
|
|
15
47
|
#program = new Command();
|
|
16
48
|
constructor() {
|
|
17
49
|
(async () => {
|
|
50
|
+
const headerText = this.getHeader();
|
|
18
51
|
this.#program
|
|
19
52
|
.name('nova')
|
|
20
53
|
.usage('<command> <subcommand> [options]')
|
|
21
54
|
.description('CLI for the Common Developer')
|
|
22
55
|
.commandsGroup('Commands:')
|
|
23
56
|
.configureOutput({
|
|
24
|
-
writeErr: (
|
|
25
|
-
outputError: (
|
|
57
|
+
writeErr: (text) => process.stdout.write(text),
|
|
58
|
+
outputError: (text) => this.handleCliError(text),
|
|
26
59
|
})
|
|
27
60
|
.configureHelp({
|
|
28
61
|
commandDescription: () => '',
|
|
29
62
|
commandUsage: (command) => this.getCommandUsage(command),
|
|
30
|
-
styleDescriptionText: (
|
|
31
|
-
styleTitle: (
|
|
63
|
+
styleDescriptionText: (text) => this.styleText('description', text),
|
|
64
|
+
styleTitle: (text) => this.styleText('title', text),
|
|
32
65
|
subcommandTerm: (command) => this.getSubcommandTerm(command),
|
|
33
66
|
})
|
|
34
|
-
.addHelpText('beforeAll',
|
|
67
|
+
.addHelpText('beforeAll', headerText)
|
|
35
68
|
.helpCommand(false)
|
|
36
69
|
.helpOption('-h, --help', 'Display the help menu')
|
|
37
70
|
.allowExcessArguments(false)
|
|
38
71
|
.showHelpAfterError();
|
|
39
72
|
this.registerCommands();
|
|
40
73
|
await this.#program.parseAsync(process.argv);
|
|
74
|
+
return;
|
|
41
75
|
})();
|
|
76
|
+
return;
|
|
42
77
|
}
|
|
43
78
|
registerCommands() {
|
|
44
79
|
const generate = this.#program
|
|
@@ -48,54 +83,115 @@ class CLI {
|
|
|
48
83
|
.description('Generate vendor or must-have files for projects')
|
|
49
84
|
.commandsGroup('Subcommands:')
|
|
50
85
|
.helpCommand(false);
|
|
51
|
-
generate
|
|
52
|
-
.command('
|
|
53
|
-
.
|
|
54
|
-
|
|
55
|
-
.
|
|
56
|
-
.
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
.
|
|
60
|
-
|
|
61
|
-
.
|
|
62
|
-
.
|
|
63
|
-
|
|
64
|
-
.
|
|
65
|
-
.
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
.
|
|
71
|
-
.
|
|
72
|
-
|
|
73
|
-
.
|
|
74
|
-
.
|
|
75
|
-
|
|
76
|
-
.
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
.
|
|
81
|
-
|
|
82
|
-
.
|
|
83
|
-
.
|
|
84
|
-
|
|
85
|
-
.
|
|
86
|
-
.
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
.
|
|
92
|
-
.
|
|
93
|
-
|
|
94
|
-
.
|
|
95
|
-
.
|
|
96
|
-
|
|
97
|
-
.command('
|
|
98
|
-
.
|
|
86
|
+
const generateGitHub = generate
|
|
87
|
+
.command('github')
|
|
88
|
+
.alias('gh')
|
|
89
|
+
.usage('<subcommand> [options]')
|
|
90
|
+
.description('Generate GitHub configuration files')
|
|
91
|
+
.commandsGroup('Subcommands:')
|
|
92
|
+
.helpCommand(false);
|
|
93
|
+
generateGitHub
|
|
94
|
+
.command('funding')
|
|
95
|
+
.usage('[options]')
|
|
96
|
+
.description('Create a .github/FUNDING.yml file for sponsor links')
|
|
97
|
+
.option('-d, --dry-run', 'Preview changes without writing files')
|
|
98
|
+
.option('-r, --replace-file', 'Replace the original file without creating a backup')
|
|
99
|
+
.action(async (options) => {
|
|
100
|
+
await this.executeCommand(options, CliGenerateGithubFunding['run']);
|
|
101
|
+
return;
|
|
102
|
+
});
|
|
103
|
+
generateGitHub
|
|
104
|
+
.command('issue-template')
|
|
105
|
+
.alias('issue')
|
|
106
|
+
.usage('[options]')
|
|
107
|
+
.description('Create .github/ISSUE_TEMPLATE files for issue forms')
|
|
108
|
+
.option('-d, --dry-run', 'Preview changes without writing files')
|
|
109
|
+
.option('-r, --replace-file', 'Replace the original file without creating a backup')
|
|
110
|
+
.action(async (options) => {
|
|
111
|
+
await this.executeCommand(options, CliGenerateGithubIssueTemplate['run']);
|
|
112
|
+
return;
|
|
113
|
+
});
|
|
114
|
+
generateGitHub
|
|
115
|
+
.command('workflows')
|
|
116
|
+
.usage('[options]')
|
|
117
|
+
.description('Create .github/workflows files for CI/CD automation')
|
|
118
|
+
.option('-d, --dry-run', 'Preview changes without writing files')
|
|
119
|
+
.option('-r, --replace-file', 'Replace the original file without creating a backup')
|
|
120
|
+
.action(async (options) => {
|
|
121
|
+
await this.executeCommand(options, CliGenerateGithubWorkflows['run']);
|
|
122
|
+
return;
|
|
123
|
+
});
|
|
124
|
+
const generateMustHaves = generate
|
|
125
|
+
.command('must-haves')
|
|
126
|
+
.alias('must')
|
|
127
|
+
.usage('<subcommand> [options]')
|
|
128
|
+
.description('Generate essential project files')
|
|
129
|
+
.commandsGroup('Subcommands:')
|
|
130
|
+
.helpCommand(false);
|
|
131
|
+
generateMustHaves
|
|
132
|
+
.command('agent-conventions')
|
|
133
|
+
.alias('agent')
|
|
134
|
+
.usage('[options]')
|
|
135
|
+
.description('Create agent convention files for coding assistants')
|
|
136
|
+
.option('-d, --dry-run', 'Preview changes without writing files')
|
|
137
|
+
.option('-r, --replace-file', 'Replace the original file without creating a backup')
|
|
138
|
+
.action(async (options) => {
|
|
139
|
+
await this.executeCommand(options, CliGenerateMustHavesAgentConventions['run']);
|
|
140
|
+
return;
|
|
141
|
+
});
|
|
142
|
+
generateMustHaves
|
|
143
|
+
.command('dotenv')
|
|
144
|
+
.alias('env')
|
|
145
|
+
.usage('[options]')
|
|
146
|
+
.description('Create a .env file for managing local environment secrets')
|
|
147
|
+
.option('-d, --dry-run', 'Preview changes without writing files')
|
|
148
|
+
.option('-r, --replace-file', 'Replace the original file without creating a backup')
|
|
149
|
+
.action(async (options) => {
|
|
150
|
+
await this.executeCommand(options, CliGenerateMustHavesDotenv['run']);
|
|
151
|
+
return;
|
|
152
|
+
});
|
|
153
|
+
generateMustHaves
|
|
154
|
+
.command('editorconfig')
|
|
155
|
+
.usage('[options]')
|
|
156
|
+
.description('Create a .editorconfig file for consistent coding styles')
|
|
157
|
+
.option('-d, --dry-run', 'Preview changes without writing files')
|
|
158
|
+
.option('-r, --replace-file', 'Replace the original file without creating a backup')
|
|
159
|
+
.action(async (options) => {
|
|
160
|
+
await this.executeCommand(options, CliGenerateMustHavesEditorconfig['run']);
|
|
161
|
+
return;
|
|
162
|
+
});
|
|
163
|
+
generateMustHaves
|
|
164
|
+
.command('gitignore')
|
|
165
|
+
.usage('[options]')
|
|
166
|
+
.description('Create a .gitignore file for excluding files from Git commits')
|
|
167
|
+
.option('-d, --dry-run', 'Preview changes without writing files')
|
|
168
|
+
.option('-r, --replace-file', 'Replace the original file without creating a backup')
|
|
169
|
+
.action(async (options) => {
|
|
170
|
+
await this.executeCommand(options, CliGenerateMustHavesGitignore['run']);
|
|
171
|
+
return;
|
|
172
|
+
});
|
|
173
|
+
generateMustHaves
|
|
174
|
+
.command('license')
|
|
175
|
+
.alias('lic')
|
|
176
|
+
.usage('[options]')
|
|
177
|
+
.description('Create a LICENSE file for project license agreements')
|
|
178
|
+
.option('-d, --dry-run', 'Preview changes without writing files')
|
|
179
|
+
.option('-r, --replace-file', 'Replace the original file without creating a backup')
|
|
180
|
+
.action(async (options) => {
|
|
181
|
+
await this.executeCommand(options, CliGenerateMustHavesLicense['run']);
|
|
182
|
+
return;
|
|
183
|
+
});
|
|
184
|
+
generateMustHaves
|
|
185
|
+
.command('read-me')
|
|
186
|
+
.alias('read')
|
|
187
|
+
.usage('[options]')
|
|
188
|
+
.description('Create a baseline README.md file for your project')
|
|
189
|
+
.option('-d, --dry-run', 'Preview changes without writing files')
|
|
190
|
+
.option('-r, --replace-file', 'Replace the original file without creating a backup')
|
|
191
|
+
.action(async (options) => {
|
|
192
|
+
await this.executeCommand(options, CliGenerateMustHavesReadMe['run']);
|
|
193
|
+
return;
|
|
194
|
+
});
|
|
99
195
|
const recipe = this.#program
|
|
100
196
|
.command('recipe')
|
|
101
197
|
.alias('rcp')
|
|
@@ -103,36 +199,111 @@ class CLI {
|
|
|
103
199
|
.description('Automate routine maintenance with configured defaults')
|
|
104
200
|
.commandsGroup('Subcommands:')
|
|
105
201
|
.helpCommand(false);
|
|
106
|
-
recipe
|
|
107
|
-
.command('
|
|
108
|
-
.alias('
|
|
202
|
+
const recipePackageJson = recipe
|
|
203
|
+
.command('package-json')
|
|
204
|
+
.alias('pkg')
|
|
205
|
+
.usage('<subcommand> [options]')
|
|
206
|
+
.description('Recipes for "package.json" file synchronization')
|
|
207
|
+
.commandsGroup('Subcommands:')
|
|
208
|
+
.helpCommand(false);
|
|
209
|
+
recipePackageJson
|
|
210
|
+
.command('cleanup')
|
|
211
|
+
.alias('clean')
|
|
212
|
+
.usage('[options]')
|
|
213
|
+
.description('Remove unsupported keys and reorder remaining keys')
|
|
214
|
+
.option('-d, --dry-run', 'Preview changes without writing files')
|
|
215
|
+
.option('-r, --replace-file', 'Replace the original file without creating a backup')
|
|
216
|
+
.action(async (options) => {
|
|
217
|
+
await this.executeCommand(options, CliRecipePackageJsonCleanup['run']);
|
|
218
|
+
return;
|
|
219
|
+
});
|
|
220
|
+
recipePackageJson
|
|
221
|
+
.command('normalize-artifacts')
|
|
222
|
+
.alias('norm-art')
|
|
109
223
|
.usage('[options]')
|
|
110
|
-
.description('
|
|
224
|
+
.description('Normalize files, bin, man, directories, private, and publishConfig fields')
|
|
111
225
|
.option('-d, --dry-run', 'Preview changes without writing files')
|
|
112
226
|
.option('-r, --replace-file', 'Replace the original file without creating a backup')
|
|
113
227
|
.action(async (options) => {
|
|
114
|
-
await this.executeCommand(options,
|
|
228
|
+
await this.executeCommand(options, CliRecipePackageJsonNormalizeArtifacts['run']);
|
|
229
|
+
return;
|
|
115
230
|
});
|
|
116
|
-
|
|
117
|
-
.command('
|
|
118
|
-
.alias('
|
|
231
|
+
recipePackageJson
|
|
232
|
+
.command('normalize-bundler')
|
|
233
|
+
.alias('norm-bun')
|
|
119
234
|
.usage('[options]')
|
|
120
|
-
.description('
|
|
235
|
+
.description('Normalize types, module, sideEffects, and esnext fields')
|
|
121
236
|
.option('-d, --dry-run', 'Preview changes without writing files')
|
|
122
237
|
.option('-r, --replace-file', 'Replace the original file without creating a backup')
|
|
123
238
|
.action(async (options) => {
|
|
124
|
-
await this.executeCommand(options,
|
|
239
|
+
await this.executeCommand(options, CliRecipePackageJsonNormalizeBundler['run']);
|
|
240
|
+
return;
|
|
125
241
|
});
|
|
126
|
-
|
|
127
|
-
.command('
|
|
128
|
-
.alias('
|
|
242
|
+
recipePackageJson
|
|
243
|
+
.command('normalize-dependencies')
|
|
244
|
+
.alias('norm-dep')
|
|
129
245
|
.usage('[options]')
|
|
130
|
-
.description('
|
|
246
|
+
.description('Normalize dependency fields with optional version pinning')
|
|
131
247
|
.option('-d, --dry-run', 'Preview changes without writing files')
|
|
132
|
-
.option('-i, --ignore-unknown', 'Ignore unknown keys found in workspace manifest files')
|
|
133
248
|
.option('-r, --replace-file', 'Replace the original file without creating a backup')
|
|
134
249
|
.action(async (options) => {
|
|
135
|
-
await this.executeCommand(options,
|
|
250
|
+
await this.executeCommand(options, CliRecipePackageJsonNormalizeDependencies['run']);
|
|
251
|
+
return;
|
|
252
|
+
});
|
|
253
|
+
recipePackageJson
|
|
254
|
+
.command('normalize-modules')
|
|
255
|
+
.alias('norm-mod')
|
|
256
|
+
.usage('[options]')
|
|
257
|
+
.description('Normalize exports, main, type, browser, and imports fields')
|
|
258
|
+
.option('-d, --dry-run', 'Preview changes without writing files')
|
|
259
|
+
.option('-r, --replace-file', 'Replace the original file without creating a backup')
|
|
260
|
+
.action(async (options) => {
|
|
261
|
+
await this.executeCommand(options, CliRecipePackageJsonNormalizeModules['run']);
|
|
262
|
+
return;
|
|
263
|
+
});
|
|
264
|
+
recipePackageJson
|
|
265
|
+
.command('normalize-tooling')
|
|
266
|
+
.alias('norm-tool')
|
|
267
|
+
.usage('[options]')
|
|
268
|
+
.description('Normalize scripts, gypfile, config, and workspaces fields')
|
|
269
|
+
.option('-d, --dry-run', 'Preview changes without writing files')
|
|
270
|
+
.option('-r, --replace-file', 'Replace the original file without creating a backup')
|
|
271
|
+
.action(async (options) => {
|
|
272
|
+
await this.executeCommand(options, CliRecipePackageJsonNormalizeTooling['run']);
|
|
273
|
+
return;
|
|
274
|
+
});
|
|
275
|
+
recipePackageJson
|
|
276
|
+
.command('sync-environment')
|
|
277
|
+
.alias('sync-env')
|
|
278
|
+
.usage('[options]')
|
|
279
|
+
.description('Sync engines, os, cpu, libc, devEngines, and packageManager fields')
|
|
280
|
+
.option('-d, --dry-run', 'Preview changes without writing files')
|
|
281
|
+
.option('-r, --replace-file', 'Replace the original file without creating a backup')
|
|
282
|
+
.action(async (options) => {
|
|
283
|
+
await this.executeCommand(options, CliRecipePackageJsonSyncEnvironment['run']);
|
|
284
|
+
return;
|
|
285
|
+
});
|
|
286
|
+
recipePackageJson
|
|
287
|
+
.command('sync-identity')
|
|
288
|
+
.alias('sync-id')
|
|
289
|
+
.usage('[options]')
|
|
290
|
+
.description('Sync name, version, description, keywords, and license fields')
|
|
291
|
+
.option('-d, --dry-run', 'Preview changes without writing files')
|
|
292
|
+
.option('-r, --replace-file', 'Replace the original file without creating a backup')
|
|
293
|
+
.action(async (options) => {
|
|
294
|
+
await this.executeCommand(options, CliRecipePackageJsonSyncIdentity['run']);
|
|
295
|
+
return;
|
|
296
|
+
});
|
|
297
|
+
recipePackageJson
|
|
298
|
+
.command('sync-ownership')
|
|
299
|
+
.alias('sync-own')
|
|
300
|
+
.usage('[options]')
|
|
301
|
+
.description('Sync homepage, bugs, author, contributors, funding, and repository fields')
|
|
302
|
+
.option('-d, --dry-run', 'Preview changes without writing files')
|
|
303
|
+
.option('-r, --replace-file', 'Replace the original file without creating a backup')
|
|
304
|
+
.action(async (options) => {
|
|
305
|
+
await this.executeCommand(options, CliRecipePackageJsonSyncOwnership['run']);
|
|
306
|
+
return;
|
|
136
307
|
});
|
|
137
308
|
const scaffold = this.#program
|
|
138
309
|
.command('scaffold')
|
|
@@ -141,9 +312,98 @@ class CLI {
|
|
|
141
312
|
.description('Bootstrap templated monorepo-style projects')
|
|
142
313
|
.commandsGroup('Subcommands:')
|
|
143
314
|
.helpCommand(false);
|
|
144
|
-
scaffold
|
|
315
|
+
const scaffoldApp = scaffold
|
|
316
|
+
.command('app')
|
|
317
|
+
.usage('<subcommand> [options]')
|
|
318
|
+
.description('Scaffold workspaces')
|
|
319
|
+
.commandsGroup('Subcommands:')
|
|
320
|
+
.helpCommand(false);
|
|
321
|
+
scaffoldApp
|
|
322
|
+
.command('expressjs')
|
|
323
|
+
.alias('express')
|
|
324
|
+
.usage('[options]')
|
|
325
|
+
.description('Scaffold an Express.js workspace')
|
|
326
|
+
.option('-d, --dry-run', 'Preview changes without writing files')
|
|
327
|
+
.option('--name <name>', 'Project or workspace name')
|
|
328
|
+
.option('--workspace-name <name>', 'Workspace directory name')
|
|
329
|
+
.option('--output <dir>', 'Output directory')
|
|
330
|
+
.action(async (options) => {
|
|
331
|
+
await this.executeCommand(options, CliScaffoldAppExpressjs['run']);
|
|
332
|
+
return;
|
|
333
|
+
});
|
|
334
|
+
scaffoldApp
|
|
145
335
|
.command('nextjs')
|
|
146
|
-
.
|
|
336
|
+
.alias('next')
|
|
337
|
+
.usage('[options]')
|
|
338
|
+
.description('Scaffold a Next.js workspace')
|
|
339
|
+
.option('-d, --dry-run', 'Preview changes without writing files')
|
|
340
|
+
.option('--name <name>', 'Project or workspace name')
|
|
341
|
+
.option('--workspace-name <name>', 'Workspace directory name')
|
|
342
|
+
.option('--output <dir>', 'Output directory')
|
|
343
|
+
.action(async (options) => {
|
|
344
|
+
await this.executeCommand(options, CliScaffoldAppNextjs['run']);
|
|
345
|
+
return;
|
|
346
|
+
});
|
|
347
|
+
scaffoldApp
|
|
348
|
+
.command('vite')
|
|
349
|
+
.usage('[options]')
|
|
350
|
+
.description('Scaffold a Vite workspace')
|
|
351
|
+
.option('-d, --dry-run', 'Preview changes without writing files')
|
|
352
|
+
.option('--name <name>', 'Project or workspace name')
|
|
353
|
+
.option('--workspace-name <name>', 'Workspace directory name')
|
|
354
|
+
.option('--output <dir>', 'Output directory')
|
|
355
|
+
.action(async (options) => {
|
|
356
|
+
await this.executeCommand(options, CliScaffoldAppVite['run']);
|
|
357
|
+
return;
|
|
358
|
+
});
|
|
359
|
+
scaffoldApp
|
|
360
|
+
.command('workers')
|
|
361
|
+
.usage('[options]')
|
|
362
|
+
.description('Scaffold a Cloudflare Workers workspace')
|
|
363
|
+
.option('-d, --dry-run', 'Preview changes without writing files')
|
|
364
|
+
.option('--name <name>', 'Project or workspace name')
|
|
365
|
+
.option('--workspace-name <name>', 'Workspace directory name')
|
|
366
|
+
.option('--output <dir>', 'Output directory')
|
|
367
|
+
.action(async (options) => {
|
|
368
|
+
await this.executeCommand(options, CliScaffoldAppWorkers['run']);
|
|
369
|
+
return;
|
|
370
|
+
});
|
|
371
|
+
const scaffoldDocs = scaffold
|
|
372
|
+
.command('docs')
|
|
373
|
+
.usage('<subcommand> [options]')
|
|
374
|
+
.description('Scaffold documentation workspaces')
|
|
375
|
+
.commandsGroup('Subcommands:')
|
|
376
|
+
.helpCommand(false);
|
|
377
|
+
scaffoldDocs
|
|
378
|
+
.command('docusaurus')
|
|
379
|
+
.usage('[options]')
|
|
380
|
+
.description('Scaffold a Docusaurus documentation workspace')
|
|
381
|
+
.option('-d, --dry-run', 'Preview changes without writing files')
|
|
382
|
+
.option('--name <name>', 'Project or workspace name')
|
|
383
|
+
.option('--workspace-name <name>', 'Workspace directory name')
|
|
384
|
+
.option('--output <dir>', 'Output directory')
|
|
385
|
+
.action(async (options) => {
|
|
386
|
+
await this.executeCommand(options, CliScaffoldDocsDocusaurus['run']);
|
|
387
|
+
return;
|
|
388
|
+
});
|
|
389
|
+
const scaffoldStarter = scaffold
|
|
390
|
+
.command('starter')
|
|
391
|
+
.alias('start')
|
|
392
|
+
.usage('<subcommand> [options]')
|
|
393
|
+
.description('Scaffold starter monorepo projects')
|
|
394
|
+
.commandsGroup('Subcommands:')
|
|
395
|
+
.helpCommand(false);
|
|
396
|
+
scaffoldStarter
|
|
397
|
+
.command('base')
|
|
398
|
+
.usage('[options]')
|
|
399
|
+
.description('Scaffold a base monorepo project without a framework workspace')
|
|
400
|
+
.option('-d, --dry-run', 'Preview changes without writing files')
|
|
401
|
+
.option('--name <name>', 'Project name')
|
|
402
|
+
.option('--output <dir>', 'Output directory')
|
|
403
|
+
.action(async (options) => {
|
|
404
|
+
await this.executeCommand(options, CliScaffoldStarterBase['run']);
|
|
405
|
+
return;
|
|
406
|
+
});
|
|
147
407
|
const utility = this.#program
|
|
148
408
|
.command('utility')
|
|
149
409
|
.alias('util')
|
|
@@ -153,7 +413,7 @@ class CLI {
|
|
|
153
413
|
.helpCommand(false);
|
|
154
414
|
utility
|
|
155
415
|
.command('changelog')
|
|
156
|
-
.alias('
|
|
416
|
+
.alias('log')
|
|
157
417
|
.usage('[options]')
|
|
158
418
|
.description('Record changes and release versioned changelogs')
|
|
159
419
|
.option('--record', 'Record a change')
|
|
@@ -164,7 +424,8 @@ class CLI {
|
|
|
164
424
|
.option('-m, --message <message>', 'Change description')
|
|
165
425
|
.option('-d, --dry-run', 'Preview changes without writing files')
|
|
166
426
|
.action(async (options) => {
|
|
167
|
-
await this.executeCommand(options,
|
|
427
|
+
await this.executeCommand(options, CliUtilityChangelog['run']);
|
|
428
|
+
return;
|
|
168
429
|
});
|
|
169
430
|
utility
|
|
170
431
|
.command('initialize')
|
|
@@ -174,16 +435,56 @@ class CLI {
|
|
|
174
435
|
.option('-d, --dry-run', 'Preview changes without writing files')
|
|
175
436
|
.option('-r, --replace-file', 'Replace the original file without creating a backup')
|
|
176
437
|
.action(async (options) => {
|
|
177
|
-
await this.executeCommand(options,
|
|
438
|
+
await this.executeCommand(options, CliUtilityInitialize['run']);
|
|
439
|
+
return;
|
|
440
|
+
});
|
|
441
|
+
utility
|
|
442
|
+
.command('run-recipes')
|
|
443
|
+
.alias('run-rcp')
|
|
444
|
+
.usage('[options]')
|
|
445
|
+
.description('Run all configured recipes')
|
|
446
|
+
.option('-d, --dry-run', 'Preview changes without writing files')
|
|
447
|
+
.option('-r, --replace-file', 'Replace the original file without creating a backup')
|
|
448
|
+
.action(async (options) => {
|
|
449
|
+
await this.executeCommand(options, CliUtilityRunRecipes['run']);
|
|
450
|
+
return;
|
|
451
|
+
});
|
|
452
|
+
utility
|
|
453
|
+
.command('run-scripts')
|
|
454
|
+
.alias('run-scr')
|
|
455
|
+
.usage('<pattern> [options]')
|
|
456
|
+
.description('Run package.json scripts by pattern in sequential or parallel mode')
|
|
457
|
+
.argument('<pattern>', 'Script name pattern (e.g., "build:*")')
|
|
458
|
+
.option('-s, --sequential', 'Run matched scripts one at a time, stopping on failure')
|
|
459
|
+
.option('-p, --parallel', 'Run matched scripts concurrently')
|
|
460
|
+
.option('-b, --buffer <ms>', 'Flush interval in ms for parallel log grouping (default: 500)')
|
|
461
|
+
.action(async (pattern, options) => {
|
|
462
|
+
const runScriptsOptions = {
|
|
463
|
+
...options,
|
|
464
|
+
pattern,
|
|
465
|
+
};
|
|
466
|
+
await this.executeCommand(runScriptsOptions, CliUtilityRunScripts['run']);
|
|
467
|
+
return;
|
|
468
|
+
});
|
|
469
|
+
utility
|
|
470
|
+
.command('transpile')
|
|
471
|
+
.alias('xpile')
|
|
472
|
+
.usage('[options]')
|
|
473
|
+
.description('Transpile TypeScript with filtered diagnostics')
|
|
474
|
+
.option('-p, --project <path>', 'Path to tsconfig.json')
|
|
475
|
+
.action(async (options) => {
|
|
476
|
+
await this.executeCommand(options, CliUtilityTranspile['run']);
|
|
477
|
+
return;
|
|
178
478
|
});
|
|
179
479
|
utility
|
|
180
480
|
.command('type-check')
|
|
181
|
-
.alias('
|
|
481
|
+
.alias('type-chk')
|
|
182
482
|
.usage('[options]')
|
|
183
483
|
.description('Run type checks scoped to project-owned files')
|
|
184
484
|
.option('-p, --project <path>', 'Path to tsconfig.json')
|
|
185
485
|
.action(async (options) => {
|
|
186
|
-
await this.executeCommand(options,
|
|
486
|
+
await this.executeCommand(options, CliUtilityTypeCheck['run']);
|
|
487
|
+
return;
|
|
187
488
|
});
|
|
188
489
|
utility
|
|
189
490
|
.command('version')
|
|
@@ -197,19 +498,22 @@ class CLI {
|
|
|
197
498
|
.option('-n, --node', 'Show Node.js and related package manager versions')
|
|
198
499
|
.option('-o, --os', 'Show operating system details')
|
|
199
500
|
.action(async (options) => {
|
|
200
|
-
await this.executeCommand(options,
|
|
501
|
+
await this.executeCommand(options, CliUtilityVersion['run']);
|
|
502
|
+
return;
|
|
201
503
|
});
|
|
504
|
+
return;
|
|
202
505
|
}
|
|
203
506
|
async executeCommand(options, target) {
|
|
204
|
-
const command = process.argv.join(' ').match(
|
|
507
|
+
const command = process.argv.join(' ').match(LIB_REGEX_PATTERN_NOVA_PREFIX);
|
|
205
508
|
process.stdout.write(`${this.getHeader()}\n`);
|
|
206
509
|
const commandLabel = (command !== null) ? command[0] : 'N/A';
|
|
207
510
|
process.stdout.write(`${chalk.bold.bgBlue('CURRENTLY RUNNING:')} ${commandLabel}\n\n`);
|
|
208
511
|
await target(options);
|
|
512
|
+
return;
|
|
209
513
|
}
|
|
210
514
|
getHeader() {
|
|
211
515
|
return CLIHeader.render([
|
|
212
|
-
chalk.yellowBright.bold(`Nova v${packageJson
|
|
516
|
+
chalk.yellowBright.bold(`Nova v${packageJson['version']}`),
|
|
213
517
|
chalk.redBright.italic('CLI for the Common Developer'),
|
|
214
518
|
], {
|
|
215
519
|
align: 'center',
|
|
@@ -229,13 +533,10 @@ class CLI {
|
|
|
229
533
|
this.styleText('usage', commandUsage),
|
|
230
534
|
commandName,
|
|
231
535
|
];
|
|
536
|
+
const usagePipeSeparator = this.styleText('usage', '|');
|
|
232
537
|
const aliasCommand = [
|
|
233
538
|
this.styleText('usage', commandUsage),
|
|
234
|
-
...(commandAliases.length > 0) ? [
|
|
235
|
-
commandAliases.join(this.styleText('usage', '|')),
|
|
236
|
-
] : [
|
|
237
|
-
commandName,
|
|
238
|
-
],
|
|
539
|
+
...(commandAliases.length > 0) ? [commandAliases.join(usagePipeSeparator)] : [commandName],
|
|
239
540
|
];
|
|
240
541
|
let parentCommand = command.parent;
|
|
241
542
|
while (parentCommand !== null) {
|
|
@@ -243,21 +544,33 @@ class CLI {
|
|
|
243
544
|
const parentCommandAliases = parentCommand.aliases();
|
|
244
545
|
fullCommand.push(parentCommandName);
|
|
245
546
|
if (parentCommandAliases.length > 0) {
|
|
246
|
-
|
|
547
|
+
const parentAliasSeparated = parentCommandAliases.join(usagePipeSeparator);
|
|
548
|
+
aliasCommand.push(parentAliasSeparated);
|
|
247
549
|
}
|
|
248
550
|
else {
|
|
249
551
|
aliasCommand.push(parentCommandName);
|
|
250
552
|
}
|
|
251
553
|
parentCommand = parentCommand.parent;
|
|
252
554
|
}
|
|
555
|
+
const fullLine = fullCommand.reverse().join(' ');
|
|
556
|
+
const aliasLine = aliasCommand.reverse().join(' ');
|
|
557
|
+
const fullLineStripped = fullLine.replace(new RegExp(LIB_REGEX_PATTERN_ANSI, 'g'), '');
|
|
558
|
+
const aliasLineStripped = aliasLine.replace(new RegExp(LIB_REGEX_PATTERN_ANSI, 'g'), '');
|
|
559
|
+
if (fullLineStripped === aliasLineStripped) {
|
|
560
|
+
return fullLine;
|
|
561
|
+
}
|
|
253
562
|
return [
|
|
254
|
-
|
|
255
|
-
|
|
563
|
+
fullLine,
|
|
564
|
+
aliasLine,
|
|
256
565
|
].join('\n ');
|
|
257
566
|
}
|
|
258
567
|
getSubcommandTerm(command) {
|
|
259
568
|
const category = (command.parent !== null && command.parent.parent === null) ? 'commands' : 'subcommands';
|
|
260
|
-
const
|
|
569
|
+
const categoryPipeSeparator = this.styleText(category, '|');
|
|
570
|
+
const names = [
|
|
571
|
+
command.name(),
|
|
572
|
+
...command.aliases(),
|
|
573
|
+
].join(categoryPipeSeparator);
|
|
261
574
|
const usage = command.usage();
|
|
262
575
|
return (usage !== '') ? `${names} ${this.styleText(category, usage)}` : names;
|
|
263
576
|
}
|
|
@@ -275,26 +588,27 @@ class CLI {
|
|
|
275
588
|
'Subcommands:': [chalk.magenta],
|
|
276
589
|
'Usage:': [chalk.green],
|
|
277
590
|
};
|
|
278
|
-
const categoryFunctions = categoryStyles
|
|
279
|
-
const titleFunctions = titleStyles
|
|
591
|
+
const categoryFunctions = Reflect.get(categoryStyles, type) ?? [];
|
|
592
|
+
const titleFunctions = Reflect.get(titleStyles, text) ?? [];
|
|
280
593
|
let coloredText = text;
|
|
281
|
-
|
|
594
|
+
for (const categoryFunction of categoryFunctions) {
|
|
282
595
|
coloredText = categoryFunction(coloredText);
|
|
283
|
-
}
|
|
596
|
+
}
|
|
284
597
|
if (type === 'title') {
|
|
285
|
-
|
|
598
|
+
for (const titleFunction of titleFunctions) {
|
|
286
599
|
coloredText = titleFunction(coloredText);
|
|
287
|
-
}
|
|
600
|
+
}
|
|
288
601
|
}
|
|
289
602
|
return coloredText;
|
|
290
603
|
}
|
|
291
604
|
handleCliError(text) {
|
|
292
|
-
let processedText = text.replace(new RegExp(
|
|
293
|
-
processedText = processedText.replace(
|
|
294
|
-
processedText = processedText.replace(new RegExp(
|
|
605
|
+
let processedText = text.replace(new RegExp(LIB_REGEX_PATTERN_ERROR_PREFIX.source, 'i'), '');
|
|
606
|
+
processedText = processedText.replace(LIB_REGEX_PATTERN_ANSI, '');
|
|
607
|
+
processedText = processedText.replace(new RegExp(LIB_REGEX_PATTERN_WHITESPACE.source, 'g'), ' ').trim();
|
|
295
608
|
processedText = `${processedText.charAt(0).toUpperCase()}${processedText.slice(1)}`;
|
|
296
609
|
Logger.error(processedText);
|
|
610
|
+
return;
|
|
297
611
|
}
|
|
298
612
|
}
|
|
299
|
-
new CLI();
|
|
613
|
+
void new CLI();
|
|
300
614
|
//# sourceMappingURL=index.js.map
|