@ykdz/template 0.0.35 → 0.0.37
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/dist/application.d.ts +131 -14
- package/dist/application.js +307 -206
- package/dist/command-result.d.ts +9 -0
- package/dist/command-result.js +231 -0
- package/dist/main.d.ts +4 -1
- package/dist/main.js +321 -49
- package/node_modules/@ykdz/template-builtin-presets/dist/src/foundation.d.ts +159 -45
- package/node_modules/@ykdz/template-builtin-presets/dist/src/foundation.js +2816 -535
- package/node_modules/@ykdz/template-builtin-presets/dist/src/generation-record.d.ts +39 -0
- package/node_modules/@ykdz/template-builtin-presets/dist/src/generation-record.js +178 -0
- package/node_modules/@ykdz/template-builtin-presets/dist/src/index.d.ts +2 -2
- package/node_modules/@ykdz/template-builtin-presets/dist/src/index.js +1 -1
- package/node_modules/@ykdz/template-builtin-presets/dist/src/rust-bin/definition.d.ts +31 -2
- package/node_modules/@ykdz/template-builtin-presets/dist/src/rust-bin/definition.js +44 -47
- package/node_modules/@ykdz/template-builtin-presets/dist/src/shared/development-container.d.ts +1 -1
- package/node_modules/@ykdz/template-builtin-presets/dist/src/shared/development-container.js +1 -1
- package/node_modules/@ykdz/template-builtin-presets/dist/src/shared/typescript.d.ts +10 -7
- package/node_modules/@ykdz/template-builtin-presets/dist/src/shared/typescript.js +11 -7
- package/node_modules/@ykdz/template-builtin-presets/dist/src/shared/vue.d.ts +6 -4
- package/node_modules/@ykdz/template-builtin-presets/dist/src/shared/vue.js +8 -7
- package/node_modules/@ykdz/template-builtin-presets/dist/src/template-sources.d.ts +1 -1
- package/node_modules/@ykdz/template-builtin-presets/dist/src/template-sources.js +1 -1
- package/node_modules/@ykdz/template-builtin-presets/dist/src/ts-cli/definition.d.ts +31 -2
- package/node_modules/@ykdz/template-builtin-presets/dist/src/ts-cli/definition.js +111 -64
- package/node_modules/@ykdz/template-builtin-presets/dist/src/ts-lib/definition.d.ts +31 -2
- package/node_modules/@ykdz/template-builtin-presets/dist/src/ts-lib/definition.js +37 -29
- package/node_modules/@ykdz/template-builtin-presets/dist/src/vike-app/definition.d.ts +48 -2
- package/node_modules/@ykdz/template-builtin-presets/dist/src/vike-app/definition.js +203 -155
- package/node_modules/@ykdz/template-builtin-presets/dist/src/vue-app/definition.d.ts +26 -2
- package/node_modules/@ykdz/template-builtin-presets/dist/src/vue-app/definition.js +21 -9
- package/node_modules/@ykdz/template-builtin-presets/dist/src/vue-hono-app/definition.d.ts +22 -2
- package/node_modules/@ykdz/template-builtin-presets/dist/src/vue-hono-app/definition.js +48 -38
- package/node_modules/{semver → @ykdz/template-builtin-presets/node_modules/semver}/bin/semver.js +0 -0
- package/node_modules/{valibot → @ykdz/template-builtin-presets/node_modules/valibot}/README.md +1 -1
- package/node_modules/{valibot → @ykdz/template-builtin-presets/node_modules/valibot}/dist/index.cjs +427 -504
- package/node_modules/{valibot → @ykdz/template-builtin-presets/node_modules/valibot}/dist/index.d.cts +427 -32
- package/node_modules/{valibot → @ykdz/template-builtin-presets/node_modules/valibot}/dist/index.d.mts +427 -32
- package/node_modules/@ykdz/template-builtin-presets/node_modules/valibot/dist/index.min.cjs +2 -0
- package/node_modules/@ykdz/template-builtin-presets/node_modules/valibot/dist/index.min.mjs +2 -0
- package/node_modules/{valibot → @ykdz/template-builtin-presets/node_modules/valibot}/dist/index.mjs +418 -504
- package/node_modules/{valibot → @ykdz/template-builtin-presets/node_modules/valibot}/package.json +7 -2
- package/node_modules/@ykdz/template-builtin-presets/package.json +30 -16
- package/node_modules/@ykdz/template-builtin-presets/templates/foundation/.github/workflows/check-deployment-diagnostics.yml +5 -5
- package/node_modules/@ykdz/template-builtin-presets/templates/foundation/.github/workflows/check-deployment.yml +4 -4
- package/node_modules/@ykdz/template-builtin-presets/templates/foundation/.github/workflows/check-diagnostics.yml +4 -4
- package/node_modules/@ykdz/template-builtin-presets/templates/foundation/.github/workflows/check.yml +3 -3
- package/node_modules/@ykdz/template-builtin-presets/templates/foundation/.pnpmfile.mjs +19 -0
- package/node_modules/@ykdz/template-builtin-presets/templates/foundation/AGENTS.md.template +11 -0
- package/node_modules/@ykdz/template-builtin-presets/templates/foundation/devcontainer.json +1 -2
- package/node_modules/@ykdz/template-builtin-presets/templates/foundation/pnpm-workspace.dynamic.txt +1 -0
- package/node_modules/@ykdz/template-builtin-presets/templates/foundation/pnpm-workspace.yaml +5 -5
- package/node_modules/@ykdz/template-builtin-presets/templates/foundation/scripts/check-toolchain-versions.ts +556 -0
- package/node_modules/@ykdz/template-builtin-presets/templates/foundation/tsconfig.json +4 -6
- package/node_modules/@ykdz/template-builtin-presets/templates/foundation/tsconfig.packing-hook.json +7 -0
- package/node_modules/@ykdz/template-builtin-presets/templates/foundation/turbo.json +1 -1
- package/node_modules/@ykdz/template-builtin-presets/templates/rust-bin/turbo.json +19 -1
- package/node_modules/@ykdz/template-builtin-presets/templates/shared/devcontainer/node-pnpm.Dockerfile +4 -6
- package/node_modules/@ykdz/template-builtin-presets/templates/shared/oxc/tsconfig.config.json +2 -1
- package/node_modules/@ykdz/template-builtin-presets/templates/shared/vue/tsconfig.app.json +1 -1
- package/node_modules/@ykdz/template-builtin-presets/templates/shared/vue/tsconfig.node.json +2 -2
- package/node_modules/@ykdz/template-builtin-presets/templates/ts-cli/publication/CHANGELOG.md.template +17 -0
- package/node_modules/@ykdz/template-builtin-presets/templates/ts-cli/publication/RELEASING.md +17 -0
- package/node_modules/@ykdz/template-builtin-presets/templates/ts-cli/publication/artifact.ts +1271 -0
- package/node_modules/@ykdz/template-builtin-presets/templates/ts-cli/publication/changelog.ts +283 -0
- package/node_modules/@ykdz/template-builtin-presets/templates/ts-cli/publication/check-artifact.ts +99 -0
- package/node_modules/@ykdz/template-builtin-presets/templates/ts-cli/publication/check-readiness.ts +66 -0
- package/node_modules/@ykdz/template-builtin-presets/templates/ts-cli/publication/cli-command-identity.ts +4 -0
- package/node_modules/@ykdz/template-builtin-presets/templates/ts-cli/publication/handoff.ts +450 -0
- package/node_modules/@ykdz/template-builtin-presets/templates/ts-cli/publication/publish.ts +483 -0
- package/node_modules/@ykdz/template-builtin-presets/templates/ts-cli/publication/readiness.ts +1146 -0
- package/node_modules/@ykdz/template-builtin-presets/templates/ts-cli/publication/release.ts +819 -0
- package/node_modules/@ykdz/template-builtin-presets/templates/ts-cli/publication/release.yml +119 -0
- package/node_modules/@ykdz/template-builtin-presets/templates/ts-cli/publication/root-tsconfig.json +8 -0
- package/node_modules/@ykdz/template-builtin-presets/templates/ts-cli/publication/tsconfig.json +4 -0
- package/node_modules/@ykdz/template-builtin-presets/templates/ts-cli/publication/turbo.json +6 -0
- package/node_modules/@ykdz/template-builtin-presets/templates/ts-cli/publication-setup/README.md +48 -0
- package/node_modules/@ykdz/template-builtin-presets/templates/ts-cli/publication-setup/assets/CHANGELOG.md.template +17 -0
- package/node_modules/@ykdz/template-builtin-presets/templates/ts-cli/publication-setup/assets/LICENSE-APACHE-2.0.txt +202 -0
- package/node_modules/@ykdz/template-builtin-presets/templates/ts-cli/publication-setup/assets/LICENSE-MIT.txt +21 -0
- package/node_modules/@ykdz/template-builtin-presets/templates/ts-cli/publication-setup/assets/README.md.template +5 -0
- package/node_modules/@ykdz/template-builtin-presets/templates/ts-cli/publication-setup/bridge.ts +3336 -0
- package/node_modules/@ykdz/template-builtin-presets/templates/ts-cli/publication-setup/setup.sh +221 -0
- package/node_modules/@ykdz/template-builtin-presets/templates/ts-cli/src/cli-command-identity.ts +133 -0
- package/node_modules/@ykdz/template-builtin-presets/templates/ts-cli/src/cli.ts +4 -3
- package/node_modules/@ykdz/template-builtin-presets/templates/ts-cli/src/main.ts +5 -4
- package/node_modules/@ykdz/template-builtin-presets/templates/ts-cli/test/integration/command.test.ts +14 -13
- package/node_modules/@ykdz/template-builtin-presets/templates/ts-cli/test/unit/cli-command-identity.test.ts +76 -0
- package/node_modules/@ykdz/template-builtin-presets/templates/ts-cli/tsconfig.build.json +2 -0
- package/node_modules/@ykdz/template-builtin-presets/templates/ts-cli/tsconfig.json +2 -2
- package/node_modules/@ykdz/template-builtin-presets/templates/ts-lib/tsconfig.build.json +2 -1
- package/node_modules/@ykdz/template-builtin-presets/templates/ts-lib/tsconfig.json +2 -2
- package/node_modules/@ykdz/template-builtin-presets/templates/vike-app/db/scripts/reset.ts +3 -0
- package/node_modules/@ykdz/template-builtin-presets/templates/vike-app/db/src/db.ts +3 -4
- package/node_modules/@ykdz/template-builtin-presets/templates/vike-app/db/src/readiness.ts +6 -5
- package/node_modules/@ykdz/template-builtin-presets/templates/vike-app/db/src/storage.ts +93 -0
- package/node_modules/@ykdz/template-builtin-presets/templates/vike-app/db/tsconfig.build.json +8 -2
- package/node_modules/@ykdz/template-builtin-presets/templates/vike-app/db/tsconfig.json +3 -7
- package/node_modules/@ykdz/template-builtin-presets/templates/vike-app/db/turbo.json +1 -1
- package/node_modules/@ykdz/template-builtin-presets/templates/vike-app/db-migrations/drizzle.config.ts +5 -5
- package/node_modules/@ykdz/template-builtin-presets/templates/vike-app/db-migrations/tsconfig.build.json +2 -1
- package/node_modules/@ykdz/template-builtin-presets/templates/vike-app/db-migrations/tsconfig.json +2 -2
- package/node_modules/@ykdz/template-builtin-presets/templates/vike-app/web/.env.example +2 -1
- package/node_modules/@ykdz/template-builtin-presets/templates/vike-app/web/Dockerfile +25 -17
- package/node_modules/@ykdz/template-builtin-presets/templates/vike-app/web/Dockerfile.dockerignore +4 -4
- package/node_modules/@ykdz/template-builtin-presets/templates/vike-app/web/playwright.config.ts +5 -25
- package/node_modules/@ykdz/template-builtin-presets/templates/vike-app/web/scripts/check-standalone-deployment.ts +17 -15
- package/node_modules/@ykdz/template-builtin-presets/templates/vike-app/web/test/playwright-teardown.ts +6 -7
- package/node_modules/@ykdz/template-builtin-presets/templates/vike-app/web/tsconfig.app.json +1 -2
- package/node_modules/@ykdz/template-builtin-presets/templates/vike-app/web/tsconfig.json +0 -1
- package/node_modules/@ykdz/template-builtin-presets/templates/vike-app/web/tsconfig.node.json +2 -3
- package/node_modules/@ykdz/template-builtin-presets/templates/vike-app/web/tsconfig.test.json +0 -1
- package/node_modules/@ykdz/template-builtin-presets/templates/vike-app/web/turbo.json +0 -8
- package/node_modules/@ykdz/template-builtin-presets/templates/vike-app/web/vite.config.ts +3 -39
- package/node_modules/@ykdz/template-builtin-presets/templates/vue-hono-app/api/tsconfig.json +7 -2
- package/node_modules/@ykdz/template-builtin-presets/templates/vue-hono-app/root/playwright.config.ts +34 -0
- package/node_modules/@ykdz/template-builtin-presets/templates/vue-hono-app/{web → root}/test/e2e/app.spec.ts +3 -3
- package/node_modules/@ykdz/template-builtin-presets/templates/vue-hono-app/root/test/e2e/fixtures.ts +15 -0
- package/node_modules/@ykdz/template-builtin-presets/templates/vue-hono-app/root/tsconfig.json +3 -0
- package/node_modules/@ykdz/template-builtin-presets/templates/vue-hono-app/web/src/api.ts +1 -3
- package/node_modules/@ykdz/template-builtin-presets/templates/vue-hono-app/web/turbo.json +0 -4
- package/node_modules/@ykdz/template-builtin-presets/templates/vue-hono-app/web/vite.config.ts +2 -0
- package/node_modules/@ykdz/template-core/dist/ci-diagnostic-artifact.d.ts +2 -2
- package/node_modules/@ykdz/template-core/dist/ci-diagnostic-artifact.js +10 -5
- package/node_modules/@ykdz/template-core/dist/module-graph.d.ts +16 -54
- package/node_modules/@ykdz/template-core/dist/module-graph.js +140 -105
- package/node_modules/@ykdz/template-core/dist/package-contribution.d.ts +47 -11
- package/node_modules/@ykdz/template-core/dist/package-contribution.js +92 -0
- package/node_modules/@ykdz/template-core/dist/pnpm-workspace.yaml +21 -16
- package/node_modules/@ykdz/template-core/dist/preset-definition.d.ts +82 -13
- package/node_modules/@ykdz/template-core/dist/preset-definition.js +16 -1
- package/node_modules/@ykdz/template-core/dist/project-blueprint.d.ts +56 -0
- package/node_modules/@ykdz/template-core/dist/project-blueprint.js +271 -0
- package/node_modules/@ykdz/template-core/dist/project-github.d.ts +6 -4
- package/node_modules/@ykdz/template-core/dist/project-github.js +4 -4
- package/node_modules/@ykdz/template-core/dist/project-linking-v2.d.ts +4 -4
- package/node_modules/@ykdz/template-core/dist/project-linking-v2.js +14 -8
- package/node_modules/@ykdz/template-core/dist/project-projection.d.ts +29 -1
- package/node_modules/@ykdz/template-core/dist/project-projection.js +501 -29
- package/node_modules/@ykdz/template-core/dist/release-toolchain-snapshot.d.ts +10 -0
- package/node_modules/@ykdz/template-core/dist/release-toolchain-snapshot.js +9 -0
- package/node_modules/@ykdz/template-core/dist/renderer.d.ts +0 -2
- package/node_modules/@ykdz/template-core/dist/renderer.js +17 -38
- package/node_modules/@ykdz/template-core/dist/template-boundary-check.d.ts +2 -2
- package/node_modules/@ykdz/template-core/dist/template-boundary-check.js +21 -9
- package/node_modules/@ykdz/template-core/node_modules/valibot/LICENSE.md +9 -0
- package/node_modules/@ykdz/template-core/node_modules/valibot/README.md +94 -0
- package/node_modules/@ykdz/template-core/node_modules/valibot/dist/index.cjs +7897 -0
- package/node_modules/@ykdz/template-core/node_modules/valibot/dist/index.d.cts +16579 -0
- package/node_modules/@ykdz/template-core/node_modules/valibot/dist/index.d.mts +16579 -0
- package/node_modules/@ykdz/template-core/node_modules/valibot/dist/index.min.cjs +2 -0
- package/node_modules/@ykdz/template-core/node_modules/valibot/dist/index.min.mjs +2 -0
- package/node_modules/@ykdz/template-core/node_modules/valibot/dist/index.mjs +7577 -0
- package/node_modules/@ykdz/template-core/node_modules/valibot/package.json +84 -0
- package/node_modules/@ykdz/template-core/package.json +0 -2
- package/node_modules/hosted-git-info/LICENSE +13 -0
- package/node_modules/hosted-git-info/README.md +138 -0
- package/node_modules/hosted-git-info/lib/from-url.js +122 -0
- package/node_modules/hosted-git-info/lib/hosts.js +229 -0
- package/node_modules/hosted-git-info/lib/index.js +227 -0
- package/node_modules/hosted-git-info/lib/parse-url.js +79 -0
- package/node_modules/hosted-git-info/package.json +57 -0
- package/node_modules/jsonc-parser/CHANGELOG.md +76 -0
- package/node_modules/jsonc-parser/LICENSE.md +21 -0
- package/node_modules/jsonc-parser/README.md +364 -0
- package/node_modules/jsonc-parser/SECURITY.md +41 -0
- package/node_modules/jsonc-parser/lib/esm/impl/edit.js +185 -0
- package/node_modules/jsonc-parser/lib/esm/impl/format.js +261 -0
- package/node_modules/jsonc-parser/lib/esm/impl/parser.js +659 -0
- package/node_modules/jsonc-parser/lib/esm/impl/scanner.js +443 -0
- package/node_modules/jsonc-parser/lib/esm/impl/string-intern.js +29 -0
- package/node_modules/jsonc-parser/lib/esm/main.d.ts +351 -0
- package/node_modules/jsonc-parser/lib/esm/main.js +178 -0
- package/node_modules/jsonc-parser/lib/umd/impl/edit.js +201 -0
- package/node_modules/jsonc-parser/lib/umd/impl/format.js +275 -0
- package/node_modules/jsonc-parser/lib/umd/impl/parser.js +682 -0
- package/node_modules/jsonc-parser/lib/umd/impl/scanner.js +456 -0
- package/node_modules/jsonc-parser/lib/umd/impl/string-intern.js +42 -0
- package/node_modules/jsonc-parser/lib/umd/main.d.ts +351 -0
- package/node_modules/jsonc-parser/lib/umd/main.js +194 -0
- package/node_modules/jsonc-parser/package.json +37 -0
- package/node_modules/lru-cache/LICENSE.md +55 -0
- package/node_modules/lru-cache/README.md +469 -0
- package/node_modules/lru-cache/dist/commonjs/browser/diagnostics-channel-browser.d.ts.map +1 -0
- package/node_modules/lru-cache/dist/commonjs/browser/diagnostics-channel-browser.js.map +1 -0
- package/node_modules/lru-cache/dist/commonjs/browser/diagnostics-channel.d.ts +5 -0
- package/node_modules/lru-cache/dist/commonjs/browser/diagnostics-channel.js +7 -0
- package/node_modules/lru-cache/dist/commonjs/browser/index.d.ts +1400 -0
- package/node_modules/lru-cache/dist/commonjs/browser/index.d.ts.map +1 -0
- package/node_modules/lru-cache/dist/commonjs/browser/index.js +1733 -0
- package/node_modules/lru-cache/dist/commonjs/browser/index.js.map +1 -0
- package/node_modules/lru-cache/dist/commonjs/browser/index.min.js +2 -0
- package/node_modules/lru-cache/dist/commonjs/browser/index.min.js.map +7 -0
- package/node_modules/lru-cache/dist/commonjs/browser/perf.d.ts +12 -0
- package/node_modules/lru-cache/dist/commonjs/browser/perf.d.ts.map +1 -0
- package/node_modules/lru-cache/dist/commonjs/browser/perf.js +10 -0
- package/node_modules/lru-cache/dist/commonjs/browser/perf.js.map +1 -0
- package/node_modules/lru-cache/dist/commonjs/diagnostics-channel-cjs.cjs.map +1 -0
- package/node_modules/lru-cache/dist/commonjs/diagnostics-channel-cjs.d.cts.map +1 -0
- package/node_modules/lru-cache/dist/commonjs/diagnostics-channel.d.ts +5 -0
- package/node_modules/lru-cache/dist/commonjs/diagnostics-channel.js +7 -0
- package/node_modules/lru-cache/dist/commonjs/index.d.ts +1400 -0
- package/node_modules/lru-cache/dist/commonjs/index.d.ts.map +1 -0
- package/node_modules/lru-cache/dist/commonjs/index.js +1733 -0
- package/node_modules/lru-cache/dist/commonjs/index.js.map +1 -0
- package/node_modules/lru-cache/dist/commonjs/index.min.js +2 -0
- package/node_modules/lru-cache/dist/commonjs/index.min.js.map +7 -0
- package/node_modules/lru-cache/dist/commonjs/node/diagnostics-channel-node.d.ts.map +1 -0
- package/node_modules/lru-cache/dist/commonjs/node/diagnostics-channel-node.js.map +1 -0
- package/node_modules/lru-cache/dist/commonjs/node/diagnostics-channel.d.ts +5 -0
- package/node_modules/lru-cache/dist/commonjs/node/diagnostics-channel.js +9 -0
- package/node_modules/lru-cache/dist/commonjs/node/index.d.ts +1400 -0
- package/node_modules/lru-cache/dist/commonjs/node/index.d.ts.map +1 -0
- package/node_modules/lru-cache/dist/commonjs/node/index.js +1733 -0
- package/node_modules/lru-cache/dist/commonjs/node/index.js.map +1 -0
- package/node_modules/lru-cache/dist/commonjs/node/index.min.js +2 -0
- package/node_modules/lru-cache/dist/commonjs/node/index.min.js.map +7 -0
- package/node_modules/lru-cache/dist/commonjs/node/perf.d.ts +12 -0
- package/node_modules/lru-cache/dist/commonjs/node/perf.d.ts.map +1 -0
- package/node_modules/lru-cache/dist/commonjs/node/perf.js +10 -0
- package/node_modules/lru-cache/dist/commonjs/node/perf.js.map +1 -0
- package/node_modules/lru-cache/dist/commonjs/package.json +3 -0
- package/node_modules/lru-cache/dist/commonjs/perf.d.ts +12 -0
- package/node_modules/lru-cache/dist/commonjs/perf.d.ts.map +1 -0
- package/node_modules/lru-cache/dist/commonjs/perf.js +10 -0
- package/node_modules/lru-cache/dist/commonjs/perf.js.map +1 -0
- package/node_modules/lru-cache/dist/commonjs/react-native/diagnostics-channel-react-native.d.ts.map +1 -0
- package/node_modules/lru-cache/dist/commonjs/react-native/diagnostics-channel-react-native.js.map +1 -0
- package/node_modules/lru-cache/dist/commonjs/react-native/diagnostics-channel.d.ts +5 -0
- package/node_modules/lru-cache/dist/commonjs/react-native/diagnostics-channel.js +7 -0
- package/node_modules/lru-cache/dist/commonjs/react-native/index.d.ts +1400 -0
- package/node_modules/lru-cache/dist/commonjs/react-native/index.d.ts.map +1 -0
- package/node_modules/lru-cache/dist/commonjs/react-native/index.js +1733 -0
- package/node_modules/lru-cache/dist/commonjs/react-native/index.js.map +1 -0
- package/node_modules/lru-cache/dist/commonjs/react-native/perf.d.ts +12 -0
- package/node_modules/lru-cache/dist/commonjs/react-native/perf.d.ts.map +1 -0
- package/node_modules/lru-cache/dist/commonjs/react-native/perf.js +10 -0
- package/node_modules/lru-cache/dist/commonjs/react-native/perf.js.map +1 -0
- package/node_modules/lru-cache/dist/esm/browser/diagnostics-channel-browser.d.ts.map +1 -0
- package/node_modules/lru-cache/dist/esm/browser/diagnostics-channel-browser.js.map +1 -0
- package/node_modules/lru-cache/dist/esm/browser/diagnostics-channel.d.ts +5 -0
- package/node_modules/lru-cache/dist/esm/browser/diagnostics-channel.js +4 -0
- package/node_modules/lru-cache/dist/esm/browser/index.d.ts +1400 -0
- package/node_modules/lru-cache/dist/esm/browser/index.d.ts.map +1 -0
- package/node_modules/lru-cache/dist/esm/browser/index.js +1729 -0
- package/node_modules/lru-cache/dist/esm/browser/index.js.map +1 -0
- package/node_modules/lru-cache/dist/esm/browser/index.min.js +2 -0
- package/node_modules/lru-cache/dist/esm/browser/index.min.js.map +7 -0
- package/node_modules/lru-cache/dist/esm/browser/perf.d.ts +12 -0
- package/node_modules/lru-cache/dist/esm/browser/perf.d.ts.map +1 -0
- package/node_modules/lru-cache/dist/esm/browser/perf.js +7 -0
- package/node_modules/lru-cache/dist/esm/browser/perf.js.map +1 -0
- package/node_modules/lru-cache/dist/esm/diagnostics-channel-esm.d.mts.map +1 -0
- package/node_modules/lru-cache/dist/esm/diagnostics-channel-esm.mjs.map +1 -0
- package/node_modules/lru-cache/dist/esm/diagnostics-channel.d.ts +5 -0
- package/node_modules/lru-cache/dist/esm/diagnostics-channel.js +19 -0
- package/node_modules/lru-cache/dist/esm/index.d.ts +1400 -0
- package/node_modules/lru-cache/dist/esm/index.d.ts.map +1 -0
- package/node_modules/lru-cache/dist/esm/index.js +1729 -0
- package/node_modules/lru-cache/dist/esm/index.js.map +1 -0
- package/node_modules/lru-cache/dist/esm/index.min.js +2 -0
- package/node_modules/lru-cache/dist/esm/index.min.js.map +7 -0
- package/node_modules/lru-cache/dist/esm/node/diagnostics-channel-node.d.ts.map +1 -0
- package/node_modules/lru-cache/dist/esm/node/diagnostics-channel-node.js.map +1 -0
- package/node_modules/lru-cache/dist/esm/node/diagnostics-channel.d.ts +5 -0
- package/node_modules/lru-cache/dist/esm/node/diagnostics-channel.js +6 -0
- package/node_modules/lru-cache/dist/esm/node/index.d.ts +1400 -0
- package/node_modules/lru-cache/dist/esm/node/index.d.ts.map +1 -0
- package/node_modules/lru-cache/dist/esm/node/index.js +1729 -0
- package/node_modules/lru-cache/dist/esm/node/index.js.map +1 -0
- package/node_modules/lru-cache/dist/esm/node/index.min.js +2 -0
- package/node_modules/lru-cache/dist/esm/node/index.min.js.map +7 -0
- package/node_modules/lru-cache/dist/esm/node/perf.d.ts +12 -0
- package/node_modules/lru-cache/dist/esm/node/perf.d.ts.map +1 -0
- package/node_modules/lru-cache/dist/esm/node/perf.js +7 -0
- package/node_modules/lru-cache/dist/esm/node/perf.js.map +1 -0
- package/node_modules/lru-cache/dist/esm/package.json +3 -0
- package/node_modules/lru-cache/dist/esm/perf.d.ts +12 -0
- package/node_modules/lru-cache/dist/esm/perf.d.ts.map +1 -0
- package/node_modules/lru-cache/dist/esm/perf.js +7 -0
- package/node_modules/lru-cache/dist/esm/perf.js.map +1 -0
- package/node_modules/lru-cache/dist/esm/react-native/diagnostics-channel-react-native.d.ts.map +1 -0
- package/node_modules/lru-cache/dist/esm/react-native/diagnostics-channel-react-native.js.map +1 -0
- package/node_modules/lru-cache/dist/esm/react-native/diagnostics-channel.d.ts +5 -0
- package/node_modules/lru-cache/dist/esm/react-native/diagnostics-channel.js +4 -0
- package/node_modules/lru-cache/dist/esm/react-native/index.d.ts +1400 -0
- package/node_modules/lru-cache/dist/esm/react-native/index.d.ts.map +1 -0
- package/node_modules/lru-cache/dist/esm/react-native/index.js +1729 -0
- package/node_modules/lru-cache/dist/esm/react-native/index.js.map +1 -0
- package/node_modules/lru-cache/dist/esm/react-native/perf.d.ts +12 -0
- package/node_modules/lru-cache/dist/esm/react-native/perf.d.ts.map +1 -0
- package/node_modules/lru-cache/dist/esm/react-native/perf.js +7 -0
- package/node_modules/lru-cache/dist/esm/react-native/perf.js.map +1 -0
- package/node_modules/lru-cache/package.json +180 -0
- package/node_modules/npm-package-arg/LICENSE +15 -0
- package/node_modules/npm-package-arg/README.md +104 -0
- package/node_modules/npm-package-arg/lib/npa.js +479 -0
- package/node_modules/npm-package-arg/node_modules/semver/LICENSE +15 -0
- package/node_modules/npm-package-arg/node_modules/semver/README.md +680 -0
- package/node_modules/npm-package-arg/node_modules/semver/bin/semver.js +195 -0
- package/node_modules/npm-package-arg/node_modules/semver/classes/comparator.js +143 -0
- package/node_modules/npm-package-arg/node_modules/semver/classes/index.js +7 -0
- package/node_modules/npm-package-arg/node_modules/semver/classes/range.js +577 -0
- package/node_modules/npm-package-arg/node_modules/semver/classes/semver.js +350 -0
- package/node_modules/npm-package-arg/node_modules/semver/functions/clean.js +8 -0
- package/node_modules/npm-package-arg/node_modules/semver/functions/cmp.js +54 -0
- package/node_modules/npm-package-arg/node_modules/semver/functions/coerce.js +62 -0
- package/node_modules/npm-package-arg/node_modules/semver/functions/compare-build.js +9 -0
- package/node_modules/npm-package-arg/node_modules/semver/functions/compare-loose.js +5 -0
- package/node_modules/npm-package-arg/node_modules/semver/functions/compare.js +7 -0
- package/node_modules/npm-package-arg/node_modules/semver/functions/diff.js +60 -0
- package/node_modules/npm-package-arg/node_modules/semver/functions/eq.js +5 -0
- package/node_modules/npm-package-arg/node_modules/semver/functions/gt.js +5 -0
- package/node_modules/npm-package-arg/node_modules/semver/functions/gte.js +5 -0
- package/node_modules/npm-package-arg/node_modules/semver/functions/inc.js +21 -0
- package/node_modules/npm-package-arg/node_modules/semver/functions/lt.js +5 -0
- package/node_modules/npm-package-arg/node_modules/semver/functions/lte.js +5 -0
- package/node_modules/npm-package-arg/node_modules/semver/functions/major.js +5 -0
- package/node_modules/npm-package-arg/node_modules/semver/functions/minor.js +5 -0
- package/node_modules/npm-package-arg/node_modules/semver/functions/neq.js +5 -0
- package/node_modules/npm-package-arg/node_modules/semver/functions/parse.js +18 -0
- package/node_modules/npm-package-arg/node_modules/semver/functions/patch.js +5 -0
- package/node_modules/npm-package-arg/node_modules/semver/functions/prerelease.js +8 -0
- package/node_modules/npm-package-arg/node_modules/semver/functions/rcompare.js +5 -0
- package/node_modules/npm-package-arg/node_modules/semver/functions/rsort.js +5 -0
- package/node_modules/npm-package-arg/node_modules/semver/functions/satisfies.js +12 -0
- package/node_modules/npm-package-arg/node_modules/semver/functions/sort.js +5 -0
- package/node_modules/npm-package-arg/node_modules/semver/functions/truncate.js +48 -0
- package/node_modules/npm-package-arg/node_modules/semver/functions/valid.js +8 -0
- package/node_modules/npm-package-arg/node_modules/semver/index.js +93 -0
- package/node_modules/npm-package-arg/node_modules/semver/internal/constants.js +37 -0
- package/node_modules/npm-package-arg/node_modules/semver/internal/debug.js +11 -0
- package/node_modules/npm-package-arg/node_modules/semver/internal/identifiers.js +29 -0
- package/node_modules/npm-package-arg/node_modules/semver/internal/lrucache.js +42 -0
- package/node_modules/npm-package-arg/node_modules/semver/internal/parse-options.js +17 -0
- package/node_modules/npm-package-arg/node_modules/semver/internal/re.js +223 -0
- package/node_modules/npm-package-arg/node_modules/semver/package.json +78 -0
- package/node_modules/npm-package-arg/node_modules/semver/preload.js +4 -0
- package/node_modules/npm-package-arg/node_modules/semver/range.bnf +17 -0
- package/node_modules/npm-package-arg/node_modules/semver/ranges/gtr.js +6 -0
- package/node_modules/npm-package-arg/node_modules/semver/ranges/intersects.js +9 -0
- package/node_modules/npm-package-arg/node_modules/semver/ranges/ltr.js +6 -0
- package/node_modules/npm-package-arg/node_modules/semver/ranges/max-satisfying.js +27 -0
- package/node_modules/npm-package-arg/node_modules/semver/ranges/min-satisfying.js +26 -0
- package/node_modules/npm-package-arg/node_modules/semver/ranges/min-version.js +63 -0
- package/node_modules/npm-package-arg/node_modules/semver/ranges/outside.js +82 -0
- package/node_modules/npm-package-arg/node_modules/semver/ranges/simplify.js +49 -0
- package/node_modules/npm-package-arg/node_modules/semver/ranges/subset.js +249 -0
- package/node_modules/npm-package-arg/node_modules/semver/ranges/to-comparators.js +10 -0
- package/node_modules/npm-package-arg/node_modules/semver/ranges/valid.js +13 -0
- package/node_modules/npm-package-arg/package.json +60 -0
- package/node_modules/picomatch/LICENSE +21 -0
- package/node_modules/picomatch/README.md +743 -0
- package/node_modules/picomatch/index.js +17 -0
- package/node_modules/picomatch/lib/constants.js +184 -0
- package/node_modules/picomatch/lib/parse.js +1425 -0
- package/node_modules/picomatch/lib/picomatch.js +361 -0
- package/node_modules/picomatch/lib/scan.js +403 -0
- package/node_modules/picomatch/lib/utils.js +72 -0
- package/node_modules/picomatch/package.json +83 -0
- package/node_modules/picomatch/posix.js +3 -0
- package/node_modules/proc-log/LICENSE +15 -0
- package/node_modules/proc-log/README.md +226 -0
- package/node_modules/proc-log/lib/index.js +158 -0
- package/node_modules/proc-log/package.json +46 -0
- package/node_modules/smol-toml/LICENSE +24 -0
- package/node_modules/smol-toml/README.md +605 -0
- package/node_modules/smol-toml/dist/date.d.ts +41 -0
- package/node_modules/smol-toml/dist/date.js +156 -0
- package/node_modules/smol-toml/dist/error.d.ts +37 -0
- package/node_modules/smol-toml/dist/error.js +67 -0
- package/node_modules/smol-toml/dist/extract.js +289 -0
- package/node_modules/smol-toml/dist/index.cjs +770 -0
- package/node_modules/smol-toml/dist/index.d.ts +44 -0
- package/node_modules/smol-toml/dist/index.js +34 -0
- package/node_modules/smol-toml/dist/parse.d.ts +73 -0
- package/node_modules/smol-toml/dist/parse.js +164 -0
- package/node_modules/smol-toml/dist/primitive.js +151 -0
- package/node_modules/smol-toml/dist/stringify.d.ts +32 -0
- package/node_modules/smol-toml/dist/stringify.js +219 -0
- package/node_modules/smol-toml/dist/struct.js +156 -0
- package/node_modules/smol-toml/dist/util.d.ts +43 -0
- package/node_modules/smol-toml/dist/util.js +57 -0
- package/node_modules/smol-toml/package.json +68 -0
- package/node_modules/typescript/bin/tsc +0 -0
- package/node_modules/typescript/bin/tsserver +0 -0
- package/node_modules/unbash/LICENSE +15 -0
- package/node_modules/unbash/README.md +289 -0
- package/node_modules/unbash/dist/ansi-c.d.ts +5 -0
- package/node_modules/unbash/dist/ansi-c.js +130 -0
- package/node_modules/unbash/dist/arithmetic.d.ts +11 -0
- package/node_modules/unbash/dist/arithmetic.js +530 -0
- package/node_modules/unbash/dist/assignment.d.ts +15 -0
- package/node_modules/unbash/dist/assignment.js +118 -0
- package/node_modules/unbash/dist/chars.d.ts +41 -0
- package/node_modules/unbash/dist/chars.js +41 -0
- package/node_modules/unbash/dist/command.d.ts +14 -0
- package/node_modules/unbash/dist/command.js +41 -0
- package/node_modules/unbash/dist/heredoc.d.ts +18 -0
- package/node_modules/unbash/dist/heredoc.js +25 -0
- package/node_modules/unbash/dist/internal-types.d.ts +87 -0
- package/node_modules/unbash/dist/internal-types.js +1 -0
- package/node_modules/unbash/dist/lexer.d.ts +202 -0
- package/node_modules/unbash/dist/lexer.js +3930 -0
- package/node_modules/unbash/dist/parser.d.ts +4 -0
- package/node_modules/unbash/dist/parser.js +1295 -0
- package/node_modules/unbash/dist/parts.d.ts +17 -0
- package/node_modules/unbash/dist/parts.js +82 -0
- package/node_modules/unbash/dist/printer.d.ts +2 -0
- package/node_modules/unbash/dist/printer.js +536 -0
- package/node_modules/unbash/dist/types.d.ts +494 -0
- package/node_modules/unbash/dist/types.js +1 -0
- package/node_modules/unbash/dist/word.d.ts +22 -0
- package/node_modules/unbash/dist/word.js +102 -0
- package/node_modules/unbash/package.json +80 -0
- package/node_modules/validate-npm-package-name/LICENSE +6 -0
- package/node_modules/validate-npm-package-name/README.md +120 -0
- package/node_modules/validate-npm-package-name/lib/builtin-modules.json +1 -0
- package/node_modules/validate-npm-package-name/lib/index.js +114 -0
- package/node_modules/validate-npm-package-name/package.json +59 -0
- package/node_modules/yaml/LICENSE +13 -0
- package/node_modules/yaml/README.md +172 -0
- package/node_modules/yaml/bin.mjs +11 -0
- package/node_modules/yaml/browser/dist/compose/compose-collection.js +88 -0
- package/node_modules/yaml/browser/dist/compose/compose-doc.js +43 -0
- package/node_modules/yaml/browser/dist/compose/compose-node.js +109 -0
- package/node_modules/yaml/browser/dist/compose/compose-scalar.js +86 -0
- package/node_modules/yaml/browser/dist/compose/composer.js +219 -0
- package/node_modules/yaml/browser/dist/compose/resolve-block-map.js +115 -0
- package/node_modules/yaml/browser/dist/compose/resolve-block-scalar.js +198 -0
- package/node_modules/yaml/browser/dist/compose/resolve-block-seq.js +49 -0
- package/node_modules/yaml/browser/dist/compose/resolve-end.js +37 -0
- package/node_modules/yaml/browser/dist/compose/resolve-flow-collection.js +207 -0
- package/node_modules/yaml/browser/dist/compose/resolve-flow-scalar.js +226 -0
- package/node_modules/yaml/browser/dist/compose/resolve-props.js +146 -0
- package/node_modules/yaml/browser/dist/compose/util-contains-newline.js +34 -0
- package/node_modules/yaml/browser/dist/compose/util-empty-scalar-position.js +26 -0
- package/node_modules/yaml/browser/dist/compose/util-flow-indent-check.js +15 -0
- package/node_modules/yaml/browser/dist/compose/util-map-includes.js +13 -0
- package/node_modules/yaml/browser/dist/doc/Document.js +335 -0
- package/node_modules/yaml/browser/dist/doc/anchors.js +71 -0
- package/node_modules/yaml/browser/dist/doc/applyReviver.js +55 -0
- package/node_modules/yaml/browser/dist/doc/createNode.js +88 -0
- package/node_modules/yaml/browser/dist/doc/directives.js +176 -0
- package/node_modules/yaml/browser/dist/errors.js +57 -0
- package/node_modules/yaml/browser/dist/index.js +17 -0
- package/node_modules/yaml/browser/dist/log.js +11 -0
- package/node_modules/yaml/browser/dist/nodes/Alias.js +118 -0
- package/node_modules/yaml/browser/dist/nodes/Collection.js +147 -0
- package/node_modules/yaml/browser/dist/nodes/Node.js +38 -0
- package/node_modules/yaml/browser/dist/nodes/Pair.js +36 -0
- package/node_modules/yaml/browser/dist/nodes/Scalar.js +24 -0
- package/node_modules/yaml/browser/dist/nodes/YAMLMap.js +144 -0
- package/node_modules/yaml/browser/dist/nodes/YAMLSeq.js +113 -0
- package/node_modules/yaml/browser/dist/nodes/addPairToJSMap.js +63 -0
- package/node_modules/yaml/browser/dist/nodes/identity.js +36 -0
- package/node_modules/yaml/browser/dist/nodes/toJS.js +37 -0
- package/node_modules/yaml/browser/dist/parse/cst-scalar.js +214 -0
- package/node_modules/yaml/browser/dist/parse/cst-stringify.js +61 -0
- package/node_modules/yaml/browser/dist/parse/cst-visit.js +97 -0
- package/node_modules/yaml/browser/dist/parse/cst.js +98 -0
- package/node_modules/yaml/browser/dist/parse/lexer.js +721 -0
- package/node_modules/yaml/browser/dist/parse/line-counter.js +39 -0
- package/node_modules/yaml/browser/dist/parse/parser.js +975 -0
- package/node_modules/yaml/browser/dist/public-api.js +102 -0
- package/node_modules/yaml/browser/dist/schema/Schema.js +37 -0
- package/node_modules/yaml/browser/dist/schema/common/map.js +17 -0
- package/node_modules/yaml/browser/dist/schema/common/null.js +15 -0
- package/node_modules/yaml/browser/dist/schema/common/seq.js +17 -0
- package/node_modules/yaml/browser/dist/schema/common/string.js +14 -0
- package/node_modules/yaml/browser/dist/schema/core/bool.js +19 -0
- package/node_modules/yaml/browser/dist/schema/core/float.js +43 -0
- package/node_modules/yaml/browser/dist/schema/core/int.js +38 -0
- package/node_modules/yaml/browser/dist/schema/core/schema.js +23 -0
- package/node_modules/yaml/browser/dist/schema/json/schema.js +62 -0
- package/node_modules/yaml/browser/dist/schema/tags.js +96 -0
- package/node_modules/yaml/browser/dist/schema/yaml-1.1/binary.js +58 -0
- package/node_modules/yaml/browser/dist/schema/yaml-1.1/bool.js +26 -0
- package/node_modules/yaml/browser/dist/schema/yaml-1.1/float.js +46 -0
- package/node_modules/yaml/browser/dist/schema/yaml-1.1/int.js +71 -0
- package/node_modules/yaml/browser/dist/schema/yaml-1.1/merge.js +67 -0
- package/node_modules/yaml/browser/dist/schema/yaml-1.1/omap.js +74 -0
- package/node_modules/yaml/browser/dist/schema/yaml-1.1/pairs.js +78 -0
- package/node_modules/yaml/browser/dist/schema/yaml-1.1/schema.js +39 -0
- package/node_modules/yaml/browser/dist/schema/yaml-1.1/set.js +93 -0
- package/node_modules/yaml/browser/dist/schema/yaml-1.1/timestamp.js +101 -0
- package/node_modules/yaml/browser/dist/stringify/foldFlowLines.js +146 -0
- package/node_modules/yaml/browser/dist/stringify/stringify.js +129 -0
- package/node_modules/yaml/browser/dist/stringify/stringifyCollection.js +153 -0
- package/node_modules/yaml/browser/dist/stringify/stringifyComment.js +20 -0
- package/node_modules/yaml/browser/dist/stringify/stringifyDocument.js +85 -0
- package/node_modules/yaml/browser/dist/stringify/stringifyNumber.js +25 -0
- package/node_modules/yaml/browser/dist/stringify/stringifyPair.js +150 -0
- package/node_modules/yaml/browser/dist/stringify/stringifyString.js +336 -0
- package/node_modules/yaml/browser/dist/util.js +11 -0
- package/node_modules/yaml/browser/dist/visit.js +233 -0
- package/node_modules/yaml/browser/index.js +5 -0
- package/node_modules/yaml/browser/package.json +3 -0
- package/node_modules/yaml/dist/cli.d.ts +8 -0
- package/node_modules/yaml/dist/cli.mjs +201 -0
- package/node_modules/yaml/dist/compose/compose-collection.d.ts +11 -0
- package/node_modules/yaml/dist/compose/compose-collection.js +90 -0
- package/node_modules/yaml/dist/compose/compose-doc.d.ts +7 -0
- package/node_modules/yaml/dist/compose/compose-doc.js +45 -0
- package/node_modules/yaml/dist/compose/compose-node.d.ts +29 -0
- package/node_modules/yaml/dist/compose/compose-node.js +112 -0
- package/node_modules/yaml/dist/compose/compose-scalar.d.ts +5 -0
- package/node_modules/yaml/dist/compose/compose-scalar.js +88 -0
- package/node_modules/yaml/dist/compose/composer.d.ts +63 -0
- package/node_modules/yaml/dist/compose/composer.js +224 -0
- package/node_modules/yaml/dist/compose/resolve-block-map.d.ts +6 -0
- package/node_modules/yaml/dist/compose/resolve-block-map.js +117 -0
- package/node_modules/yaml/dist/compose/resolve-block-scalar.d.ts +11 -0
- package/node_modules/yaml/dist/compose/resolve-block-scalar.js +200 -0
- package/node_modules/yaml/dist/compose/resolve-block-seq.d.ts +6 -0
- package/node_modules/yaml/dist/compose/resolve-block-seq.js +51 -0
- package/node_modules/yaml/dist/compose/resolve-end.d.ts +6 -0
- package/node_modules/yaml/dist/compose/resolve-end.js +39 -0
- package/node_modules/yaml/dist/compose/resolve-flow-collection.d.ts +7 -0
- package/node_modules/yaml/dist/compose/resolve-flow-collection.js +209 -0
- package/node_modules/yaml/dist/compose/resolve-flow-scalar.d.ts +10 -0
- package/node_modules/yaml/dist/compose/resolve-flow-scalar.js +228 -0
- package/node_modules/yaml/dist/compose/resolve-props.d.ts +23 -0
- package/node_modules/yaml/dist/compose/resolve-props.js +148 -0
- package/node_modules/yaml/dist/compose/util-contains-newline.d.ts +2 -0
- package/node_modules/yaml/dist/compose/util-contains-newline.js +36 -0
- package/node_modules/yaml/dist/compose/util-empty-scalar-position.d.ts +2 -0
- package/node_modules/yaml/dist/compose/util-empty-scalar-position.js +28 -0
- package/node_modules/yaml/dist/compose/util-flow-indent-check.d.ts +3 -0
- package/node_modules/yaml/dist/compose/util-flow-indent-check.js +17 -0
- package/node_modules/yaml/dist/compose/util-map-includes.d.ts +4 -0
- package/node_modules/yaml/dist/compose/util-map-includes.js +15 -0
- package/node_modules/yaml/dist/doc/Document.d.ts +141 -0
- package/node_modules/yaml/dist/doc/Document.js +337 -0
- package/node_modules/yaml/dist/doc/anchors.d.ts +24 -0
- package/node_modules/yaml/dist/doc/anchors.js +76 -0
- package/node_modules/yaml/dist/doc/applyReviver.d.ts +9 -0
- package/node_modules/yaml/dist/doc/applyReviver.js +57 -0
- package/node_modules/yaml/dist/doc/createNode.d.ts +17 -0
- package/node_modules/yaml/dist/doc/createNode.js +90 -0
- package/node_modules/yaml/dist/doc/directives.d.ts +49 -0
- package/node_modules/yaml/dist/doc/directives.js +178 -0
- package/node_modules/yaml/dist/errors.d.ts +21 -0
- package/node_modules/yaml/dist/errors.js +62 -0
- package/node_modules/yaml/dist/index.d.ts +25 -0
- package/node_modules/yaml/dist/index.js +50 -0
- package/node_modules/yaml/dist/log.d.ts +3 -0
- package/node_modules/yaml/dist/log.js +19 -0
- package/node_modules/yaml/dist/nodes/Alias.d.ts +29 -0
- package/node_modules/yaml/dist/nodes/Alias.js +120 -0
- package/node_modules/yaml/dist/nodes/Collection.d.ts +73 -0
- package/node_modules/yaml/dist/nodes/Collection.js +151 -0
- package/node_modules/yaml/dist/nodes/Node.d.ts +53 -0
- package/node_modules/yaml/dist/nodes/Node.js +40 -0
- package/node_modules/yaml/dist/nodes/Pair.d.ts +22 -0
- package/node_modules/yaml/dist/nodes/Pair.js +39 -0
- package/node_modules/yaml/dist/nodes/Scalar.d.ts +47 -0
- package/node_modules/yaml/dist/nodes/Scalar.js +27 -0
- package/node_modules/yaml/dist/nodes/YAMLMap.d.ts +53 -0
- package/node_modules/yaml/dist/nodes/YAMLMap.js +147 -0
- package/node_modules/yaml/dist/nodes/YAMLSeq.d.ts +60 -0
- package/node_modules/yaml/dist/nodes/YAMLSeq.js +115 -0
- package/node_modules/yaml/dist/nodes/addPairToJSMap.d.ts +4 -0
- package/node_modules/yaml/dist/nodes/addPairToJSMap.js +65 -0
- package/node_modules/yaml/dist/nodes/identity.d.ts +23 -0
- package/node_modules/yaml/dist/nodes/identity.js +53 -0
- package/node_modules/yaml/dist/nodes/toJS.d.ts +29 -0
- package/node_modules/yaml/dist/nodes/toJS.js +39 -0
- package/node_modules/yaml/dist/options.d.ts +350 -0
- package/node_modules/yaml/dist/parse/cst-scalar.d.ts +64 -0
- package/node_modules/yaml/dist/parse/cst-scalar.js +218 -0
- package/node_modules/yaml/dist/parse/cst-stringify.d.ts +8 -0
- package/node_modules/yaml/dist/parse/cst-stringify.js +63 -0
- package/node_modules/yaml/dist/parse/cst-visit.d.ts +39 -0
- package/node_modules/yaml/dist/parse/cst-visit.js +99 -0
- package/node_modules/yaml/dist/parse/cst.d.ts +109 -0
- package/node_modules/yaml/dist/parse/cst.js +112 -0
- package/node_modules/yaml/dist/parse/lexer.d.ts +87 -0
- package/node_modules/yaml/dist/parse/lexer.js +723 -0
- package/node_modules/yaml/dist/parse/line-counter.d.ts +22 -0
- package/node_modules/yaml/dist/parse/line-counter.js +41 -0
- package/node_modules/yaml/dist/parse/parser.d.ts +84 -0
- package/node_modules/yaml/dist/parse/parser.js +980 -0
- package/node_modules/yaml/dist/public-api.d.ts +44 -0
- package/node_modules/yaml/dist/public-api.js +107 -0
- package/node_modules/yaml/dist/schema/Schema.d.ts +17 -0
- package/node_modules/yaml/dist/schema/Schema.js +39 -0
- package/node_modules/yaml/dist/schema/common/map.d.ts +2 -0
- package/node_modules/yaml/dist/schema/common/map.js +19 -0
- package/node_modules/yaml/dist/schema/common/null.d.ts +4 -0
- package/node_modules/yaml/dist/schema/common/null.js +17 -0
- package/node_modules/yaml/dist/schema/common/seq.d.ts +2 -0
- package/node_modules/yaml/dist/schema/common/seq.js +19 -0
- package/node_modules/yaml/dist/schema/common/string.d.ts +2 -0
- package/node_modules/yaml/dist/schema/common/string.js +16 -0
- package/node_modules/yaml/dist/schema/core/bool.d.ts +4 -0
- package/node_modules/yaml/dist/schema/core/bool.js +21 -0
- package/node_modules/yaml/dist/schema/core/float.d.ts +4 -0
- package/node_modules/yaml/dist/schema/core/float.js +47 -0
- package/node_modules/yaml/dist/schema/core/int.d.ts +4 -0
- package/node_modules/yaml/dist/schema/core/int.js +42 -0
- package/node_modules/yaml/dist/schema/core/schema.d.ts +1 -0
- package/node_modules/yaml/dist/schema/core/schema.js +25 -0
- package/node_modules/yaml/dist/schema/json/schema.d.ts +2 -0
- package/node_modules/yaml/dist/schema/json/schema.js +64 -0
- package/node_modules/yaml/dist/schema/json-schema.d.ts +69 -0
- package/node_modules/yaml/dist/schema/tags.d.ts +48 -0
- package/node_modules/yaml/dist/schema/tags.js +99 -0
- package/node_modules/yaml/dist/schema/types.d.ts +92 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/binary.d.ts +2 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/binary.js +70 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/bool.d.ts +7 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/bool.js +29 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/float.d.ts +4 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/float.js +50 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/int.d.ts +5 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/int.js +76 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/merge.d.ts +9 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/merge.js +71 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/omap.d.ts +22 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/omap.js +77 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/pairs.d.ts +10 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/pairs.js +82 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/schema.d.ts +1 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/schema.js +41 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/set.d.ts +28 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/set.js +96 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/timestamp.d.ts +6 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/timestamp.js +105 -0
- package/node_modules/yaml/dist/stringify/foldFlowLines.d.ts +34 -0
- package/node_modules/yaml/dist/stringify/foldFlowLines.js +151 -0
- package/node_modules/yaml/dist/stringify/stringify.d.ts +21 -0
- package/node_modules/yaml/dist/stringify/stringify.js +132 -0
- package/node_modules/yaml/dist/stringify/stringifyCollection.d.ts +17 -0
- package/node_modules/yaml/dist/stringify/stringifyCollection.js +155 -0
- package/node_modules/yaml/dist/stringify/stringifyComment.d.ts +10 -0
- package/node_modules/yaml/dist/stringify/stringifyComment.js +24 -0
- package/node_modules/yaml/dist/stringify/stringifyDocument.d.ts +4 -0
- package/node_modules/yaml/dist/stringify/stringifyDocument.js +87 -0
- package/node_modules/yaml/dist/stringify/stringifyNumber.d.ts +2 -0
- package/node_modules/yaml/dist/stringify/stringifyNumber.js +27 -0
- package/node_modules/yaml/dist/stringify/stringifyPair.d.ts +3 -0
- package/node_modules/yaml/dist/stringify/stringifyPair.js +152 -0
- package/node_modules/yaml/dist/stringify/stringifyString.d.ts +9 -0
- package/node_modules/yaml/dist/stringify/stringifyString.js +338 -0
- package/node_modules/yaml/dist/test-events.d.ts +4 -0
- package/node_modules/yaml/dist/test-events.js +134 -0
- package/node_modules/yaml/dist/util.d.ts +16 -0
- package/node_modules/yaml/dist/util.js +28 -0
- package/node_modules/yaml/dist/visit.d.ts +102 -0
- package/node_modules/yaml/dist/visit.js +236 -0
- package/node_modules/yaml/package.json +97 -0
- package/node_modules/yaml/util.js +2 -0
- package/package.json +23 -21
- package/node_modules/@ykdz/template-builtin-presets/templates/foundation/scripts/check-boundaries.ts +0 -12
- package/node_modules/@ykdz/template-builtin-presets/templates/foundation/scripts/run-root-owned-task.ts +0 -69
- package/node_modules/@ykdz/template-builtin-presets/templates/vike-app/db/test/global-setup.ts +0 -21
- package/node_modules/@ykdz/template-builtin-presets/templates/vike-app/db/vitest.config.ts +0 -7
- package/node_modules/@ykdz/template-builtin-presets/templates/vue-hono-app/web/playwright.config.ts +0 -90
- package/node_modules/@ykdz/template-core/dist/project-blueprint-v2.d.ts +0 -33
- package/node_modules/@ykdz/template-core/dist/project-blueprint-v2.js +0 -182
- package/node_modules/@ykdz/template-core/dist/toolchain-baseline-update.d.ts +0 -45
- package/node_modules/@ykdz/template-core/dist/toolchain-baseline-update.js +0 -27
- package/node_modules/@ykdz/template-core/dist/toolchain-resolution.d.ts +0 -35
- package/node_modules/@ykdz/template-core/dist/toolchain-resolution.js +0 -189
- package/node_modules/valibot/dist/index.min.cjs +0 -2
- package/node_modules/valibot/dist/index.min.mjs +0 -2
- /package/node_modules/{semver → @ykdz/template-builtin-presets/node_modules/semver}/LICENSE +0 -0
- /package/node_modules/{semver → @ykdz/template-builtin-presets/node_modules/semver}/README.md +0 -0
- /package/node_modules/{semver → @ykdz/template-builtin-presets/node_modules/semver}/classes/comparator.js +0 -0
- /package/node_modules/{semver → @ykdz/template-builtin-presets/node_modules/semver}/classes/index.js +0 -0
- /package/node_modules/{semver → @ykdz/template-builtin-presets/node_modules/semver}/classes/range.js +0 -0
- /package/node_modules/{semver → @ykdz/template-builtin-presets/node_modules/semver}/classes/semver.js +0 -0
- /package/node_modules/{semver → @ykdz/template-builtin-presets/node_modules/semver}/functions/clean.js +0 -0
- /package/node_modules/{semver → @ykdz/template-builtin-presets/node_modules/semver}/functions/cmp.js +0 -0
- /package/node_modules/{semver → @ykdz/template-builtin-presets/node_modules/semver}/functions/coerce.js +0 -0
- /package/node_modules/{semver → @ykdz/template-builtin-presets/node_modules/semver}/functions/compare-build.js +0 -0
- /package/node_modules/{semver → @ykdz/template-builtin-presets/node_modules/semver}/functions/compare-loose.js +0 -0
- /package/node_modules/{semver → @ykdz/template-builtin-presets/node_modules/semver}/functions/compare.js +0 -0
- /package/node_modules/{semver → @ykdz/template-builtin-presets/node_modules/semver}/functions/diff.js +0 -0
- /package/node_modules/{semver → @ykdz/template-builtin-presets/node_modules/semver}/functions/eq.js +0 -0
- /package/node_modules/{semver → @ykdz/template-builtin-presets/node_modules/semver}/functions/gt.js +0 -0
- /package/node_modules/{semver → @ykdz/template-builtin-presets/node_modules/semver}/functions/gte.js +0 -0
- /package/node_modules/{semver → @ykdz/template-builtin-presets/node_modules/semver}/functions/inc.js +0 -0
- /package/node_modules/{semver → @ykdz/template-builtin-presets/node_modules/semver}/functions/lt.js +0 -0
- /package/node_modules/{semver → @ykdz/template-builtin-presets/node_modules/semver}/functions/lte.js +0 -0
- /package/node_modules/{semver → @ykdz/template-builtin-presets/node_modules/semver}/functions/major.js +0 -0
- /package/node_modules/{semver → @ykdz/template-builtin-presets/node_modules/semver}/functions/minor.js +0 -0
- /package/node_modules/{semver → @ykdz/template-builtin-presets/node_modules/semver}/functions/neq.js +0 -0
- /package/node_modules/{semver → @ykdz/template-builtin-presets/node_modules/semver}/functions/parse.js +0 -0
- /package/node_modules/{semver → @ykdz/template-builtin-presets/node_modules/semver}/functions/patch.js +0 -0
- /package/node_modules/{semver → @ykdz/template-builtin-presets/node_modules/semver}/functions/prerelease.js +0 -0
- /package/node_modules/{semver → @ykdz/template-builtin-presets/node_modules/semver}/functions/rcompare.js +0 -0
- /package/node_modules/{semver → @ykdz/template-builtin-presets/node_modules/semver}/functions/rsort.js +0 -0
- /package/node_modules/{semver → @ykdz/template-builtin-presets/node_modules/semver}/functions/satisfies.js +0 -0
- /package/node_modules/{semver → @ykdz/template-builtin-presets/node_modules/semver}/functions/sort.js +0 -0
- /package/node_modules/{semver → @ykdz/template-builtin-presets/node_modules/semver}/functions/truncate.js +0 -0
- /package/node_modules/{semver → @ykdz/template-builtin-presets/node_modules/semver}/functions/valid.js +0 -0
- /package/node_modules/{semver → @ykdz/template-builtin-presets/node_modules/semver}/index.js +0 -0
- /package/node_modules/{semver → @ykdz/template-builtin-presets/node_modules/semver}/internal/constants.js +0 -0
- /package/node_modules/{semver → @ykdz/template-builtin-presets/node_modules/semver}/internal/debug.js +0 -0
- /package/node_modules/{semver → @ykdz/template-builtin-presets/node_modules/semver}/internal/identifiers.js +0 -0
- /package/node_modules/{semver → @ykdz/template-builtin-presets/node_modules/semver}/internal/lrucache.js +0 -0
- /package/node_modules/{semver → @ykdz/template-builtin-presets/node_modules/semver}/internal/parse-options.js +0 -0
- /package/node_modules/{semver → @ykdz/template-builtin-presets/node_modules/semver}/internal/re.js +0 -0
- /package/node_modules/{semver → @ykdz/template-builtin-presets/node_modules/semver}/package.json +0 -0
- /package/node_modules/{semver → @ykdz/template-builtin-presets/node_modules/semver}/preload.js +0 -0
- /package/node_modules/{semver → @ykdz/template-builtin-presets/node_modules/semver}/range.bnf +0 -0
- /package/node_modules/{semver → @ykdz/template-builtin-presets/node_modules/semver}/ranges/gtr.js +0 -0
- /package/node_modules/{semver → @ykdz/template-builtin-presets/node_modules/semver}/ranges/intersects.js +0 -0
- /package/node_modules/{semver → @ykdz/template-builtin-presets/node_modules/semver}/ranges/ltr.js +0 -0
- /package/node_modules/{semver → @ykdz/template-builtin-presets/node_modules/semver}/ranges/max-satisfying.js +0 -0
- /package/node_modules/{semver → @ykdz/template-builtin-presets/node_modules/semver}/ranges/min-satisfying.js +0 -0
- /package/node_modules/{semver → @ykdz/template-builtin-presets/node_modules/semver}/ranges/min-version.js +0 -0
- /package/node_modules/{semver → @ykdz/template-builtin-presets/node_modules/semver}/ranges/outside.js +0 -0
- /package/node_modules/{semver → @ykdz/template-builtin-presets/node_modules/semver}/ranges/simplify.js +0 -0
- /package/node_modules/{semver → @ykdz/template-builtin-presets/node_modules/semver}/ranges/subset.js +0 -0
- /package/node_modules/{semver → @ykdz/template-builtin-presets/node_modules/semver}/ranges/to-comparators.js +0 -0
- /package/node_modules/{semver → @ykdz/template-builtin-presets/node_modules/semver}/ranges/valid.js +0 -0
- /package/node_modules/{valibot → @ykdz/template-builtin-presets/node_modules/valibot}/LICENSE.md +0 -0
- /package/node_modules/@ykdz/template-builtin-presets/templates/vike-app/db/src/{types.d.ts → types.ts} +0 -0
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import type { PackageDefinitionId } from "@ykdz/template-core/project-blueprint";
|
|
2
|
+
export type GeneratedPackagePlanningRecord = {
|
|
3
|
+
readonly packageDefinitionId: PackageDefinitionId;
|
|
4
|
+
readonly path: string;
|
|
5
|
+
readonly definitionName: string;
|
|
6
|
+
readonly planningContribution: "foundationPlan" | "planInitialization" | "planPackageAddition";
|
|
7
|
+
readonly contributionIdentity: string;
|
|
8
|
+
};
|
|
9
|
+
/**
|
|
10
|
+
* Generation Record v2 的工具链形状:只保存初始化时的历史 Node 大版本与 pnpm pin。
|
|
11
|
+
* 它刻意与 GenerationContext.toolchain 解耦,精确 Node 事实不得进入持久记录。
|
|
12
|
+
*/
|
|
13
|
+
export type GenerationRecordToolchain = {
|
|
14
|
+
readonly nodeLtsMajor: string;
|
|
15
|
+
readonly packageManagerPin: string;
|
|
16
|
+
};
|
|
17
|
+
export type GenerationRecord = {
|
|
18
|
+
readonly schemaVersion: 2;
|
|
19
|
+
readonly repositoryName: string;
|
|
20
|
+
readonly defaultPackageScope: string;
|
|
21
|
+
readonly preset: string;
|
|
22
|
+
readonly templateVersion: "0.0.0";
|
|
23
|
+
readonly toolchain: GenerationRecordToolchain;
|
|
24
|
+
readonly packages: readonly GeneratedPackagePlanningRecord[];
|
|
25
|
+
};
|
|
26
|
+
/** Canonical durable Generation Record contract for a default npm scope. */
|
|
27
|
+
export declare function isValidDefaultPackageScope(value: string): boolean;
|
|
28
|
+
/** Strictly decodes the durable Record shape before semantic checks run. */
|
|
29
|
+
export declare function decodeGenerationRecordStructure(value: unknown): GenerationRecord;
|
|
30
|
+
/** Validates semantic invariants that are independent of a Project Blueprint. */
|
|
31
|
+
export declare function parseGenerationRecord(value: unknown): GenerationRecord;
|
|
32
|
+
/** Review callers need the same complete validation without interpreting Error text. */
|
|
33
|
+
export declare function validateGenerationRecord(value: unknown): {
|
|
34
|
+
readonly ok: true;
|
|
35
|
+
readonly value: GenerationRecord;
|
|
36
|
+
} | {
|
|
37
|
+
readonly ok: false;
|
|
38
|
+
readonly issues: readonly string[];
|
|
39
|
+
};
|
|
@@ -0,0 +1,178 @@
|
|
|
1
|
+
import * as v from "valibot";
|
|
2
|
+
/** Canonical durable Generation Record contract for a default npm scope. */
|
|
3
|
+
export function isValidDefaultPackageScope(value) {
|
|
4
|
+
return /^[a-z0-9][a-z0-9._-]*$/.test(value);
|
|
5
|
+
}
|
|
6
|
+
// 以下两条规则只校验历史 Generation Record 中已冻结的初始化事实,不是现行版本真源。
|
|
7
|
+
function isNumericNodeLtsMajor(value) {
|
|
8
|
+
return /^\d+$/.test(value);
|
|
9
|
+
}
|
|
10
|
+
function isExactPackageManagerPin(value) {
|
|
11
|
+
return /^pnpm@\d+\.\d+\.\d+(?:[-+][0-9A-Za-z.-]+)?$/.test(value);
|
|
12
|
+
}
|
|
13
|
+
function strictObjectMessage(issue, objectMessage) {
|
|
14
|
+
if (issue.path?.at(-1)?.origin !== "key")
|
|
15
|
+
return objectMessage;
|
|
16
|
+
const unknownKey = typeof issue.input === "string" ? issue.input : "<unknown>";
|
|
17
|
+
return `contains unknown Generation Record field; contains unknown field: ${unknownKey}`;
|
|
18
|
+
}
|
|
19
|
+
const packagePlanningRecordSchema = v.strictObject({
|
|
20
|
+
packageDefinitionId: v.string("packageDefinitionId must use the package-<sha256> format"),
|
|
21
|
+
path: v.string("path must be a non-empty string"),
|
|
22
|
+
definitionName: v.string("definitionName must be a non-empty string"),
|
|
23
|
+
planningContribution: v.picklist(["foundationPlan", "planInitialization", "planPackageAddition"], "planningContribution is unsupported"),
|
|
24
|
+
contributionIdentity: v.string("contributionIdentity must be a non-empty string"),
|
|
25
|
+
}, (issue) => strictObjectMessage(issue, "package planning fact must be an object"));
|
|
26
|
+
const generationRecordSchema = v.strictObject({
|
|
27
|
+
schemaVersion: v.literal(2, (issue) => `Unsupported Generation Record schema version ${String(issue.input)}; expected 2`),
|
|
28
|
+
repositoryName: v.string("repositoryName must be a non-empty string"),
|
|
29
|
+
defaultPackageScope: v.string("defaultPackageScope must be a valid npm scope"),
|
|
30
|
+
preset: v.string("preset must be a non-empty string"),
|
|
31
|
+
templateVersion: v.literal("0.0.0", "templateVersion must be 0.0.0"),
|
|
32
|
+
toolchain: v.strictObject({
|
|
33
|
+
nodeLtsMajor: v.string("toolchain.nodeLtsMajor must be a numeric Node major"),
|
|
34
|
+
packageManagerPin: v.string("toolchain.packageManagerPin must be an exact pnpm version pin"),
|
|
35
|
+
}, (issue) => strictObjectMessage(issue, "toolchain must be an object")),
|
|
36
|
+
packages: v.array(packagePlanningRecordSchema, "packages must be an array"),
|
|
37
|
+
}, (issue) => strictObjectMessage(issue, "supported Generation Record must be an object"));
|
|
38
|
+
function issuePath(issue) {
|
|
39
|
+
let result = "";
|
|
40
|
+
for (const item of issue.path ?? []) {
|
|
41
|
+
if (typeof item.key === "number") {
|
|
42
|
+
result += `[${item.key}]`;
|
|
43
|
+
}
|
|
44
|
+
else if (typeof item.key === "string") {
|
|
45
|
+
result += `${result.length === 0 ? "" : "."}${item.key}`;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
return result;
|
|
49
|
+
}
|
|
50
|
+
const missingFieldMessages = new Map([
|
|
51
|
+
[
|
|
52
|
+
"schemaVersion",
|
|
53
|
+
"Unsupported Generation Record schema version undefined; expected 2",
|
|
54
|
+
],
|
|
55
|
+
["repositoryName", "repositoryName must be a non-empty string"],
|
|
56
|
+
["defaultPackageScope", "defaultPackageScope must be a valid npm scope"],
|
|
57
|
+
["preset", "preset must be a non-empty string"],
|
|
58
|
+
["templateVersion", "templateVersion must be 0.0.0"],
|
|
59
|
+
["toolchain", "toolchain must be an object"],
|
|
60
|
+
["packages", "packages must be an array"],
|
|
61
|
+
]);
|
|
62
|
+
class GenerationRecordInputError extends Error {
|
|
63
|
+
}
|
|
64
|
+
function missingFieldMessage(path, fallback) {
|
|
65
|
+
const exact = missingFieldMessages.get(path);
|
|
66
|
+
if (exact !== undefined)
|
|
67
|
+
return exact;
|
|
68
|
+
if (path.endsWith(".nodeLtsMajor")) {
|
|
69
|
+
return `${path} must be a numeric Node major`;
|
|
70
|
+
}
|
|
71
|
+
if (path.endsWith(".packageManagerPin")) {
|
|
72
|
+
return `${path} must be an exact pnpm version pin`;
|
|
73
|
+
}
|
|
74
|
+
if (path.endsWith(".packageDefinitionId")) {
|
|
75
|
+
return `${path} must use the package-<sha256> format`;
|
|
76
|
+
}
|
|
77
|
+
if (path.endsWith(".path") ||
|
|
78
|
+
path.endsWith(".definitionName") ||
|
|
79
|
+
path.endsWith(".contributionIdentity")) {
|
|
80
|
+
return `${path} must be a non-empty string`;
|
|
81
|
+
}
|
|
82
|
+
if (path.endsWith(".planningContribution")) {
|
|
83
|
+
return `${path} is unsupported`;
|
|
84
|
+
}
|
|
85
|
+
return fallback;
|
|
86
|
+
}
|
|
87
|
+
function structuralError(issues) {
|
|
88
|
+
return new GenerationRecordInputError(`Generation Record ${issues
|
|
89
|
+
.map((issue) => {
|
|
90
|
+
const path = issuePath(issue);
|
|
91
|
+
const last = issue.path?.at(-1);
|
|
92
|
+
if (issue.type === "strict_object" &&
|
|
93
|
+
last?.origin === "key" &&
|
|
94
|
+
issue.input !== undefined &&
|
|
95
|
+
!path.includes(".") &&
|
|
96
|
+
!path.includes("[")) {
|
|
97
|
+
const unknownKey = typeof issue.input === "string" ? issue.input : "<unknown>";
|
|
98
|
+
return `contains unknown field: ${unknownKey}; ${path}: contains unknown Generation Record field`;
|
|
99
|
+
}
|
|
100
|
+
let message = issue.message;
|
|
101
|
+
if (issue.type === "strict_object" &&
|
|
102
|
+
last?.origin === "key" &&
|
|
103
|
+
issue.input === undefined) {
|
|
104
|
+
message = missingFieldMessage(path, message);
|
|
105
|
+
}
|
|
106
|
+
const normalizedPath = path.length === 0 ? "." : path;
|
|
107
|
+
return message.startsWith(normalizedPath)
|
|
108
|
+
? message
|
|
109
|
+
: `${normalizedPath}: ${message}`;
|
|
110
|
+
})
|
|
111
|
+
.join("; ")}`);
|
|
112
|
+
}
|
|
113
|
+
/** Strictly decodes the durable Record shape before semantic checks run. */
|
|
114
|
+
export function decodeGenerationRecordStructure(value) {
|
|
115
|
+
const parsed = v.safeParse(generationRecordSchema, value);
|
|
116
|
+
if (!parsed.success)
|
|
117
|
+
throw structuralError(parsed.issues);
|
|
118
|
+
return parsed.output;
|
|
119
|
+
}
|
|
120
|
+
/** Validates semantic invariants that are independent of a Project Blueprint. */
|
|
121
|
+
export function parseGenerationRecord(value) {
|
|
122
|
+
const record = decodeGenerationRecordStructure(value);
|
|
123
|
+
const issues = [];
|
|
124
|
+
if (record.repositoryName.length === 0 ||
|
|
125
|
+
record.repositoryName !== record.repositoryName.trim()) {
|
|
126
|
+
issues.push("repositoryName must be a non-empty string");
|
|
127
|
+
}
|
|
128
|
+
if (!isValidDefaultPackageScope(record.defaultPackageScope)) {
|
|
129
|
+
issues.push("defaultPackageScope must be a valid npm scope");
|
|
130
|
+
}
|
|
131
|
+
if (record.preset.length === 0 || record.preset !== record.preset.trim()) {
|
|
132
|
+
issues.push("preset must be a non-empty string");
|
|
133
|
+
}
|
|
134
|
+
if (!isNumericNodeLtsMajor(record.toolchain.nodeLtsMajor)) {
|
|
135
|
+
issues.push("toolchain.nodeLtsMajor must be a numeric Node major");
|
|
136
|
+
}
|
|
137
|
+
if (!isExactPackageManagerPin(record.toolchain.packageManagerPin)) {
|
|
138
|
+
issues.push("toolchain.packageManagerPin must be an exact pnpm version pin");
|
|
139
|
+
}
|
|
140
|
+
for (const [index, item] of record.packages.entries()) {
|
|
141
|
+
if (!/^package-[a-f0-9]{64}$/.test(item.packageDefinitionId)) {
|
|
142
|
+
issues.push(`packages[${index}].packageDefinitionId must use the package-<sha256> format`);
|
|
143
|
+
}
|
|
144
|
+
if (item.path.length === 0) {
|
|
145
|
+
issues.push(`packages[${index}].path must be a non-empty string`);
|
|
146
|
+
}
|
|
147
|
+
if (item.definitionName.length === 0) {
|
|
148
|
+
issues.push(`packages[${index}].definitionName must be a non-empty string`);
|
|
149
|
+
}
|
|
150
|
+
if (item.contributionIdentity.length === 0) {
|
|
151
|
+
issues.push(`packages[${index}].contributionIdentity must be a non-empty string`);
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
const packageDefinitionIds = record.packages.map((item) => item.packageDefinitionId);
|
|
155
|
+
if (new Set(packageDefinitionIds).size !== packageDefinitionIds.length) {
|
|
156
|
+
issues.push("packages packageDefinitionId must be unique");
|
|
157
|
+
}
|
|
158
|
+
if (issues.length > 0) {
|
|
159
|
+
throw new GenerationRecordInputError(`Generation Record ${issues.join("; ")}`);
|
|
160
|
+
}
|
|
161
|
+
return record;
|
|
162
|
+
}
|
|
163
|
+
/** Review callers need the same complete validation without interpreting Error text. */
|
|
164
|
+
export function validateGenerationRecord(value) {
|
|
165
|
+
try {
|
|
166
|
+
return { ok: true, value: parseGenerationRecord(value) };
|
|
167
|
+
}
|
|
168
|
+
catch (error) {
|
|
169
|
+
if (!(error instanceof GenerationRecordInputError))
|
|
170
|
+
throw error;
|
|
171
|
+
return {
|
|
172
|
+
ok: false,
|
|
173
|
+
issues: [
|
|
174
|
+
error instanceof Error ? error.message : "Generation Record 无法验证",
|
|
175
|
+
],
|
|
176
|
+
};
|
|
177
|
+
}
|
|
178
|
+
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { builtInPresetRegistry,
|
|
1
|
+
export { builtInPresetRegistry, createGenerationContext, loadLocalTemplateMetadata, prepareGeneratedRepositoryPackageAddition, validateGeneratedRepositoryInitializationInput, prepareGeneratedRepositoryInitialization, planGeneratedRepositoryInitialization, planGeneratedRepositoryPackageAddition, readRustToolchainChannelFromToml, resolveBuiltInTemplateSource, validateProjectBlueprint, } from "./foundation.ts";
|
|
2
2
|
export { templateSources } from "./template-sources.ts";
|
|
3
|
-
export type { BuiltInPresetDefinition,
|
|
3
|
+
export type { BuiltInPresetDefinition, GeneratedRepositoryPlan, PackageContribution, ProjectBlueprint, BuiltInGenerationContext, LocalTemplateMetadata, InitializationIdentityOverrides, InitializationInputIssue, InitializationInputValidation, InitializationPreparation, PackageAdditionBusinessConflict, PackageAdditionInputIssue, PackageAdditionPreparation, NextStepInstruction, PublicationSetupHandoff, ResolvedInitialization, RustToolchainChannelReading, } from "./foundation.ts";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { builtInPresetRegistry,
|
|
1
|
+
export { builtInPresetRegistry, createGenerationContext, loadLocalTemplateMetadata, prepareGeneratedRepositoryPackageAddition, validateGeneratedRepositoryInitializationInput, prepareGeneratedRepositoryInitialization, planGeneratedRepositoryInitialization, planGeneratedRepositoryPackageAddition, readRustToolchainChannelFromToml, resolveBuiltInTemplateSource, validateProjectBlueprint, } from "./foundation.js";
|
|
2
2
|
export { templateSources } from "./template-sources.js";
|
|
@@ -1,2 +1,31 @@
|
|
|
1
|
-
import type
|
|
2
|
-
export declare const rustBinDefinition:
|
|
1
|
+
import { type GenerationContext } from "@ykdz/template-core/preset-definition";
|
|
2
|
+
export declare const rustBinDefinition: {
|
|
3
|
+
metadata: {
|
|
4
|
+
name: string;
|
|
5
|
+
title: string;
|
|
6
|
+
description: string;
|
|
7
|
+
};
|
|
8
|
+
source: import("@ykdz/template-core/renderer").TemplateSourceHandle;
|
|
9
|
+
plannerSourceFile: string;
|
|
10
|
+
packageContributionReplayAdapters: import("@ykdz/template-core/preset-definition").PackageContributionReplayAdapter[];
|
|
11
|
+
initialPrimaryPackage: {
|
|
12
|
+
defaultLeafName: string;
|
|
13
|
+
role: "native-package";
|
|
14
|
+
defaultPackagePath: ({ packageLeafName }: {
|
|
15
|
+
readonly packageLeafName: string;
|
|
16
|
+
}) => string;
|
|
17
|
+
planInitialContribution({ context, resolvedPackageIdentity }: {
|
|
18
|
+
readonly context: GenerationContext;
|
|
19
|
+
readonly resolvedPackageIdentity: import("@ykdz/template-core/preset-definition").ResolvedPrimaryPackageIdentity;
|
|
20
|
+
}): import("@ykdz/template-core/preset-definition").PlannedPackageContribution;
|
|
21
|
+
};
|
|
22
|
+
defaultPackagePath({ packageLeafName }: {
|
|
23
|
+
readonly context: GenerationContext;
|
|
24
|
+
readonly packageLeafName: string;
|
|
25
|
+
}): string;
|
|
26
|
+
planPackageAddition({ context, packageLeafName, packagePath }: {
|
|
27
|
+
readonly context: GenerationContext;
|
|
28
|
+
readonly packageLeafName: string;
|
|
29
|
+
readonly packagePath: string;
|
|
30
|
+
}): import("@ykdz/template-core/preset-definition").PlannedPackageContribution;
|
|
31
|
+
};
|
|
@@ -1,14 +1,9 @@
|
|
|
1
1
|
import { fileURLToPath } from "node:url";
|
|
2
|
-
import { rustToolchainEnvironmentNeed } from "
|
|
2
|
+
import { rustToolchainEnvironmentNeed } from "@ykdz/template-core/module-graph";
|
|
3
|
+
import { definePackageContributionReplayAdapter, } from "@ykdz/template-core/preset-definition";
|
|
3
4
|
import { templateSources } from "../template-sources.js";
|
|
4
|
-
function
|
|
5
|
-
|
|
6
|
-
.normalize("NFKD")
|
|
7
|
-
.replace(/[\u0300-\u036f]/g, "")
|
|
8
|
-
.toLowerCase()
|
|
9
|
-
.replace(/[^a-z0-9]+/g, "-")
|
|
10
|
-
.replace(/^-+|-+$/g, "");
|
|
11
|
-
return slug || "rust-bin";
|
|
5
|
+
function packagePathForLeaf(packageLeafName) {
|
|
6
|
+
return `packages/${packageLeafName}`;
|
|
12
7
|
}
|
|
13
8
|
function packageScripts() {
|
|
14
9
|
return {
|
|
@@ -19,11 +14,14 @@ function packageScripts() {
|
|
|
19
14
|
};
|
|
20
15
|
}
|
|
21
16
|
function rustContribution(options) {
|
|
22
|
-
const definition = {
|
|
23
|
-
name: `@${options.context.
|
|
17
|
+
const definition = options.packageDefinition ?? {
|
|
18
|
+
name: `@${options.context.defaultPackageScope}/${options.packageLeafName}`,
|
|
24
19
|
path: options.packagePath,
|
|
25
20
|
role: "native-package",
|
|
26
21
|
};
|
|
22
|
+
// 根声明与容器初值共用同一个上下文 channel:初始化携带 CLI 发版快照的精确版本,加包携带目标根
|
|
23
|
+
// rust-toolchain.toml 的现行 channel;缺省只服务还没有根声明的首次建源路径。
|
|
24
|
+
const rustChannel = options.context.toolchain.rustVersion ?? "stable";
|
|
27
25
|
const operations = [
|
|
28
26
|
{ kind: "writeJson", to: `${definition.path}/package.json`, value: {} },
|
|
29
27
|
{
|
|
@@ -64,7 +62,6 @@ function rustContribution(options) {
|
|
|
64
62
|
exposure: { exports: {}, imports: {} },
|
|
65
63
|
manifest: {
|
|
66
64
|
name: definition.name,
|
|
67
|
-
version: "0.0.0",
|
|
68
65
|
private: true,
|
|
69
66
|
scripts: packageScripts(),
|
|
70
67
|
engines: { node: options.context.toolchain.nodeLtsMajor },
|
|
@@ -78,7 +75,14 @@ function rustContribution(options) {
|
|
|
78
75
|
],
|
|
79
76
|
foundation: {
|
|
80
77
|
toolchains: {
|
|
81
|
-
rust: {
|
|
78
|
+
rust: {
|
|
79
|
+
toolchain: rustChannel,
|
|
80
|
+
components: ["rustfmt", "clippy"],
|
|
81
|
+
configurationSource: {
|
|
82
|
+
source: templateSources.rustBin,
|
|
83
|
+
from: "rust-toolchain.toml",
|
|
84
|
+
},
|
|
85
|
+
},
|
|
82
86
|
},
|
|
83
87
|
editorCapabilities: ["rust-tooling"],
|
|
84
88
|
dependencyMaintenance: {
|
|
@@ -100,7 +104,7 @@ function rustContribution(options) {
|
|
|
100
104
|
from: "devcontainer/rust.Dockerfile",
|
|
101
105
|
},
|
|
102
106
|
requires: ["node-pnpm"],
|
|
103
|
-
buildArguments: [{ name: "RUST_TOOLCHAIN", value:
|
|
107
|
+
buildArguments: [{ name: "RUST_TOOLCHAIN", value: rustChannel }],
|
|
104
108
|
mounts: [
|
|
105
109
|
{
|
|
106
110
|
identity: "cargo-registry",
|
|
@@ -121,51 +125,44 @@ function rustContribution(options) {
|
|
|
121
125
|
],
|
|
122
126
|
},
|
|
123
127
|
],
|
|
124
|
-
templateFiles: [
|
|
125
|
-
{
|
|
126
|
-
identity: "rust-toolchain",
|
|
127
|
-
source: templateSources.rustBin,
|
|
128
|
-
from: "rust-toolchain.toml",
|
|
129
|
-
to: "rust-toolchain.toml",
|
|
130
|
-
replacements: { RUST_TOOLCHAIN: "stable" },
|
|
131
|
-
},
|
|
132
|
-
],
|
|
133
128
|
},
|
|
134
129
|
};
|
|
135
130
|
}
|
|
131
|
+
const binaryReplayAdapter = definePackageContributionReplayAdapter({
|
|
132
|
+
identity: "binary",
|
|
133
|
+
replay: ({ context, packageDefinition, packageLeafName }) => rustContribution({
|
|
134
|
+
context,
|
|
135
|
+
packageLeafName,
|
|
136
|
+
packagePath: packageDefinition.path,
|
|
137
|
+
packageDefinition,
|
|
138
|
+
}),
|
|
139
|
+
});
|
|
136
140
|
export const rustBinDefinition = {
|
|
137
141
|
metadata: {
|
|
138
142
|
name: "rust-bin",
|
|
139
|
-
title: "Rust
|
|
140
|
-
description: "
|
|
143
|
+
title: "Rust 二进制程序",
|
|
144
|
+
description: "包含 rustfmt、clippy 和 cargo 测试的 Rust 原生二进制工作区。",
|
|
141
145
|
},
|
|
142
146
|
source: templateSources.rustBin,
|
|
143
147
|
plannerSourceFile: fileURLToPath(import.meta.url),
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
planInitialization(context) {
|
|
158
|
-
const packageLeafName = cargoPackageName(context.projectName);
|
|
159
|
-
return rustContribution({
|
|
160
|
-
context,
|
|
161
|
-
packageLeafName,
|
|
162
|
-
packagePath: `packages/${packageLeafName}`,
|
|
163
|
-
});
|
|
148
|
+
packageContributionReplayAdapters: [binaryReplayAdapter],
|
|
149
|
+
initialPrimaryPackage: {
|
|
150
|
+
defaultLeafName: "app",
|
|
151
|
+
role: "native-package",
|
|
152
|
+
defaultPackagePath: ({ packageLeafName }) => packagePathForLeaf(packageLeafName),
|
|
153
|
+
planInitialContribution({ context, resolvedPackageIdentity }) {
|
|
154
|
+
return binaryReplayAdapter.identify(rustContribution({
|
|
155
|
+
context,
|
|
156
|
+
packageLeafName: resolvedPackageIdentity.leafName,
|
|
157
|
+
packagePath: resolvedPackageIdentity.definition.path,
|
|
158
|
+
packageDefinition: resolvedPackageIdentity.definition,
|
|
159
|
+
}));
|
|
160
|
+
},
|
|
164
161
|
},
|
|
165
162
|
defaultPackagePath({ packageLeafName }) {
|
|
166
|
-
return
|
|
163
|
+
return packagePathForLeaf(packageLeafName);
|
|
167
164
|
},
|
|
168
165
|
planPackageAddition({ context, packageLeafName, packagePath }) {
|
|
169
|
-
return rustContribution({ context, packageLeafName, packagePath });
|
|
166
|
+
return binaryReplayAdapter.identify(rustContribution({ context, packageLeafName, packagePath }));
|
|
170
167
|
},
|
|
171
168
|
};
|
package/node_modules/@ykdz/template-builtin-presets/dist/src/shared/development-container.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type { DevelopmentContainerToolLayer } from "
|
|
1
|
+
import type { DevelopmentContainerToolLayer } from "@ykdz/template-core/development-container-tool-layer";
|
|
2
2
|
export declare function githubCliDevelopmentContainerToolLayer(): DevelopmentContainerToolLayer;
|
|
3
3
|
export declare function browserTestDevelopmentContainerToolLayer(): DevelopmentContainerToolLayer;
|
package/node_modules/@ykdz/template-builtin-presets/dist/src/shared/development-container.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { loadTemplateDependencyCatalog } from "
|
|
1
|
+
import { loadTemplateDependencyCatalog } from "@ykdz/template-core/dependency-catalog";
|
|
2
2
|
import { templateSources } from "../template-sources.js";
|
|
3
3
|
export function githubCliDevelopmentContainerToolLayer() {
|
|
4
4
|
return {
|
|
@@ -1,13 +1,16 @@
|
|
|
1
|
-
import type { PackageContribution } from "
|
|
2
|
-
import type
|
|
3
|
-
import type { PackageDefinition } from "
|
|
4
|
-
import type { RenderOperation, TemplateSourceHandle } from "
|
|
5
|
-
|
|
6
|
-
export declare function
|
|
1
|
+
import type { PackageContribution } from "@ykdz/template-core/package-contribution";
|
|
2
|
+
import { type GenerationContext } from "@ykdz/template-core/preset-definition";
|
|
3
|
+
import type { PackageDefinition } from "@ykdz/template-core/project-blueprint";
|
|
4
|
+
import type { RenderOperation, TemplateSourceHandle } from "@ykdz/template-core/renderer";
|
|
5
|
+
type TypescriptConfigFoundationContext = Pick<GenerationContext, "foundationPackages">;
|
|
6
|
+
export declare function typescriptConfigPackageName(context: TypescriptConfigFoundationContext): string;
|
|
7
|
+
export declare function typescriptConfigPackageDefinition(context: TypescriptConfigFoundationContext): PackageDefinition;
|
|
7
8
|
export declare function typescriptConfigSourceOperation(options: {
|
|
8
9
|
readonly context: GenerationContext;
|
|
9
10
|
readonly source: TemplateSourceHandle;
|
|
10
11
|
readonly from: string;
|
|
11
12
|
readonly to: string;
|
|
12
13
|
}): RenderOperation;
|
|
13
|
-
export declare function typescriptConfigContribution(context: GenerationContext): PackageContribution;
|
|
14
|
+
export declare function typescriptConfigContribution(context: GenerationContext, definition?: PackageDefinition): PackageContribution;
|
|
15
|
+
export declare const typescriptConfigReplayAdapter: import("@ykdz/template-core/preset-definition").PackageContributionReplayAdapter;
|
|
16
|
+
export {};
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
+
import { definePackageContributionReplayAdapter, } from "@ykdz/template-core/preset-definition";
|
|
1
2
|
import { templateSources } from "../template-sources.js";
|
|
3
|
+
const typescriptConfigPackageReplacement = "TYPESCRIPT_CONFIG_PACKAGE";
|
|
2
4
|
export function typescriptConfigPackageName(context) {
|
|
3
|
-
return
|
|
5
|
+
return context.foundationPackages.typescriptConfiguration.name;
|
|
4
6
|
}
|
|
5
7
|
export function typescriptConfigPackageDefinition(context) {
|
|
6
8
|
return {
|
|
@@ -16,23 +18,21 @@ export function typescriptConfigSourceOperation(options) {
|
|
|
16
18
|
from: options.from,
|
|
17
19
|
to: options.to,
|
|
18
20
|
replacements: {
|
|
19
|
-
|
|
21
|
+
[typescriptConfigPackageReplacement]: typescriptConfigPackageName(options.context),
|
|
20
22
|
},
|
|
21
23
|
};
|
|
22
24
|
}
|
|
23
|
-
export function typescriptConfigContribution(context) {
|
|
24
|
-
const definition = typescriptConfigPackageDefinition(context);
|
|
25
|
+
export function typescriptConfigContribution(context, definition = typescriptConfigPackageDefinition(context)) {
|
|
25
26
|
return {
|
|
26
27
|
definition,
|
|
27
28
|
exposure: { exports: {}, imports: {} },
|
|
28
29
|
manifest: {
|
|
29
30
|
name: definition.name,
|
|
30
|
-
version: "0.0.0",
|
|
31
31
|
private: true,
|
|
32
32
|
files: ["base.json"],
|
|
33
33
|
scripts: {
|
|
34
|
-
"format:check": "oxfmt --list-different
|
|
35
|
-
"format:write": "oxfmt --write
|
|
34
|
+
"format:check": "oxfmt --list-different .",
|
|
35
|
+
"format:write": "oxfmt --write .",
|
|
36
36
|
},
|
|
37
37
|
devDependencies: { oxfmt: "catalog:" },
|
|
38
38
|
engines: { node: context.toolchain.nodeLtsMajor },
|
|
@@ -68,3 +68,7 @@ export function typescriptConfigContribution(context) {
|
|
|
68
68
|
},
|
|
69
69
|
};
|
|
70
70
|
}
|
|
71
|
+
export const typescriptConfigReplayAdapter = definePackageContributionReplayAdapter({
|
|
72
|
+
identity: "typescript-config",
|
|
73
|
+
replay: ({ context, packageDefinition }) => typescriptConfigContribution(context, packageDefinition),
|
|
74
|
+
});
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type { PackageContribution } from "
|
|
2
|
-
import type { GenerationContext } from "
|
|
3
|
-
import type { PackageDefinition } from "
|
|
4
|
-
import type { RenderOperation } from "
|
|
1
|
+
import type { PackageContribution } from "@ykdz/template-core/package-contribution";
|
|
2
|
+
import type { GenerationContext } from "@ykdz/template-core/preset-definition";
|
|
3
|
+
import type { PackageDefinition } from "@ykdz/template-core/project-blueprint";
|
|
4
|
+
import type { RenderOperation } from "@ykdz/template-core/renderer";
|
|
5
5
|
/** Vue's tooling peers need these repository policy overrides, never Core defaults. */
|
|
6
6
|
export declare const vuePnpmDependencyOverrides: {
|
|
7
7
|
readonly "pinia>typescript": "-";
|
|
@@ -31,4 +31,6 @@ export declare function vueApplicationManifest(options: {
|
|
|
31
31
|
readonly context: GenerationContext;
|
|
32
32
|
readonly definition: PackageDefinition;
|
|
33
33
|
readonly scripts: Record<string, string>;
|
|
34
|
+
/** Vue-Hono's root owns its joint browser runner. */
|
|
35
|
+
readonly includePlaywright?: boolean;
|
|
34
36
|
}): PackageContribution["manifest"];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { playwrightBrowserAssetsEnvironmentNeed } from "
|
|
1
|
+
import { playwrightBrowserAssetsEnvironmentNeed } from "@ykdz/template-core/module-graph";
|
|
2
2
|
import { templateSources } from "../template-sources.js";
|
|
3
3
|
import { browserTestDevelopmentContainerToolLayer } from "./development-container.js";
|
|
4
4
|
import { typescriptConfigSourceOperation } from "./typescript.js";
|
|
@@ -26,10 +26,10 @@ export function vueApplicationScripts() {
|
|
|
26
26
|
return {
|
|
27
27
|
build: "vite build",
|
|
28
28
|
dev: "vite",
|
|
29
|
-
"format:check": "oxfmt --list-different
|
|
30
|
-
"format:write": "oxfmt --write
|
|
31
|
-
lint: "oxlint --quiet --format=unix
|
|
32
|
-
"lint:fix": "oxlint --format=unix
|
|
29
|
+
"format:check": "oxfmt --list-different .",
|
|
30
|
+
"format:write": "oxfmt --write .",
|
|
31
|
+
lint: "oxlint --quiet --format=unix .",
|
|
32
|
+
"lint:fix": "oxlint --format=unix . --fix",
|
|
33
33
|
preview: "vite preview",
|
|
34
34
|
test: "vitest run --reporter=agent --silent=passed-only",
|
|
35
35
|
"test:e2e": "playwright test",
|
|
@@ -76,7 +76,6 @@ export function vueApplicationDevelopmentContainerToolLayers() {
|
|
|
76
76
|
export function vueApplicationManifest(options) {
|
|
77
77
|
return {
|
|
78
78
|
name: options.definition.name,
|
|
79
|
-
version: "0.0.0",
|
|
80
79
|
private: true,
|
|
81
80
|
type: "module",
|
|
82
81
|
...vueApplicationExposure,
|
|
@@ -87,7 +86,9 @@ export function vueApplicationManifest(options) {
|
|
|
87
86
|
vue: "catalog:",
|
|
88
87
|
},
|
|
89
88
|
devDependencies: {
|
|
90
|
-
|
|
89
|
+
...(options.includePlaywright === false
|
|
90
|
+
? {}
|
|
91
|
+
: { "@playwright/test": "catalog:" }),
|
|
91
92
|
"@tailwindcss/vite": "catalog:",
|
|
92
93
|
"@types/node": "catalog:",
|
|
93
94
|
"@types/web-bluetooth": "catalog:",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type TemplateSourceHandle } from "
|
|
1
|
+
import { type TemplateSourceHandle } from "@ykdz/template-core/renderer";
|
|
2
2
|
/** The sole owner of Built-in Presets Template Source references. */
|
|
3
3
|
export declare const templateSources: {
|
|
4
4
|
readonly foundation: TemplateSourceHandle;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import path from "node:path";
|
|
2
2
|
import { fileURLToPath } from "node:url";
|
|
3
|
-
import { createTemplateSourceHandle, } from "
|
|
3
|
+
import { createTemplateSourceHandle, } from "@ykdz/template-core/renderer";
|
|
4
4
|
function templateRoot(...segments) {
|
|
5
5
|
const sourceDirectory = path.dirname(fileURLToPath(import.meta.url));
|
|
6
6
|
const packageRootSegments = path.basename(path.dirname(sourceDirectory)) === "dist"
|
|
@@ -1,2 +1,31 @@
|
|
|
1
|
-
import type
|
|
2
|
-
export declare const tsCliDefinition:
|
|
1
|
+
import { type GenerationContext } from "@ykdz/template-core/preset-definition";
|
|
2
|
+
export declare const tsCliDefinition: {
|
|
3
|
+
metadata: {
|
|
4
|
+
name: string;
|
|
5
|
+
title: string;
|
|
6
|
+
description: string;
|
|
7
|
+
};
|
|
8
|
+
source: import("@ykdz/template-core/renderer").TemplateSourceHandle;
|
|
9
|
+
plannerSourceFile: string;
|
|
10
|
+
packageContributionReplayAdapters: import("@ykdz/template-core/preset-definition").PackageContributionReplayAdapter[];
|
|
11
|
+
initialPrimaryPackage: {
|
|
12
|
+
defaultLeafName: string;
|
|
13
|
+
role: "cli-tool";
|
|
14
|
+
defaultPackagePath: ({ packageLeafName }: {
|
|
15
|
+
readonly packageLeafName: string;
|
|
16
|
+
}) => string;
|
|
17
|
+
planInitialContribution({ context, resolvedPackageIdentity }: {
|
|
18
|
+
readonly context: GenerationContext;
|
|
19
|
+
readonly resolvedPackageIdentity: import("@ykdz/template-core/preset-definition").ResolvedPrimaryPackageIdentity;
|
|
20
|
+
}): import("@ykdz/template-core/preset-definition").PlannedPackageContribution;
|
|
21
|
+
};
|
|
22
|
+
defaultPackagePath({ packageLeafName }: {
|
|
23
|
+
readonly context: GenerationContext;
|
|
24
|
+
readonly packageLeafName: string;
|
|
25
|
+
}): string;
|
|
26
|
+
planPackageAddition({ context, packageLeafName, packagePath }: {
|
|
27
|
+
readonly context: GenerationContext;
|
|
28
|
+
readonly packageLeafName: string;
|
|
29
|
+
readonly packagePath: string;
|
|
30
|
+
}): import("@ykdz/template-core/preset-definition").PlannedPackageContribution;
|
|
31
|
+
};
|