@ykdz/template 0.1.0-experimental.1 → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/application.d.ts +18 -48
- package/dist/application.js +164 -111
- package/dist/input-schemas.d.ts +0 -14
- package/dist/input-schemas.js +0 -11
- package/dist/input-validation.js +3 -30
- package/dist/main.js +79 -180
- package/dist/preset-catalog.d.ts +410 -29
- package/dist/preset-catalog.js +4 -30
- package/dist/result-schemas.d.ts +64 -65
- package/dist/result-schemas.js +8 -8
- package/node_modules/@ykdz/default-content-authoring/dist/contracts.d.ts +240 -0
- package/node_modules/@ykdz/default-content-authoring/dist/environment-needs.d.ts +16 -0
- package/node_modules/@ykdz/default-content-authoring/dist/preset-root-contribution.d.ts +36 -0
- package/node_modules/@ykdz/default-content-authoring/dist/preset-root-contribution.js +1 -0
- package/node_modules/@ykdz/default-content-authoring/dist/reference-package.d.ts +65 -0
- package/node_modules/@ykdz/default-content-authoring/dist/reference-package.js +742 -0
- package/node_modules/@ykdz/default-content-authoring/package.json +59 -0
- package/node_modules/@ykdz/preset-rust-bin/native/package.json +2 -0
- package/node_modules/@ykdz/preset-rust-bin/native/template-dist/definition.d.ts +2 -40
- package/node_modules/@ykdz/preset-rust-bin/native/template-dist/definition.d.ts.map +1 -1
- package/node_modules/@ykdz/preset-rust-bin/native/template-dist/definition.js +3 -2
- package/node_modules/@ykdz/preset-ts-cli/native/package.json +4 -0
- package/node_modules/@ykdz/preset-ts-cli/native/template-dist/definition.d.ts +2 -15
- package/node_modules/@ykdz/preset-ts-cli/native/template-dist/definition.d.ts.map +1 -1
- package/node_modules/@ykdz/preset-ts-lib/native/package.json +3 -0
- package/node_modules/@ykdz/preset-ts-lib/native/template-dist/definition.d.ts +2 -15
- package/node_modules/@ykdz/preset-ts-lib/native/template-dist/definition.d.ts.map +1 -1
- package/node_modules/@ykdz/preset-vike-app/native/package.json +3 -0
- package/node_modules/@ykdz/preset-vike-app/native/template-dist/definition.d.ts +40 -23
- package/node_modules/@ykdz/preset-vike-app/native/template-dist/definition.d.ts.map +1 -1
- package/node_modules/@ykdz/preset-vike-app/native/template-dist/definition.js +19 -36
- package/node_modules/@ykdz/preset-vike-app/native/template-dist/deployment.d.ts +54 -17
- package/node_modules/@ykdz/preset-vike-app/native/template-dist/deployment.d.ts.map +1 -1
- package/node_modules/@ykdz/preset-vike-app/native/template-dist/deployment.js +393 -207
- package/node_modules/@ykdz/preset-vike-app/package.json +2 -1
- package/node_modules/@ykdz/preset-vue-app/native/package.json +2 -0
- package/node_modules/@ykdz/preset-vue-app/native/template-dist/definition.d.ts +2 -15
- package/node_modules/@ykdz/preset-vue-app/native/template-dist/definition.d.ts.map +1 -1
- package/node_modules/@ykdz/preset-vue-hono-app/native/package.json +4 -0
- package/node_modules/@ykdz/preset-vue-hono-app/native/template-dist/definition.d.ts +49 -23
- package/node_modules/@ykdz/preset-vue-hono-app/native/template-dist/definition.d.ts.map +1 -1
- package/node_modules/@ykdz/preset-vue-hono-app/native/template-dist/definition.js +31 -102
- package/node_modules/@ykdz/preset-vue-hono-app/native/template-dist/joint-e2e.d.ts +42 -0
- package/node_modules/@ykdz/preset-vue-hono-app/native/template-dist/joint-e2e.d.ts.map +1 -0
- package/node_modules/@ykdz/preset-vue-hono-app/native/template-dist/joint-e2e.js +173 -0
- package/node_modules/@ykdz/reference-hono-api/native/package.json +3 -1
- package/node_modules/@ykdz/reference-hono-api/native/template-dist/definition.d.ts +1 -1
- package/node_modules/@ykdz/reference-hono-api/native/template-dist/definition.js +51 -18
- package/node_modules/@ykdz/reference-hono-api/native/tsconfig.json +1 -1
- package/node_modules/@ykdz/reference-hono-api/native/turbo.json +2 -2
- package/node_modules/@ykdz/reference-hono-api/package.json +3 -2
- package/node_modules/@ykdz/reference-npm-publication/native/README.md +14 -6
- package/node_modules/@ykdz/reference-npm-publication/native/package.json +2 -2
- package/node_modules/@ykdz/reference-npm-publication/native/resources/release.yml +4 -1
- package/node_modules/@ykdz/reference-npm-publication/native/template-dist/definition.d.ts +8 -4
- package/node_modules/@ykdz/reference-npm-publication/native/template-dist/definition.d.ts.map +1 -1
- package/node_modules/@ykdz/reference-npm-publication/native/template-dist/definition.js +68 -21
- package/node_modules/@ykdz/reference-npm-publication/package.json +1 -2
- package/node_modules/@ykdz/reference-rust-bin/native/package.json +13 -3
- package/node_modules/@ykdz/reference-rust-bin/native/resources/gitignore +5 -0
- package/node_modules/@ykdz/reference-rust-bin/native/resources/npmignore +1 -0
- package/node_modules/@ykdz/reference-rust-bin/native/template-dist/definition.d.ts +86 -12
- package/node_modules/@ykdz/reference-rust-bin/native/template-dist/definition.d.ts.map +1 -1
- package/node_modules/@ykdz/reference-rust-bin/native/template-dist/definition.js +227 -106
- package/node_modules/@ykdz/reference-rust-bin/native/template-dist/environment.d.ts +6 -0
- package/node_modules/@ykdz/reference-rust-bin/native/template-dist/environment.d.ts.map +1 -0
- package/node_modules/@ykdz/reference-rust-bin/native/template-dist/environment.js +44 -0
- package/node_modules/@ykdz/reference-rust-bin/native/template-dist/rust-package-projection.d.ts +19 -0
- package/node_modules/@ykdz/reference-rust-bin/native/template-dist/rust-package-projection.d.ts.map +1 -0
- package/node_modules/@ykdz/reference-rust-bin/native/template-dist/rust-package-projection.js +65 -0
- package/node_modules/@ykdz/reference-rust-bin/native/template-dist/rust-toolchain-projection.d.ts +15 -0
- package/node_modules/@ykdz/reference-rust-bin/native/template-dist/rust-toolchain-projection.d.ts.map +1 -0
- package/node_modules/@ykdz/reference-rust-bin/native/template-dist/rust-toolchain-projection.js +44 -0
- package/node_modules/@ykdz/reference-rust-bin/native/turbo.json +3 -1
- package/node_modules/@ykdz/reference-rust-bin/package.json +6 -1
- package/node_modules/@ykdz/reference-tooling-config/native/package.json +4 -5
- package/node_modules/@ykdz/reference-tooling-config/native/template/workspace/oxfmt.config.ts +1 -0
- package/node_modules/@ykdz/{template-workspace/resources → reference-tooling-config/native/template/workspace}/oxlint.config.ts +1 -1
- package/node_modules/@ykdz/reference-tooling-config/native/template-dist/definition.d.ts +1 -27
- package/node_modules/@ykdz/reference-tooling-config/native/template-dist/definition.js +53 -11
- package/node_modules/@ykdz/reference-tooling-config/native/tsconfig.json +1 -1
- package/node_modules/@ykdz/reference-tooling-config/native/turbo.json +5 -4
- package/node_modules/@ykdz/reference-tooling-config/package.json +5 -1
- package/node_modules/@ykdz/reference-ts-cli/native/package.json +7 -6
- package/node_modules/@ykdz/reference-ts-cli/native/resources/gitignore +5 -0
- package/node_modules/@ykdz/reference-ts-cli/native/resources/npmignore +1 -0
- package/node_modules/@ykdz/reference-ts-cli/native/src/cli-command-identity.ts +18 -0
- package/node_modules/@ykdz/reference-ts-cli/native/src/cli.ts +1 -1
- package/node_modules/@ykdz/reference-ts-cli/native/src/main.ts +1 -1
- package/node_modules/@ykdz/reference-ts-cli/native/template-dist/definition.d.ts +8 -6
- package/node_modules/@ykdz/reference-ts-cli/native/template-dist/definition.d.ts.map +1 -1
- package/node_modules/@ykdz/reference-ts-cli/native/template-dist/definition.js +119 -59
- package/node_modules/@ykdz/reference-ts-cli/native/template-dist/package-manifest.d.ts +7 -0
- package/node_modules/@ykdz/reference-ts-cli/native/template-dist/package-manifest.d.ts.map +1 -0
- package/node_modules/@ykdz/reference-ts-cli/native/template-dist/package-manifest.js +28 -0
- package/node_modules/@ykdz/reference-ts-cli/native/test/e2e/journeys/lookup.journey.ts +1 -1
- package/node_modules/@ykdz/reference-ts-cli/native/test/integration/command.test.ts +1 -1
- package/node_modules/@ykdz/reference-ts-cli/native/test/unit/cli-command-identity.test.ts +7 -55
- package/node_modules/@ykdz/reference-ts-cli/native/tsconfig.build.json +1 -1
- package/node_modules/@ykdz/reference-ts-cli/native/tsconfig.node.json +8 -2
- package/node_modules/@ykdz/reference-ts-cli/native/turbo.json +11 -3
- package/node_modules/@ykdz/reference-ts-cli/package.json +3 -2
- package/node_modules/@ykdz/reference-ts-lib/native/package.json +3 -1
- package/node_modules/@ykdz/reference-ts-lib/native/resources/gitignore +3 -0
- package/node_modules/@ykdz/reference-ts-lib/native/resources/npmignore +1 -0
- package/node_modules/@ykdz/reference-ts-lib/native/template-dist/definition.d.ts +1 -1
- package/node_modules/@ykdz/reference-ts-lib/native/template-dist/definition.js +70 -26
- package/node_modules/@ykdz/reference-ts-lib/native/tsconfig.node.json +1 -1
- package/node_modules/@ykdz/reference-ts-lib/native/turbo.json +3 -1
- package/node_modules/@ykdz/reference-ts-lib/package.json +3 -2
- package/node_modules/@ykdz/reference-vike-db/native/package.json +3 -1
- package/node_modules/@ykdz/reference-vike-db/native/template-dist/definition.d.ts +1 -1
- package/node_modules/@ykdz/reference-vike-db/native/template-dist/definition.js +70 -23
- package/node_modules/@ykdz/reference-vike-db/native/tsconfig.node.json +1 -1
- package/node_modules/@ykdz/reference-vike-db/native/turbo.json +3 -3
- package/node_modules/@ykdz/reference-vike-db/package.json +4 -2
- package/node_modules/@ykdz/reference-vike-migrations/native/package.json +3 -1
- package/node_modules/@ykdz/reference-vike-migrations/native/template-dist/definition.d.ts +2 -1
- package/node_modules/@ykdz/reference-vike-migrations/native/template-dist/definition.js +78 -23
- package/node_modules/@ykdz/reference-vike-migrations/native/tsconfig.json +1 -1
- package/node_modules/@ykdz/reference-vike-migrations/native/turbo.json +3 -3
- package/node_modules/@ykdz/reference-vike-migrations/package.json +4 -2
- package/node_modules/@ykdz/reference-vike-web/native/package.json +3 -1
- package/node_modules/@ykdz/reference-vike-web/native/template-dist/definition.d.ts +2 -1
- package/node_modules/@ykdz/reference-vike-web/native/template-dist/definition.js +137 -38
- package/node_modules/@ykdz/reference-vike-web/native/tsconfig.app.json +1 -1
- package/node_modules/@ykdz/reference-vike-web/native/tsconfig.node.json +1 -1
- package/node_modules/@ykdz/reference-vike-web/native/turbo.json +8 -4
- package/node_modules/@ykdz/reference-vike-web/package.json +4 -3
- package/node_modules/@ykdz/reference-vue-app/native/package.json +3 -1
- package/node_modules/@ykdz/reference-vue-app/native/template-dist/definition.d.ts +1 -1
- package/node_modules/@ykdz/reference-vue-app/native/template-dist/definition.js +72 -32
- package/node_modules/@ykdz/reference-vue-app/native/tsconfig.app.json +1 -1
- package/node_modules/@ykdz/reference-vue-app/native/tsconfig.node.json +1 -1
- package/node_modules/@ykdz/reference-vue-app/native/turbo.json +2 -2
- package/node_modules/@ykdz/reference-vue-app/package.json +3 -3
- package/node_modules/@ykdz/reference-vue-hono-web/native/package.json +3 -1
- package/node_modules/@ykdz/reference-vue-hono-web/native/template-dist/definition.d.ts +3 -1
- package/node_modules/@ykdz/reference-vue-hono-web/native/template-dist/definition.js +78 -28
- package/node_modules/@ykdz/reference-vue-hono-web/native/tsconfig.app.json +1 -1
- package/node_modules/@ykdz/reference-vue-hono-web/native/tsconfig.node.json +1 -1
- package/node_modules/@ykdz/reference-vue-hono-web/native/turbo.json +2 -2
- package/node_modules/@ykdz/reference-vue-hono-web/package.json +4 -3
- package/node_modules/@ykdz/reference-workspace-root/native/package.json +59 -0
- package/node_modules/@ykdz/{template-workspace/assets → reference-workspace-root/native/template/files}/turbo.json +0 -24
- package/node_modules/@ykdz/reference-workspace-root/native/template-dist/definition.d.ts +10 -0
- package/node_modules/@ykdz/reference-workspace-root/native/template-dist/definition.d.ts.map +1 -0
- package/node_modules/@ykdz/reference-workspace-root/native/template-dist/definition.js +140 -0
- package/node_modules/@ykdz/{template-workspace/dist → reference-workspace-root/native/template-dist}/editor-customization.d.ts +2 -1
- package/node_modules/@ykdz/reference-workspace-root/native/template-dist/editor-customization.d.ts.map +1 -0
- package/node_modules/@ykdz/reference-workspace-root/native/template-dist/environment-sources.d.ts +6 -0
- package/node_modules/@ykdz/reference-workspace-root/native/template-dist/environment-sources.d.ts.map +1 -0
- package/node_modules/@ykdz/reference-workspace-root/native/template-dist/environment-sources.js +10 -0
- package/node_modules/@ykdz/reference-workspace-root/native/template-dist/environment.d.ts +36 -0
- package/node_modules/@ykdz/reference-workspace-root/native/template-dist/environment.d.ts.map +1 -0
- package/node_modules/@ykdz/{template-workspace/dist/development-environment.js → reference-workspace-root/native/template-dist/environment.js} +20 -51
- package/node_modules/@ykdz/{template-workspace/dist → reference-workspace-root/native/template-dist}/project-github.d.ts +15 -8
- package/node_modules/@ykdz/reference-workspace-root/native/template-dist/project-github.d.ts.map +1 -0
- package/node_modules/@ykdz/{template-workspace/dist → reference-workspace-root/native/template-dist}/project-github.js +15 -19
- package/node_modules/@ykdz/reference-workspace-root/native/tsconfig.config.json +10 -0
- package/node_modules/@ykdz/reference-workspace-root/native/tsconfig.json +7 -0
- package/node_modules/@ykdz/reference-workspace-root/native/tsconfig.scripts.json +8 -0
- package/node_modules/@ykdz/reference-workspace-root/package.json +33 -0
- package/node_modules/@ykdz/template-content/dist/index.d.ts +10 -10
- package/node_modules/@ykdz/template-content/dist/index.js +3 -3
- package/node_modules/@ykdz/template-content/package.json +2 -1
- package/node_modules/@ykdz/template-content-provider-51cfac9642dc43a4/dist/index.d.ts +3 -45
- package/node_modules/@ykdz/template-content-provider-51cfac9642dc43a4/dist/index.js +18 -23
- package/node_modules/@ykdz/template-content-provider-51cfac9642dc43a4/package.json +2 -2
- package/node_modules/@ykdz/template-core/dist/composition.d.ts +49 -0
- package/node_modules/@ykdz/template-core/dist/composition.js +1 -0
- package/node_modules/@ykdz/template-core/dist/content-identity.d.ts +10 -0
- package/node_modules/@ykdz/template-core/dist/content-identity.js +21 -2
- package/node_modules/@ykdz/template-core/dist/generation-record.d.ts +46 -15
- package/node_modules/@ykdz/template-core/dist/generation-record.js +98 -29
- package/node_modules/@ykdz/template-core/dist/json.d.ts +8 -0
- package/node_modules/@ykdz/template-core/dist/json.js +62 -0
- package/node_modules/@ykdz/template-core/dist/package-contribution.d.ts +29 -12
- package/node_modules/@ykdz/template-core/dist/package-contribution.js +164 -33
- package/node_modules/@ykdz/template-core/dist/preset-definition.d.ts +6 -33
- package/node_modules/@ykdz/template-core/dist/preset-definition.js +23 -6
- package/node_modules/@ykdz/template-core/dist/project-blueprint.d.ts +37 -27
- package/node_modules/@ykdz/template-core/dist/project-blueprint.js +126 -125
- package/node_modules/@ykdz/template-core/dist/project-projection.d.ts +91 -33
- package/node_modules/@ykdz/template-core/dist/project-projection.js +639 -323
- package/node_modules/@ykdz/template-core/dist/reference-package.d.ts +101 -0
- package/node_modules/@ykdz/template-core/dist/reference-package.js +14 -0
- package/node_modules/@ykdz/template-core/dist/template-source.d.ts +10 -0
- package/node_modules/@ykdz/template-core/dist/template-source.js +31 -0
- package/node_modules/@ykdz/template-core/package.json +2 -3
- package/node_modules/@ykdz/template-environment/dist/development-container-tool-layer.d.ts +2 -3
- package/node_modules/@ykdz/template-environment/dist/development-container-tool-layer.js +2 -6
- package/node_modules/@ykdz/template-environment/package.json +1 -1
- package/node_modules/@ykdz/template-generator/dist/content-source.d.ts +25 -3
- package/node_modules/@ykdz/template-generator/dist/content-source.js +28 -27
- package/node_modules/@ykdz/template-generator/dist/index.d.ts +191 -60
- package/node_modules/@ykdz/template-generator/dist/index.js +1868 -1000
- package/node_modules/@ykdz/template-generator/dist/owner-local-reference.d.ts +8 -0
- package/node_modules/@ykdz/template-generator/dist/owner-local-reference.js +80 -0
- package/node_modules/@ykdz/template-workspace/dist/application-requirements.d.ts +13 -3
- package/node_modules/@ykdz/template-workspace/dist/application-requirements.js +34 -0
- package/node_modules/@ykdz/template-workspace/dist/ci-diagnostic-artifact.d.ts +1 -6
- package/node_modules/@ykdz/template-workspace/dist/default-composition.d.ts +109 -0
- package/node_modules/@ykdz/template-workspace/dist/default-composition.js +1353 -0
- package/node_modules/@ykdz/template-workspace/dist/default-generation.d.ts +618 -0
- package/node_modules/@ykdz/template-workspace/dist/default-generation.js +638 -0
- package/node_modules/@ykdz/template-workspace/dist/default-package-identity.js +23 -19
- package/node_modules/@ykdz/template-workspace/dist/project-requirements.d.ts +23 -9
- package/node_modules/@ykdz/template-workspace/dist/project-requirements.js +16 -1
- package/node_modules/@ykdz/template-workspace/dist/rust-toolchain-facts.d.ts +13 -7
- package/node_modules/@ykdz/template-workspace/dist/rust-toolchain-facts.js +35 -21
- package/node_modules/@ykdz/template-workspace/dist/shared-root-files.d.ts +7 -67
- package/node_modules/@ykdz/template-workspace/dist/shared-root-files.js +18 -50
- package/node_modules/@ykdz/template-workspace/dist/workspace-policy-snapshot.d.ts +0 -1
- package/node_modules/@ykdz/template-workspace/dist/workspace-policy-snapshot.js +0 -10
- package/node_modules/@ykdz/template-workspace/package.json +14 -55
- package/node_modules/@ykdz/template-workspace-authoring/dist/content-artifact.d.ts +38 -2
- package/node_modules/@ykdz/template-workspace-authoring/dist/content-artifact.js +95 -44
- package/node_modules/@ykdz/template-workspace-authoring/package.json +2 -1
- package/node_modules/@ykdz/tooling-config/base.json +15 -0
- package/node_modules/@ykdz/tooling-config/node.json +13 -0
- package/node_modules/@ykdz/tooling-config/oxfmt.config.ts +3 -0
- package/node_modules/@ykdz/tooling-config/oxlint.config.ts +8 -0
- package/node_modules/@ykdz/tooling-config/package.json +36 -0
- package/package.json +14 -6
- package/node_modules/@typescript/typescript-linux-x64/LICENSE +0 -55
- package/node_modules/@typescript/typescript-linux-x64/NOTICE.txt +0 -436
- package/node_modules/@typescript/typescript-linux-x64/README.md +0 -3
- package/node_modules/@typescript/typescript-linux-x64/lib/lib.d.ts +0 -20
- package/node_modules/@typescript/typescript-linux-x64/lib/lib.decorators.d.ts +0 -382
- package/node_modules/@typescript/typescript-linux-x64/lib/lib.decorators.legacy.d.ts +0 -20
- package/node_modules/@typescript/typescript-linux-x64/lib/lib.dom.asynciterable.d.ts +0 -18
- package/node_modules/@typescript/typescript-linux-x64/lib/lib.dom.d.ts +0 -45125
- package/node_modules/@typescript/typescript-linux-x64/lib/lib.dom.iterable.d.ts +0 -18
- package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2015.collection.d.ts +0 -159
- package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2015.core.d.ts +0 -595
- package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2015.d.ts +0 -26
- package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2015.generator.d.ts +0 -75
- package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2015.iterable.d.ts +0 -603
- package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2015.promise.d.ts +0 -79
- package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2015.proxy.d.ts +0 -126
- package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2015.reflect.d.ts +0 -142
- package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2015.symbol.d.ts +0 -44
- package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2015.symbol.wellknown.d.ts +0 -324
- package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2016.array.include.d.ts +0 -114
- package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2016.d.ts +0 -19
- package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2016.full.d.ts +0 -21
- package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2016.intl.d.ts +0 -29
- package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2017.arraybuffer.d.ts +0 -19
- package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2017.d.ts +0 -24
- package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2017.date.d.ts +0 -29
- package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2017.full.d.ts +0 -21
- package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2017.intl.d.ts +0 -42
- package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2017.object.d.ts +0 -47
- package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2017.sharedmemory.d.ts +0 -133
- package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2017.string.d.ts +0 -47
- package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2017.typedarrays.d.ts +0 -51
- package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2018.asyncgenerator.d.ts +0 -75
- package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2018.asynciterable.d.ts +0 -51
- package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2018.d.ts +0 -22
- package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2018.full.d.ts +0 -22
- package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2018.intl.d.ts +0 -81
- package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2018.promise.d.ts +0 -28
- package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2018.regexp.d.ts +0 -35
- package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2019.array.d.ts +0 -77
- package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2019.d.ts +0 -22
- package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2019.full.d.ts +0 -22
- package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2019.intl.d.ts +0 -21
- package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2019.object.d.ts +0 -31
- package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2019.string.d.ts +0 -35
- package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2019.symbol.d.ts +0 -22
- package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2020.bigint.d.ts +0 -763
- package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2020.d.ts +0 -25
- package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2020.date.d.ts +0 -40
- package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2020.full.d.ts +0 -22
- package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2020.intl.d.ts +0 -472
- package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2020.number.d.ts +0 -26
- package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2020.promise.d.ts +0 -45
- package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2020.sharedmemory.d.ts +0 -97
- package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2020.string.d.ts +0 -42
- package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2020.symbol.wellknown.d.ts +0 -39
- package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2021.d.ts +0 -21
- package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2021.full.d.ts +0 -22
- package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2021.intl.d.ts +0 -164
- package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2021.promise.d.ts +0 -46
- package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2021.string.d.ts +0 -31
- package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2021.weakref.d.ts +0 -76
- package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2022.array.d.ts +0 -119
- package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2022.d.ts +0 -23
- package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2022.error.d.ts +0 -73
- package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2022.full.d.ts +0 -22
- package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2022.intl.d.ts +0 -143
- package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2022.object.d.ts +0 -24
- package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2022.regexp.d.ts +0 -37
- package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2022.string.d.ts +0 -23
- package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2023.array.d.ts +0 -922
- package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2023.collection.d.ts +0 -19
- package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2023.d.ts +0 -20
- package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2023.full.d.ts +0 -22
- package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2023.intl.d.ts +0 -62
- package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2024.arraybuffer.d.ts +0 -63
- package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2024.collection.d.ts +0 -27
- package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2024.d.ts +0 -24
- package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2024.full.d.ts +0 -22
- package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2024.object.d.ts +0 -27
- package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2024.promise.d.ts +0 -33
- package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2024.regexp.d.ts +0 -23
- package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2024.sharedmemory.d.ts +0 -66
- package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2024.string.d.ts +0 -27
- package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2025.collection.d.ts +0 -94
- package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2025.d.ts +0 -23
- package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2025.float16.d.ts +0 -443
- package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2025.full.d.ts +0 -22
- package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2025.intl.d.ts +0 -200
- package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2025.iterator.d.ts +0 -146
- package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2025.promise.d.ts +0 -32
- package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2025.regexp.d.ts +0 -30
- package/node_modules/@typescript/typescript-linux-x64/lib/lib.es5.d.ts +0 -4599
- package/node_modules/@typescript/typescript-linux-x64/lib/lib.es6.d.ts +0 -21
- package/node_modules/@typescript/typescript-linux-x64/lib/lib.esnext.array.d.ts +0 -33
- package/node_modules/@typescript/typescript-linux-x64/lib/lib.esnext.collection.d.ts +0 -47
- package/node_modules/@typescript/typescript-linux-x64/lib/lib.esnext.d.ts +0 -27
- package/node_modules/@typescript/typescript-linux-x64/lib/lib.esnext.date.d.ts +0 -21
- package/node_modules/@typescript/typescript-linux-x64/lib/lib.esnext.decorators.d.ts +0 -26
- package/node_modules/@typescript/typescript-linux-x64/lib/lib.esnext.disposable.d.ts +0 -191
- package/node_modules/@typescript/typescript-linux-x64/lib/lib.esnext.error.d.ts +0 -22
- package/node_modules/@typescript/typescript-linux-x64/lib/lib.esnext.full.d.ts +0 -22
- package/node_modules/@typescript/typescript-linux-x64/lib/lib.esnext.intl.d.ts +0 -107
- package/node_modules/@typescript/typescript-linux-x64/lib/lib.esnext.sharedmemory.d.ts +0 -23
- package/node_modules/@typescript/typescript-linux-x64/lib/lib.esnext.temporal.d.ts +0 -485
- package/node_modules/@typescript/typescript-linux-x64/lib/lib.esnext.typedarrays.d.ts +0 -90
- package/node_modules/@typescript/typescript-linux-x64/lib/lib.scripthost.d.ts +0 -320
- package/node_modules/@typescript/typescript-linux-x64/lib/lib.webworker.asynciterable.d.ts +0 -18
- package/node_modules/@typescript/typescript-linux-x64/lib/lib.webworker.d.ts +0 -15606
- package/node_modules/@typescript/typescript-linux-x64/lib/lib.webworker.importscripts.d.ts +0 -21
- package/node_modules/@typescript/typescript-linux-x64/lib/lib.webworker.iterable.d.ts +0 -18
- package/node_modules/@typescript/typescript-linux-x64/lib/tsc +0 -0
- package/node_modules/@typescript/typescript-linux-x64/lib/tsc.sig +0 -11
- package/node_modules/@typescript/typescript-linux-x64/package.json +0 -45
- package/node_modules/@ykdz/reference-npm-publication/native/template-dist/target.d.ts +0 -13
- package/node_modules/@ykdz/reference-npm-publication/native/template-dist/target.d.ts.map +0 -1
- package/node_modules/@ykdz/reference-npm-publication/native/template-dist/target.js +0 -30
- package/node_modules/@ykdz/reference-npm-publication/native/template-dist/workspace.d.ts +0 -11
- package/node_modules/@ykdz/reference-npm-publication/native/template-dist/workspace.d.ts.map +0 -1
- package/node_modules/@ykdz/reference-npm-publication/native/template-dist/workspace.js +0 -51
- package/node_modules/@ykdz/reference-rust-bin/native/tsconfig.json +0 -8
- package/node_modules/@ykdz/reference-ts-cli/native/src/publication/cli-command-identity.ts +0 -88
- package/node_modules/@ykdz/template-content/dist/template-members.d.ts +0 -9
- package/node_modules/@ykdz/template-content/dist/template-members.js +0 -16
- package/node_modules/@ykdz/template-core/dist/renderer-policy-snapshot.d.ts +0 -1
- package/node_modules/@ykdz/template-core/dist/renderer-policy-snapshot.js +0 -2
- package/node_modules/@ykdz/template-core/dist/renderer.d.ts +0 -101
- package/node_modules/@ykdz/template-core/dist/renderer.js +0 -386
- package/node_modules/@ykdz/template-core/dist/workspace-strategy.d.ts +0 -188
- package/node_modules/@ykdz/template-core/dist/workspace-strategy.js +0 -1
- package/node_modules/@ykdz/template-workspace/assets/tsconfig.config.json +0 -6
- package/node_modules/@ykdz/template-workspace/assets/tsconfig.json +0 -7
- package/node_modules/@ykdz/template-workspace/dist/default-environment-sources.d.ts +0 -5
- package/node_modules/@ykdz/template-workspace/dist/default-environment-sources.js +0 -8
- package/node_modules/@ykdz/template-workspace/dist/default-environment.d.ts +0 -9
- package/node_modules/@ykdz/template-workspace/dist/default-environment.js +0 -5
- package/node_modules/@ykdz/template-workspace/dist/default-workspace-strategy.d.ts +0 -89
- package/node_modules/@ykdz/template-workspace/dist/default-workspace-strategy.js +0 -967
- package/node_modules/@ykdz/template-workspace/dist/development-container.d.ts +0 -3
- package/node_modules/@ykdz/template-workspace/dist/development-container.js +0 -36
- package/node_modules/@ykdz/template-workspace/dist/development-environment.d.ts +0 -36
- package/node_modules/@ykdz/template-workspace/dist/environment-needs.d.ts +0 -51
- package/node_modules/@ykdz/template-workspace/dist/generation-context.d.ts +0 -14
- package/node_modules/@ykdz/template-workspace/dist/package-addition-facts.d.ts +0 -21
- package/node_modules/@ykdz/template-workspace/dist/package-addition-facts.js +0 -90
- package/node_modules/@ykdz/template-workspace/dist/package-contribution.d.ts +0 -64
- package/node_modules/@ykdz/template-workspace/dist/package-contribution.js +0 -65
- package/node_modules/@ykdz/template-workspace/dist/project-linking.d.ts +0 -48
- package/node_modules/@ykdz/template-workspace/dist/project-linking.js +0 -218
- package/node_modules/@ykdz/template-workspace/dist/reference-package.d.ts +0 -146
- package/node_modules/@ykdz/template-workspace/dist/reference-package.js +0 -521
- package/node_modules/@ykdz/template-workspace/dist/root-projection.d.ts +0 -29
- package/node_modules/@ykdz/template-workspace/dist/root-projection.js +0 -144
- package/node_modules/@ykdz/template-workspace/dist/rust-target-projection.d.ts +0 -35
- package/node_modules/@ykdz/template-workspace/dist/rust-target-projection.js +0 -74
- package/node_modules/@ykdz/template-workspace/dist/workspace-resources.d.ts +0 -23
- package/node_modules/@ykdz/template-workspace/dist/workspace-resources.js +0 -83
- package/node_modules/@ykdz/template-workspace/resources/oxfmt.config.ts +0 -1
- package/node_modules/typescript-7/LICENSE +0 -55
- package/node_modules/typescript-7/NOTICE.txt +0 -436
- package/node_modules/typescript-7/README.md +0 -49
- package/node_modules/typescript-7/bin/tsc +0 -2
- package/node_modules/typescript-7/dist/api/async/api.d.ts +0 -529
- package/node_modules/typescript-7/dist/api/async/api.d.ts.map +0 -1
- package/node_modules/typescript-7/dist/api/async/api.js +0 -1657
- package/node_modules/typescript-7/dist/api/async/api.js.map +0 -1
- package/node_modules/typescript-7/dist/api/async/client.d.ts +0 -39
- package/node_modules/typescript-7/dist/api/async/client.d.ts.map +0 -1
- package/node_modules/typescript-7/dist/api/async/client.js +0 -211
- package/node_modules/typescript-7/dist/api/async/client.js.map +0 -1
- package/node_modules/typescript-7/dist/api/async/types.d.ts +0 -310
- package/node_modules/typescript-7/dist/api/async/types.d.ts.map +0 -1
- package/node_modules/typescript-7/dist/api/async/types.js +0 -2
- package/node_modules/typescript-7/dist/api/async/types.js.map +0 -1
- package/node_modules/typescript-7/dist/api/compilerOptions.d.ts +0 -109
- package/node_modules/typescript-7/dist/api/compilerOptions.d.ts.map +0 -1
- package/node_modules/typescript-7/dist/api/compilerOptions.js +0 -2
- package/node_modules/typescript-7/dist/api/compilerOptions.js.map +0 -1
- package/node_modules/typescript-7/dist/api/fs.d.ts +0 -23
- package/node_modules/typescript-7/dist/api/fs.d.ts.map +0 -1
- package/node_modules/typescript-7/dist/api/fs.js +0 -109
- package/node_modules/typescript-7/dist/api/fs.js.map +0 -1
- package/node_modules/typescript-7/dist/api/node/encoder.d.ts +0 -15
- package/node_modules/typescript-7/dist/api/node/encoder.d.ts.map +0 -1
- package/node_modules/typescript-7/dist/api/node/encoder.generated.d.ts +0 -5
- package/node_modules/typescript-7/dist/api/node/encoder.generated.d.ts.map +0 -1
- package/node_modules/typescript-7/dist/api/node/encoder.generated.js +0 -74
- package/node_modules/typescript-7/dist/api/node/encoder.generated.js.map +0 -1
- package/node_modules/typescript-7/dist/api/node/encoder.js +0 -287
- package/node_modules/typescript-7/dist/api/node/encoder.js.map +0 -1
- package/node_modules/typescript-7/dist/api/node/msgpack.d.ts +0 -32
- package/node_modules/typescript-7/dist/api/node/msgpack.d.ts.map +0 -1
- package/node_modules/typescript-7/dist/api/node/msgpack.js +0 -213
- package/node_modules/typescript-7/dist/api/node/msgpack.js.map +0 -1
- package/node_modules/typescript-7/dist/api/node/node.d.ts +0 -76
- package/node_modules/typescript-7/dist/api/node/node.d.ts.map +0 -1
- package/node_modules/typescript-7/dist/api/node/node.generated.d.ts +0 -182
- package/node_modules/typescript-7/dist/api/node/node.generated.d.ts.map +0 -1
- package/node_modules/typescript-7/dist/api/node/node.generated.js +0 -835
- package/node_modules/typescript-7/dist/api/node/node.generated.js.map +0 -1
- package/node_modules/typescript-7/dist/api/node/node.infrastructure.d.ts +0 -62
- package/node_modules/typescript-7/dist/api/node/node.infrastructure.d.ts.map +0 -1
- package/node_modules/typescript-7/dist/api/node/node.infrastructure.js +0 -122
- package/node_modules/typescript-7/dist/api/node/node.infrastructure.js.map +0 -1
- package/node_modules/typescript-7/dist/api/node/node.js +0 -298
- package/node_modules/typescript-7/dist/api/node/node.js.map +0 -1
- package/node_modules/typescript-7/dist/api/node/protocol.d.ts +0 -29
- package/node_modules/typescript-7/dist/api/node/protocol.d.ts.map +0 -1
- package/node_modules/typescript-7/dist/api/node/protocol.generated.d.ts +0 -4
- package/node_modules/typescript-7/dist/api/node/protocol.generated.d.ts.map +0 -1
- package/node_modules/typescript-7/dist/api/node/protocol.generated.js +0 -241
- package/node_modules/typescript-7/dist/api/node/protocol.generated.js.map +0 -1
- package/node_modules/typescript-7/dist/api/node/protocol.js +0 -30
- package/node_modules/typescript-7/dist/api/node/protocol.js.map +0 -1
- package/node_modules/typescript-7/dist/api/node/wtf8.d.ts +0 -6
- package/node_modules/typescript-7/dist/api/node/wtf8.d.ts.map +0 -1
- package/node_modules/typescript-7/dist/api/node/wtf8.js +0 -61
- package/node_modules/typescript-7/dist/api/node/wtf8.js.map +0 -1
- package/node_modules/typescript-7/dist/api/options.d.ts +0 -32
- package/node_modules/typescript-7/dist/api/options.d.ts.map +0 -1
- package/node_modules/typescript-7/dist/api/options.js +0 -11
- package/node_modules/typescript-7/dist/api/options.js.map +0 -1
- package/node_modules/typescript-7/dist/api/path.d.ts +0 -110
- package/node_modules/typescript-7/dist/api/path.d.ts.map +0 -1
- package/node_modules/typescript-7/dist/api/path.js +0 -508
- package/node_modules/typescript-7/dist/api/path.js.map +0 -1
- package/node_modules/typescript-7/dist/api/proto.d.ts +0 -239
- package/node_modules/typescript-7/dist/api/proto.d.ts.map +0 -1
- package/node_modules/typescript-7/dist/api/proto.js +0 -37
- package/node_modules/typescript-7/dist/api/proto.js.map +0 -1
- package/node_modules/typescript-7/dist/api/sourceFileCache.d.ts +0 -79
- package/node_modules/typescript-7/dist/api/sourceFileCache.d.ts.map +0 -1
- package/node_modules/typescript-7/dist/api/sourceFileCache.js +0 -169
- package/node_modules/typescript-7/dist/api/sourceFileCache.js.map +0 -1
- package/node_modules/typescript-7/dist/api/sync/api.d.ts +0 -529
- package/node_modules/typescript-7/dist/api/sync/api.d.ts.map +0 -1
- package/node_modules/typescript-7/dist/api/sync/api.js +0 -1665
- package/node_modules/typescript-7/dist/api/sync/api.js.map +0 -1
- package/node_modules/typescript-7/dist/api/sync/client.d.ts +0 -30
- package/node_modules/typescript-7/dist/api/sync/client.d.ts.map +0 -1
- package/node_modules/typescript-7/dist/api/sync/client.js +0 -124
- package/node_modules/typescript-7/dist/api/sync/client.js.map +0 -1
- package/node_modules/typescript-7/dist/api/sync/types.d.ts +0 -310
- package/node_modules/typescript-7/dist/api/sync/types.d.ts.map +0 -1
- package/node_modules/typescript-7/dist/api/sync/types.js +0 -2
- package/node_modules/typescript-7/dist/api/sync/types.js.map +0 -1
- package/node_modules/typescript-7/dist/api/syncChannel.d.ts +0 -114
- package/node_modules/typescript-7/dist/api/syncChannel.d.ts.map +0 -1
- package/node_modules/typescript-7/dist/api/syncChannel.js +0 -508
- package/node_modules/typescript-7/dist/api/syncChannel.js.map +0 -1
- package/node_modules/typescript-7/dist/api/timing.d.ts +0 -175
- package/node_modules/typescript-7/dist/api/timing.d.ts.map +0 -1
- package/node_modules/typescript-7/dist/api/timing.js +0 -149
- package/node_modules/typescript-7/dist/api/timing.js.map +0 -1
- package/node_modules/typescript-7/dist/ast/ast.d.ts +0 -100
- package/node_modules/typescript-7/dist/ast/ast.d.ts.map +0 -1
- package/node_modules/typescript-7/dist/ast/ast.generated.d.ts +0 -1161
- package/node_modules/typescript-7/dist/ast/ast.generated.d.ts.map +0 -1
- package/node_modules/typescript-7/dist/ast/ast.generated.js +0 -4
- package/node_modules/typescript-7/dist/ast/ast.generated.js.map +0 -1
- package/node_modules/typescript-7/dist/ast/ast.js +0 -7
- package/node_modules/typescript-7/dist/ast/ast.js.map +0 -1
- package/node_modules/typescript-7/dist/ast/astnav.d.ts +0 -19
- package/node_modules/typescript-7/dist/ast/astnav.d.ts.map +0 -1
- package/node_modules/typescript-7/dist/ast/astnav.js +0 -596
- package/node_modules/typescript-7/dist/ast/astnav.js.map +0 -1
- package/node_modules/typescript-7/dist/ast/clone.d.ts +0 -16
- package/node_modules/typescript-7/dist/ast/clone.d.ts.map +0 -1
- package/node_modules/typescript-7/dist/ast/clone.js +0 -104
- package/node_modules/typescript-7/dist/ast/clone.js.map +0 -1
- package/node_modules/typescript-7/dist/ast/factory.generated.d.ts +0 -520
- package/node_modules/typescript-7/dist/ast/factory.generated.d.ts.map +0 -1
- package/node_modules/typescript-7/dist/ast/factory.generated.js +0 -3057
- package/node_modules/typescript-7/dist/ast/factory.generated.js.map +0 -1
- package/node_modules/typescript-7/dist/ast/index.d.ts +0 -20
- package/node_modules/typescript-7/dist/ast/index.d.ts.map +0 -1
- package/node_modules/typescript-7/dist/ast/index.js +0 -20
- package/node_modules/typescript-7/dist/ast/index.js.map +0 -1
- package/node_modules/typescript-7/dist/ast/is.d.ts +0 -35
- package/node_modules/typescript-7/dist/ast/is.d.ts.map +0 -1
- package/node_modules/typescript-7/dist/ast/is.generated.d.ts +0 -329
- package/node_modules/typescript-7/dist/ast/is.generated.d.ts.map +0 -1
- package/node_modules/typescript-7/dist/ast/is.generated.js +0 -1103
- package/node_modules/typescript-7/dist/ast/is.generated.js.map +0 -1
- package/node_modules/typescript-7/dist/ast/is.js +0 -233
- package/node_modules/typescript-7/dist/ast/is.js.map +0 -1
- package/node_modules/typescript-7/dist/ast/jsdoc.d.ts +0 -11
- package/node_modules/typescript-7/dist/ast/jsdoc.d.ts.map +0 -1
- package/node_modules/typescript-7/dist/ast/jsdoc.js +0 -202
- package/node_modules/typescript-7/dist/ast/jsdoc.js.map +0 -1
- package/node_modules/typescript-7/dist/ast/scanner.d.ts +0 -97
- package/node_modules/typescript-7/dist/ast/scanner.d.ts.map +0 -1
- package/node_modules/typescript-7/dist/ast/scanner.js +0 -2230
- package/node_modules/typescript-7/dist/ast/scanner.js.map +0 -1
- package/node_modules/typescript-7/dist/ast/utils.d.ts +0 -17
- package/node_modules/typescript-7/dist/ast/utils.d.ts.map +0 -1
- package/node_modules/typescript-7/dist/ast/utils.js +0 -67
- package/node_modules/typescript-7/dist/ast/utils.js.map +0 -1
- package/node_modules/typescript-7/dist/ast/visitor.d.ts +0 -14
- package/node_modules/typescript-7/dist/ast/visitor.d.ts.map +0 -1
- package/node_modules/typescript-7/dist/ast/visitor.generated.d.ts +0 -50
- package/node_modules/typescript-7/dist/ast/visitor.generated.d.ts.map +0 -1
- package/node_modules/typescript-7/dist/ast/visitor.generated.js +0 -978
- package/node_modules/typescript-7/dist/ast/visitor.generated.js.map +0 -1
- package/node_modules/typescript-7/dist/ast/visitor.js +0 -47
- package/node_modules/typescript-7/dist/ast/visitor.js.map +0 -1
- package/node_modules/typescript-7/dist/enums/characterCodes.d.ts +0 -2
- package/node_modules/typescript-7/dist/enums/characterCodes.d.ts.map +0 -1
- package/node_modules/typescript-7/dist/enums/characterCodes.enum.d.ts +0 -129
- package/node_modules/typescript-7/dist/enums/characterCodes.enum.d.ts.map +0 -1
- package/node_modules/typescript-7/dist/enums/characterCodes.enum.js +0 -132
- package/node_modules/typescript-7/dist/enums/characterCodes.enum.js.map +0 -1
- package/node_modules/typescript-7/dist/enums/characterCodes.js +0 -130
- package/node_modules/typescript-7/dist/enums/characterCodes.js.map +0 -1
- package/node_modules/typescript-7/dist/enums/commentDirectiveType.d.ts +0 -2
- package/node_modules/typescript-7/dist/enums/commentDirectiveType.d.ts.map +0 -1
- package/node_modules/typescript-7/dist/enums/commentDirectiveType.enum.d.ts +0 -5
- package/node_modules/typescript-7/dist/enums/commentDirectiveType.enum.d.ts.map +0 -1
- package/node_modules/typescript-7/dist/enums/commentDirectiveType.enum.js +0 -6
- package/node_modules/typescript-7/dist/enums/commentDirectiveType.enum.js.map +0 -1
- package/node_modules/typescript-7/dist/enums/commentDirectiveType.js +0 -6
- package/node_modules/typescript-7/dist/enums/commentDirectiveType.js.map +0 -1
- package/node_modules/typescript-7/dist/enums/completionItemKind.d.ts +0 -2
- package/node_modules/typescript-7/dist/enums/completionItemKind.d.ts.map +0 -1
- package/node_modules/typescript-7/dist/enums/completionItemKind.enum.d.ts +0 -28
- package/node_modules/typescript-7/dist/enums/completionItemKind.enum.d.ts.map +0 -1
- package/node_modules/typescript-7/dist/enums/completionItemKind.enum.js +0 -30
- package/node_modules/typescript-7/dist/enums/completionItemKind.enum.js.map +0 -1
- package/node_modules/typescript-7/dist/enums/completionItemKind.js +0 -30
- package/node_modules/typescript-7/dist/enums/completionItemKind.js.map +0 -1
- package/node_modules/typescript-7/dist/enums/diagnosticCategory.d.ts +0 -2
- package/node_modules/typescript-7/dist/enums/diagnosticCategory.d.ts.map +0 -1
- package/node_modules/typescript-7/dist/enums/diagnosticCategory.enum.d.ts +0 -7
- package/node_modules/typescript-7/dist/enums/diagnosticCategory.enum.d.ts.map +0 -1
- package/node_modules/typescript-7/dist/enums/diagnosticCategory.enum.js +0 -9
- package/node_modules/typescript-7/dist/enums/diagnosticCategory.enum.js.map +0 -1
- package/node_modules/typescript-7/dist/enums/diagnosticCategory.js +0 -9
- package/node_modules/typescript-7/dist/enums/diagnosticCategory.js.map +0 -1
- package/node_modules/typescript-7/dist/enums/elementFlags.d.ts +0 -2
- package/node_modules/typescript-7/dist/enums/elementFlags.d.ts.map +0 -1
- package/node_modules/typescript-7/dist/enums/elementFlags.enum.d.ts +0 -12
- package/node_modules/typescript-7/dist/enums/elementFlags.enum.d.ts.map +0 -1
- package/node_modules/typescript-7/dist/enums/elementFlags.enum.js +0 -14
- package/node_modules/typescript-7/dist/enums/elementFlags.enum.js.map +0 -1
- package/node_modules/typescript-7/dist/enums/elementFlags.js +0 -14
- package/node_modules/typescript-7/dist/enums/elementFlags.js.map +0 -1
- package/node_modules/typescript-7/dist/enums/internalSymbolName.d.ts +0 -2
- package/node_modules/typescript-7/dist/enums/internalSymbolName.d.ts.map +0 -1
- package/node_modules/typescript-7/dist/enums/internalSymbolName.enum.d.ts +0 -23
- package/node_modules/typescript-7/dist/enums/internalSymbolName.enum.d.ts.map +0 -1
- package/node_modules/typescript-7/dist/enums/internalSymbolName.enum.js +0 -25
- package/node_modules/typescript-7/dist/enums/internalSymbolName.enum.js.map +0 -1
- package/node_modules/typescript-7/dist/enums/internalSymbolName.js +0 -25
- package/node_modules/typescript-7/dist/enums/internalSymbolName.js.map +0 -1
- package/node_modules/typescript-7/dist/enums/jsxEmit.d.ts +0 -2
- package/node_modules/typescript-7/dist/enums/jsxEmit.d.ts.map +0 -1
- package/node_modules/typescript-7/dist/enums/jsxEmit.enum.d.ts +0 -9
- package/node_modules/typescript-7/dist/enums/jsxEmit.enum.d.ts.map +0 -1
- package/node_modules/typescript-7/dist/enums/jsxEmit.enum.js +0 -11
- package/node_modules/typescript-7/dist/enums/jsxEmit.enum.js.map +0 -1
- package/node_modules/typescript-7/dist/enums/jsxEmit.js +0 -11
- package/node_modules/typescript-7/dist/enums/jsxEmit.js.map +0 -1
- package/node_modules/typescript-7/dist/enums/languageVariant.d.ts +0 -2
- package/node_modules/typescript-7/dist/enums/languageVariant.d.ts.map +0 -1
- package/node_modules/typescript-7/dist/enums/languageVariant.enum.d.ts +0 -5
- package/node_modules/typescript-7/dist/enums/languageVariant.enum.d.ts.map +0 -1
- package/node_modules/typescript-7/dist/enums/languageVariant.enum.js +0 -6
- package/node_modules/typescript-7/dist/enums/languageVariant.enum.js.map +0 -1
- package/node_modules/typescript-7/dist/enums/languageVariant.js +0 -6
- package/node_modules/typescript-7/dist/enums/languageVariant.js.map +0 -1
- package/node_modules/typescript-7/dist/enums/modifierFlags.d.ts +0 -2
- package/node_modules/typescript-7/dist/enums/modifierFlags.d.ts.map +0 -1
- package/node_modules/typescript-7/dist/enums/modifierFlags.enum.d.ts +0 -42
- package/node_modules/typescript-7/dist/enums/modifierFlags.enum.d.ts.map +0 -1
- package/node_modules/typescript-7/dist/enums/modifierFlags.enum.js +0 -44
- package/node_modules/typescript-7/dist/enums/modifierFlags.enum.js.map +0 -1
- package/node_modules/typescript-7/dist/enums/modifierFlags.js +0 -44
- package/node_modules/typescript-7/dist/enums/modifierFlags.js.map +0 -1
- package/node_modules/typescript-7/dist/enums/moduleDetectionKind.d.ts +0 -2
- package/node_modules/typescript-7/dist/enums/moduleDetectionKind.d.ts.map +0 -1
- package/node_modules/typescript-7/dist/enums/moduleDetectionKind.enum.d.ts +0 -7
- package/node_modules/typescript-7/dist/enums/moduleDetectionKind.enum.d.ts.map +0 -1
- package/node_modules/typescript-7/dist/enums/moduleDetectionKind.enum.js +0 -9
- package/node_modules/typescript-7/dist/enums/moduleDetectionKind.enum.js.map +0 -1
- package/node_modules/typescript-7/dist/enums/moduleDetectionKind.js +0 -9
- package/node_modules/typescript-7/dist/enums/moduleDetectionKind.js.map +0 -1
- package/node_modules/typescript-7/dist/enums/moduleKind.d.ts +0 -2
- package/node_modules/typescript-7/dist/enums/moduleKind.d.ts.map +0 -1
- package/node_modules/typescript-7/dist/enums/moduleKind.enum.d.ts +0 -17
- package/node_modules/typescript-7/dist/enums/moduleKind.enum.d.ts.map +0 -1
- package/node_modules/typescript-7/dist/enums/moduleKind.enum.js +0 -19
- package/node_modules/typescript-7/dist/enums/moduleKind.enum.js.map +0 -1
- package/node_modules/typescript-7/dist/enums/moduleKind.js +0 -19
- package/node_modules/typescript-7/dist/enums/moduleKind.js.map +0 -1
- package/node_modules/typescript-7/dist/enums/moduleResolutionKind.d.ts +0 -2
- package/node_modules/typescript-7/dist/enums/moduleResolutionKind.d.ts.map +0 -1
- package/node_modules/typescript-7/dist/enums/moduleResolutionKind.enum.d.ts +0 -9
- package/node_modules/typescript-7/dist/enums/moduleResolutionKind.enum.d.ts.map +0 -1
- package/node_modules/typescript-7/dist/enums/moduleResolutionKind.enum.js +0 -11
- package/node_modules/typescript-7/dist/enums/moduleResolutionKind.enum.js.map +0 -1
- package/node_modules/typescript-7/dist/enums/moduleResolutionKind.js +0 -11
- package/node_modules/typescript-7/dist/enums/moduleResolutionKind.js.map +0 -1
- package/node_modules/typescript-7/dist/enums/newLineKind.d.ts +0 -2
- package/node_modules/typescript-7/dist/enums/newLineKind.d.ts.map +0 -1
- package/node_modules/typescript-7/dist/enums/newLineKind.enum.d.ts +0 -6
- package/node_modules/typescript-7/dist/enums/newLineKind.enum.d.ts.map +0 -1
- package/node_modules/typescript-7/dist/enums/newLineKind.enum.js +0 -8
- package/node_modules/typescript-7/dist/enums/newLineKind.enum.js.map +0 -1
- package/node_modules/typescript-7/dist/enums/newLineKind.js +0 -8
- package/node_modules/typescript-7/dist/enums/newLineKind.js.map +0 -1
- package/node_modules/typescript-7/dist/enums/nodeBuilderFlags.d.ts +0 -2
- package/node_modules/typescript-7/dist/enums/nodeBuilderFlags.d.ts.map +0 -1
- package/node_modules/typescript-7/dist/enums/nodeBuilderFlags.enum.d.ts +0 -36
- package/node_modules/typescript-7/dist/enums/nodeBuilderFlags.enum.d.ts.map +0 -1
- package/node_modules/typescript-7/dist/enums/nodeBuilderFlags.enum.js +0 -38
- package/node_modules/typescript-7/dist/enums/nodeBuilderFlags.enum.js.map +0 -1
- package/node_modules/typescript-7/dist/enums/nodeBuilderFlags.js +0 -38
- package/node_modules/typescript-7/dist/enums/nodeBuilderFlags.js.map +0 -1
- package/node_modules/typescript-7/dist/enums/nodeFlags.d.ts +0 -2
- package/node_modules/typescript-7/dist/enums/nodeFlags.d.ts.map +0 -1
- package/node_modules/typescript-7/dist/enums/nodeFlags.enum.d.ts +0 -44
- package/node_modules/typescript-7/dist/enums/nodeFlags.enum.d.ts.map +0 -1
- package/node_modules/typescript-7/dist/enums/nodeFlags.enum.js +0 -46
- package/node_modules/typescript-7/dist/enums/nodeFlags.enum.js.map +0 -1
- package/node_modules/typescript-7/dist/enums/nodeFlags.js +0 -46
- package/node_modules/typescript-7/dist/enums/nodeFlags.js.map +0 -1
- package/node_modules/typescript-7/dist/enums/objectFlags.d.ts +0 -2
- package/node_modules/typescript-7/dist/enums/objectFlags.d.ts.map +0 -1
- package/node_modules/typescript-7/dist/enums/objectFlags.enum.d.ts +0 -50
- package/node_modules/typescript-7/dist/enums/objectFlags.enum.d.ts.map +0 -1
- package/node_modules/typescript-7/dist/enums/objectFlags.enum.js +0 -52
- package/node_modules/typescript-7/dist/enums/objectFlags.enum.js.map +0 -1
- package/node_modules/typescript-7/dist/enums/objectFlags.js +0 -52
- package/node_modules/typescript-7/dist/enums/objectFlags.js.map +0 -1
- package/node_modules/typescript-7/dist/enums/outerExpressionKinds.d.ts +0 -2
- package/node_modules/typescript-7/dist/enums/outerExpressionKinds.d.ts.map +0 -1
- package/node_modules/typescript-7/dist/enums/outerExpressionKinds.enum.d.ts +0 -16
- package/node_modules/typescript-7/dist/enums/outerExpressionKinds.enum.d.ts.map +0 -1
- package/node_modules/typescript-7/dist/enums/outerExpressionKinds.enum.js +0 -18
- package/node_modules/typescript-7/dist/enums/outerExpressionKinds.enum.js.map +0 -1
- package/node_modules/typescript-7/dist/enums/outerExpressionKinds.js +0 -18
- package/node_modules/typescript-7/dist/enums/outerExpressionKinds.js.map +0 -1
- package/node_modules/typescript-7/dist/enums/regularExpressionFlags.d.ts +0 -2
- package/node_modules/typescript-7/dist/enums/regularExpressionFlags.d.ts.map +0 -1
- package/node_modules/typescript-7/dist/enums/regularExpressionFlags.enum.d.ts +0 -13
- package/node_modules/typescript-7/dist/enums/regularExpressionFlags.enum.d.ts.map +0 -1
- package/node_modules/typescript-7/dist/enums/regularExpressionFlags.enum.js +0 -14
- package/node_modules/typescript-7/dist/enums/regularExpressionFlags.enum.js.map +0 -1
- package/node_modules/typescript-7/dist/enums/regularExpressionFlags.js +0 -14
- package/node_modules/typescript-7/dist/enums/regularExpressionFlags.js.map +0 -1
- package/node_modules/typescript-7/dist/enums/scriptKind.d.ts +0 -2
- package/node_modules/typescript-7/dist/enums/scriptKind.d.ts.map +0 -1
- package/node_modules/typescript-7/dist/enums/scriptKind.enum.d.ts +0 -11
- package/node_modules/typescript-7/dist/enums/scriptKind.enum.d.ts.map +0 -1
- package/node_modules/typescript-7/dist/enums/scriptKind.enum.js +0 -12
- package/node_modules/typescript-7/dist/enums/scriptKind.enum.js.map +0 -1
- package/node_modules/typescript-7/dist/enums/scriptKind.js +0 -12
- package/node_modules/typescript-7/dist/enums/scriptKind.js.map +0 -1
- package/node_modules/typescript-7/dist/enums/scriptTarget.d.ts +0 -2
- package/node_modules/typescript-7/dist/enums/scriptTarget.d.ts.map +0 -1
- package/node_modules/typescript-7/dist/enums/scriptTarget.enum.d.ts +0 -17
- package/node_modules/typescript-7/dist/enums/scriptTarget.enum.d.ts.map +0 -1
- package/node_modules/typescript-7/dist/enums/scriptTarget.enum.js +0 -18
- package/node_modules/typescript-7/dist/enums/scriptTarget.enum.js.map +0 -1
- package/node_modules/typescript-7/dist/enums/scriptTarget.js +0 -18
- package/node_modules/typescript-7/dist/enums/scriptTarget.js.map +0 -1
- package/node_modules/typescript-7/dist/enums/signatureFlags.d.ts +0 -2
- package/node_modules/typescript-7/dist/enums/signatureFlags.d.ts.map +0 -1
- package/node_modules/typescript-7/dist/enums/signatureFlags.enum.d.ts +0 -15
- package/node_modules/typescript-7/dist/enums/signatureFlags.enum.d.ts.map +0 -1
- package/node_modules/typescript-7/dist/enums/signatureFlags.enum.js +0 -17
- package/node_modules/typescript-7/dist/enums/signatureFlags.enum.js.map +0 -1
- package/node_modules/typescript-7/dist/enums/signatureFlags.js +0 -17
- package/node_modules/typescript-7/dist/enums/signatureFlags.js.map +0 -1
- package/node_modules/typescript-7/dist/enums/signatureKind.d.ts +0 -2
- package/node_modules/typescript-7/dist/enums/signatureKind.d.ts.map +0 -1
- package/node_modules/typescript-7/dist/enums/signatureKind.enum.d.ts +0 -5
- package/node_modules/typescript-7/dist/enums/signatureKind.enum.d.ts.map +0 -1
- package/node_modules/typescript-7/dist/enums/signatureKind.enum.js +0 -7
- package/node_modules/typescript-7/dist/enums/signatureKind.enum.js.map +0 -1
- package/node_modules/typescript-7/dist/enums/signatureKind.js +0 -7
- package/node_modules/typescript-7/dist/enums/signatureKind.js.map +0 -1
- package/node_modules/typescript-7/dist/enums/symbolFlags.d.ts +0 -2
- package/node_modules/typescript-7/dist/enums/symbolFlags.d.ts.map +0 -1
- package/node_modules/typescript-7/dist/enums/symbolFlags.enum.d.ts +0 -71
- package/node_modules/typescript-7/dist/enums/symbolFlags.enum.d.ts.map +0 -1
- package/node_modules/typescript-7/dist/enums/symbolFlags.enum.js +0 -73
- package/node_modules/typescript-7/dist/enums/symbolFlags.enum.js.map +0 -1
- package/node_modules/typescript-7/dist/enums/symbolFlags.js +0 -73
- package/node_modules/typescript-7/dist/enums/symbolFlags.js.map +0 -1
- package/node_modules/typescript-7/dist/enums/syntaxKind.d.ts +0 -2
- package/node_modules/typescript-7/dist/enums/syntaxKind.d.ts.map +0 -1
- package/node_modules/typescript-7/dist/enums/syntaxKind.enum.d.ts +0 -389
- package/node_modules/typescript-7/dist/enums/syntaxKind.enum.d.ts.map +0 -1
- package/node_modules/typescript-7/dist/enums/syntaxKind.enum.js +0 -391
- package/node_modules/typescript-7/dist/enums/syntaxKind.enum.js.map +0 -1
- package/node_modules/typescript-7/dist/enums/syntaxKind.js +0 -391
- package/node_modules/typescript-7/dist/enums/syntaxKind.js.map +0 -1
- package/node_modules/typescript-7/dist/enums/tokenFlags.d.ts +0 -2
- package/node_modules/typescript-7/dist/enums/tokenFlags.d.ts.map +0 -1
- package/node_modules/typescript-7/dist/enums/tokenFlags.enum.d.ts +0 -30
- package/node_modules/typescript-7/dist/enums/tokenFlags.enum.d.ts.map +0 -1
- package/node_modules/typescript-7/dist/enums/tokenFlags.enum.js +0 -32
- package/node_modules/typescript-7/dist/enums/tokenFlags.enum.js.map +0 -1
- package/node_modules/typescript-7/dist/enums/tokenFlags.js +0 -32
- package/node_modules/typescript-7/dist/enums/tokenFlags.js.map +0 -1
- package/node_modules/typescript-7/dist/enums/typeFlags.d.ts +0 -2
- package/node_modules/typescript-7/dist/enums/typeFlags.d.ts.map +0 -1
- package/node_modules/typescript-7/dist/enums/typeFlags.enum.d.ts +0 -76
- package/node_modules/typescript-7/dist/enums/typeFlags.enum.d.ts.map +0 -1
- package/node_modules/typescript-7/dist/enums/typeFlags.enum.js +0 -78
- package/node_modules/typescript-7/dist/enums/typeFlags.enum.js.map +0 -1
- package/node_modules/typescript-7/dist/enums/typeFlags.js +0 -78
- package/node_modules/typescript-7/dist/enums/typeFlags.js.map +0 -1
- package/node_modules/typescript-7/dist/enums/typePredicateKind.d.ts +0 -2
- package/node_modules/typescript-7/dist/enums/typePredicateKind.d.ts.map +0 -1
- package/node_modules/typescript-7/dist/enums/typePredicateKind.enum.d.ts +0 -7
- package/node_modules/typescript-7/dist/enums/typePredicateKind.enum.d.ts.map +0 -1
- package/node_modules/typescript-7/dist/enums/typePredicateKind.enum.js +0 -9
- package/node_modules/typescript-7/dist/enums/typePredicateKind.enum.js.map +0 -1
- package/node_modules/typescript-7/dist/enums/typePredicateKind.js +0 -9
- package/node_modules/typescript-7/dist/enums/typePredicateKind.js.map +0 -1
- package/node_modules/typescript-7/dist/internal/utils.d.ts +0 -23
- package/node_modules/typescript-7/dist/internal/utils.d.ts.map +0 -1
- package/node_modules/typescript-7/dist/internal/utils.js +0 -25
- package/node_modules/typescript-7/dist/internal/utils.js.map +0 -1
- package/node_modules/typescript-7/lib/getExePath.d.ts +0 -2
- package/node_modules/typescript-7/lib/getExePath.js +0 -70
- package/node_modules/typescript-7/lib/tsc.js +0 -28
- package/node_modules/typescript-7/lib/version.cjs +0 -3
- package/node_modules/typescript-7/lib/version.d.cts +0 -2
- package/node_modules/typescript-7/package.json +0 -87
- package/node_modules/typescript-7/vendor/vscode-jsonrpc/License.txt +0 -11
- package/node_modules/typescript-7/vendor/vscode-jsonrpc/README.md +0 -54
- package/node_modules/typescript-7/vendor/vscode-jsonrpc/lib/browser/main.d.ts +0 -17
- package/node_modules/typescript-7/vendor/vscode-jsonrpc/lib/browser/main.js +0 -83
- package/node_modules/typescript-7/vendor/vscode-jsonrpc/lib/browser/ril.d.ts +0 -22
- package/node_modules/typescript-7/vendor/vscode-jsonrpc/lib/browser/ril.js +0 -210
- package/node_modules/typescript-7/vendor/vscode-jsonrpc/lib/common/api.d.ts +0 -14
- package/node_modules/typescript-7/vendor/vscode-jsonrpc/lib/common/api.js +0 -87
- package/node_modules/typescript-7/vendor/vscode-jsonrpc/lib/common/cancellation.d.ts +0 -32
- package/node_modules/typescript-7/vendor/vscode-jsonrpc/lib/common/cancellation.js +0 -132
- package/node_modules/typescript-7/vendor/vscode-jsonrpc/lib/common/connection.d.ts +0 -367
- package/node_modules/typescript-7/vendor/vscode-jsonrpc/lib/common/connection.js +0 -1271
- package/node_modules/typescript-7/vendor/vscode-jsonrpc/lib/common/disposable.d.ts +0 -9
- package/node_modules/typescript-7/vendor/vscode-jsonrpc/lib/common/disposable.js +0 -16
- package/node_modules/typescript-7/vendor/vscode-jsonrpc/lib/common/encoding.d.ts +0 -52
- package/node_modules/typescript-7/vendor/vscode-jsonrpc/lib/common/encoding.js +0 -70
- package/node_modules/typescript-7/vendor/vscode-jsonrpc/lib/common/events.d.ts +0 -39
- package/node_modules/typescript-7/vendor/vscode-jsonrpc/lib/common/events.js +0 -135
- package/node_modules/typescript-7/vendor/vscode-jsonrpc/lib/common/is.d.ts +0 -7
- package/node_modules/typescript-7/vendor/vscode-jsonrpc/lib/common/is.js +0 -34
- package/node_modules/typescript-7/vendor/vscode-jsonrpc/lib/common/linkedMap.d.ts +0 -55
- package/node_modules/typescript-7/vendor/vscode-jsonrpc/lib/common/linkedMap.js +0 -412
- package/node_modules/typescript-7/vendor/vscode-jsonrpc/lib/common/messageBuffer.d.ts +0 -18
- package/node_modules/typescript-7/vendor/vscode-jsonrpc/lib/common/messageBuffer.js +0 -155
- package/node_modules/typescript-7/vendor/vscode-jsonrpc/lib/common/messageReader.d.ts +0 -77
- package/node_modules/typescript-7/vendor/vscode-jsonrpc/lib/common/messageReader.js +0 -246
- package/node_modules/typescript-7/vendor/vscode-jsonrpc/lib/common/messageWriter.d.ts +0 -60
- package/node_modules/typescript-7/vendor/vscode-jsonrpc/lib/common/messageWriter.js +0 -157
- package/node_modules/typescript-7/vendor/vscode-jsonrpc/lib/common/messages.d.ts +0 -369
- package/node_modules/typescript-7/vendor/vscode-jsonrpc/lib/common/messages.js +0 -436
- package/node_modules/typescript-7/vendor/vscode-jsonrpc/lib/common/ral.d.ts +0 -74
- package/node_modules/typescript-7/vendor/vscode-jsonrpc/lib/common/ral.js +0 -23
- package/node_modules/typescript-7/vendor/vscode-jsonrpc/lib/common/semaphore.d.ts +0 -10
- package/node_modules/typescript-7/vendor/vscode-jsonrpc/lib/common/semaphore.js +0 -74
- package/node_modules/typescript-7/vendor/vscode-jsonrpc/lib/common/sharedArrayCancellation.d.ts +0 -15
- package/node_modules/typescript-7/vendor/vscode-jsonrpc/lib/common/sharedArrayCancellation.js +0 -77
- package/node_modules/typescript-7/vendor/vscode-jsonrpc/lib/node/main.d.ts +0 -58
- package/node_modules/typescript-7/vendor/vscode-jsonrpc/lib/node/main.js +0 -289
- package/node_modules/typescript-7/vendor/vscode-jsonrpc/lib/node/ril.d.ts +0 -12
- package/node_modules/typescript-7/vendor/vscode-jsonrpc/lib/node/ril.js +0 -163
- package/node_modules/typescript-7/vendor/vscode-jsonrpc/package.json +0 -54
- package/node_modules/typescript-7/vendor/vscode-jsonrpc/typings/thenable.d.ts +0 -5
- /package/node_modules/@ykdz/{template-workspace/dist/generation-context.js → default-content-authoring/dist/contracts.js} +0 -0
- /package/node_modules/@ykdz/{template-workspace → default-content-authoring}/dist/environment-needs.js +0 -0
- /package/node_modules/@ykdz/{template-workspace/dist/default-package-role.d.ts → default-content-authoring/dist/package-role.d.ts} +0 -0
- /package/node_modules/@ykdz/{template-workspace/dist/default-package-role.js → default-content-authoring/dist/package-role.js} +0 -0
- /package/node_modules/@ykdz/{template-workspace/assets/environment → reference-rust-bin/native/resources}/devcontainer/rust.Dockerfile +0 -0
- /package/node_modules/@ykdz/{template-workspace/assets → reference-workspace-root/native/resources}/agent-instructions.md +0 -0
- /package/node_modules/@ykdz/{template-workspace/assets → reference-workspace-root/native/resources}/environment/base.Dockerfile +0 -0
- /package/node_modules/@ykdz/{template-workspace/assets → reference-workspace-root/native/resources}/environment/devcontainer/browser-test.Dockerfile +0 -0
- /package/node_modules/@ykdz/{template-workspace/assets → reference-workspace-root/native/resources}/environment/devcontainer/github-cli.Dockerfile +0 -0
- /package/node_modules/@ykdz/{template-workspace/assets → reference-workspace-root/native/resources}/environment/devcontainer/shellcheck.Dockerfile +0 -0
- /package/node_modules/@ykdz/{template-workspace/assets → reference-workspace-root/native/resources}/environment/devcontainer/workspace-template.json +0 -0
- /package/node_modules/@ykdz/{template-workspace/assets → reference-workspace-root/native/resources}/environment/editor-customization/capabilities.json +0 -0
- /package/node_modules/@ykdz/{template-workspace/assets → reference-workspace-root/native/resources}/github/check.yml +0 -0
- /package/node_modules/@ykdz/{template-workspace/assets → reference-workspace-root/native/resources}/github/dependabot.yml +0 -0
- /package/node_modules/@ykdz/{template-workspace/assets → reference-workspace-root/native/resources}/gitignore +0 -0
- /package/node_modules/@ykdz/{template-workspace/assets → reference-workspace-root/native/resources}/next-steps.md +0 -0
- /package/node_modules/@ykdz/{template-workspace → reference-workspace-root/native}/scripts/task-gates.ts +0 -0
- /package/node_modules/@ykdz/{template-workspace/dist → reference-workspace-root/native/template-dist}/editor-customization.js +0 -0
|
@@ -0,0 +1,742 @@
|
|
|
1
|
+
import path from "node:path";
|
|
2
|
+
import { fileURLToPath } from "node:url";
|
|
3
|
+
import { assertJsonValue } from "@ykdz/template-core/json";
|
|
4
|
+
import { createTemplateSourceHandle } from "@ykdz/template-core/template-source";
|
|
5
|
+
import { defineNativeReferenceContentArtifact, } from "@ykdz/template-workspace-authoring/content-artifact";
|
|
6
|
+
import { mapPackageNamesInJson } from "@ykdz/template-workspace-authoring/package-name-projection";
|
|
7
|
+
import { mapTypeScriptModuleSpecifiers } from "@ykdz/template-workspace-authoring/typescript-module-specifiers";
|
|
8
|
+
import { parse } from "jsonc-parser";
|
|
9
|
+
const dependencyPurposeOrder = [
|
|
10
|
+
"target",
|
|
11
|
+
"template-execution",
|
|
12
|
+
"template-build",
|
|
13
|
+
];
|
|
14
|
+
const packageManifestKeyOrder = [
|
|
15
|
+
"name",
|
|
16
|
+
"version",
|
|
17
|
+
"private",
|
|
18
|
+
"bin",
|
|
19
|
+
"files",
|
|
20
|
+
"type",
|
|
21
|
+
"types",
|
|
22
|
+
"imports",
|
|
23
|
+
"exports",
|
|
24
|
+
"publishConfig",
|
|
25
|
+
"scripts",
|
|
26
|
+
"dependencies",
|
|
27
|
+
"devDependencies",
|
|
28
|
+
"dependenciesMeta",
|
|
29
|
+
"peerDependencies",
|
|
30
|
+
"optionalDependencies",
|
|
31
|
+
"engines",
|
|
32
|
+
"packageManager",
|
|
33
|
+
];
|
|
34
|
+
function isRecord(value) {
|
|
35
|
+
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
36
|
+
}
|
|
37
|
+
function normalizeResourcePath(value) {
|
|
38
|
+
const normalized = path.posix.normalize(value);
|
|
39
|
+
if (value.length === 0 ||
|
|
40
|
+
value.trim() !== value ||
|
|
41
|
+
value.includes("\\") ||
|
|
42
|
+
path.posix.isAbsolute(value) ||
|
|
43
|
+
normalized === "." ||
|
|
44
|
+
normalized === ".." ||
|
|
45
|
+
normalized.startsWith("../") ||
|
|
46
|
+
/[!*?{}[\]]/u.test(value)) {
|
|
47
|
+
throw new Error(`原生参考包资源路径无效:${value}`);
|
|
48
|
+
}
|
|
49
|
+
return normalized;
|
|
50
|
+
}
|
|
51
|
+
function ownerResource(resourceRoot, mapping) {
|
|
52
|
+
const resourcePath = normalizeResourcePath(mapping.path);
|
|
53
|
+
let source = mapping.source;
|
|
54
|
+
if (source === undefined) {
|
|
55
|
+
const absolutePath = path.resolve(fileURLToPath(resourceRoot), ...resourcePath.split("/"));
|
|
56
|
+
const rootPath = path.resolve(fileURLToPath(resourceRoot));
|
|
57
|
+
const relative = path.relative(rootPath, absolutePath);
|
|
58
|
+
if (relative === ".." ||
|
|
59
|
+
relative.startsWith(`..${path.sep}`) ||
|
|
60
|
+
path.isAbsolute(relative)) {
|
|
61
|
+
throw new Error(`原生参考包资源越过所属包目录:${mapping.path}`);
|
|
62
|
+
}
|
|
63
|
+
source = createTemplateSourceHandle(absolutePath);
|
|
64
|
+
}
|
|
65
|
+
return {
|
|
66
|
+
path: resourcePath,
|
|
67
|
+
...(mapping.targetPath === undefined
|
|
68
|
+
? {}
|
|
69
|
+
: { targetPath: normalizeResourcePath(mapping.targetPath) }),
|
|
70
|
+
source,
|
|
71
|
+
mode: mapping.mode ?? 0o644,
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
function manifestDependencyNames(manifest) {
|
|
75
|
+
const names = new Set();
|
|
76
|
+
for (const field of [
|
|
77
|
+
"dependencies",
|
|
78
|
+
"devDependencies",
|
|
79
|
+
"optionalDependencies",
|
|
80
|
+
"peerDependencies",
|
|
81
|
+
]) {
|
|
82
|
+
const value = manifest[field];
|
|
83
|
+
if (!isRecord(value))
|
|
84
|
+
continue;
|
|
85
|
+
for (const name of Object.keys(value))
|
|
86
|
+
names.add(name);
|
|
87
|
+
}
|
|
88
|
+
return names;
|
|
89
|
+
}
|
|
90
|
+
function normalizeDependencyUses(manifest, templateDependencies) {
|
|
91
|
+
const uses = new Map();
|
|
92
|
+
for (const name of manifestDependencyNames(manifest)) {
|
|
93
|
+
uses.set(name, new Set(["target"]));
|
|
94
|
+
}
|
|
95
|
+
const declared = new Set();
|
|
96
|
+
const seen = new Set();
|
|
97
|
+
for (const dependency of templateDependencies) {
|
|
98
|
+
if (dependency.name.trim() !== dependency.name ||
|
|
99
|
+
dependency.name.length === 0 ||
|
|
100
|
+
!dependencyPurposeOrder.includes(dependency.purpose)) {
|
|
101
|
+
throw new Error(`模板依赖用途无效:${dependency.name} (${dependency.purpose})`);
|
|
102
|
+
}
|
|
103
|
+
const purposes = uses.get(dependency.name);
|
|
104
|
+
if (purposes === undefined) {
|
|
105
|
+
throw new Error(`模板依赖未在原生清单声明:${dependency.name} (${dependency.purpose})`);
|
|
106
|
+
}
|
|
107
|
+
const key = `${dependency.name}\u0000${dependency.purpose}`;
|
|
108
|
+
if (seen.has(key)) {
|
|
109
|
+
throw new Error(`模板依赖用途重复:${dependency.name} (${dependency.purpose})`);
|
|
110
|
+
}
|
|
111
|
+
seen.add(key);
|
|
112
|
+
if (!declared.has(dependency.name)) {
|
|
113
|
+
purposes.clear();
|
|
114
|
+
declared.add(dependency.name);
|
|
115
|
+
}
|
|
116
|
+
purposes.add(dependency.purpose);
|
|
117
|
+
}
|
|
118
|
+
return Object.freeze([...uses].map(([name, purposes]) => Object.freeze({
|
|
119
|
+
name,
|
|
120
|
+
purposes: Object.freeze(dependencyPurposeOrder.filter((purpose) => purposes.has(purpose))),
|
|
121
|
+
})));
|
|
122
|
+
}
|
|
123
|
+
function dependencyPackageName(specifier) {
|
|
124
|
+
const parts = specifier.split("/");
|
|
125
|
+
const packageLength = specifier.startsWith("@") ? 2 : 1;
|
|
126
|
+
if (parts.length < packageLength ||
|
|
127
|
+
parts.slice(0, packageLength).some((part) => part.length === 0)) {
|
|
128
|
+
throw new Error(`原生依赖公开入口无效:${specifier}`);
|
|
129
|
+
}
|
|
130
|
+
return parts.slice(0, packageLength).join("/");
|
|
131
|
+
}
|
|
132
|
+
function assertNativeDocument(sourcePath, content) {
|
|
133
|
+
const errors = [];
|
|
134
|
+
let value;
|
|
135
|
+
try {
|
|
136
|
+
value = parse(new TextDecoder("utf-8", { fatal: true }).decode(content), errors, {
|
|
137
|
+
allowTrailingComma: true,
|
|
138
|
+
});
|
|
139
|
+
}
|
|
140
|
+
catch (error) {
|
|
141
|
+
throw new Error(`原生JSON文档不是有效UTF-8:${sourcePath}`, {
|
|
142
|
+
cause: error,
|
|
143
|
+
});
|
|
144
|
+
}
|
|
145
|
+
if (!isRecord(value) || errors.length > 0) {
|
|
146
|
+
throw new Error(`原生工具配置必须是有效的JSONC对象:${sourcePath}`);
|
|
147
|
+
}
|
|
148
|
+
return value;
|
|
149
|
+
}
|
|
150
|
+
function formatJsonValue(value, depth, column, pathSegments, multilineArrayPaths, trailingComma = false) {
|
|
151
|
+
if (value === null || typeof value !== "object") {
|
|
152
|
+
return JSON.stringify(value) ?? "null";
|
|
153
|
+
}
|
|
154
|
+
const indent = " ".repeat(depth);
|
|
155
|
+
if (Array.isArray(value)) {
|
|
156
|
+
const scalarItems = value.every((item) => item === null || typeof item !== "object");
|
|
157
|
+
if (scalarItems) {
|
|
158
|
+
const inline = `[${value
|
|
159
|
+
.map((item) => JSON.stringify(item) ?? "null")
|
|
160
|
+
.join(", ")}]`;
|
|
161
|
+
if (!multilineArrayPaths.has(pathSegments.join(".")) &&
|
|
162
|
+
column + inline.length + (trailingComma ? 1 : 0) <= 80) {
|
|
163
|
+
return inline;
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
if (value.length === 0)
|
|
167
|
+
return "[]";
|
|
168
|
+
const itemIndent = " ".repeat(depth + 1);
|
|
169
|
+
return `[\n${itemIndent}${value
|
|
170
|
+
.map((item, index) => formatJsonValue(item, depth + 1, itemIndent.length, [...pathSegments, String(index)], multilineArrayPaths, index < value.length - 1))
|
|
171
|
+
.join(`,\n${itemIndent}`)}\n${indent}]`;
|
|
172
|
+
}
|
|
173
|
+
if (!isRecord(value)) {
|
|
174
|
+
throw new Error("原生JSON文档只能包含普通对象");
|
|
175
|
+
}
|
|
176
|
+
const entries = Object.entries(value);
|
|
177
|
+
if (entries.length === 0)
|
|
178
|
+
return "{}";
|
|
179
|
+
const childIndent = " ".repeat(depth + 1);
|
|
180
|
+
return `{\n${childIndent}${entries
|
|
181
|
+
.map(([key, child], index) => {
|
|
182
|
+
const prefix = `${JSON.stringify(key)}: `;
|
|
183
|
+
return `${prefix}${formatJsonValue(child, depth + 1, childIndent.length + prefix.length, [...pathSegments, key], multilineArrayPaths, index < entries.length - 1)}`;
|
|
184
|
+
})
|
|
185
|
+
.join(`,\n${childIndent}`)}\n${indent}}`;
|
|
186
|
+
}
|
|
187
|
+
export function serializeNativeJson(value, options = {}) {
|
|
188
|
+
return new TextEncoder().encode(`${formatJsonValue(value, 0, 0, [], new Set(options.multilineArrayPaths ?? []))}\n`);
|
|
189
|
+
}
|
|
190
|
+
function reconciliationDriver(resourcePath) {
|
|
191
|
+
return /(?:^|\/)(?:Dockerfile|\.gitignore|\.npmignore|\.dockerignore)$/iu.test(resourcePath) ||
|
|
192
|
+
/\.(?:[cm]?[jt]sx?|jsonc?|md|mdx|txt|ya?ml|toml|xml|html|css|scss|vue|sh|svg)$/iu.test(resourcePath)
|
|
193
|
+
? "text"
|
|
194
|
+
: "canonical";
|
|
195
|
+
}
|
|
196
|
+
function isNativeDocumentPath(resourcePath) {
|
|
197
|
+
return (/(?:^|\/)tsconfig[^/]*\.jsonc?$/u.test(resourcePath) ||
|
|
198
|
+
/(?:^|\/)turbo\.jsonc?$/u.test(resourcePath));
|
|
199
|
+
}
|
|
200
|
+
function packageNameMapping(options) {
|
|
201
|
+
const names = new Map([
|
|
202
|
+
[options.ownerPackageName, options.definition.name],
|
|
203
|
+
[options.sourcePackageName, options.definition.name],
|
|
204
|
+
]);
|
|
205
|
+
for (const dependency of options.dependencies) {
|
|
206
|
+
const binding = options.bindings.get(dependency.key);
|
|
207
|
+
if (binding === undefined) {
|
|
208
|
+
throw new Error(`原生参考依赖缺少提供者绑定:${dependency.key}`);
|
|
209
|
+
}
|
|
210
|
+
names.set(binding.contentIdentity.packageName, binding.definition.name);
|
|
211
|
+
if (isRecord(binding.facts) &&
|
|
212
|
+
typeof binding.facts.sourcePackageName === "string") {
|
|
213
|
+
names.set(binding.facts.sourcePackageName, binding.definition.name);
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
return names;
|
|
217
|
+
}
|
|
218
|
+
function outputManifest(options) {
|
|
219
|
+
const manifest = mapPackageNamesInJson(structuredClone(options.manifest), options.names);
|
|
220
|
+
manifest.name = options.definition.name;
|
|
221
|
+
const exports = mapPackageNamesInJson(structuredClone(options.targetExports), options.names);
|
|
222
|
+
if (Object.keys(exports).length > 0)
|
|
223
|
+
manifest.exports = exports;
|
|
224
|
+
else
|
|
225
|
+
delete manifest.exports;
|
|
226
|
+
const scripts = isRecord(manifest.scripts) ? { ...manifest.scripts } : {};
|
|
227
|
+
for (const name of options.templateScripts)
|
|
228
|
+
delete scripts[name];
|
|
229
|
+
if (Object.keys(scripts).length > 0)
|
|
230
|
+
manifest.scripts = scripts;
|
|
231
|
+
else
|
|
232
|
+
delete manifest.scripts;
|
|
233
|
+
const targetDependencyNames = new Set(normalizeDependencyUses(options.manifest, options.templateDependencies)
|
|
234
|
+
.filter(({ purposes }) => purposes.includes("target"))
|
|
235
|
+
.map(({ name }) => name));
|
|
236
|
+
const dependencyBindings = new Map();
|
|
237
|
+
for (const dependency of options.dependencies) {
|
|
238
|
+
const sourcePackageName = "contentIdentity" in dependency
|
|
239
|
+
? dependency.contentIdentity.packageName
|
|
240
|
+
: dependencyPackageName(dependency.ownerLocal.specifier);
|
|
241
|
+
const binding = options.bindings.get(dependency.key);
|
|
242
|
+
if (binding === undefined) {
|
|
243
|
+
throw new Error(`原生参考依赖缺少提供者绑定:${dependency.key}`);
|
|
244
|
+
}
|
|
245
|
+
dependencyBindings.set(sourcePackageName, binding);
|
|
246
|
+
}
|
|
247
|
+
for (const field of [
|
|
248
|
+
"dependencies",
|
|
249
|
+
"devDependencies",
|
|
250
|
+
"peerDependencies",
|
|
251
|
+
"optionalDependencies",
|
|
252
|
+
]) {
|
|
253
|
+
const sourceDependencies = options.manifest[field];
|
|
254
|
+
if (!isRecord(sourceDependencies))
|
|
255
|
+
continue;
|
|
256
|
+
const dependencies = {};
|
|
257
|
+
for (const [sourceName, specifier] of Object.entries(sourceDependencies)) {
|
|
258
|
+
if (!targetDependencyNames.has(sourceName))
|
|
259
|
+
continue;
|
|
260
|
+
const targetName = options.names.get(sourceName) ?? sourceName;
|
|
261
|
+
const binding = dependencyBindings.get(sourceName);
|
|
262
|
+
if (binding === undefined) {
|
|
263
|
+
dependencies[targetName] = specifier;
|
|
264
|
+
continue;
|
|
265
|
+
}
|
|
266
|
+
if (typeof specifier !== "string") {
|
|
267
|
+
throw new Error(`原生依赖版本必须是字符串:${sourceName}`);
|
|
268
|
+
}
|
|
269
|
+
if (!specifier.startsWith("link:") &&
|
|
270
|
+
!specifier.startsWith("workspace:./") &&
|
|
271
|
+
!specifier.startsWith("workspace:../")) {
|
|
272
|
+
dependencies[targetName] = specifier;
|
|
273
|
+
continue;
|
|
274
|
+
}
|
|
275
|
+
const relative = path.posix.relative(options.definition.path, binding.definition.path);
|
|
276
|
+
const protocol = specifier.startsWith("link:") ? "link:" : "workspace:";
|
|
277
|
+
const relativeSpecifier = relative.startsWith(".")
|
|
278
|
+
? relative
|
|
279
|
+
: `./${relative}`;
|
|
280
|
+
dependencies[binding.definition.name] = `${protocol}${relativeSpecifier}`;
|
|
281
|
+
}
|
|
282
|
+
manifest[field] = dependencies;
|
|
283
|
+
}
|
|
284
|
+
if (isRecord(manifest.engines) && isRecord(options.stableCommon)) {
|
|
285
|
+
const nodeDeclaration = options.stableCommon.nodeDeclaration;
|
|
286
|
+
if (typeof nodeDeclaration === "string") {
|
|
287
|
+
manifest.engines = { ...manifest.engines, node: nodeDeclaration };
|
|
288
|
+
}
|
|
289
|
+
}
|
|
290
|
+
return Object.freeze(manifest);
|
|
291
|
+
}
|
|
292
|
+
function packagePath(options) {
|
|
293
|
+
const layoutPath = isRecord(options.layout)
|
|
294
|
+
? options.layout.packageDirectory
|
|
295
|
+
: undefined;
|
|
296
|
+
const creationPath = isRecord(options.creationInput)
|
|
297
|
+
? options.creationInput.packagePath
|
|
298
|
+
: undefined;
|
|
299
|
+
if (options.defaultPath === ".")
|
|
300
|
+
return ".";
|
|
301
|
+
const defaultPath = typeof layoutPath === "string"
|
|
302
|
+
? path.posix.join(layoutPath, options.defaultLeafName)
|
|
303
|
+
: options.defaultPath;
|
|
304
|
+
const leafName = isRecord(options.creationInput)
|
|
305
|
+
? options.creationInput.leafName
|
|
306
|
+
: undefined;
|
|
307
|
+
const parentPath = path.posix.dirname(defaultPath);
|
|
308
|
+
const selected = typeof creationPath === "string"
|
|
309
|
+
? creationPath
|
|
310
|
+
: typeof leafName === "string"
|
|
311
|
+
? path.posix.join(parentPath === "." ? "packages" : parentPath, leafName)
|
|
312
|
+
: defaultPath;
|
|
313
|
+
const normalized = path.posix.normalize(selected);
|
|
314
|
+
if (normalized !== selected ||
|
|
315
|
+
selected.startsWith("/") ||
|
|
316
|
+
selected === ".." ||
|
|
317
|
+
selected.startsWith("../") ||
|
|
318
|
+
selected.includes("\\")) {
|
|
319
|
+
throw new Error(`默认参考包目录无效:${selected}`);
|
|
320
|
+
}
|
|
321
|
+
return selected;
|
|
322
|
+
}
|
|
323
|
+
function packageName(options) {
|
|
324
|
+
if (options.targetName !== undefined) {
|
|
325
|
+
return options.targetName({
|
|
326
|
+
conventions: options.conventions,
|
|
327
|
+
creationInput: options.creationInput,
|
|
328
|
+
});
|
|
329
|
+
}
|
|
330
|
+
const inputName = isRecord(options.creationInput)
|
|
331
|
+
? options.creationInput.packageName
|
|
332
|
+
: undefined;
|
|
333
|
+
if (typeof inputName === "string")
|
|
334
|
+
return inputName;
|
|
335
|
+
const inputLeaf = isRecord(options.creationInput)
|
|
336
|
+
? options.creationInput.leafName
|
|
337
|
+
: undefined;
|
|
338
|
+
const leaf = typeof inputLeaf === "string" ? inputLeaf : options.defaultLeafName;
|
|
339
|
+
return `@${options.conventions.defaultPackageScope}/${leaf}`;
|
|
340
|
+
}
|
|
341
|
+
export function defineReferencePackage(options) {
|
|
342
|
+
const defaultPath = options.defaultPath ?? `packages/${options.defaultLeafName}`;
|
|
343
|
+
const templateDependencies = options.templateDependencies ?? [];
|
|
344
|
+
const dependencyUses = normalizeDependencyUses(options.manifest, templateDependencies);
|
|
345
|
+
const templateDependencyNames = new Set(templateDependencies.map(({ name }) => name));
|
|
346
|
+
const executionDependencies = options.executionDependencies ?? [];
|
|
347
|
+
for (const name of executionDependencies) {
|
|
348
|
+
if (!templateDependencyNames.has(name)) {
|
|
349
|
+
throw new Error(`模板执行依赖必须同时声明模板用途:${options.manifest.name}/${name}`);
|
|
350
|
+
}
|
|
351
|
+
}
|
|
352
|
+
const dependencyPurposes = new Map(dependencyUses.map(({ name, purposes }) => [
|
|
353
|
+
name,
|
|
354
|
+
purposes.filter((purpose) => purpose !== "template-build"),
|
|
355
|
+
]));
|
|
356
|
+
const resourceMappings = [
|
|
357
|
+
...options.resources,
|
|
358
|
+
...(options.compositionResources ?? []),
|
|
359
|
+
].map((mapping) => ({
|
|
360
|
+
...mapping,
|
|
361
|
+
path: normalizeResourcePath(mapping.path),
|
|
362
|
+
...(mapping.targetPath === undefined
|
|
363
|
+
? {}
|
|
364
|
+
: { targetPath: normalizeResourcePath(mapping.targetPath) }),
|
|
365
|
+
}));
|
|
366
|
+
const resourcePaths = new Set();
|
|
367
|
+
for (const resource of resourceMappings) {
|
|
368
|
+
if (resourcePaths.has(resource.path)) {
|
|
369
|
+
throw new Error(`原生参考包重复声明资源:${resource.path}`);
|
|
370
|
+
}
|
|
371
|
+
resourcePaths.add(resource.path);
|
|
372
|
+
}
|
|
373
|
+
const resources = resourceMappings.map((mapping) => ownerResource(options.resourceRoot, mapping));
|
|
374
|
+
const mappingsBySourcePath = new Map(resourceMappings.map((mapping) => [mapping.path, mapping]));
|
|
375
|
+
const compositionResourcePaths = new Set((options.compositionResources ?? []).map(({ path: resourcePath }) => normalizeResourcePath(resourcePath)));
|
|
376
|
+
const contentDependencies = Object.freeze([...(options.dependencies ?? [])].map((dependency) => Object.freeze(dependency)));
|
|
377
|
+
const rootAttachmentDependencies = Object.freeze([...(options.rootAttachmentDependencies ?? [])].map((dependency) => Object.freeze(dependency)));
|
|
378
|
+
const rootAttachmentKeys = new Set();
|
|
379
|
+
for (const dependency of rootAttachmentDependencies) {
|
|
380
|
+
if (dependency.key.trim().length === 0 ||
|
|
381
|
+
rootAttachmentKeys.has(dependency.key)) {
|
|
382
|
+
throw new Error(`原生根附件依赖键不能为空且不能重复:${options.manifest.name}/${dependency.key}`);
|
|
383
|
+
}
|
|
384
|
+
rootAttachmentKeys.add(dependency.key);
|
|
385
|
+
}
|
|
386
|
+
const templateScripts = Object.freeze([...(options.templateScripts ?? [])]);
|
|
387
|
+
const templateExports = Object.freeze([...(options.templateExports ?? [])]);
|
|
388
|
+
const removedExports = new Set([
|
|
389
|
+
"./reference",
|
|
390
|
+
"./template",
|
|
391
|
+
...templateExports,
|
|
392
|
+
]);
|
|
393
|
+
const targetExports = Object.freeze(options.targetExports === undefined
|
|
394
|
+
? Object.fromEntries(Object.entries(options.manifest.exports ?? {}).filter(([name]) => !removedExports.has(name)))
|
|
395
|
+
: { ...options.targetExports });
|
|
396
|
+
const targetDependencyKeys = Object.freeze(contentDependencies
|
|
397
|
+
.filter((dependency) => {
|
|
398
|
+
const sourceName = "contentIdentity" in dependency
|
|
399
|
+
? dependency.contentIdentity.packageName
|
|
400
|
+
: dependencyPackageName(dependency.ownerLocal.specifier);
|
|
401
|
+
return (dependencyUses.some((use) => use.name === sourceName && use.purposes.includes("target")) && manifestDependencyNames(options.manifest).has(sourceName));
|
|
402
|
+
})
|
|
403
|
+
.map(({ key }) => key));
|
|
404
|
+
const definition = {
|
|
405
|
+
alias: options.alias,
|
|
406
|
+
instance: options.instance,
|
|
407
|
+
manifest: options.manifest,
|
|
408
|
+
defaultPath,
|
|
409
|
+
role: options.role,
|
|
410
|
+
dependencyUses,
|
|
411
|
+
targetExports,
|
|
412
|
+
targetDependencyKeys,
|
|
413
|
+
rootDeclarationAvailable: options.rootDeclaration !== undefined,
|
|
414
|
+
dependencies: contentDependencies,
|
|
415
|
+
rootAttachmentDependencies,
|
|
416
|
+
prepareRootDeclaration(ownerFacts) {
|
|
417
|
+
return options.rootDeclaration?.(ownerFacts);
|
|
418
|
+
},
|
|
419
|
+
parseCreationInput(value) {
|
|
420
|
+
assertJsonValue(value, "原生参考包创建输入");
|
|
421
|
+
return value;
|
|
422
|
+
},
|
|
423
|
+
createDefinition(input) {
|
|
424
|
+
return {
|
|
425
|
+
name: packageName({
|
|
426
|
+
conventions: input.conventions,
|
|
427
|
+
creationInput: input.creationInput,
|
|
428
|
+
defaultLeafName: options.defaultLeafName,
|
|
429
|
+
...(options.targetName === undefined
|
|
430
|
+
? {}
|
|
431
|
+
: { targetName: options.targetName }),
|
|
432
|
+
}),
|
|
433
|
+
path: packagePath({
|
|
434
|
+
creationInput: input.creationInput,
|
|
435
|
+
layout: input.layout,
|
|
436
|
+
defaultPath,
|
|
437
|
+
defaultLeafName: options.defaultLeafName,
|
|
438
|
+
}),
|
|
439
|
+
role: options.role,
|
|
440
|
+
};
|
|
441
|
+
},
|
|
442
|
+
evaluate(input) {
|
|
443
|
+
const names = packageNameMapping({
|
|
444
|
+
ownerPackageName: options.manifest.name,
|
|
445
|
+
sourcePackageName: options.sourcePackageName ?? options.manifest.name,
|
|
446
|
+
definition: input.definition,
|
|
447
|
+
dependencies: contentDependencies,
|
|
448
|
+
bindings: input.bindings,
|
|
449
|
+
});
|
|
450
|
+
const defaultManifest = outputManifest({
|
|
451
|
+
manifest: options.manifest,
|
|
452
|
+
definition: input.definition,
|
|
453
|
+
conventions: input.conventions,
|
|
454
|
+
stableCommon: input.stableCommon,
|
|
455
|
+
bindings: input.bindings,
|
|
456
|
+
dependencies: contentDependencies,
|
|
457
|
+
templateDependencies,
|
|
458
|
+
templateScripts,
|
|
459
|
+
targetExports,
|
|
460
|
+
names,
|
|
461
|
+
});
|
|
462
|
+
const manifest = options.transformManifest?.({
|
|
463
|
+
manifest: defaultManifest,
|
|
464
|
+
definition: input.definition,
|
|
465
|
+
conventions: input.conventions,
|
|
466
|
+
creationInput: input.creationInput,
|
|
467
|
+
bindings: input.bindings,
|
|
468
|
+
stableCommon: input.stableCommon,
|
|
469
|
+
ownerFacts: input.prepared.facts.ownerFacts,
|
|
470
|
+
}) ?? defaultManifest;
|
|
471
|
+
const sourceDocuments = input.prepared.facts.nativeDocuments;
|
|
472
|
+
const nativeDocuments = sourceDocuments.map((document) => {
|
|
473
|
+
if (document.path === "package.json" && document.scope === "package") {
|
|
474
|
+
return { ...document, value: manifest };
|
|
475
|
+
}
|
|
476
|
+
const value = mapPackageNamesInJson(document.value, names);
|
|
477
|
+
if ((document.path === "turbo.json" || document.path === "turbo.jsonc") &&
|
|
478
|
+
isRecord(value.tasks)) {
|
|
479
|
+
const tasks = { ...value.tasks };
|
|
480
|
+
for (const script of templateScripts) {
|
|
481
|
+
delete tasks[script];
|
|
482
|
+
delete tasks[`${input.definition.name}#${script}`];
|
|
483
|
+
}
|
|
484
|
+
value.tasks = tasks;
|
|
485
|
+
}
|
|
486
|
+
const transformedDocument = options.transformDocument?.({
|
|
487
|
+
path: document.path,
|
|
488
|
+
value,
|
|
489
|
+
definition: input.definition,
|
|
490
|
+
conventions: input.conventions,
|
|
491
|
+
creationInput: input.creationInput,
|
|
492
|
+
bindings: input.bindings,
|
|
493
|
+
stableCommon: input.stableCommon,
|
|
494
|
+
ownerFacts: input.prepared.facts.ownerFacts,
|
|
495
|
+
}) ?? value;
|
|
496
|
+
return {
|
|
497
|
+
...document,
|
|
498
|
+
value: transformedDocument,
|
|
499
|
+
};
|
|
500
|
+
});
|
|
501
|
+
const documentBySourcePath = new Map(nativeDocuments.map((document) => [document.sourcePath, document]));
|
|
502
|
+
const deferredDocumentPaths = new Set(input.packageInput?.deferredNativeDocumentPaths ?? []);
|
|
503
|
+
const deferredNativeDocuments = nativeDocuments.filter((document) => document.scope === "package" &&
|
|
504
|
+
deferredDocumentPaths.has(document.path));
|
|
505
|
+
const packageFiles = [];
|
|
506
|
+
const compositionFiles = [];
|
|
507
|
+
const emittedNativePaths = new Set();
|
|
508
|
+
for (const resource of input.prepared.resources) {
|
|
509
|
+
const mapping = mappingsBySourcePath.get(resource.path);
|
|
510
|
+
if (mapping === undefined) {
|
|
511
|
+
throw new Error(`准备结果包含未声明资源:${resource.path}`);
|
|
512
|
+
}
|
|
513
|
+
if (mapping.prepareOnly === true)
|
|
514
|
+
continue;
|
|
515
|
+
const document = documentBySourcePath.get(resource.path);
|
|
516
|
+
if (document !== undefined) {
|
|
517
|
+
if (document.scope === "composition") {
|
|
518
|
+
compositionFiles.push({
|
|
519
|
+
path: document.path,
|
|
520
|
+
content: serializeNativeReferenceDocument(document),
|
|
521
|
+
mode: document.mode,
|
|
522
|
+
sourcePath: resource.path,
|
|
523
|
+
});
|
|
524
|
+
}
|
|
525
|
+
else if (!deferredDocumentPaths.has(document.path)) {
|
|
526
|
+
packageFiles.push({
|
|
527
|
+
path: document.path,
|
|
528
|
+
content: serializeNativeReferenceDocument(document),
|
|
529
|
+
mode: document.mode,
|
|
530
|
+
});
|
|
531
|
+
emittedNativePaths.add(document.path);
|
|
532
|
+
}
|
|
533
|
+
continue;
|
|
534
|
+
}
|
|
535
|
+
const textExtensions = [".ts", ".tsx", ".mts", ".cts", ".js", ".mjs"];
|
|
536
|
+
const isTextModule = textExtensions.some((extension) => resource.path.endsWith(extension));
|
|
537
|
+
const text = isTextModule
|
|
538
|
+
? new TextDecoder("utf-8", { fatal: true }).decode(resource.content)
|
|
539
|
+
: undefined;
|
|
540
|
+
const content = text === undefined
|
|
541
|
+
? resource.content.slice()
|
|
542
|
+
: new TextEncoder().encode(mapTypeScriptModuleSpecifiers(text, names, resource.path));
|
|
543
|
+
if (compositionResourcePaths.has(resource.path)) {
|
|
544
|
+
const targetPath = mapping.targetPath;
|
|
545
|
+
if (targetPath === undefined) {
|
|
546
|
+
throw new Error(`组合资源必须声明根目标路径:${resource.path}`);
|
|
547
|
+
}
|
|
548
|
+
compositionFiles.push({
|
|
549
|
+
path: targetPath,
|
|
550
|
+
content,
|
|
551
|
+
mode: resource.mode,
|
|
552
|
+
sourcePath: resource.path,
|
|
553
|
+
});
|
|
554
|
+
continue;
|
|
555
|
+
}
|
|
556
|
+
const targetPath = mapping.targetPath ?? resource.path;
|
|
557
|
+
packageFiles.push({
|
|
558
|
+
path: targetPath,
|
|
559
|
+
content,
|
|
560
|
+
mode: resource.mode,
|
|
561
|
+
});
|
|
562
|
+
}
|
|
563
|
+
const syntheticManifest = nativeDocuments.find((document) => document.path === "package.json" &&
|
|
564
|
+
document.sourcePath === "package.json" &&
|
|
565
|
+
document.scope === "package");
|
|
566
|
+
if (syntheticManifest !== undefined &&
|
|
567
|
+
!deferredDocumentPaths.has(syntheticManifest.path) &&
|
|
568
|
+
!emittedNativePaths.has(syntheticManifest.path)) {
|
|
569
|
+
packageFiles.push({
|
|
570
|
+
path: syntheticManifest.path,
|
|
571
|
+
content: serializeNativeReferenceDocument(syntheticManifest),
|
|
572
|
+
mode: syntheticManifest.mode,
|
|
573
|
+
});
|
|
574
|
+
emittedNativePaths.add(syntheticManifest.path);
|
|
575
|
+
}
|
|
576
|
+
const contributedNativePaths = new Set([
|
|
577
|
+
...emittedNativePaths,
|
|
578
|
+
...deferredNativeDocuments.map(({ path: documentPath }) => documentPath),
|
|
579
|
+
]);
|
|
580
|
+
const reconciliationByPath = new Map(nativeDocuments
|
|
581
|
+
.filter((document) => document.scope === "package" &&
|
|
582
|
+
contributedNativePaths.has(document.path))
|
|
583
|
+
.map((document) => [
|
|
584
|
+
document.path,
|
|
585
|
+
{ path: document.path, driver: "structured" },
|
|
586
|
+
]));
|
|
587
|
+
for (const file of packageFiles) {
|
|
588
|
+
if (!reconciliationByPath.has(file.path)) {
|
|
589
|
+
reconciliationByPath.set(file.path, {
|
|
590
|
+
path: file.path,
|
|
591
|
+
driver: reconciliationDriver(file.path),
|
|
592
|
+
});
|
|
593
|
+
}
|
|
594
|
+
}
|
|
595
|
+
const reconciliations = [...reconciliationByPath.values()];
|
|
596
|
+
const exposureExports = isRecord(manifest.exports)
|
|
597
|
+
? manifest.exports
|
|
598
|
+
: {};
|
|
599
|
+
const exposureImports = isRecord(manifest.imports)
|
|
600
|
+
? manifest.imports
|
|
601
|
+
: {};
|
|
602
|
+
const evaluationContext = {
|
|
603
|
+
definition: input.definition,
|
|
604
|
+
conventions: input.conventions,
|
|
605
|
+
creationInput: input.creationInput,
|
|
606
|
+
bindings: input.bindings,
|
|
607
|
+
ownerFacts: input.prepared.facts.ownerFacts,
|
|
608
|
+
stableCommon: input.stableCommon,
|
|
609
|
+
};
|
|
610
|
+
const rootDeclaration = options.rootDeclaration?.(input.prepared.facts.ownerFacts, input.stableCommon);
|
|
611
|
+
const foundation = typeof options.foundation === "function"
|
|
612
|
+
? options.foundation(evaluationContext)
|
|
613
|
+
: (options.foundation ?? {});
|
|
614
|
+
const environmentNeeds = typeof options.environmentNeeds === "function"
|
|
615
|
+
? options.environmentNeeds(evaluationContext)
|
|
616
|
+
: (options.environmentNeeds ?? []);
|
|
617
|
+
const ciDiagnosticArtifacts = typeof options.ciDiagnosticArtifacts === "function"
|
|
618
|
+
? options.ciDiagnosticArtifacts(evaluationContext)
|
|
619
|
+
: (options.ciDiagnosticArtifacts ?? []);
|
|
620
|
+
const facts = {
|
|
621
|
+
sourcePackageName: options.sourcePackageName ?? options.manifest.name,
|
|
622
|
+
manifest,
|
|
623
|
+
exposure: {
|
|
624
|
+
exports: exposureExports,
|
|
625
|
+
imports: exposureImports,
|
|
626
|
+
},
|
|
627
|
+
deferredNativeDocuments,
|
|
628
|
+
packageInput: input.packageInput,
|
|
629
|
+
nativeDocuments,
|
|
630
|
+
compositionFiles,
|
|
631
|
+
dependencyUses,
|
|
632
|
+
templateDependencies: Object.freeze([...templateDependencies]),
|
|
633
|
+
foundation,
|
|
634
|
+
environmentNeeds,
|
|
635
|
+
ciDiagnosticArtifacts,
|
|
636
|
+
...(rootDeclaration === undefined ? {} : { rootDeclaration }),
|
|
637
|
+
...(options.workspaceConfiguration === undefined
|
|
638
|
+
? {}
|
|
639
|
+
: { workspaceConfiguration: options.workspaceConfiguration }),
|
|
640
|
+
referenceBindings: Object.fromEntries([...input.bindings].map(([key, binding]) => [
|
|
641
|
+
key,
|
|
642
|
+
binding.definition,
|
|
643
|
+
])),
|
|
644
|
+
ownerFacts: input.prepared.facts.ownerFacts,
|
|
645
|
+
};
|
|
646
|
+
return {
|
|
647
|
+
packageDefinitionId: input.packageDefinitionId,
|
|
648
|
+
files: packageFiles,
|
|
649
|
+
reconciliation: reconciliations,
|
|
650
|
+
facts,
|
|
651
|
+
};
|
|
652
|
+
},
|
|
653
|
+
};
|
|
654
|
+
const native = defineNativeReferenceContentArtifact(definition, {
|
|
655
|
+
manifest: options.manifest,
|
|
656
|
+
resourceRoot: options.resourceRoot,
|
|
657
|
+
exportPath: "./template",
|
|
658
|
+
templateExports,
|
|
659
|
+
...(options.artifactVersion === undefined
|
|
660
|
+
? {}
|
|
661
|
+
: { artifactVersion: options.artifactVersion }),
|
|
662
|
+
resources,
|
|
663
|
+
dependencyPurposes,
|
|
664
|
+
executionDependencies,
|
|
665
|
+
prepareFacts(snapshot, prepareOptions) {
|
|
666
|
+
const nativeDocuments = [
|
|
667
|
+
{
|
|
668
|
+
path: "package.json",
|
|
669
|
+
sourcePath: "package.json",
|
|
670
|
+
value: options.manifest,
|
|
671
|
+
mode: 0,
|
|
672
|
+
scope: "package",
|
|
673
|
+
},
|
|
674
|
+
];
|
|
675
|
+
for (const resource of snapshot) {
|
|
676
|
+
const mapping = mappingsBySourcePath.get(resource.path);
|
|
677
|
+
if (mapping === undefined) {
|
|
678
|
+
throw new Error(`原生配置没有资源映射:${resource.path}`);
|
|
679
|
+
}
|
|
680
|
+
const targetPath = mapping.targetPath ?? resource.path;
|
|
681
|
+
if (!isNativeDocumentPath(targetPath))
|
|
682
|
+
continue;
|
|
683
|
+
const document = assertNativeDocument(targetPath, resource.content);
|
|
684
|
+
const scope = compositionResourcePaths.has(resource.path)
|
|
685
|
+
? "composition"
|
|
686
|
+
: "package";
|
|
687
|
+
nativeDocuments.push({
|
|
688
|
+
path: targetPath,
|
|
689
|
+
sourcePath: resource.path,
|
|
690
|
+
value: document,
|
|
691
|
+
mode: resource.mode,
|
|
692
|
+
scope,
|
|
693
|
+
});
|
|
694
|
+
}
|
|
695
|
+
return {
|
|
696
|
+
nativeDocuments: Object.freeze(nativeDocuments),
|
|
697
|
+
ownerFacts: options.prepareFacts?.(snapshot, prepareOptions),
|
|
698
|
+
};
|
|
699
|
+
},
|
|
700
|
+
});
|
|
701
|
+
return Object.freeze({
|
|
702
|
+
...native,
|
|
703
|
+
manifest: options.manifest,
|
|
704
|
+
defaultPath,
|
|
705
|
+
role: options.role,
|
|
706
|
+
dependencyUses,
|
|
707
|
+
targetExports,
|
|
708
|
+
targetDependencyNames: Object.freeze(dependencyUses
|
|
709
|
+
.filter(({ purposes }) => purposes.includes("target"))
|
|
710
|
+
.map(({ name }) => name)),
|
|
711
|
+
targetDependencyKeys,
|
|
712
|
+
});
|
|
713
|
+
}
|
|
714
|
+
export function serializeNativeReferenceDocument(document) {
|
|
715
|
+
if (document.path !== "package.json") {
|
|
716
|
+
return serializeNativeJson(document.value);
|
|
717
|
+
}
|
|
718
|
+
const manifest = Object.fromEntries(Object.entries(document.value).sort(([left], [right]) => {
|
|
719
|
+
const leftIndex = packageManifestKeyOrder.indexOf(left);
|
|
720
|
+
const rightIndex = packageManifestKeyOrder.indexOf(right);
|
|
721
|
+
if (leftIndex === -1 && rightIndex === -1) {
|
|
722
|
+
return left.localeCompare(right);
|
|
723
|
+
}
|
|
724
|
+
if (leftIndex === -1)
|
|
725
|
+
return 1;
|
|
726
|
+
if (rightIndex === -1)
|
|
727
|
+
return -1;
|
|
728
|
+
return leftIndex - rightIndex;
|
|
729
|
+
}));
|
|
730
|
+
for (const field of [
|
|
731
|
+
"dependencies",
|
|
732
|
+
"devDependencies",
|
|
733
|
+
"optionalDependencies",
|
|
734
|
+
"peerDependencies",
|
|
735
|
+
]) {
|
|
736
|
+
const value = manifest[field];
|
|
737
|
+
if (isRecord(value)) {
|
|
738
|
+
manifest[field] = Object.fromEntries(Object.entries(value).sort(([left], [right]) => left.localeCompare(right)));
|
|
739
|
+
}
|
|
740
|
+
}
|
|
741
|
+
return serializeNativeJson(manifest, { multilineArrayPaths: ["files"] });
|
|
742
|
+
}
|