@cbnventures/nova 0.32.0 → 0.34.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/bin/nova.mjs +5 -2
- package/build/package.json +3 -2
- package/build/scaffold-versions.json +21 -14
- package/build/src/api/app-store-connect.d.ts +28 -0
- package/build/src/api/app-store-connect.d.ts.map +1 -0
- package/build/src/api/app-store-connect.js +494 -0
- package/build/src/api/app-store-connect.js.map +1 -0
- package/build/src/api/google-play-console.d.ts +15 -0
- package/build/src/api/google-play-console.d.ts.map +1 -0
- package/build/src/api/google-play-console.js +136 -0
- package/build/src/api/google-play-console.js.map +1 -0
- package/build/src/cli/generate/github/workflows-blueprint-validate.d.ts +4 -2
- package/build/src/cli/generate/github/workflows-blueprint-validate.d.ts.map +1 -1
- package/build/src/cli/generate/github/workflows-blueprint-validate.js +219 -3
- package/build/src/cli/generate/github/workflows-blueprint-validate.js.map +1 -1
- package/build/src/cli/generate/github/workflows-blueprint.d.ts +6 -0
- package/build/src/cli/generate/github/workflows-blueprint.d.ts.map +1 -1
- package/build/src/cli/generate/github/workflows-blueprint.js +469 -59
- package/build/src/cli/generate/github/workflows-blueprint.js.map +1 -1
- package/build/src/cli/index.js +188 -47
- package/build/src/cli/index.js.map +1 -1
- package/build/src/cli/integration/app-store-connect.d.ts +22 -0
- package/build/src/cli/integration/app-store-connect.d.ts.map +1 -0
- package/build/src/cli/integration/app-store-connect.js +502 -0
- package/build/src/cli/integration/app-store-connect.js.map +1 -0
- package/build/src/cli/integration/discord-developer-portal.d.ts +6 -0
- package/build/src/cli/integration/discord-developer-portal.d.ts.map +1 -0
- package/build/src/cli/integration/discord-developer-portal.js +42 -0
- package/build/src/cli/integration/discord-developer-portal.js.map +1 -0
- package/build/src/cli/integration/google-play-console.d.ts +16 -0
- package/build/src/cli/integration/google-play-console.d.ts.map +1 -0
- package/build/src/cli/integration/google-play-console.js +199 -0
- package/build/src/cli/integration/google-play-console.js.map +1 -0
- package/build/src/cli/integration/index.d.ts +8 -0
- package/build/src/cli/integration/index.d.ts.map +1 -0
- package/build/src/cli/integration/index.js +139 -0
- package/build/src/cli/integration/index.js.map +1 -0
- package/build/src/cli/recipe/github/sync-rulesets.js +2 -2
- package/build/src/cli/recipe/github/sync-rulesets.js.map +1 -1
- package/build/src/cli/recipe/index.d.ts.map +1 -1
- package/build/src/cli/recipe/index.js +5 -0
- package/build/src/cli/recipe/index.js.map +1 -1
- package/build/src/cli/recipe/miscellaneous/fix-markdown-tables.d.ts.map +1 -1
- package/build/src/cli/recipe/miscellaneous/fix-markdown-tables.js +15 -0
- package/build/src/cli/recipe/miscellaneous/fix-markdown-tables.js.map +1 -1
- package/build/src/cli/recipe/nova-config/normalize-order.d.ts +5 -0
- package/build/src/cli/recipe/nova-config/normalize-order.d.ts.map +1 -0
- package/build/src/cli/recipe/nova-config/normalize-order.js +104 -0
- package/build/src/cli/recipe/nova-config/normalize-order.js.map +1 -0
- package/build/src/cli/recipe/package-json/normalize-tooling.d.ts.map +1 -1
- package/build/src/cli/recipe/package-json/normalize-tooling.js +55 -10
- package/build/src/cli/recipe/package-json/normalize-tooling.js.map +1 -1
- package/build/src/cli/recipe/package-json/sync-identity.d.ts.map +1 -1
- package/build/src/cli/recipe/package-json/sync-identity.js +51 -18
- package/build/src/cli/recipe/package-json/sync-identity.js.map +1 -1
- package/build/src/cli/scaffold/app/android.d.ts.map +1 -1
- package/build/src/cli/scaffold/app/android.js +6 -0
- package/build/src/cli/scaffold/app/android.js.map +1 -1
- package/build/src/cli/scaffold/app/apple.d.ts.map +1 -1
- package/build/src/cli/scaffold/app/apple.js +7 -0
- package/build/src/cli/scaffold/app/apple.js.map +1 -1
- package/build/src/cli/scaffold/app/astro.d.ts.map +1 -1
- package/build/src/cli/scaffold/app/astro.js +15 -0
- package/build/src/cli/scaffold/app/astro.js.map +1 -1
- package/build/src/cli/scaffold/app/discord-bot.d.ts.map +1 -1
- package/build/src/cli/scaffold/app/discord-bot.js +20 -1
- package/build/src/cli/scaffold/app/discord-bot.js.map +1 -1
- package/build/src/cli/scaffold/app/expressjs.d.ts.map +1 -1
- package/build/src/cli/scaffold/app/expressjs.js +20 -1
- package/build/src/cli/scaffold/app/expressjs.js.map +1 -1
- package/build/src/cli/scaffold/app/nextjs.d.ts.map +1 -1
- package/build/src/cli/scaffold/app/nextjs.js +9 -1
- package/build/src/cli/scaffold/app/nextjs.js.map +1 -1
- package/build/src/cli/scaffold/app/vite.d.ts.map +1 -1
- package/build/src/cli/scaffold/app/vite.js +15 -1
- package/build/src/cli/scaffold/app/vite.js.map +1 -1
- package/build/src/cli/scaffold/docs/docusaurus.d.ts.map +1 -1
- package/build/src/cli/scaffold/docs/docusaurus.js +13 -2
- package/build/src/cli/scaffold/docs/docusaurus.js.map +1 -1
- package/build/src/cli/scaffold/package/github-action.d.ts.map +1 -1
- package/build/src/cli/scaffold/package/github-action.js +5 -0
- package/build/src/cli/scaffold/package/github-action.js.map +1 -1
- package/build/src/cli/scaffold/package/homebridge.d.ts.map +1 -1
- package/build/src/cli/scaffold/package/homebridge.js +5 -0
- package/build/src/cli/scaffold/package/homebridge.js.map +1 -1
- package/build/src/cli/scaffold/package/pfsense.d.ts.map +1 -1
- package/build/src/cli/scaffold/package/pfsense.js +5 -0
- package/build/src/cli/scaffold/package/pfsense.js.map +1 -1
- package/build/src/cli/scaffold/starter/base.d.ts.map +1 -1
- package/build/src/cli/scaffold/starter/base.js +2 -1
- package/build/src/cli/scaffold/starter/base.js.map +1 -1
- package/build/src/cli/scaffold/tool/serverless.d.ts.map +1 -1
- package/build/src/cli/scaffold/tool/serverless.js +9 -0
- package/build/src/cli/scaffold/tool/serverless.js.map +1 -1
- package/build/src/cli/utility/changelog.d.ts +2 -0
- package/build/src/cli/utility/changelog.d.ts.map +1 -1
- package/build/src/cli/utility/changelog.js +241 -129
- package/build/src/cli/utility/changelog.js.map +1 -1
- package/build/src/cli/utility/configure.d.ts +4 -1
- package/build/src/cli/utility/configure.d.ts.map +1 -1
- package/build/src/cli/utility/configure.js +414 -58
- package/build/src/cli/utility/configure.js.map +1 -1
- package/build/src/cli/utility/run-recipes.d.ts.map +1 -1
- package/build/src/cli/utility/run-recipes.js +7 -26
- package/build/src/cli/utility/run-recipes.js.map +1 -1
- package/build/src/lib/constants.d.ts +2 -1
- package/build/src/lib/constants.d.ts.map +1 -1
- package/build/src/lib/constants.js +1 -0
- package/build/src/lib/constants.js.map +1 -1
- package/build/src/lib/docker-packaging.d.ts +22 -1
- package/build/src/lib/docker-packaging.d.ts.map +1 -1
- package/build/src/lib/docker-packaging.js +1044 -76
- package/build/src/lib/docker-packaging.js.map +1 -1
- package/build/src/lib/file-discovery.js +1 -1
- package/build/src/lib/file-discovery.js.map +1 -1
- package/build/src/lib/ignore-files.d.ts.map +1 -1
- package/build/src/lib/ignore-files.js +4 -1
- package/build/src/lib/ignore-files.js.map +1 -1
- package/build/src/lib/integration.d.ts +14 -0
- package/build/src/lib/integration.d.ts.map +1 -0
- package/build/src/lib/integration.js +323 -0
- package/build/src/lib/integration.js.map +1 -0
- package/build/src/lib/item.d.ts.map +1 -1
- package/build/src/lib/item.js +5 -1
- package/build/src/lib/item.js.map +1 -1
- package/build/src/lib/nova-config-order.d.ts +3 -0
- package/build/src/lib/nova-config-order.d.ts.map +1 -0
- package/build/src/lib/nova-config-order.js +38 -0
- package/build/src/lib/nova-config-order.js.map +1 -0
- package/build/src/lib/nova-config.d.ts +2 -2
- package/build/src/lib/nova-config.d.ts.map +1 -1
- package/build/src/lib/nova-config.js +73 -8
- package/build/src/lib/nova-config.js.map +1 -1
- package/build/src/lib/package-scripts.d.ts.map +1 -1
- package/build/src/lib/package-scripts.js +2 -1
- package/build/src/lib/package-scripts.js.map +1 -1
- package/build/src/lib/regex.d.ts +8 -0
- package/build/src/lib/regex.d.ts.map +1 -1
- package/build/src/lib/regex.js +10 -2
- package/build/src/lib/regex.js.map +1 -1
- package/build/src/lib/release-history.d.ts +2 -1
- package/build/src/lib/release-history.d.ts.map +1 -1
- package/build/src/lib/release-history.js +18 -0
- package/build/src/lib/release-history.js.map +1 -1
- package/build/src/lib/run-workspaces.d.ts +3 -0
- package/build/src/lib/run-workspaces.d.ts.map +1 -1
- package/build/src/lib/run-workspaces.js +132 -2
- package/build/src/lib/run-workspaces.js.map +1 -1
- package/build/src/lib/scaffold-allow-scripts.d.ts +4 -0
- package/build/src/lib/scaffold-allow-scripts.d.ts.map +1 -0
- package/build/src/lib/scaffold-allow-scripts.js +76 -0
- package/build/src/lib/scaffold-allow-scripts.js.map +1 -0
- package/build/src/lib/scaffold.d.ts +4 -3
- package/build/src/lib/scaffold.d.ts.map +1 -1
- package/build/src/lib/scaffold.js +287 -44
- package/build/src/lib/scaffold.js.map +1 -1
- package/build/src/lib/transpile.d.ts.map +1 -1
- package/build/src/lib/transpile.js +6 -5
- package/build/src/lib/transpile.js.map +1 -1
- package/build/src/lib/type-check.d.ts +3 -1
- package/build/src/lib/type-check.d.ts.map +1 -1
- package/build/src/lib/type-check.js +22 -6
- package/build/src/lib/type-check.js.map +1 -1
- package/build/src/lib/utility.d.ts.map +1 -1
- package/build/src/lib/utility.js +0 -7
- package/build/src/lib/utility.js.map +1 -1
- package/build/src/lib/version-contract.d.ts +7 -0
- package/build/src/lib/version-contract.d.ts.map +1 -0
- package/build/src/lib/version-contract.js +80 -0
- package/build/src/lib/version-contract.js.map +1 -0
- package/build/src/lib/version-strategy-migration.d.ts +6 -0
- package/build/src/lib/version-strategy-migration.d.ts.map +1 -0
- package/build/src/lib/version-strategy-migration.js +208 -0
- package/build/src/lib/version-strategy-migration.js.map +1 -0
- package/build/src/lib/workflow-templates.d.ts.map +1 -1
- package/build/src/lib/workflow-templates.js +22 -1
- package/build/src/lib/workflow-templates.js.map +1 -1
- package/build/src/presets/eslint/dx-ignore.d.ts.map +1 -1
- package/build/src/presets/eslint/dx-ignore.js +7 -0
- package/build/src/presets/eslint/dx-ignore.js.map +1 -1
- package/build/src/types/api/app-store-connect.d.ts +427 -0
- package/build/src/types/api/google-play-console.d.ts +146 -0
- package/build/src/types/cli/generate/github/workflows-blueprint-validate.d.ts +65 -0
- package/build/src/types/cli/generate/github/workflows-blueprint.d.ts +96 -12
- package/build/src/types/cli/index.d.ts +9 -32
- package/build/src/types/cli/integration/app-store-connect.d.ts +353 -0
- package/build/src/types/cli/integration/discord-developer-portal.d.ts +36 -0
- package/build/src/types/cli/integration/google-play-console.d.ts +145 -0
- package/build/src/types/cli/integration/index.d.ts +31 -0
- package/build/src/types/cli/recipe/index.d.ts +3 -1
- package/build/src/types/cli/recipe/miscellaneous/fix-markdown-tables.d.ts +26 -0
- package/build/src/types/cli/recipe/nova-config/normalize-order.d.ts +64 -0
- package/build/src/types/cli/recipe/package-json/normalize-tooling.d.ts +19 -1
- package/build/src/types/cli/recipe/package-json/sync-identity.d.ts +9 -0
- package/build/src/types/cli/utility/changelog.d.ts +149 -0
- package/build/src/types/cli/utility/configure.d.ts +219 -8
- package/build/src/types/cli/utility/run-recipes.d.ts +1 -8
- package/build/src/types/lib/constants.d.ts +7 -0
- package/build/src/types/lib/docker-packaging.d.ts +447 -47
- package/build/src/types/lib/integration.d.ts +264 -0
- package/build/src/types/lib/item.d.ts +4 -0
- package/build/src/types/lib/nova-config-order.d.ts +31 -0
- package/build/src/types/lib/nova-config.d.ts +40 -1
- package/build/src/types/lib/package-scripts.d.ts +2 -0
- package/build/src/types/lib/release-history.d.ts +15 -0
- package/build/src/types/lib/run-workspaces.d.ts +135 -0
- package/build/src/types/lib/scaffold-allow-scripts.d.ts +54 -0
- package/build/src/types/lib/scaffold.d.ts +157 -2
- package/build/src/types/lib/transpile.d.ts +2 -0
- package/build/src/types/lib/type-check.d.ts +28 -0
- package/build/src/types/lib/utility.d.ts +0 -13
- package/build/src/types/lib/version-contract.d.ts +84 -0
- package/build/src/types/lib/version-strategy-migration.d.ts +207 -0
- package/build/src/types/shared.d.ts +491 -3
- package/build/src/types/tests/cli/generate/github/workflows-blueprint-validate.test.d.ts +60 -0
- package/build/src/types/tests/cli/generate/github/workflows-blueprint.test.d.ts +11 -0
- package/build/src/types/tests/cli/generate/github/workflows-version-contract.test.d.ts +65 -0
- package/build/src/types/tests/cli/generate/must-haves/agent-conventions.test.d.ts +4 -0
- package/build/src/types/tests/cli/integration.test.d.ts +97 -0
- package/build/src/types/tests/cli/recipe/nova-config/normalize-order.test.d.ts +31 -0
- package/build/src/types/tests/cli/recipe/package-json/normalize-tooling.test.d.ts +46 -25
- package/build/src/types/tests/cli/recipe/package-json/sync-identity-version-contract.test.d.ts +57 -0
- package/build/src/types/tests/cli/scaffold/app/android.test.d.ts +8 -0
- package/build/src/types/tests/cli/scaffold/app/apple.test.d.ts +6 -0
- package/build/src/types/tests/cli/scaffold/app/expressjs.test.d.ts +4 -0
- package/build/src/types/tests/cli/scaffold/docs/docusaurus.test.d.ts +26 -0
- package/build/src/types/tests/cli/utility/changelog-android.test.d.ts +48 -0
- package/build/src/types/tests/cli/utility/changelog-apple.test.d.ts +72 -0
- package/build/src/types/tests/cli/utility/changelog.test.d.ts +20 -12
- package/build/src/types/tests/cli/utility/configure.test.d.ts +119 -0
- package/build/src/types/tests/cli/utility/run-recipes.test.d.ts +7 -56
- package/build/src/types/tests/cli/utility/run-scripts.test.d.ts +2 -0
- package/build/src/types/tests/cli/utility/run-workspaces.test.d.ts +48 -0
- package/build/src/types/tests/lib/docker-packaging.test.d.ts +169 -27
- package/build/src/types/tests/lib/ignore-files.test.d.ts +2 -0
- package/build/src/types/tests/lib/integration.test.d.ts +60 -0
- package/build/src/types/tests/lib/nova-config-run-workspaces-cache.test.d.ts +2 -2
- package/build/src/types/tests/lib/nova-config.test.d.ts +17 -0
- package/build/src/types/tests/lib/scaffold-allow-scripts.test.d.ts +14 -0
- package/build/src/types/tests/lib/scaffold-version-contract.test.d.ts +59 -0
- package/build/src/types/tests/lib/scaffold.test.d.ts +33 -0
- package/build/src/types/tests/lib/type-check.test.d.ts +26 -0
- package/build/src/types/tests/lib/utility.test.d.ts +21 -0
- package/build/src/types/tests/lib/version-contract.test.d.ts +66 -0
- package/build/src/types/tests/lib/version-strategy-migration.test.d.ts +85 -0
- package/build/src/types/tests/lib/workflow-templates.test.d.ts +4 -0
- package/build/src/types/tests/presets/eslint/dx-ignore.test.d.ts +14 -0
- package/build/src/types/tests/scaffold-output-contract.test.d.ts +26 -0
- package/build/templates/generators/must-haves/agent-conventions/PROJECT_RULES.md +107 -196
- package/build/templates/generators/must-haves/agent-conventions/VISION.md +91 -22
- package/build/templates/generators/must-haves/agent-conventions/conventions/docker.md +4 -4
- package/build/templates/generators/must-haves/agent-conventions/conventions/documentation.md +4 -2
- package/build/templates/scaffold/app/android/package.json +2 -2
- package/build/templates/scaffold/app/android/scripts/run-gradle.mjs +21 -4
- package/build/templates/scaffold/app/apple/eslint.config.mts +42 -0
- package/build/templates/scaffold/app/apple/package.json +11 -3
- package/build/templates/scaffold/app/apple/project.yml +1 -1
- package/build/templates/scaffold/app/apple/scripts/run-apple.mjs +2 -1
- package/build/templates/scaffold/app/apple/tsconfig.scripts.json +17 -0
- package/build/templates/scaffold/app/apple/tsconfig.tests.json +18 -0
- package/build/templates/scaffold/app/apple/vitest.config.mts +16 -0
- package/build/templates/scaffold/app/astro/package.json +2 -2
- package/build/templates/scaffold/app/discord-bot/package.json +2 -2
- package/build/templates/scaffold/app/express/package.json +2 -2
- package/build/templates/scaffold/app/nextjs/package.json +2 -2
- package/build/templates/scaffold/app/vite/package.json +2 -2
- package/build/templates/scaffold/docs/docusaurus/docusaurus.config.ts +4 -3
- package/build/templates/scaffold/docs/docusaurus/eslint.config.mts +61 -3
- package/build/templates/scaffold/docs/docusaurus/package.json +6 -4
- package/build/templates/scaffold/docs/docusaurus/src/pages/index.tsx +2 -2
- package/build/templates/scaffold/docs/docusaurus/src/tests/dotenv.test.ts +27 -0
- package/build/templates/scaffold/docs/docusaurus/src/tests/frontmatter.test.ts +1 -1
- package/build/templates/scaffold/docs/docusaurus/src/tests/link.test.ts +1 -1
- package/build/templates/scaffold/docs/docusaurus/src/tests/markdown-table.test.ts +1 -1
- package/build/templates/scaffold/docs/docusaurus/src/tests/terminology.test.ts +1 -1
- package/build/templates/scaffold/docs/docusaurus/src/tests/type-declarations.test.ts +1 -1
- package/build/templates/scaffold/docs/docusaurus/src/types/pages/index.d.ts +2 -2
- package/build/templates/scaffold/docs/docusaurus/tsconfig.app.json +33 -0
- package/build/templates/scaffold/docs/docusaurus/tsconfig.config.json +21 -0
- package/build/templates/scaffold/docs/docusaurus/tsconfig.json +11 -17
- package/build/templates/scaffold/docs/docusaurus/tsconfig.tests.json +28 -0
- package/build/templates/scaffold/docs/docusaurus/vitest.config.mts +1 -14
- package/build/templates/scaffold/docs/docusaurus/vitest.setup.ts +3 -3
- package/build/templates/scaffold/package/github-action/package.json +2 -2
- package/build/templates/scaffold/package/homebridge/bin/repl.mjs +5 -2
- package/build/templates/scaffold/package/homebridge/bin/test-api.mjs +5 -2
- package/build/templates/scaffold/package/homebridge/package.json +2 -2
- package/build/templates/scaffold/package/pfsense/package.json +2 -2
- package/build/templates/scaffold/starter/base/assets/README.md +7 -0
- package/build/templates/scaffold-options/app/android-native/app/build.gradle.kts +1 -1
- package/build/templates/scaffold-options/app/android-native/gradlew.bat +84 -84
- package/build/templates/scaffold-options/app/apple-store-connect-root/assets/app-store-connect/[__WORKSPACE_NAME__]/creative-assets/README.md +10 -0
- package/build/templates/scaffold-options/app/apple-store-connect-root/assets/app-store-connect/[__WORKSPACE_NAME__]/metadata/ios/en-US.json +8 -0
- package/build/templates/scaffold-options/app/apple-store-connect-root/assets/app-store-connect/[__WORKSPACE_NAME__]/metadata/macos/en-US.json +8 -0
- package/build/templates/scaffold-options/app/apple-store-connect-root/assets/app-store-connect/[__WORKSPACE_NAME__]/screenshots/README.md +13 -0
- package/build/templates/scaffold-options/app/google-play-console-root/assets/google-play-console/[__WORKSPACE_NAME__]/graphic-assets/README.md +12 -0
- package/build/templates/scaffold-options/app/google-play-console-root/assets/google-play-console/[__WORKSPACE_NAME__]/metadata/android/en-US.json +6 -0
- package/build/templates/scaffold-options/app/google-play-console-root/assets/google-play-console/[__WORKSPACE_NAME__]/screenshots/README.md +13 -0
- package/build/templates/scaffold-options/docker-image/common/Dockerfile +81 -0
- package/build/templates/scaffold-options/docker-image/common/compose.yml +21 -0
- package/build/templates/scaffold-options/docker-image/common/dockerignore +38 -0
- package/build/templates/scaffold-options/package/node-cli-core/bin/cli.mjs +5 -2
- package/build/templates/scaffold-options/tool/serverless/cloudflare-workers/package.json +2 -2
- package/build/templates/scaffold-options/tool/serverless/vercel-functions/package.json +2 -2
- package/package.json +3 -2
- package/build/templates/scaffold-options/docker-image/astro-node/Dockerfile +0 -27
- package/build/templates/scaffold-options/docker-image/astro-node/compose.yml +0 -12
- package/build/templates/scaffold-options/docker-image/background-service/compose.yml +0 -10
- package/build/templates/scaffold-options/docker-image/container-native/Dockerfile +0 -10
- package/build/templates/scaffold-options/docker-image/container-native/compose.yml +0 -8
- package/build/templates/scaffold-options/docker-image/http-service/compose.yml +0 -11
- package/build/templates/scaffold-options/docker-image/nextjs-standalone/Dockerfile +0 -26
- package/build/templates/scaffold-options/docker-image/nextjs-standalone/compose.yml +0 -12
- package/build/templates/scaffold-options/docker-image/node/Dockerfile +0 -23
- package/build/templates/scaffold-options/docker-image/static-site/Dockerfile +0 -18
- package/build/templates/scaffold-options/docker-image/static-site/compose.yml +0 -8
|
@@ -1,62 +1,131 @@
|
|
|
1
1
|
# VISION.md
|
|
2
2
|
|
|
3
|
+
<!--
|
|
4
|
+
VISION.md records the durable product intent behind the repository. Describe why the project
|
|
5
|
+
exists, what it should become, and the boundaries that should continue to guide it. Current
|
|
6
|
+
repository mechanics, commands, and implementation rules belong in PROJECT_RULES.md.
|
|
7
|
+
|
|
8
|
+
Keep the top-level sections below in this order. If important vision material does not fit any
|
|
9
|
+
canonical section, add a descriptive third-level heading under "Additional Vision Notes" rather
|
|
10
|
+
than creating another second-level section. Do not hard-code tool, dependency, platform, or
|
|
11
|
+
release versions; point to their authoritative manifests or configuration when relevant.
|
|
12
|
+
-->
|
|
13
|
+
|
|
3
14
|
## Purpose
|
|
4
15
|
|
|
16
|
+
### Origin
|
|
17
|
+
|
|
18
|
+
<!-- What experience, unmet need, or recurring frustration led to this project? -->
|
|
19
|
+
|
|
5
20
|
### Problem Statement
|
|
6
21
|
|
|
7
|
-
<!-- What
|
|
22
|
+
<!-- What precise problem does this project address? Describe the gap without prescribing the implementation. -->
|
|
8
23
|
|
|
9
24
|
### Target Audience
|
|
10
25
|
|
|
11
26
|
<!--
|
|
12
|
-
Who
|
|
27
|
+
Who should benefit from this project, and who is intentionally outside its audience?
|
|
13
28
|
|
|
14
|
-
- **
|
|
15
|
-
- **
|
|
29
|
+
- **Audience** — Why this group needs the project.
|
|
30
|
+
- **Non-audience** — Why another solution would serve this group better.
|
|
16
31
|
-->
|
|
17
32
|
|
|
18
33
|
### Value Proposition
|
|
19
34
|
|
|
20
|
-
<!-- What
|
|
35
|
+
<!-- What outcome does the project provide, and why is that outcome meaningfully better than the available alternatives? -->
|
|
36
|
+
|
|
37
|
+
## Product Direction
|
|
38
|
+
|
|
39
|
+
### Principles
|
|
40
|
+
|
|
41
|
+
<!-- List the durable product beliefs and trade-offs that should guide future decisions. -->
|
|
42
|
+
|
|
43
|
+
### Scope
|
|
44
|
+
|
|
45
|
+
<!-- Define the capabilities and responsibilities that belong to this project. Describe durable boundaries rather than a release-specific checklist. -->
|
|
46
|
+
|
|
47
|
+
### Explicit Non-Goals
|
|
48
|
+
|
|
49
|
+
<!-- List responsibilities the project intentionally does not accept, with a short rationale for each. -->
|
|
50
|
+
|
|
51
|
+
## Product Design
|
|
52
|
+
|
|
53
|
+
### Core Capabilities
|
|
54
|
+
|
|
55
|
+
<!-- Describe the major user-facing capabilities and how they work together. -->
|
|
56
|
+
|
|
57
|
+
### User Experience
|
|
58
|
+
|
|
59
|
+
<!-- Describe the intended user journey, important interaction expectations, and the experience the project should create. -->
|
|
60
|
+
|
|
61
|
+
### Domain Model
|
|
62
|
+
|
|
63
|
+
<!-- Define the durable entities, relationships, states, or concepts that shape the product. Use a diagram or table when it improves clarity. -->
|
|
64
|
+
|
|
65
|
+
## Positioning
|
|
66
|
+
|
|
67
|
+
### Alternatives
|
|
68
|
+
|
|
69
|
+
<!-- Identify realistic alternatives, including doing nothing or using a manual workflow. State what each alternative does well. -->
|
|
70
|
+
|
|
71
|
+
### Differentiators
|
|
72
|
+
|
|
73
|
+
<!-- Explain the durable qualities that distinguish this project without dismissing reasonable alternatives. -->
|
|
74
|
+
|
|
75
|
+
## Risks and Future
|
|
76
|
+
|
|
77
|
+
### Risks
|
|
78
|
+
|
|
79
|
+
<!-- Record assumptions, technical constraints, adoption risks, or product risks that could materially affect success. -->
|
|
80
|
+
|
|
81
|
+
### Open Questions
|
|
82
|
+
|
|
83
|
+
<!-- Record unresolved product decisions. Remove an entry after its answer is incorporated into the appropriate canonical section. -->
|
|
84
|
+
|
|
85
|
+
### Roadmap
|
|
86
|
+
|
|
87
|
+
<!-- Describe the sequence of outcomes the project should pursue without hard-coding release numbers or dates. -->
|
|
88
|
+
|
|
89
|
+
### Success Criteria
|
|
90
|
+
|
|
91
|
+
<!-- Describe the observable outcomes that would indicate the project is succeeding or failing. -->
|
|
21
92
|
|
|
22
93
|
## Marketing Copy
|
|
23
94
|
|
|
24
95
|
### Tagline
|
|
25
96
|
|
|
26
|
-
<!-- One sentence
|
|
97
|
+
<!-- One sentence that captures the project's purpose without unsupported claims. -->
|
|
27
98
|
|
|
28
99
|
### Elevator Pitch
|
|
29
100
|
|
|
30
|
-
<!-- A short paragraph
|
|
101
|
+
<!-- A short paragraph explaining what the project does, who it serves, and why it matters. -->
|
|
31
102
|
|
|
32
103
|
### Key Features
|
|
33
104
|
|
|
34
105
|
<!--
|
|
35
|
-
List the headline
|
|
106
|
+
List the headline capabilities a prospective user should understand first.
|
|
36
107
|
|
|
37
|
-
- **Feature
|
|
38
|
-
- **Feature name** — What it does and why it matters.
|
|
39
|
-
- **Feature name** — What it does and why it matters.
|
|
108
|
+
- **Feature** — What it does and why it matters.
|
|
40
109
|
-->
|
|
41
110
|
|
|
42
|
-
###
|
|
111
|
+
### Voice
|
|
43
112
|
|
|
44
|
-
<!--
|
|
45
|
-
What sets this project apart from comparable tools or services? Focus on architectural decisions, performance characteristics, developer experience, or ecosystem fit.
|
|
46
|
-
|
|
47
|
-
| This project | Alternatives |
|
|
48
|
-
|--------------------------------|------------------------------|
|
|
49
|
-
| Difference this project offers | What alternatives do instead |
|
|
50
|
-
| Difference this project offers | What alternatives do instead |
|
|
51
|
-
-->
|
|
113
|
+
<!-- Record words, phrases, claims, or tones that product and documentation copy should use or avoid. -->
|
|
52
114
|
|
|
53
115
|
## Glossary
|
|
54
116
|
|
|
55
117
|
<!--
|
|
56
|
-
Define
|
|
118
|
+
Define domain-specific terminology that contributors and agents must use consistently.
|
|
57
119
|
|
|
58
120
|
| Term | Definition |
|
|
59
121
|
|------|-----------------------------------------------|
|
|
60
122
|
| Term | What it means in the context of this project. |
|
|
61
|
-
|
|
123
|
+
-->
|
|
124
|
+
|
|
125
|
+
## Additional Vision Notes
|
|
126
|
+
|
|
127
|
+
<!--
|
|
128
|
+
Place genuinely project-specific vision material here under descriptive third-level headings.
|
|
129
|
+
Do not create additional second-level sections. Prefer a canonical section above whenever one
|
|
130
|
+
fits, and do not use this section as a duplicate backlog or implementation log.
|
|
62
131
|
-->
|
|
@@ -24,8 +24,8 @@ FROM node
|
|
|
24
24
|
FROM node:latest
|
|
25
25
|
|
|
26
26
|
# GOOD — pinned to specific version
|
|
27
|
-
FROM node:22.
|
|
28
|
-
FROM postgres:17.
|
|
27
|
+
FROM node:24.22.0-trixie-slim
|
|
28
|
+
FROM postgres:17.11-trixie
|
|
29
29
|
```
|
|
30
30
|
|
|
31
31
|
### Multi-Stage Builds
|
|
@@ -34,14 +34,14 @@ Use named stages. Keep the final image minimal — copy only what's needed from
|
|
|
34
34
|
|
|
35
35
|
```dockerfile
|
|
36
36
|
# GOOD — named stages, minimal final image
|
|
37
|
-
FROM node:22.
|
|
37
|
+
FROM node:24.22.0-trixie-slim AS build
|
|
38
38
|
WORKDIR /app
|
|
39
39
|
COPY package.json package-lock.json ./
|
|
40
40
|
RUN npm ci
|
|
41
41
|
COPY . .
|
|
42
42
|
RUN npm run build
|
|
43
43
|
|
|
44
|
-
FROM node:22.
|
|
44
|
+
FROM node:24.22.0-trixie-slim AS runtime
|
|
45
45
|
WORKDIR /app
|
|
46
46
|
COPY --from=build /app/build ./build
|
|
47
47
|
COPY --from=build /app/package.json ./
|
package/build/templates/generators/must-haves/agent-conventions/conventions/documentation.md
CHANGED
|
@@ -6,7 +6,9 @@ Rules for writing Docusaurus MDX documentation pages.
|
|
|
6
6
|
|
|
7
7
|
### Opening Paragraph
|
|
8
8
|
|
|
9
|
-
- Every page
|
|
9
|
+
- Every page begins with its visible title, followed immediately by a single-sentence opening paragraph before any section heading.
|
|
10
|
+
- Documentation pages may synthesize the visible title from frontmatter and do not need an authored H1.
|
|
11
|
+
- Standalone MDX pages under `src/pages` must place an explicit H1 after imports and before the opening paragraph.
|
|
10
12
|
- Verb-first, states what the feature does.
|
|
11
13
|
|
|
12
14
|
```mdx
|
|
@@ -517,7 +519,7 @@ Require blank lines between specific statement patterns so code stays visually o
|
|
|
517
519
|
Enable the rule in your ESLint flat config:
|
|
518
520
|
|
|
519
521
|
```ts title="eslint.config.ts"
|
|
520
|
-
import { novaRules } from '@cbnventures/nova';
|
|
522
|
+
import { novaRules } from '@cbnventures/nova/presets/eslint';
|
|
521
523
|
|
|
522
524
|
export default [
|
|
523
525
|
...novaRules,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "[__WORKSPACE_PACKAGE_NAME__]",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "[__WORKSPACE_VERSION__]",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"private": true,
|
|
6
6
|
"scripts": {
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"node": "[__SCAFFOLD_VERSION_NODE_ENGINE__]"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@cbnventures/nova": "0.
|
|
25
|
+
"@cbnventures/nova": "0.34.0"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"@types/node": "[__SCAFFOLD_VERSION_TYPES_NODE_24__]",
|
|
@@ -8,12 +8,29 @@ import {
|
|
|
8
8
|
/**
|
|
9
9
|
* Run Gradle - Executable.
|
|
10
10
|
*
|
|
11
|
-
* Selects the
|
|
12
|
-
*
|
|
11
|
+
* Selects the platform-specific command used to launch Gradle.
|
|
12
|
+
*
|
|
13
|
+
* Uses a POSIX shell outside Windows so a generated wrapper does not rely on
|
|
14
|
+
* executable mode bits that Windows Git clients cannot infer for new files.
|
|
13
15
|
*
|
|
14
16
|
* @since 0.0.0
|
|
15
17
|
*/
|
|
16
|
-
const executable = (isWindows === true) ? 'gradlew.bat' : '
|
|
18
|
+
const executable = (isWindows === true) ? 'gradlew.bat' : 'sh';
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* Run Gradle - Wrapper Arguments.
|
|
22
|
+
*
|
|
23
|
+
* Selects the arguments forwarded to the platform-specific Gradle command.
|
|
24
|
+
*
|
|
25
|
+
* Prepends the POSIX wrapper path when a shell reads it while Windows keeps
|
|
26
|
+
* forwarding user arguments directly to its native batch wrapper.
|
|
27
|
+
*
|
|
28
|
+
* @since UNRELEASED
|
|
29
|
+
*/
|
|
30
|
+
const wrapperArguments = (isWindows === true) ? process.argv.slice(2) : [
|
|
31
|
+
'./gradlew',
|
|
32
|
+
...process.argv.slice(2),
|
|
33
|
+
];
|
|
17
34
|
|
|
18
35
|
/**
|
|
19
36
|
* Run Gradle - Child.
|
|
@@ -23,7 +40,7 @@ const executable = (isWindows === true) ? 'gradlew.bat' : './gradlew';
|
|
|
23
40
|
*
|
|
24
41
|
* @since 0.0.0
|
|
25
42
|
*/
|
|
26
|
-
const child = spawn(executable,
|
|
43
|
+
const child = spawn(executable, wrapperArguments, {
|
|
27
44
|
cwd: new URL('../', import.meta.url),
|
|
28
45
|
env: androidEnvironment,
|
|
29
46
|
shell: isWindows,
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import {
|
|
2
|
+
dxCodeStyle,
|
|
3
|
+
dxIgnore,
|
|
4
|
+
langJavascript,
|
|
5
|
+
langTypescript,
|
|
6
|
+
novaRules,
|
|
7
|
+
runtimeNode,
|
|
8
|
+
} from '@cbnventures/nova/presets/eslint';
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* ESLint Configuration.
|
|
12
|
+
*
|
|
13
|
+
* Lints the Node.js helper that delegates lifecycle commands to Apple tools.
|
|
14
|
+
* The configuration keeps generated helper code aligned with Nova defaults.
|
|
15
|
+
*
|
|
16
|
+
* @since 0.0.0
|
|
17
|
+
*/
|
|
18
|
+
export default [
|
|
19
|
+
...dxIgnore,
|
|
20
|
+
...dxCodeStyle,
|
|
21
|
+
...langJavascript,
|
|
22
|
+
...langTypescript,
|
|
23
|
+
...runtimeNode,
|
|
24
|
+
{
|
|
25
|
+
name: 'custom-tsconfig',
|
|
26
|
+
files: [
|
|
27
|
+
'**/*.cts',
|
|
28
|
+
'**/*.mts',
|
|
29
|
+
'**/*.ts',
|
|
30
|
+
'**/*.tsx',
|
|
31
|
+
],
|
|
32
|
+
languageOptions: {
|
|
33
|
+
parserOptions: {
|
|
34
|
+
project: [
|
|
35
|
+
'./tsconfig.scripts.json',
|
|
36
|
+
'./tsconfig.tests.json',
|
|
37
|
+
],
|
|
38
|
+
},
|
|
39
|
+
},
|
|
40
|
+
},
|
|
41
|
+
...novaRules,
|
|
42
|
+
];
|
|
@@ -1,12 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "[__WORKSPACE_PACKAGE_NAME__]",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "[__WORKSPACE_VERSION__]",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"private": true,
|
|
6
6
|
"scripts": {
|
|
7
7
|
"dev": "nova utility run-scripts --parallel --node-env development \"dev:*\"",
|
|
8
8
|
"dev:project": "node ./scripts/run-apple.mjs generate",
|
|
9
9
|
"check": "nova utility run-scripts --sequential \"check:*\"",
|
|
10
|
+
"check:lint-scripts": "eslint ./ --max-warnings=0",
|
|
11
|
+
"check:types-scripts": "nova utility type-check --project tsconfig.scripts.json",
|
|
12
|
+
"check:types-tests": "nova utility type-check --project tsconfig.tests.json",
|
|
13
|
+
"check:test-scripts": "vitest run",
|
|
10
14
|
"check:project": "node ./scripts/run-apple.mjs generate",
|
|
11
15
|
"check:test": "node ./scripts/run-apple.mjs test",
|
|
12
16
|
"build": "nova utility run-scripts --sequential --node-env production \"build:*\"",
|
|
@@ -19,9 +23,13 @@
|
|
|
19
23
|
"node": "[__SCAFFOLD_VERSION_NODE_ENGINE__]"
|
|
20
24
|
},
|
|
21
25
|
"dependencies": {
|
|
22
|
-
"@cbnventures/nova": "0.
|
|
26
|
+
"@cbnventures/nova": "0.34.0"
|
|
23
27
|
},
|
|
24
28
|
"devDependencies": {
|
|
25
|
-
"
|
|
29
|
+
"@types/node": "[__SCAFFOLD_VERSION_TYPES_NODE_24__]",
|
|
30
|
+
"eslint": "[__SCAFFOLD_VERSION_ESLINT__]",
|
|
31
|
+
"shx": "[__SCAFFOLD_VERSION_SHX__]",
|
|
32
|
+
"typescript": "[__SCAFFOLD_VERSION_TYPESCRIPT__]",
|
|
33
|
+
"vitest": "[__SCAFFOLD_VERSION_VITEST__]"
|
|
26
34
|
}
|
|
27
35
|
}
|
|
@@ -15,6 +15,7 @@ const workspaceDirectory = fileURLToPath(new URL('../', import.meta.url));
|
|
|
15
15
|
* Run Apple - Action.
|
|
16
16
|
*
|
|
17
17
|
* Selects the Xcode lifecycle operation requested by the package script.
|
|
18
|
+
* The resolved value chooses one supported native lifecycle command.
|
|
18
19
|
*
|
|
19
20
|
* @since 0.0.0
|
|
20
21
|
*/
|
|
@@ -78,7 +79,7 @@ const commands = new Map([
|
|
|
78
79
|
*
|
|
79
80
|
* @since 0.0.0
|
|
80
81
|
*/
|
|
81
|
-
const command = commands.get(action);
|
|
82
|
+
const command = (action === undefined) ? undefined : commands.get(action);
|
|
82
83
|
|
|
83
84
|
if (command === undefined) {
|
|
84
85
|
process.stderr.write(`Unknown Apple lifecycle action: ${action ?? '(missing)'}.\n`);
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"extends": [
|
|
3
|
+
"@cbnventures/nova/presets/tsconfig/dx-essentials.json",
|
|
4
|
+
"@cbnventures/nova/presets/tsconfig/dx-strict.json",
|
|
5
|
+
"@cbnventures/nova/presets/tsconfig/role-scripts.json",
|
|
6
|
+
"@cbnventures/nova/presets/tsconfig/runtime-node.json"
|
|
7
|
+
],
|
|
8
|
+
"compilerOptions": {
|
|
9
|
+
"types": [
|
|
10
|
+
"node"
|
|
11
|
+
]
|
|
12
|
+
},
|
|
13
|
+
"include": [
|
|
14
|
+
"./eslint.config.mts",
|
|
15
|
+
"./scripts/**/*.mjs"
|
|
16
|
+
]
|
|
17
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{
|
|
2
|
+
"extends": [
|
|
3
|
+
"@cbnventures/nova/presets/tsconfig/dx-essentials.json",
|
|
4
|
+
"@cbnventures/nova/presets/tsconfig/dx-strict.json",
|
|
5
|
+
"@cbnventures/nova/presets/tsconfig/role-tests.json",
|
|
6
|
+
"@cbnventures/nova/presets/tsconfig/runtime-node.json"
|
|
7
|
+
],
|
|
8
|
+
"compilerOptions": {
|
|
9
|
+
"types": [
|
|
10
|
+
"node",
|
|
11
|
+
"vitest/globals"
|
|
12
|
+
]
|
|
13
|
+
},
|
|
14
|
+
"include": [
|
|
15
|
+
"./tests/**/*.test.ts",
|
|
16
|
+
"./vitest.config.mts"
|
|
17
|
+
]
|
|
18
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { defineConfig } from 'vitest/config';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Vitest Configuration.
|
|
5
|
+
*
|
|
6
|
+
* Discovers tests for the Node.js helpers surrounding the Apple project.
|
|
7
|
+
* Native Apple tests remain owned by Xcode and the selected Apple framework.
|
|
8
|
+
*
|
|
9
|
+
* @since 0.0.0
|
|
10
|
+
*/
|
|
11
|
+
export default defineConfig({
|
|
12
|
+
test: {
|
|
13
|
+
include: ['tests/**/*.test.ts'],
|
|
14
|
+
passWithNoTests: true,
|
|
15
|
+
},
|
|
16
|
+
});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "[__WORKSPACE_PACKAGE_NAME__]",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "[__WORKSPACE_VERSION__]",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"private": true,
|
|
6
6
|
"scripts": {
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"node": "[__SCAFFOLD_VERSION_NODE_ENGINE__]"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@cbnventures/nova": "0.
|
|
26
|
+
"@cbnventures/nova": "0.34.0",
|
|
27
27
|
"astro": "[__SCAFFOLD_VERSION_ASTRO__]",
|
|
28
28
|
"cookie": "[__SCAFFOLD_VERSION_COOKIE__]"
|
|
29
29
|
},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "[__WORKSPACE_PACKAGE_NAME__]",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "[__WORKSPACE_VERSION__]",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"private": true,
|
|
6
6
|
"scripts": {
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"node": "[__SCAFFOLD_VERSION_NODE_ENGINE__]"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@cbnventures/nova": "0.
|
|
27
|
+
"@cbnventures/nova": "0.34.0",
|
|
28
28
|
"discord.js": "[__SCAFFOLD_VERSION_DISCORD_JS__]"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "[__WORKSPACE_PACKAGE_NAME__]",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "[__WORKSPACE_VERSION__]",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"private": true,
|
|
6
6
|
"scripts": {
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"node": "[__SCAFFOLD_VERSION_NODE_ENGINE__]"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@cbnventures/nova": "0.
|
|
27
|
+
"@cbnventures/nova": "0.34.0",
|
|
28
28
|
"express": "[__SCAFFOLD_VERSION_EXPRESS__]"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "[__WORKSPACE_PACKAGE_NAME__]",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "[__WORKSPACE_VERSION__]",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"private": true,
|
|
6
6
|
"scripts": {
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"node": "[__SCAFFOLD_VERSION_NODE_ENGINE__]"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@cbnventures/nova": "0.
|
|
27
|
+
"@cbnventures/nova": "0.34.0",
|
|
28
28
|
"next": "[__SCAFFOLD_VERSION_NEXT__]",
|
|
29
29
|
"react": "[__SCAFFOLD_VERSION_REACT__]",
|
|
30
30
|
"react-dom": "[__SCAFFOLD_VERSION_REACT_DOM__]"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "[__WORKSPACE_PACKAGE_NAME__]",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "[__WORKSPACE_VERSION__]",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"private": true,
|
|
6
6
|
"scripts": {
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"node": "[__SCAFFOLD_VERSION_NODE_ENGINE__]"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@cbnventures/nova": "0.
|
|
25
|
+
"@cbnventures/nova": "0.34.0"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"@types/node": "[__SCAFFOLD_VERSION_TYPES_NODE_22__]",
|
|
@@ -21,13 +21,14 @@ const identity = new NovaIdentity().forDocs();
|
|
|
21
21
|
* @since 0.0.0
|
|
22
22
|
*/
|
|
23
23
|
const config: DocusaurusNovaConfig = {
|
|
24
|
-
title: '
|
|
24
|
+
title: identity['title'] ?? '',
|
|
25
25
|
tagline: identity['tagline'] ?? 'Documentation',
|
|
26
|
-
url: identity['url'] ?? 'https://example.com',
|
|
27
|
-
baseUrl: '/',
|
|
26
|
+
url: identity['url'] ?? 'https://www.example.com',
|
|
27
|
+
baseUrl: identity['baseUrl'] ?? '/',
|
|
28
28
|
favicon: 'images/nova.svg',
|
|
29
29
|
organizationName: identity['organizationName'] ?? 'your-org',
|
|
30
30
|
projectName: identity['projectName'] ?? '[__PROJECT_SLUG__]',
|
|
31
|
+
trailingSlash: true,
|
|
31
32
|
onBrokenLinks: 'throw',
|
|
32
33
|
|
|
33
34
|
markdown: {
|
|
@@ -12,8 +12,6 @@ import {
|
|
|
12
12
|
/**
|
|
13
13
|
* ESLint Configuration.
|
|
14
14
|
*
|
|
15
|
-
* Composes Nova's browser, TypeScript, MDX, and Docusaurus contracts.
|
|
16
|
-
*
|
|
17
15
|
* @since 0.0.0
|
|
18
16
|
*/
|
|
19
17
|
export default [
|
|
@@ -24,6 +22,10 @@ export default [
|
|
|
24
22
|
...langTypescript,
|
|
25
23
|
...fwDocusaurus,
|
|
26
24
|
...runtimeBrowser,
|
|
25
|
+
{
|
|
26
|
+
name: 'custom-ignores',
|
|
27
|
+
ignores: [],
|
|
28
|
+
},
|
|
27
29
|
{
|
|
28
30
|
name: 'custom-tsconfig',
|
|
29
31
|
files: [
|
|
@@ -34,7 +36,11 @@ export default [
|
|
|
34
36
|
],
|
|
35
37
|
languageOptions: {
|
|
36
38
|
parserOptions: {
|
|
37
|
-
project: [
|
|
39
|
+
project: [
|
|
40
|
+
'./tsconfig.app.json',
|
|
41
|
+
'./tsconfig.config.json',
|
|
42
|
+
'./tsconfig.tests.json',
|
|
43
|
+
],
|
|
38
44
|
},
|
|
39
45
|
},
|
|
40
46
|
},
|
|
@@ -52,6 +58,58 @@ export default [
|
|
|
52
58
|
'**/*.tsx',
|
|
53
59
|
],
|
|
54
60
|
rules: {
|
|
61
|
+
'@cbnventures/nova/require-jsdoc-body': [
|
|
62
|
+
'error',
|
|
63
|
+
{
|
|
64
|
+
ignoreFiles: [
|
|
65
|
+
'./docusaurus.config.ts',
|
|
66
|
+
'./eslint.config.mts',
|
|
67
|
+
'./sidebars.ts',
|
|
68
|
+
'./vitest.config.mts',
|
|
69
|
+
],
|
|
70
|
+
maxLines: 3,
|
|
71
|
+
maxWidth: 90,
|
|
72
|
+
minLines: 2,
|
|
73
|
+
skipDirectories: [
|
|
74
|
+
'styles',
|
|
75
|
+
'tests',
|
|
76
|
+
'types',
|
|
77
|
+
],
|
|
78
|
+
},
|
|
79
|
+
],
|
|
80
|
+
'@cbnventures/nova/require-jsdoc-hierarchy': [
|
|
81
|
+
'error',
|
|
82
|
+
{
|
|
83
|
+
anchorDirectories: [
|
|
84
|
+
'src',
|
|
85
|
+
'utils',
|
|
86
|
+
],
|
|
87
|
+
ignoreFiles: [
|
|
88
|
+
'./docusaurus.config.ts',
|
|
89
|
+
'./eslint.config.mts',
|
|
90
|
+
'./sidebars.ts',
|
|
91
|
+
'./vitest.config.mts',
|
|
92
|
+
'./vitest.setup.ts',
|
|
93
|
+
],
|
|
94
|
+
knownNames: {},
|
|
95
|
+
stripDirectories: ['types'],
|
|
96
|
+
},
|
|
97
|
+
],
|
|
98
|
+
'@cbnventures/nova/require-jsdoc-presence': [
|
|
99
|
+
'error',
|
|
100
|
+
{
|
|
101
|
+
ignoreFiles: [
|
|
102
|
+
'./docusaurus.config.ts',
|
|
103
|
+
'./eslint.config.mts',
|
|
104
|
+
'./sidebars.ts',
|
|
105
|
+
'./vitest.config.mts',
|
|
106
|
+
],
|
|
107
|
+
skipDirectories: [
|
|
108
|
+
'tests',
|
|
109
|
+
'types',
|
|
110
|
+
],
|
|
111
|
+
},
|
|
112
|
+
],
|
|
55
113
|
'@cbnventures/nova/require-kebab-case-filename': [
|
|
56
114
|
'error',
|
|
57
115
|
{
|
|
@@ -9,10 +9,12 @@
|
|
|
9
9
|
"prod:serve": "docusaurus serve --port 3000",
|
|
10
10
|
"check": "nova utility run-scripts --sequential \"check:*\"",
|
|
11
11
|
"check:lint": "eslint ./ --max-warnings=0",
|
|
12
|
-
"check:types": "nova utility type-check --project tsconfig.json",
|
|
12
|
+
"check:types-app": "nova utility type-check --project tsconfig.app.json",
|
|
13
|
+
"check:types-config": "nova utility type-check --project tsconfig.config.json",
|
|
14
|
+
"check:types-tests": "nova utility type-check --project tsconfig.tests.json",
|
|
13
15
|
"check:test": "vitest run",
|
|
14
16
|
"build": "nova utility run-scripts --sequential --node-env production \"build:*\"",
|
|
15
|
-
"build:
|
|
17
|
+
"build:build": "docusaurus build",
|
|
16
18
|
"clean": "nova utility run-scripts --parallel \"clean:*\"",
|
|
17
19
|
"clean:build": "shx rm -rf ./build",
|
|
18
20
|
"clean:clear": "docusaurus clear",
|
|
@@ -25,8 +27,8 @@
|
|
|
25
27
|
"node": "[__SCAFFOLD_VERSION_NODE_ENGINE__]"
|
|
26
28
|
},
|
|
27
29
|
"dependencies": {
|
|
28
|
-
"@cbnventures/docusaurus-preset-nova": "0.
|
|
29
|
-
"@cbnventures/nova": "0.
|
|
30
|
+
"@cbnventures/docusaurus-preset-nova": "0.34.0",
|
|
31
|
+
"@cbnventures/nova": "0.34.0",
|
|
30
32
|
"@docusaurus/core": "[__SCAFFOLD_VERSION_DOCUSAURUS__]",
|
|
31
33
|
"react": "[__SCAFFOLD_VERSION_REACT__]",
|
|
32
34
|
"react-dom": "[__SCAFFOLD_VERSION_REACT_DOM__]"
|
|
@@ -12,7 +12,7 @@ import type {
|
|
|
12
12
|
} from '../types/pages/index.d.ts';
|
|
13
13
|
|
|
14
14
|
/**
|
|
15
|
-
*
|
|
15
|
+
* Pages - Blog Enabled.
|
|
16
16
|
*
|
|
17
17
|
* Keeps the preset-native blog preview aligned with the content model selected
|
|
18
18
|
* when Nova generated this documentation workspace.
|
|
@@ -22,7 +22,7 @@ import type {
|
|
|
22
22
|
const blogEnabled: Pages_Index_Home_BlogEnabled = Boolean([__DOCUSAURUS_CONTENT__]);
|
|
23
23
|
|
|
24
24
|
/**
|
|
25
|
-
*
|
|
25
|
+
* Pages - Home.
|
|
26
26
|
*
|
|
27
27
|
* Composes a preset-native documentation landing page without the article and
|
|
28
28
|
* table-of-contents frame used by ordinary MDX pages.
|