@ykdz/template 0.0.36 → 0.0.38
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 +129 -13
- package/dist/application.js +286 -174
- 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 +319 -51
- package/node_modules/@ykdz/template-builtin-presets/dist/src/foundation.d.ts +122 -22
- package/node_modules/@ykdz/template-builtin-presets/dist/src/foundation.js +2081 -410
- package/node_modules/@ykdz/template-builtin-presets/dist/src/generation-record.d.ts +18 -3
- package/node_modules/@ykdz/template-builtin-presets/dist/src/generation-record.js +29 -5
- 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 +1 -1
- package/node_modules/@ykdz/template-builtin-presets/dist/src/rust-bin/definition.js +16 -15
- 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 +8 -6
- package/node_modules/@ykdz/template-builtin-presets/dist/src/shared/typescript.js +3 -3
- 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 -6
- 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 +1 -1
- package/node_modules/@ykdz/template-builtin-presets/dist/src/ts-cli/definition.js +34 -8
- package/node_modules/@ykdz/template-builtin-presets/dist/src/ts-lib/definition.d.ts +1 -1
- package/node_modules/@ykdz/template-builtin-presets/dist/src/ts-lib/definition.js +7 -7
- package/node_modules/@ykdz/template-builtin-presets/dist/src/vike-app/definition.d.ts +28 -2
- package/node_modules/@ykdz/template-builtin-presets/dist/src/vike-app/definition.js +164 -148
- package/node_modules/@ykdz/template-builtin-presets/dist/src/vue-app/definition.d.ts +2 -2
- package/node_modules/@ykdz/template-builtin-presets/dist/src/vue-app/definition.js +3 -3
- package/node_modules/@ykdz/template-builtin-presets/dist/src/vue-hono-app/definition.d.ts +2 -2
- package/node_modules/@ykdz/template-builtin-presets/dist/src/vue-hono-app/definition.js +22 -23
- 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 +23 -10
- 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/AGENTS.md.template +17 -0
- package/node_modules/@ykdz/template-builtin-presets/templates/foundation/devcontainer.json +4 -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 +2 -3
- 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/readiness.ts +26 -5
- package/node_modules/@ykdz/template-builtin-presets/templates/ts-cli/publication/release.yml +1 -1
- package/node_modules/@ykdz/template-builtin-presets/templates/ts-cli/publication/root-tsconfig.json +2 -7
- 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 +1 -1
- package/node_modules/@ykdz/template-core/dist/module-graph.js +7 -5
- package/node_modules/@ykdz/template-core/dist/package-contribution.d.ts +33 -10
- package/node_modules/@ykdz/template-core/dist/package-contribution.js +1 -1
- package/node_modules/@ykdz/template-core/dist/pnpm-workspace.yaml +10 -9
- package/node_modules/@ykdz/template-core/dist/preset-definition.d.ts +11 -0
- package/node_modules/@ykdz/template-core/dist/project-github.d.ts +7 -5
- package/node_modules/@ykdz/template-core/dist/project-github.js +4 -4
- package/node_modules/@ykdz/template-core/dist/project-linking-v2.d.ts +2 -2
- package/node_modules/@ykdz/template-core/dist/project-linking-v2.js +12 -6
- package/node_modules/@ykdz/template-core/dist/project-projection.d.ts +27 -0
- package/node_modules/@ykdz/template-core/dist/project-projection.js +394 -9
- 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/template-boundary-check.js +15 -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 +21 -19
- 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/vike-app/devcontainer/docker-client.Dockerfile +0 -3
- package/node_modules/@ykdz/template-builtin-presets/templates/vue-hono-app/web/playwright.config.ts +0 -90
- 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 -37
- package/node_modules/@ykdz/template-core/dist/toolchain-resolution.js +0 -195
- 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
|
@@ -1,50 +1,14 @@
|
|
|
1
|
-
import { execFileSync } from "node:child_process";
|
|
2
|
-
import path from "node:path";
|
|
3
|
-
import { fileURLToPath } from "node:url";
|
|
4
|
-
|
|
5
1
|
import tailwindcss from "@tailwindcss/vite";
|
|
6
2
|
import vue from "@vitejs/plugin-vue";
|
|
7
3
|
import telefunc from "telefunc/vite";
|
|
8
4
|
import vike from "vike/plugin";
|
|
9
5
|
import { defineConfig, type PluginOption } from "vite";
|
|
10
6
|
|
|
11
|
-
const webRoot = path.dirname(fileURLToPath(import.meta.url));
|
|
12
|
-
const migrationsRoot = path.resolve(webRoot, "../../packages/db-migrations");
|
|
13
|
-
const databaseRoot = path.resolve(webRoot, "../../packages/db");
|
|
14
|
-
const databaseFile = path.join(webRoot, "data/app.sqlite");
|
|
15
|
-
|
|
16
7
|
// oxlint-disable-next-line typescript/no-unsafe-type-assertion -- telefunc/vite currently types its plugin factory as any.
|
|
17
8
|
const telefuncPlugin = telefunc() as PluginOption;
|
|
18
9
|
|
|
19
|
-
async function prepareDatabase(): Promise<void> {
|
|
20
|
-
const env = { ...process.env, DATABASE_FILE: databaseFile };
|
|
21
|
-
process.env.DATABASE_FILE = databaseFile;
|
|
22
|
-
execFileSync("pnpm", ["run", "db:push"], {
|
|
23
|
-
cwd: migrationsRoot,
|
|
24
|
-
env,
|
|
25
|
-
stdio: "inherit",
|
|
26
|
-
});
|
|
27
|
-
execFileSync("pnpm", ["run", "db:seed:example"], {
|
|
28
|
-
cwd: databaseRoot,
|
|
29
|
-
env,
|
|
30
|
-
stdio: "inherit",
|
|
31
|
-
});
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
function databasePreparationPlugin(): PluginOption {
|
|
35
|
-
return {
|
|
36
|
-
name: "database-preparation",
|
|
37
|
-
configureServer: () => prepareDatabase(),
|
|
38
|
-
configurePreviewServer: () => prepareDatabase(),
|
|
39
|
-
};
|
|
40
|
-
}
|
|
41
|
-
|
|
42
10
|
export default defineConfig({
|
|
43
|
-
plugins: [
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
vue(),
|
|
47
|
-
tailwindcss(),
|
|
48
|
-
databasePreparationPlugin(),
|
|
49
|
-
],
|
|
11
|
+
plugins: [vike(), telefuncPlugin, vue(), tailwindcss()],
|
|
12
|
+
resolve: { conditions: ["source"] },
|
|
13
|
+
ssr: { external: ["{{DB_PACKAGE_NAME}}"] },
|
|
50
14
|
});
|
package/node_modules/@ykdz/template-builtin-presets/templates/vue-hono-app/api/tsconfig.json
CHANGED
|
@@ -9,8 +9,13 @@
|
|
|
9
9
|
"module": "nodenext",
|
|
10
10
|
"moduleResolution": "nodenext",
|
|
11
11
|
"rewriteRelativeImportExtensions": true,
|
|
12
|
-
"target": "
|
|
12
|
+
"target": "es2024",
|
|
13
13
|
"types": ["node", "vitest/globals"]
|
|
14
14
|
},
|
|
15
|
-
"include": [
|
|
15
|
+
"include": [
|
|
16
|
+
"src/**/*.ts",
|
|
17
|
+
"test/**/*.ts",
|
|
18
|
+
"scripts/**/*.ts",
|
|
19
|
+
"vitest.config.ts"
|
|
20
|
+
]
|
|
16
21
|
}
|
package/node_modules/@ykdz/template-builtin-presets/templates/vue-hono-app/root/playwright.config.ts
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { defineConfig, devices } from "@playwright/test";
|
|
2
|
+
|
|
3
|
+
const apiPort = process.env.PLAYWRIGHT_API_PORT ?? "0";
|
|
4
|
+
const webPort = process.env.PLAYWRIGHT_WEB_PORT ?? "0";
|
|
5
|
+
|
|
6
|
+
export default defineConfig({
|
|
7
|
+
testDir: "./test/e2e",
|
|
8
|
+
reporter: [["list"], ["html"]],
|
|
9
|
+
use: {
|
|
10
|
+
trace: "retain-on-failure",
|
|
11
|
+
...devices["Desktop Chrome"],
|
|
12
|
+
},
|
|
13
|
+
webServer: [
|
|
14
|
+
{
|
|
15
|
+
// oxfmt-ignore
|
|
16
|
+
command: "pnpm --filter {{API_PACKAGE_NAME}} --fail-if-no-match run start",
|
|
17
|
+
env: { PORT: apiPort },
|
|
18
|
+
wait: {
|
|
19
|
+
stdout:
|
|
20
|
+
/Hono API listening on (?<VITE_API_BASE_URL>http:\/\/localhost:\d+)/,
|
|
21
|
+
},
|
|
22
|
+
reuseExistingServer: false,
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
// oxfmt-ignore
|
|
26
|
+
command: "pnpm --filter {{WEB_PACKAGE_NAME}} --fail-if-no-match run preview --host 127.0.0.1 --strictPort",
|
|
27
|
+
env: { PLAYWRIGHT_WEB_PORT: webPort },
|
|
28
|
+
wait: {
|
|
29
|
+
stdout: /Local:\s+(?<PLAYWRIGHT_WEB_URL>http:\/\/127\.0\.0\.1:\d+)/,
|
|
30
|
+
},
|
|
31
|
+
reuseExistingServer: false,
|
|
32
|
+
},
|
|
33
|
+
],
|
|
34
|
+
});
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { expect, test } from "
|
|
1
|
+
import { expect, test } from "./fixtures.ts";
|
|
2
2
|
|
|
3
|
-
test("renders the web app and calls the API", async ({ page }) => {
|
|
4
|
-
await page.goto(
|
|
3
|
+
test("renders the web app and calls the API", async ({ page, webUrl }) => {
|
|
4
|
+
await page.goto(webUrl);
|
|
5
5
|
|
|
6
6
|
await expect(
|
|
7
7
|
page.getByRole("heading", { name: "Vue 和 Hono 工作区" }),
|
package/node_modules/@ykdz/template-builtin-presets/templates/vue-hono-app/root/test/e2e/fixtures.ts
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { test as base } from "@playwright/test";
|
|
2
|
+
|
|
3
|
+
export const test = base.extend<{ readonly webUrl: string }>({
|
|
4
|
+
webUrl: async ({ browserName: _browserName }, use) => {
|
|
5
|
+
const webUrl = process.env.PLAYWRIGHT_WEB_URL;
|
|
6
|
+
if (webUrl === undefined) {
|
|
7
|
+
throw new Error(
|
|
8
|
+
"PLAYWRIGHT_WEB_URL was not captured from the web server",
|
|
9
|
+
);
|
|
10
|
+
}
|
|
11
|
+
await use(webUrl);
|
|
12
|
+
},
|
|
13
|
+
});
|
|
14
|
+
|
|
15
|
+
export { expect } from "@playwright/test";
|
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
const apiBaseUrl = import.meta.env.VITE_API_BASE_URL ?? "/";
|
|
2
|
-
|
|
3
1
|
export async function getHealth(): Promise<{ status: "ok" }> {
|
|
4
|
-
const response = await fetch(
|
|
2
|
+
const response = await fetch("/api/health");
|
|
5
3
|
|
|
6
4
|
if (!response.ok) {
|
|
7
5
|
throw new Error(`Health check failed with ${response.status}`);
|
package/node_modules/@ykdz/template-builtin-presets/templates/vue-hono-app/web/vite.config.ts
CHANGED
|
@@ -8,6 +8,7 @@ export default defineConfig(({ mode }) => {
|
|
|
8
8
|
process.env.VITE_API_BASE_URL ??
|
|
9
9
|
env.VITE_API_BASE_URL ??
|
|
10
10
|
"http://localhost:3000";
|
|
11
|
+
const previewPort = process.env.PLAYWRIGHT_WEB_PORT;
|
|
11
12
|
|
|
12
13
|
return {
|
|
13
14
|
plugins: [vue(), tailwindcss()],
|
|
@@ -17,6 +18,7 @@ export default defineConfig(({ mode }) => {
|
|
|
17
18
|
},
|
|
18
19
|
},
|
|
19
20
|
preview: {
|
|
21
|
+
...(previewPort === undefined ? {} : { port: Number(previewPort) }),
|
|
20
22
|
proxy: {
|
|
21
23
|
"/api": apiBaseUrl,
|
|
22
24
|
},
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { ComponentOwner } from "./module-graph.ts";
|
|
2
2
|
/** Closed, owner-scoped native evidence a Package Contribution may retain in CI. */
|
|
3
3
|
export type CiDiagnosticArtifactDeclaration = {
|
|
4
4
|
readonly kind: "playwright";
|
|
5
|
-
readonly owner:
|
|
5
|
+
readonly owner: ComponentOwner;
|
|
6
6
|
};
|
|
7
7
|
/**
|
|
8
8
|
* Validates the intentionally closed diagnostic declaration surface. It does
|
|
@@ -34,14 +34,18 @@ export function assertCiDiagnosticArtifactDeclaration(value) {
|
|
|
34
34
|
if (!isRecord(value.owner) || !hasExactKeys(value.owner, ["kind", "path"])) {
|
|
35
35
|
throw new Error("CI Diagnostic Artifact requires a Package Boundary owner");
|
|
36
36
|
}
|
|
37
|
-
if (value.owner.kind !== "
|
|
38
|
-
|
|
39
|
-
|
|
37
|
+
if ((value.owner.kind !== "workspace-orchestration" ||
|
|
38
|
+
value.owner.path !== ".") &&
|
|
39
|
+
(value.owner.kind !== "package-boundary" ||
|
|
40
|
+
typeof value.owner.path !== "string" ||
|
|
41
|
+
!isSafePackagePath(value.owner.path))) {
|
|
40
42
|
throw new Error("CI Diagnostic Artifact owner has an unsafe Package Boundary path");
|
|
41
43
|
}
|
|
42
44
|
return {
|
|
43
45
|
kind: "playwright",
|
|
44
|
-
owner:
|
|
46
|
+
owner: value.owner.kind === "workspace-orchestration"
|
|
47
|
+
? { kind: "workspace-orchestration", path: "." }
|
|
48
|
+
: { kind: "package-boundary", path: value.owner.path },
|
|
45
49
|
};
|
|
46
50
|
}
|
|
47
51
|
/**
|
|
@@ -58,7 +62,8 @@ export function composeCiDiagnosticArtifacts(options) {
|
|
|
58
62
|
const artifacts = new Map();
|
|
59
63
|
for (const value of options.declarations) {
|
|
60
64
|
const declaration = assertCiDiagnosticArtifactDeclaration(value);
|
|
61
|
-
if (
|
|
65
|
+
if (declaration.owner.kind === "package-boundary" &&
|
|
66
|
+
!owners.has(declaration.owner.path)) {
|
|
62
67
|
throw new Error(`CI Diagnostic Artifact owner is not a declared Package Boundary: ${declaration.owner.path}`);
|
|
63
68
|
}
|
|
64
69
|
const key = `${declaration.kind}:${declaration.owner.path}`;
|
|
@@ -46,7 +46,7 @@ export declare function normalizeEnvironmentNeeds(options: {
|
|
|
46
46
|
export declare function parseEnvironmentNeedsMetadata(value: unknown): EnvironmentNeedsMetadata;
|
|
47
47
|
export declare function rustToolchainEnvironmentNeed(owner: ComponentOwner): RustToolchainEnvironmentNeed;
|
|
48
48
|
export declare function dockerEngineEnvironmentNeed(): DockerEngineEnvironmentNeed;
|
|
49
|
-
export declare const qualityTaskVocabulary: readonly ["
|
|
49
|
+
export declare const qualityTaskVocabulary: readonly ["format:check", "lint", "typecheck", "build", "test", "test:e2e"];
|
|
50
50
|
export declare function renderTurboRunCommand(taskNames: readonly string[], args?: readonly string[], options?: {
|
|
51
51
|
readonly outputLogs?: "errors-only" | "full";
|
|
52
52
|
readonly continueAfterFailure?: boolean;
|
|
@@ -153,7 +153,6 @@ export function dockerEngineEnvironmentNeed() {
|
|
|
153
153
|
return { kind: "docker-engine" };
|
|
154
154
|
}
|
|
155
155
|
export const qualityTaskVocabulary = [
|
|
156
|
-
"boundaries",
|
|
157
156
|
"format:check",
|
|
158
157
|
"lint",
|
|
159
158
|
"typecheck",
|
|
@@ -175,10 +174,13 @@ export function renderTurboRunCommand(taskNames, args = [], options = {}) {
|
|
|
175
174
|
].join(" ");
|
|
176
175
|
}
|
|
177
176
|
export function renderRootCheckCommand(additionalTasks = []) {
|
|
178
|
-
return
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
177
|
+
return [
|
|
178
|
+
"pnpm run boundaries",
|
|
179
|
+
renderTurboRunCommand([...qualityTaskVocabulary, ...additionalTasks], [], {
|
|
180
|
+
continueAfterFailure: true,
|
|
181
|
+
taskPrefix: true,
|
|
182
|
+
}),
|
|
183
|
+
].join(" && ");
|
|
182
184
|
}
|
|
183
185
|
export function renderDeploymentCheckCommand() {
|
|
184
186
|
return renderTurboRunCommand(["deployment"], [], { taskPrefix: true });
|
|
@@ -6,6 +6,34 @@ import type { PackageDefinition } from "./project-blueprint.ts";
|
|
|
6
6
|
import type { DependencyMaintenancePolicy } from "./project-github.ts";
|
|
7
7
|
import type { RenderOperation, TemplateSourceHandle } from "./renderer.ts";
|
|
8
8
|
export type FoundationContribution = {
|
|
9
|
+
/** Closed root-owned Vue-Hono page/API browser acceptance capability. */
|
|
10
|
+
readonly vueHonoJointE2e?: {
|
|
11
|
+
readonly kind: "vue-hono-joint-e2e";
|
|
12
|
+
readonly apiPackageName: string;
|
|
13
|
+
};
|
|
14
|
+
readonly databasePreparation?: {
|
|
15
|
+
readonly kind: "sqlite-database-preparation";
|
|
16
|
+
readonly migrationPackageName: string;
|
|
17
|
+
readonly consumers: readonly {
|
|
18
|
+
readonly kind: "application-dev" | "database-test" | "application-e2e";
|
|
19
|
+
readonly packageName: string;
|
|
20
|
+
}[];
|
|
21
|
+
};
|
|
22
|
+
/** A closed repository-context deployment capability projected by Foundation. */
|
|
23
|
+
readonly deploymentCheck?: {
|
|
24
|
+
readonly kind: "application-container-with-database-migrations";
|
|
25
|
+
readonly applicationPackageName: string;
|
|
26
|
+
readonly databasePackageName: string;
|
|
27
|
+
readonly migrationPackageName: string;
|
|
28
|
+
readonly environmentNeeds: readonly DeploymentEnvironmentNeed[];
|
|
29
|
+
readonly sources: {
|
|
30
|
+
readonly checker: FoundationTemplateAssetSource;
|
|
31
|
+
readonly controlScript: FoundationTemplateAssetSource;
|
|
32
|
+
readonly dockerfile: FoundationTemplateAssetSource;
|
|
33
|
+
readonly dockerIgnore: FoundationTemplateAssetSource;
|
|
34
|
+
readonly shellCheckDockerfile: FoundationTemplateAssetSource;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
9
37
|
/** Closed publication capability consumed only by coordinated root policy. */
|
|
10
38
|
readonly npmPublication?: {
|
|
11
39
|
readonly kind: "public-cli-candidate";
|
|
@@ -15,6 +43,7 @@ export type FoundationContribution = {
|
|
|
15
43
|
readonly rust?: {
|
|
16
44
|
readonly toolchain: string;
|
|
17
45
|
readonly components: readonly ("rustfmt" | "clippy")[];
|
|
46
|
+
readonly configurationSource: FoundationTemplateAssetSource;
|
|
18
47
|
};
|
|
19
48
|
};
|
|
20
49
|
/** Editor capabilities the Foundation must project into its coordinated editor files. */
|
|
@@ -31,14 +60,10 @@ export type FoundationContribution = {
|
|
|
31
60
|
readonly dependencyCatalog?: Readonly<Record<string, string>>;
|
|
32
61
|
/** Source-backed Development Container capabilities coordinated by Foundation. */
|
|
33
62
|
readonly developmentContainerToolLayers?: readonly DevelopmentContainerToolLayer[] | undefined;
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
readonly from: string;
|
|
39
|
-
readonly to: string;
|
|
40
|
-
readonly replacements?: Readonly<Record<string, string>> | undefined;
|
|
41
|
-
}[] | undefined;
|
|
63
|
+
};
|
|
64
|
+
export type FoundationTemplateAssetSource = {
|
|
65
|
+
readonly source: TemplateSourceHandle;
|
|
66
|
+
readonly from: string;
|
|
42
67
|
};
|
|
43
68
|
/** A preset-agnostic package-sized part of a Generated Repository Plan. */
|
|
44
69
|
export type PackageContribution = {
|
|
@@ -54,8 +79,6 @@ export type PackageContribution = {
|
|
|
54
79
|
readonly environmentNeeds: readonly CheckEnvironmentNeed[];
|
|
55
80
|
/** Closed native CI evidence owned by this Package Boundary. */
|
|
56
81
|
readonly ciDiagnosticArtifacts?: readonly CiDiagnosticArtifactDeclaration[];
|
|
57
|
-
/** Requirements prepared only by a focused deployment entrypoint. */
|
|
58
|
-
readonly deploymentEnvironmentNeeds?: readonly DeploymentEnvironmentNeed[];
|
|
59
82
|
};
|
|
60
83
|
/** Validates the portable executable name promised by a CLI Package Boundary. */
|
|
61
84
|
export declare function validateCliCommandName(commandName: string, occupiedCommandNames?: readonly string[]): string;
|
|
@@ -89,7 +89,7 @@ export function assertPackageContributionCommandNames(contributions) {
|
|
|
89
89
|
}
|
|
90
90
|
catch (error) {
|
|
91
91
|
if (existingOwner !== undefined) {
|
|
92
|
-
throw new Error(`CLI command name ${JSON.stringify(commandName)} from ${contribution.definition.name} is already used by ${existingOwner}
|
|
92
|
+
throw new Error(`CLI command name ${JSON.stringify(commandName)} from ${contribution.definition.name} is already used by ${existingOwner}`, { cause: error });
|
|
93
93
|
}
|
|
94
94
|
throw error;
|
|
95
95
|
}
|
|
@@ -5,7 +5,7 @@ nodeLinker: isolated
|
|
|
5
5
|
|
|
6
6
|
autoInstallPeers: false
|
|
7
7
|
|
|
8
|
-
injectWorkspacePackages:
|
|
8
|
+
injectWorkspacePackages: false
|
|
9
9
|
|
|
10
10
|
dedupeInjectedDeps: false
|
|
11
11
|
|
|
@@ -21,7 +21,7 @@ overrides:
|
|
|
21
21
|
"vue>typescript": "-"
|
|
22
22
|
|
|
23
23
|
catalog:
|
|
24
|
-
"@devcontainers/cli": 0.
|
|
24
|
+
"@devcontainers/cli": 0.89.0
|
|
25
25
|
"@hono/node-server": ^2.0.12
|
|
26
26
|
"@playwright/test": ^1.62.1
|
|
27
27
|
"@tailwindcss/vite": ^4.3.3
|
|
@@ -32,32 +32,33 @@ catalog:
|
|
|
32
32
|
"@vue/devtools-api": ^8.1.5
|
|
33
33
|
"@vue/tsconfig": ^0.9.1
|
|
34
34
|
commander: ^15.0.0
|
|
35
|
-
drizzle-kit: 1.0.0-rc.
|
|
36
|
-
drizzle-orm: 1.0.0-rc.
|
|
35
|
+
drizzle-kit: 1.0.0-rc.5-ab785fc
|
|
36
|
+
drizzle-orm: 1.0.0-rc.5-ab785fc
|
|
37
37
|
execa: ^10.0.1
|
|
38
38
|
hono: ^4.13.3
|
|
39
39
|
node-diff3: ^3.2.1
|
|
40
|
-
npm:
|
|
41
|
-
oxfmt: ^0.
|
|
40
|
+
npm: 12.2.0
|
|
41
|
+
oxfmt: ^0.71.0
|
|
42
42
|
oxlint: ^1.77.0
|
|
43
43
|
oxlint-tsgolint: ^7.0.2001
|
|
44
44
|
semver: ^7.8.5
|
|
45
45
|
"@types/semver": ^7.7.1
|
|
46
|
+
smol-toml: ^1.8.0
|
|
46
47
|
spdx-expression-parse: ^5.0.0
|
|
47
48
|
"@types/spdx-expression-parse": ^4.0.0
|
|
48
49
|
pinia: ^4.0.2
|
|
49
|
-
srvx: ^0.
|
|
50
|
+
srvx: ^1.0.0
|
|
50
51
|
tailwindcss: ^4.3.3
|
|
51
52
|
tar: ^7.5.22
|
|
52
53
|
telefunc: ^0.2.22
|
|
53
|
-
turbo: 2.
|
|
54
|
+
turbo: 2.11.7
|
|
54
55
|
typescript: npm:@typescript/typescript6@^6.0.2
|
|
55
56
|
typescript-7: npm:typescript@^7.0.2
|
|
56
57
|
valibot: ^1.4.2
|
|
57
58
|
vite: ^8.2.0
|
|
58
59
|
vike: ^0.4.260
|
|
59
60
|
vike-vue: ^0.9.12
|
|
60
|
-
vitest: ^
|
|
61
|
+
vitest: ^5.0.0
|
|
61
62
|
vue: ^3.5.40
|
|
62
63
|
vue-tsc: ^3.3.9
|
|
63
64
|
yaml: ^2.9.0
|
|
@@ -14,6 +14,17 @@ export type GenerationContext = {
|
|
|
14
14
|
readonly toolchain: {
|
|
15
15
|
readonly nodeLtsMajor: string;
|
|
16
16
|
readonly packageManagerPin: string;
|
|
17
|
+
/**
|
|
18
|
+
* 只有确实已知的精确三段 Node 版本才写入:初始化取自 CLI 发版快照,加包取自目标根现行精确声明。
|
|
19
|
+
* 纯大版本根保持缺省,不从 nodeLtsMajor 伪造 patch;该字段也不是任何版本回退的来源。
|
|
20
|
+
*/
|
|
21
|
+
readonly nodeVersion?: string;
|
|
22
|
+
/**
|
|
23
|
+
* 只有确实已知的 Rust channel 才写入:初始化取自 CLI 发版快照的精确版本,已有 Rust 能力的
|
|
24
|
+
* 目标仓库在加包时取自其根 rust-toolchain.toml 的现行声明。该字段同样不是版本回退的来源,
|
|
25
|
+
* 也不进入 Environment Needs 或 Generation Record。
|
|
26
|
+
*/
|
|
27
|
+
readonly rustVersion?: string;
|
|
17
28
|
};
|
|
18
29
|
};
|
|
19
30
|
/** An in-memory plan tagged with the stable adapter that can replay it. */
|
|
@@ -47,7 +47,7 @@ export type ProjectCheckWorkflowPlan = {
|
|
|
47
47
|
readonly packagePaths: readonly string[];
|
|
48
48
|
readonly diagnosticArtifacts: readonly CiDiagnosticArtifactDeclaration[];
|
|
49
49
|
};
|
|
50
|
-
export type DependencyEcosystem = "npm" | "cargo" | "github-actions" | "docker" | "rust-toolchain";
|
|
50
|
+
export type DependencyEcosystem = "npm" | "cargo" | "github-actions" | "docker" | "devcontainers" | "rust-toolchain";
|
|
51
51
|
export type DependabotDirectory = `/${string}`;
|
|
52
52
|
export type DependencyMaintenancePolicy = {
|
|
53
53
|
readonly ecosystems: DependencyEcosystem[];
|
|
@@ -61,8 +61,9 @@ export type ProjectCheckWorkflowDiagnosticOptions = {
|
|
|
61
61
|
readonly diagnosticArtifacts?: readonly unknown[] | undefined;
|
|
62
62
|
};
|
|
63
63
|
type ProjectCheckWorkflowOptions = ProjectCheckWorkflowDiagnosticOptions & {
|
|
64
|
-
readonly
|
|
65
|
-
|
|
64
|
+
readonly deploymentCheck?: {
|
|
65
|
+
readonly environmentNeeds: readonly DeploymentEnvironmentNeed[];
|
|
66
|
+
} | undefined;
|
|
66
67
|
readonly capability?: CiCapability | undefined;
|
|
67
68
|
readonly environmentPreparation?: Partial<CiEnvironmentPreparation> | undefined;
|
|
68
69
|
readonly taskLayer?: PnpmTaskLayer | undefined;
|
|
@@ -71,8 +72,9 @@ type ProjectCheckWorkflowOptions = ProjectCheckWorkflowDiagnosticOptions & {
|
|
|
71
72
|
export declare function projectCheckWorkflowPlan(options: ProjectCheckWorkflowOptions): ProjectCheckWorkflowPlan;
|
|
72
73
|
/** Selects a complete Foundation-owned workflow Template Source. */
|
|
73
74
|
export declare function projectCheckWorkflowTemplateSource(options: ProjectCheckWorkflowDiagnosticOptions & {
|
|
74
|
-
readonly
|
|
75
|
-
|
|
75
|
+
readonly deploymentCheck?: {
|
|
76
|
+
readonly environmentNeeds: readonly DeploymentEnvironmentNeed[];
|
|
77
|
+
} | undefined;
|
|
76
78
|
}): ".github/workflows/check.yml" | ".github/workflows/check-diagnostics.yml" | ".github/workflows/check-deployment.yml" | ".github/workflows/check-deployment-diagnostics.yml";
|
|
77
79
|
/** Limited, validated facts for static Foundation diagnostic staging. */
|
|
78
80
|
export declare function projectCheckWorkflowTemplateReplacements(options: ProjectCheckWorkflowDiagnosticOptions): Record<string, string>;
|
|
@@ -26,8 +26,8 @@ export function projectCheckWorkflowPlan(options) {
|
|
|
26
26
|
...options.environmentPreparation,
|
|
27
27
|
};
|
|
28
28
|
const taskLayer = options.taskLayer ?? pnpmTaskLayer;
|
|
29
|
-
const hasDeploymentTask = options.
|
|
30
|
-
const needsDocker = (options.
|
|
29
|
+
const hasDeploymentTask = options.deploymentCheck !== undefined;
|
|
30
|
+
const needsDocker = (options.deploymentCheck?.environmentNeeds ?? []).some((need) => need.kind === "docker-engine");
|
|
31
31
|
if (hasDeploymentTask && !needsDocker) {
|
|
32
32
|
throw new Error("Deployment Check requires a Docker environment need");
|
|
33
33
|
}
|
|
@@ -74,8 +74,8 @@ export function projectCheckWorkflowPlan(options) {
|
|
|
74
74
|
}
|
|
75
75
|
/** Selects a complete Foundation-owned workflow Template Source. */
|
|
76
76
|
export function projectCheckWorkflowTemplateSource(options) {
|
|
77
|
-
const hasDeploymentTask = options.
|
|
78
|
-
const needsDocker = (options.
|
|
77
|
+
const hasDeploymentTask = options.deploymentCheck !== undefined;
|
|
78
|
+
const needsDocker = (options.deploymentCheck?.environmentNeeds ?? []).some((need) => need.kind === "docker-engine");
|
|
79
79
|
if (hasDeploymentTask && !needsDocker) {
|
|
80
80
|
throw new Error("Deployment Check requires a Docker environment need");
|
|
81
81
|
}
|
|
@@ -4,8 +4,8 @@ type PackageManifest = Readonly<Record<string, unknown>>;
|
|
|
4
4
|
export type ExplicitProjectLinkPlan = {
|
|
5
5
|
readonly manifestPatchesByPackagePath: ReadonlyMap<string, {
|
|
6
6
|
readonly dependencies: Readonly<Record<string, "workspace:*">>;
|
|
7
|
-
readonly dependenciesMeta
|
|
8
|
-
readonly injected:
|
|
7
|
+
readonly dependenciesMeta?: Readonly<Record<string, {
|
|
8
|
+
readonly injected: true;
|
|
9
9
|
}>>;
|
|
10
10
|
}>;
|
|
11
11
|
/**
|
|
@@ -118,16 +118,22 @@ export function planExplicitProjectLinks(options) {
|
|
|
118
118
|
if (consumerPatch === undefined) {
|
|
119
119
|
manifestPatches.set(intent.consumerPackagePath, {
|
|
120
120
|
dependencies: { [provider.definition.name]: "workspace:*" },
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
121
|
+
...(injected
|
|
122
|
+
? {
|
|
123
|
+
dependenciesMeta: {
|
|
124
|
+
[provider.definition.name]: { injected: true },
|
|
125
|
+
},
|
|
126
|
+
}
|
|
127
|
+
: {}),
|
|
124
128
|
});
|
|
125
129
|
}
|
|
126
130
|
else {
|
|
127
131
|
consumerPatch.dependencies[provider.definition.name] = "workspace:*";
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
132
|
+
if (injected) {
|
|
133
|
+
(consumerPatch.dependenciesMeta ??= {})[provider.definition.name] = {
|
|
134
|
+
injected: true,
|
|
135
|
+
};
|
|
136
|
+
}
|
|
131
137
|
}
|
|
132
138
|
}
|
|
133
139
|
return {
|
|
@@ -28,13 +28,27 @@ export type StructuredIdentitySetPolicy = {
|
|
|
28
28
|
};
|
|
29
29
|
};
|
|
30
30
|
};
|
|
31
|
+
export type ProjectProjectionMirrorSlotLocation = {
|
|
32
|
+
readonly kind: "json-pointer";
|
|
33
|
+
readonly pointer: string;
|
|
34
|
+
} | {
|
|
35
|
+
readonly kind: "text-anchor";
|
|
36
|
+
readonly name: string;
|
|
37
|
+
};
|
|
38
|
+
export type ProjectProjectionMirrorSlot = {
|
|
39
|
+
readonly id: string;
|
|
40
|
+
readonly location: ProjectProjectionMirrorSlotLocation;
|
|
41
|
+
};
|
|
31
42
|
export type ProjectProjectionReconciliation = {
|
|
32
43
|
readonly path: string;
|
|
33
44
|
readonly driver: "structured";
|
|
34
45
|
readonly identitySets?: readonly StructuredIdentitySetPolicy[];
|
|
46
|
+
/** planner 拥有的根声明位置,在三向合并之前归一。 */
|
|
47
|
+
readonly mirrorSlots?: readonly ProjectProjectionMirrorSlot[];
|
|
35
48
|
} | {
|
|
36
49
|
readonly path: string;
|
|
37
50
|
readonly driver: "text";
|
|
51
|
+
readonly mirrorSlots?: readonly ProjectProjectionMirrorSlot[];
|
|
38
52
|
} | {
|
|
39
53
|
readonly path: string;
|
|
40
54
|
readonly driver: "canonical";
|
|
@@ -91,6 +105,19 @@ export type MaterializeProjectProjectionOptions = {
|
|
|
91
105
|
};
|
|
92
106
|
/** Pure structural preflight for a renderer-facing Project Projection plan. */
|
|
93
107
|
export declare function validateProjectProjectionPlan(options: MaterializeProjectProjectionOptions): readonly string[];
|
|
108
|
+
export type ProjectedMirrorSlotScalar = {
|
|
109
|
+
readonly ok: true;
|
|
110
|
+
readonly scalar: string;
|
|
111
|
+
} | {
|
|
112
|
+
readonly ok: false;
|
|
113
|
+
readonly reason: string;
|
|
114
|
+
};
|
|
115
|
+
/**
|
|
116
|
+
* 有限的槽位读取:把一个 plan 声明的镜像位置在真实投影里解析成恰好一条标量字符串。
|
|
117
|
+
* Core 只认识通用位置与值形态(合法 JSON、位置存在、值为字符串、锚点区域恰一行),
|
|
118
|
+
* 不认识具体生成路径、Node/Rust 语义或 ARG 写法;承载行的解释留给 Checks 层。
|
|
119
|
+
*/
|
|
120
|
+
export declare function readProjectedMirrorSlotScalar(entry: ProjectProjectionEntry, location: ProjectProjectionMirrorSlotLocation): ProjectedMirrorSlotScalar;
|
|
94
121
|
export declare function reconcileProjectProjections(options: {
|
|
95
122
|
readonly before: ProjectProjection;
|
|
96
123
|
readonly after: ProjectProjection;
|