@ykdz/template 0.0.42 → 0.1.0-experimental.1

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.
Files changed (1250) hide show
  1. package/dist/application.d.ts +38 -4
  2. package/dist/application.js +199 -138
  3. package/dist/cli.js +0 -5
  4. package/dist/input-schemas.d.ts +14 -0
  5. package/dist/input-schemas.js +27 -8
  6. package/dist/input-validation.d.ts +43 -0
  7. package/dist/input-validation.js +129 -0
  8. package/dist/main.js +157 -6
  9. package/dist/preset-catalog.d.ts +36 -0
  10. package/dist/preset-catalog.js +41 -0
  11. package/dist/result-schemas.d.ts +63 -34
  12. package/dist/result-schemas.js +5 -4
  13. package/dist/standard-schema.d.ts +1 -1
  14. package/dist/standard-schema.js +1 -9
  15. package/node_modules/@types/node/README.md +1 -1
  16. package/node_modules/@types/node/package.json +2 -2
  17. package/node_modules/@types/node/util.d.ts +7 -4
  18. package/node_modules/@typescript/typescript-linux-x64/LICENSE +55 -0
  19. package/node_modules/@typescript/typescript-linux-x64/NOTICE.txt +436 -0
  20. package/node_modules/@typescript/typescript-linux-x64/README.md +3 -0
  21. package/node_modules/@typescript/typescript-linux-x64/lib/lib.d.ts +20 -0
  22. package/node_modules/@typescript/typescript-linux-x64/lib/lib.decorators.d.ts +382 -0
  23. package/node_modules/@typescript/typescript-linux-x64/lib/lib.decorators.legacy.d.ts +20 -0
  24. package/node_modules/@typescript/typescript-linux-x64/lib/lib.dom.asynciterable.d.ts +18 -0
  25. package/node_modules/@typescript/typescript-linux-x64/lib/lib.dom.d.ts +45125 -0
  26. package/node_modules/@typescript/typescript-linux-x64/lib/lib.dom.iterable.d.ts +18 -0
  27. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2015.collection.d.ts +159 -0
  28. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2015.core.d.ts +595 -0
  29. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2015.d.ts +26 -0
  30. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2015.generator.d.ts +75 -0
  31. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2015.iterable.d.ts +603 -0
  32. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2015.promise.d.ts +79 -0
  33. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2015.proxy.d.ts +126 -0
  34. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2015.reflect.d.ts +142 -0
  35. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2015.symbol.d.ts +44 -0
  36. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2015.symbol.wellknown.d.ts +324 -0
  37. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2016.array.include.d.ts +114 -0
  38. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2016.d.ts +19 -0
  39. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2016.full.d.ts +21 -0
  40. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2016.intl.d.ts +29 -0
  41. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2017.arraybuffer.d.ts +19 -0
  42. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2017.d.ts +24 -0
  43. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2017.date.d.ts +29 -0
  44. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2017.full.d.ts +21 -0
  45. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2017.intl.d.ts +42 -0
  46. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2017.object.d.ts +47 -0
  47. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2017.sharedmemory.d.ts +133 -0
  48. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2017.string.d.ts +47 -0
  49. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2017.typedarrays.d.ts +51 -0
  50. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2018.asyncgenerator.d.ts +75 -0
  51. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2018.asynciterable.d.ts +51 -0
  52. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2018.d.ts +22 -0
  53. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2018.full.d.ts +22 -0
  54. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2018.intl.d.ts +81 -0
  55. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2018.promise.d.ts +28 -0
  56. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2018.regexp.d.ts +35 -0
  57. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2019.array.d.ts +77 -0
  58. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2019.d.ts +22 -0
  59. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2019.full.d.ts +22 -0
  60. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2019.intl.d.ts +21 -0
  61. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2019.object.d.ts +31 -0
  62. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2019.string.d.ts +35 -0
  63. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2019.symbol.d.ts +22 -0
  64. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2020.bigint.d.ts +763 -0
  65. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2020.d.ts +25 -0
  66. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2020.date.d.ts +40 -0
  67. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2020.full.d.ts +22 -0
  68. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2020.intl.d.ts +472 -0
  69. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2020.number.d.ts +26 -0
  70. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2020.promise.d.ts +45 -0
  71. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2020.sharedmemory.d.ts +97 -0
  72. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2020.string.d.ts +42 -0
  73. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2020.symbol.wellknown.d.ts +39 -0
  74. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2021.d.ts +21 -0
  75. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2021.full.d.ts +22 -0
  76. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2021.intl.d.ts +164 -0
  77. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2021.promise.d.ts +46 -0
  78. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2021.string.d.ts +31 -0
  79. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2021.weakref.d.ts +76 -0
  80. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2022.array.d.ts +119 -0
  81. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2022.d.ts +23 -0
  82. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2022.error.d.ts +73 -0
  83. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2022.full.d.ts +22 -0
  84. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2022.intl.d.ts +143 -0
  85. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2022.object.d.ts +24 -0
  86. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2022.regexp.d.ts +37 -0
  87. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2022.string.d.ts +23 -0
  88. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2023.array.d.ts +922 -0
  89. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2023.collection.d.ts +19 -0
  90. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2023.d.ts +20 -0
  91. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2023.full.d.ts +22 -0
  92. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2023.intl.d.ts +62 -0
  93. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2024.arraybuffer.d.ts +63 -0
  94. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2024.collection.d.ts +27 -0
  95. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2024.d.ts +24 -0
  96. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2024.full.d.ts +22 -0
  97. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2024.object.d.ts +27 -0
  98. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2024.promise.d.ts +33 -0
  99. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2024.regexp.d.ts +23 -0
  100. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2024.sharedmemory.d.ts +66 -0
  101. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2024.string.d.ts +27 -0
  102. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2025.collection.d.ts +94 -0
  103. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2025.d.ts +23 -0
  104. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2025.float16.d.ts +443 -0
  105. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2025.full.d.ts +22 -0
  106. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2025.intl.d.ts +200 -0
  107. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2025.iterator.d.ts +146 -0
  108. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2025.promise.d.ts +32 -0
  109. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2025.regexp.d.ts +30 -0
  110. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es5.d.ts +4599 -0
  111. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es6.d.ts +21 -0
  112. package/node_modules/@typescript/typescript-linux-x64/lib/lib.esnext.array.d.ts +33 -0
  113. package/node_modules/@typescript/typescript-linux-x64/lib/lib.esnext.collection.d.ts +47 -0
  114. package/node_modules/@typescript/typescript-linux-x64/lib/lib.esnext.d.ts +27 -0
  115. package/node_modules/@typescript/typescript-linux-x64/lib/lib.esnext.date.d.ts +21 -0
  116. package/node_modules/@typescript/typescript-linux-x64/lib/lib.esnext.decorators.d.ts +26 -0
  117. package/node_modules/@typescript/typescript-linux-x64/lib/lib.esnext.disposable.d.ts +191 -0
  118. package/node_modules/@typescript/typescript-linux-x64/lib/lib.esnext.error.d.ts +22 -0
  119. package/node_modules/@typescript/typescript-linux-x64/lib/lib.esnext.full.d.ts +22 -0
  120. package/node_modules/@typescript/typescript-linux-x64/lib/lib.esnext.intl.d.ts +107 -0
  121. package/node_modules/@typescript/typescript-linux-x64/lib/lib.esnext.sharedmemory.d.ts +23 -0
  122. package/node_modules/@typescript/typescript-linux-x64/lib/lib.esnext.temporal.d.ts +485 -0
  123. package/node_modules/@typescript/typescript-linux-x64/lib/lib.esnext.typedarrays.d.ts +90 -0
  124. package/node_modules/@typescript/typescript-linux-x64/lib/lib.scripthost.d.ts +320 -0
  125. package/node_modules/@typescript/typescript-linux-x64/lib/lib.webworker.asynciterable.d.ts +18 -0
  126. package/node_modules/@typescript/typescript-linux-x64/lib/lib.webworker.d.ts +15606 -0
  127. package/node_modules/@typescript/typescript-linux-x64/lib/lib.webworker.importscripts.d.ts +21 -0
  128. package/node_modules/@typescript/typescript-linux-x64/lib/lib.webworker.iterable.d.ts +18 -0
  129. package/node_modules/@typescript/typescript-linux-x64/lib/tsc +0 -0
  130. package/node_modules/@typescript/typescript-linux-x64/lib/tsc.sig +11 -0
  131. package/node_modules/@typescript/typescript-linux-x64/package.json +45 -0
  132. package/node_modules/@ykdz/cli-contract/dist/cli-contract.d.ts +689 -184
  133. package/node_modules/@ykdz/cli-contract/dist/cli-contract.js +816 -243
  134. package/node_modules/@ykdz/cli-contract/dist/cli-execution.d.ts +11 -7
  135. package/node_modules/@ykdz/cli-contract/dist/cli-execution.js +69 -22
  136. package/node_modules/@ykdz/cli-contract/dist/cli-invocation.d.ts +80 -31
  137. package/node_modules/@ykdz/cli-contract/dist/cli-invocation.js +84 -26
  138. package/node_modules/@ykdz/cli-contract/dist/contract-definition-error.d.ts +40 -7
  139. package/node_modules/@ykdz/cli-contract/dist/contract-definition-error.js +28 -6
  140. package/node_modules/@ykdz/cli-contract/dist/contract-schema-compiler.js +17 -3
  141. package/node_modules/@ykdz/cli-contract/dist/contract-schema.d.ts +4 -0
  142. package/node_modules/@ykdz/cli-contract/dist/field-identity.d.ts +2 -0
  143. package/node_modules/@ykdz/cli-contract/dist/field-identity.js +16 -0
  144. package/node_modules/@ykdz/cli-contract/dist/index.d.ts +4 -3
  145. package/node_modules/@ykdz/cli-contract/dist/index.js +2 -2
  146. package/node_modules/@ykdz/cli-contract/dist/node.d.ts +1 -1
  147. package/node_modules/@ykdz/cli-contract/dist/node.js +1 -1
  148. package/node_modules/@ykdz/cli-contract/dist/outcome-fact.d.ts +42 -9
  149. package/node_modules/@ykdz/cli-contract/dist/outcome-fact.js +98 -24
  150. package/node_modules/@ykdz/cli-contract/dist/outcome-wire.d.ts +5 -5
  151. package/node_modules/@ykdz/cli-contract/dist/outcome-wire.js +75 -15
  152. package/node_modules/@ykdz/cli-contract/package.json +6 -5
  153. package/node_modules/@ykdz/preset-rust-bin/native/package.json +46 -0
  154. package/node_modules/@ykdz/preset-rust-bin/native/template-dist/definition.d.ts +43 -0
  155. package/node_modules/@ykdz/preset-rust-bin/native/template-dist/definition.d.ts.map +1 -0
  156. package/node_modules/@ykdz/preset-rust-bin/native/template-dist/definition.js +21 -0
  157. package/node_modules/@ykdz/preset-rust-bin/package.json +20 -0
  158. package/node_modules/@ykdz/preset-ts-cli/native/package.json +48 -0
  159. package/node_modules/@ykdz/preset-ts-cli/native/template-dist/definition.d.ts +23 -0
  160. package/node_modules/@ykdz/preset-ts-cli/native/template-dist/definition.d.ts.map +1 -0
  161. package/node_modules/@ykdz/preset-ts-cli/native/template-dist/definition.js +23 -0
  162. package/node_modules/@ykdz/preset-ts-cli/package.json +20 -0
  163. package/node_modules/@ykdz/preset-ts-lib/native/package.json +45 -0
  164. package/node_modules/@ykdz/preset-ts-lib/native/template-dist/definition.d.ts +23 -0
  165. package/node_modules/@ykdz/preset-ts-lib/native/template-dist/definition.d.ts.map +1 -0
  166. package/node_modules/@ykdz/preset-ts-lib/native/template-dist/definition.js +21 -0
  167. package/node_modules/@ykdz/preset-ts-lib/package.json +20 -0
  168. package/node_modules/@ykdz/preset-vike-app/native/package.json +55 -0
  169. package/node_modules/@ykdz/preset-vike-app/native/resources/deployment/Dockerfile +76 -0
  170. package/node_modules/@ykdz/preset-vike-app/native/resources/deployment/container.dockerignore +11 -0
  171. package/node_modules/@ykdz/{template-builtin-presets/templates/vike-app/web → preset-vike-app/native/resources/deployment}/scripts/container-entrypoint.sh +0 -0
  172. package/node_modules/@ykdz/preset-vike-app/native/resources/deployment/setup-buildx-step.yml +3 -0
  173. package/node_modules/@ykdz/preset-vike-app/native/scripts/check-standalone-deployment.ts +570 -0
  174. package/node_modules/@ykdz/preset-vike-app/native/template-dist/definition.d.ts +35 -0
  175. package/node_modules/@ykdz/preset-vike-app/native/template-dist/definition.d.ts.map +1 -0
  176. package/node_modules/@ykdz/preset-vike-app/native/template-dist/definition.js +61 -0
  177. package/node_modules/@ykdz/preset-vike-app/native/template-dist/deployment.d.ts +20 -0
  178. package/node_modules/@ykdz/preset-vike-app/native/template-dist/deployment.d.ts.map +1 -0
  179. package/node_modules/@ykdz/preset-vike-app/native/template-dist/deployment.js +277 -0
  180. package/node_modules/@ykdz/preset-vike-app/package.json +24 -0
  181. package/node_modules/@ykdz/preset-vue-app/native/package.json +44 -0
  182. package/node_modules/@ykdz/preset-vue-app/native/template-dist/definition.d.ts +23 -0
  183. package/node_modules/@ykdz/preset-vue-app/native/template-dist/definition.d.ts.map +1 -0
  184. package/node_modules/@ykdz/preset-vue-app/native/template-dist/definition.js +21 -0
  185. package/node_modules/@ykdz/preset-vue-app/package.json +20 -0
  186. package/node_modules/@ykdz/preset-vue-hono-app/native/package.json +50 -0
  187. package/node_modules/@ykdz/preset-vue-hono-app/native/resources/joint-e2e/playwright.config.ts +35 -0
  188. package/node_modules/@ykdz/preset-vue-hono-app/native/resources/joint-e2e/test/e2e/app.spec.ts +10 -0
  189. package/node_modules/@ykdz/preset-vue-hono-app/native/template-dist/definition.d.ts +33 -0
  190. package/node_modules/@ykdz/preset-vue-hono-app/native/template-dist/definition.d.ts.map +1 -0
  191. package/node_modules/@ykdz/preset-vue-hono-app/native/template-dist/definition.js +129 -0
  192. package/node_modules/@ykdz/preset-vue-hono-app/package.json +21 -0
  193. package/node_modules/@ykdz/reference-hono-api/native/package.json +55 -0
  194. package/node_modules/@ykdz/reference-hono-api/native/template-dist/definition.d.ts +1 -0
  195. package/node_modules/@ykdz/reference-hono-api/native/template-dist/definition.js +33 -0
  196. package/node_modules/@ykdz/reference-hono-api/native/tsconfig.build.json +11 -0
  197. package/node_modules/@ykdz/reference-hono-api/native/tsconfig.json +15 -0
  198. package/node_modules/@ykdz/reference-hono-api/native/turbo.json +67 -0
  199. package/node_modules/@ykdz/reference-hono-api/package.json +19 -0
  200. package/node_modules/@ykdz/reference-npm-publication/native/.changeset/config.json +4 -0
  201. package/node_modules/@ykdz/reference-npm-publication/native/README.md +11 -0
  202. package/node_modules/@ykdz/reference-npm-publication/native/package.json +38 -0
  203. package/node_modules/@ykdz/reference-npm-publication/native/resources/gitignore +1 -0
  204. package/node_modules/@ykdz/reference-npm-publication/native/resources/release.yml +70 -0
  205. package/node_modules/@ykdz/reference-npm-publication/native/template-dist/definition.d.ts +5 -0
  206. package/node_modules/@ykdz/reference-npm-publication/native/template-dist/definition.d.ts.map +1 -0
  207. package/node_modules/@ykdz/reference-npm-publication/native/template-dist/definition.js +39 -0
  208. package/node_modules/@ykdz/reference-npm-publication/native/template-dist/target.d.ts +13 -0
  209. package/node_modules/@ykdz/reference-npm-publication/native/template-dist/target.d.ts.map +1 -0
  210. package/node_modules/@ykdz/reference-npm-publication/native/template-dist/target.js +30 -0
  211. package/node_modules/@ykdz/reference-npm-publication/native/template-dist/workspace.d.ts +11 -0
  212. package/node_modules/@ykdz/reference-npm-publication/native/template-dist/workspace.d.ts.map +1 -0
  213. package/node_modules/@ykdz/reference-npm-publication/native/template-dist/workspace.js +51 -0
  214. package/node_modules/@ykdz/reference-npm-publication/package.json +19 -0
  215. package/node_modules/@ykdz/reference-rust-bin/native/Cargo.lock +16 -0
  216. package/node_modules/@ykdz/reference-rust-bin/native/Cargo.toml +27 -0
  217. package/node_modules/@ykdz/reference-rust-bin/native/package.json +38 -0
  218. package/node_modules/@ykdz/reference-rust-bin/native/template/rust-toolchain.toml +3 -0
  219. package/node_modules/@ykdz/reference-rust-bin/native/template-dist/definition.d.ts +15 -0
  220. package/node_modules/@ykdz/reference-rust-bin/native/template-dist/definition.d.ts.map +1 -0
  221. package/node_modules/@ykdz/reference-rust-bin/native/template-dist/definition.js +145 -0
  222. package/node_modules/@ykdz/reference-rust-bin/native/tsconfig.json +8 -0
  223. package/node_modules/@ykdz/reference-rust-bin/native/turbo.json +63 -0
  224. package/node_modules/@ykdz/reference-rust-bin/package.json +20 -0
  225. package/node_modules/@ykdz/reference-tooling-config/native/node.json +13 -0
  226. package/node_modules/@ykdz/reference-tooling-config/native/oxlint.config.ts +8 -0
  227. package/node_modules/@ykdz/reference-tooling-config/native/package.json +37 -0
  228. package/node_modules/@ykdz/reference-tooling-config/native/template-dist/definition.d.ts +27 -0
  229. package/node_modules/@ykdz/reference-tooling-config/native/template-dist/definition.js +27 -0
  230. package/node_modules/@ykdz/reference-tooling-config/native/tsconfig.json +9 -0
  231. package/node_modules/@ykdz/reference-tooling-config/native/turbo.json +51 -0
  232. package/node_modules/@ykdz/reference-tooling-config/package.json +16 -0
  233. package/node_modules/@ykdz/reference-ts-cli/native/package.json +56 -0
  234. package/node_modules/@ykdz/reference-ts-cli/native/src/cli.ts +17 -0
  235. package/node_modules/@ykdz/reference-ts-cli/native/src/main.ts +162 -0
  236. package/node_modules/@ykdz/reference-ts-cli/native/template-dist/definition.d.ts +8 -0
  237. package/node_modules/@ykdz/reference-ts-cli/native/template-dist/definition.d.ts.map +1 -0
  238. package/node_modules/@ykdz/reference-ts-cli/native/template-dist/definition.js +80 -0
  239. package/node_modules/@ykdz/reference-ts-cli/native/test/e2e/journey.ts +31 -0
  240. package/node_modules/@ykdz/reference-ts-cli/native/test/e2e/journeys/lookup.journey.ts +76 -0
  241. package/node_modules/@ykdz/reference-ts-cli/native/test/e2e/run-journeys.ts +240 -0
  242. package/node_modules/@ykdz/reference-ts-cli/native/test/e2e/source-journeys.test.ts +9 -0
  243. package/node_modules/@ykdz/reference-ts-cli/native/test/integration/command.test.ts +147 -0
  244. package/node_modules/@ykdz/reference-ts-cli/native/test/unit/cli-command-identity.test.ts +76 -0
  245. package/node_modules/@ykdz/reference-ts-cli/native/tsconfig.build.json +12 -0
  246. package/node_modules/@ykdz/reference-ts-cli/native/tsconfig.json +8 -0
  247. package/node_modules/@ykdz/reference-ts-cli/native/tsconfig.node.json +7 -0
  248. package/node_modules/@ykdz/reference-ts-cli/native/turbo.json +75 -0
  249. package/node_modules/@ykdz/reference-ts-cli/package.json +20 -0
  250. package/node_modules/@ykdz/reference-ts-lib/native/package.json +57 -0
  251. package/node_modules/@ykdz/reference-ts-lib/native/template-dist/definition.d.ts +1 -0
  252. package/node_modules/@ykdz/reference-ts-lib/native/template-dist/definition.js +43 -0
  253. package/node_modules/@ykdz/reference-ts-lib/native/tsconfig.build.json +9 -0
  254. package/node_modules/@ykdz/reference-ts-lib/native/tsconfig.json +8 -0
  255. package/node_modules/@ykdz/reference-ts-lib/native/tsconfig.node.json +8 -0
  256. package/node_modules/@ykdz/reference-ts-lib/native/turbo.json +63 -0
  257. package/node_modules/@ykdz/reference-ts-lib/package.json +20 -0
  258. package/node_modules/@ykdz/reference-vike-db/native/package.json +83 -0
  259. package/node_modules/@ykdz/reference-vike-db/native/template-dist/definition.d.ts +1 -0
  260. package/node_modules/@ykdz/reference-vike-db/native/template-dist/definition.js +39 -0
  261. package/node_modules/@ykdz/reference-vike-db/native/tsconfig.build.json +12 -0
  262. package/node_modules/@ykdz/reference-vike-db/native/tsconfig.json +11 -0
  263. package/node_modules/@ykdz/reference-vike-db/native/tsconfig.node.json +19 -0
  264. package/node_modules/@ykdz/reference-vike-db/native/tsconfig.scripts.json +13 -0
  265. package/node_modules/@ykdz/reference-vike-db/native/turbo.json +67 -0
  266. package/node_modules/@ykdz/reference-vike-db/package.json +19 -0
  267. package/node_modules/@ykdz/reference-vike-migrations/native/drizzle.config.ts +22 -0
  268. package/node_modules/@ykdz/reference-vike-migrations/native/package.json +51 -0
  269. package/node_modules/@ykdz/reference-vike-migrations/native/template-dist/definition.d.ts +1 -0
  270. package/node_modules/@ykdz/reference-vike-migrations/native/template-dist/definition.js +39 -0
  271. package/node_modules/@ykdz/reference-vike-migrations/native/tsconfig.json +15 -0
  272. package/node_modules/@ykdz/reference-vike-migrations/native/turbo.json +76 -0
  273. package/node_modules/@ykdz/reference-vike-migrations/package.json +19 -0
  274. package/node_modules/@ykdz/reference-vike-web/native/package.json +84 -0
  275. package/node_modules/@ykdz/reference-vike-web/native/pages/index/+Page.telefunc.ts +12 -0
  276. package/node_modules/@ykdz/reference-vike-web/native/pages/index/+Page.vue +89 -0
  277. package/node_modules/@ykdz/reference-vike-web/native/server/app.ts +36 -0
  278. package/node_modules/@ykdz/reference-vike-web/native/server/database.ts +2 -0
  279. package/node_modules/@ykdz/reference-vike-web/native/template-dist/definition.d.ts +1 -0
  280. package/node_modules/@ykdz/reference-vike-web/native/template-dist/definition.js +59 -0
  281. package/node_modules/@ykdz/reference-vike-web/native/test/e2e/app.spec.ts +16 -0
  282. package/node_modules/@ykdz/reference-vike-web/native/test/todos.browser.test.ts +37 -0
  283. package/node_modules/@ykdz/reference-vike-web/native/tooling/vite.ts +5 -0
  284. package/node_modules/@ykdz/reference-vike-web/native/tsconfig.app.json +27 -0
  285. package/node_modules/@ykdz/reference-vike-web/native/tsconfig.json +11 -0
  286. package/node_modules/@ykdz/reference-vike-web/native/tsconfig.node.json +33 -0
  287. package/node_modules/@ykdz/reference-vike-web/native/turbo.json +92 -0
  288. package/node_modules/@ykdz/reference-vike-web/native/types/global.d.ts +9 -0
  289. package/node_modules/@ykdz/reference-vike-web/native/vite.config.ts +16 -0
  290. package/node_modules/@ykdz/reference-vike-web/native/vitest.config.ts +37 -0
  291. package/node_modules/@ykdz/reference-vike-web/package.json +20 -0
  292. package/node_modules/@ykdz/reference-vue-app/native/TESTING.md +7 -0
  293. package/node_modules/@ykdz/reference-vue-app/native/package.json +70 -0
  294. package/node_modules/@ykdz/reference-vue-app/native/src/components/CounterButton.vue +18 -0
  295. package/node_modules/@ykdz/reference-vue-app/native/src/style.css +2 -0
  296. package/node_modules/@ykdz/reference-vue-app/native/template-dist/definition.d.ts +1 -0
  297. package/node_modules/@ykdz/reference-vue-app/native/template-dist/definition.js +53 -0
  298. package/node_modules/@ykdz/reference-vue-app/native/test/app.browser.test.ts +13 -0
  299. package/node_modules/@ykdz/reference-vue-app/native/test/counter.node.test.ts +15 -0
  300. package/node_modules/@ykdz/reference-vue-app/native/test/e2e/app.spec.ts +15 -0
  301. package/node_modules/@ykdz/reference-vue-app/native/tsconfig.app.json +18 -0
  302. package/node_modules/@ykdz/reference-vue-app/native/tsconfig.json +11 -0
  303. package/node_modules/@ykdz/reference-vue-app/native/tsconfig.node.json +25 -0
  304. package/node_modules/@ykdz/reference-vue-app/native/turbo.json +84 -0
  305. package/node_modules/@ykdz/reference-vue-app/native/vite.config.ts +8 -0
  306. package/node_modules/@ykdz/reference-vue-app/native/vitest.config.ts +37 -0
  307. package/node_modules/@ykdz/reference-vue-app/package.json +20 -0
  308. package/node_modules/@ykdz/reference-vue-hono-web/native/TESTING.md +7 -0
  309. package/node_modules/@ykdz/reference-vue-hono-web/native/package.json +66 -0
  310. package/node_modules/@ykdz/reference-vue-hono-web/native/src/App.vue +49 -0
  311. package/node_modules/@ykdz/reference-vue-hono-web/native/src/main.ts +7 -0
  312. package/node_modules/@ykdz/reference-vue-hono-web/native/src/style.css +2 -0
  313. package/node_modules/@ykdz/reference-vue-hono-web/native/template-dist/definition.d.ts +1 -0
  314. package/node_modules/@ykdz/reference-vue-hono-web/native/template-dist/definition.js +49 -0
  315. package/node_modules/@ykdz/reference-vue-hono-web/native/test/app.browser.test.ts +13 -0
  316. package/node_modules/@ykdz/reference-vue-hono-web/native/tsconfig.app.json +18 -0
  317. package/node_modules/@ykdz/reference-vue-hono-web/native/tsconfig.json +11 -0
  318. package/node_modules/@ykdz/reference-vue-hono-web/native/tsconfig.node.json +25 -0
  319. package/node_modules/@ykdz/reference-vue-hono-web/native/turbo.json +74 -0
  320. package/node_modules/@ykdz/reference-vue-hono-web/native/vite.config.ts +28 -0
  321. package/node_modules/@ykdz/reference-vue-hono-web/native/vitest.config.ts +37 -0
  322. package/node_modules/@ykdz/reference-vue-hono-web/package.json +20 -0
  323. package/node_modules/@ykdz/template-content/dist/index.d.ts +14 -0
  324. package/node_modules/@ykdz/template-content/dist/index.js +9 -0
  325. package/node_modules/@ykdz/template-content/dist/template-members.d.ts +9 -0
  326. package/node_modules/@ykdz/template-content/dist/template-members.js +16 -0
  327. package/node_modules/@ykdz/template-content/package.json +18 -0
  328. package/node_modules/@ykdz/template-content-provider-51cfac9642dc43a4/dist/index.d.ts +45 -0
  329. package/node_modules/@ykdz/template-content-provider-51cfac9642dc43a4/dist/index.js +30 -0
  330. package/node_modules/@ykdz/template-content-provider-51cfac9642dc43a4/package.json +35 -0
  331. package/node_modules/@ykdz/template-core/dist/content-identity.d.ts +42 -0
  332. package/node_modules/@ykdz/template-core/dist/content-identity.js +117 -0
  333. package/node_modules/@ykdz/template-core/dist/generation-record.d.ts +28 -0
  334. package/node_modules/@ykdz/template-core/dist/generation-record.js +45 -0
  335. package/node_modules/@ykdz/template-core/dist/package-contribution.d.ts +3 -81
  336. package/node_modules/@ykdz/template-core/dist/package-contribution.js +19 -64
  337. package/node_modules/@ykdz/template-core/dist/preset-definition.d.ts +73 -97
  338. package/node_modules/@ykdz/template-core/dist/preset-definition.js +107 -15
  339. package/node_modules/@ykdz/template-core/dist/project-blueprint.d.ts +3 -11
  340. package/node_modules/@ykdz/template-core/dist/project-blueprint.js +23 -71
  341. package/node_modules/@ykdz/template-core/dist/project-projection.js +4 -17
  342. package/node_modules/@ykdz/template-core/dist/renderer-policy-snapshot.d.ts +1 -0
  343. package/node_modules/@ykdz/template-core/dist/renderer-policy-snapshot.js +2 -0
  344. package/node_modules/@ykdz/template-core/dist/renderer.d.ts +7 -25
  345. package/node_modules/@ykdz/template-core/dist/renderer.js +14 -252
  346. package/node_modules/@ykdz/template-core/dist/toml.d.ts +6 -0
  347. package/node_modules/@ykdz/template-core/dist/toml.js +31 -0
  348. package/node_modules/@ykdz/template-core/dist/workspace-strategy.d.ts +188 -0
  349. package/node_modules/@ykdz/template-core/dist/workspace-strategy.js +1 -0
  350. package/node_modules/@ykdz/template-core/package.json +24 -20
  351. package/node_modules/@ykdz/template-environment/dist/development-container-tool-layer.d.ts +65 -0
  352. package/node_modules/@ykdz/template-environment/dist/development-container-tool-layer.js +414 -0
  353. package/node_modules/@ykdz/template-environment/package.json +36 -0
  354. package/node_modules/@ykdz/template-generator/dist/content-source.d.ts +13 -0
  355. package/node_modules/@ykdz/template-generator/dist/content-source.js +181 -0
  356. package/node_modules/@ykdz/template-generator/dist/index.d.ts +82 -0
  357. package/node_modules/@ykdz/template-generator/dist/index.js +1147 -0
  358. package/node_modules/@ykdz/template-generator/package.json +41 -0
  359. package/node_modules/@ykdz/template-workspace/assets/environment/devcontainer/workspace-template.json +16 -0
  360. package/node_modules/@ykdz/template-workspace/assets/github/check.yml +83 -0
  361. package/node_modules/@ykdz/template-workspace/assets/github/dependabot.yml +49 -0
  362. package/node_modules/@ykdz/template-workspace/assets/next-steps.md +3 -0
  363. package/node_modules/@ykdz/template-workspace/assets/tsconfig.config.json +6 -0
  364. package/node_modules/@ykdz/template-workspace/assets/turbo.json +64 -0
  365. package/node_modules/@ykdz/template-workspace/dist/application-requirements.d.ts +14 -0
  366. package/node_modules/@ykdz/template-workspace/dist/application-requirements.js +42 -0
  367. package/node_modules/@ykdz/template-workspace/dist/ci-diagnostic-artifact.d.ts +17 -0
  368. package/node_modules/@ykdz/template-workspace/dist/ci-diagnostic-artifact.js +74 -0
  369. package/node_modules/@ykdz/template-workspace/dist/default-environment-sources.d.ts +5 -0
  370. package/node_modules/@ykdz/template-workspace/dist/default-environment-sources.js +8 -0
  371. package/node_modules/@ykdz/template-workspace/dist/default-environment.d.ts +9 -0
  372. package/node_modules/@ykdz/template-workspace/dist/default-environment.js +5 -0
  373. package/node_modules/@ykdz/template-workspace/dist/default-package-identity.d.ts +19 -0
  374. package/node_modules/@ykdz/template-workspace/dist/default-package-identity.js +128 -0
  375. package/node_modules/@ykdz/template-workspace/dist/default-package-role.d.ts +4 -0
  376. package/node_modules/@ykdz/template-workspace/dist/default-package-role.js +9 -0
  377. package/node_modules/@ykdz/template-workspace/dist/default-workspace-strategy.d.ts +89 -0
  378. package/node_modules/@ykdz/template-workspace/dist/default-workspace-strategy.js +967 -0
  379. package/node_modules/@ykdz/template-workspace/dist/dependency-catalog.d.ts +25 -0
  380. package/node_modules/@ykdz/template-workspace/dist/dependency-catalog.js +159 -0
  381. package/node_modules/@ykdz/template-workspace/dist/development-container.d.ts +3 -0
  382. package/node_modules/@ykdz/template-workspace/dist/development-container.js +36 -0
  383. package/node_modules/@ykdz/template-workspace/dist/development-environment.d.ts +36 -0
  384. package/node_modules/@ykdz/template-workspace/dist/development-environment.js +241 -0
  385. package/node_modules/@ykdz/template-workspace/dist/editor-customization.d.ts +18 -0
  386. package/node_modules/@ykdz/template-workspace/dist/editor-customization.js +83 -0
  387. package/node_modules/@ykdz/template-workspace/dist/environment-needs.d.ts +51 -0
  388. package/node_modules/@ykdz/template-workspace/dist/environment-needs.js +167 -0
  389. package/node_modules/@ykdz/template-workspace/dist/generation-context.d.ts +14 -0
  390. package/node_modules/@ykdz/template-workspace/dist/package-addition-facts.d.ts +21 -0
  391. package/node_modules/@ykdz/template-workspace/dist/package-addition-facts.js +90 -0
  392. package/node_modules/@ykdz/template-workspace/dist/package-contribution.d.ts +64 -0
  393. package/node_modules/@ykdz/template-workspace/dist/package-contribution.js +65 -0
  394. package/node_modules/@ykdz/template-workspace/dist/project-github.d.ts +24 -0
  395. package/node_modules/@ykdz/template-workspace/dist/project-github.js +98 -0
  396. package/node_modules/@ykdz/template-workspace/dist/project-linking.d.ts +48 -0
  397. package/node_modules/@ykdz/template-workspace/dist/project-linking.js +218 -0
  398. package/node_modules/@ykdz/template-workspace/dist/project-requirements.d.ts +17 -0
  399. package/node_modules/@ykdz/template-workspace/dist/reference-package.d.ts +146 -0
  400. package/node_modules/@ykdz/template-workspace/dist/reference-package.js +521 -0
  401. package/node_modules/@ykdz/template-workspace/dist/release-toolchain-snapshot.d.ts +6 -0
  402. package/node_modules/@ykdz/template-workspace/dist/release-toolchain-snapshot.js +6 -0
  403. package/node_modules/@ykdz/template-workspace/dist/root-projection.d.ts +29 -0
  404. package/node_modules/@ykdz/template-workspace/dist/root-projection.js +144 -0
  405. package/node_modules/@ykdz/template-workspace/dist/rust-target-projection.d.ts +35 -0
  406. package/node_modules/@ykdz/template-workspace/dist/rust-target-projection.js +74 -0
  407. package/node_modules/@ykdz/template-workspace/dist/rust-toolchain-facts.d.ts +22 -0
  408. package/node_modules/@ykdz/template-workspace/dist/rust-toolchain-facts.js +64 -0
  409. package/node_modules/@ykdz/template-workspace/dist/shared-root-files.d.ts +99 -0
  410. package/node_modules/@ykdz/template-workspace/dist/shared-root-files.js +159 -0
  411. package/node_modules/@ykdz/template-workspace/dist/vue-policy.d.ts +5 -0
  412. package/node_modules/@ykdz/template-workspace/dist/vue-policy.js +5 -0
  413. package/node_modules/@ykdz/template-workspace/dist/workspace-policy-snapshot.d.ts +20 -0
  414. package/node_modules/@ykdz/template-workspace/dist/workspace-policy-snapshot.js +86 -0
  415. package/node_modules/@ykdz/template-workspace/dist/workspace-resources.d.ts +23 -0
  416. package/node_modules/@ykdz/template-workspace/dist/workspace-resources.js +83 -0
  417. package/node_modules/@ykdz/template-workspace/package.json +135 -0
  418. package/node_modules/@ykdz/template-workspace/resources/oxfmt.config.ts +1 -0
  419. package/node_modules/@ykdz/template-workspace/resources/oxlint.config.ts +4 -0
  420. package/node_modules/@ykdz/template-workspace/scripts/sync-snapshot.ts +27 -0
  421. package/node_modules/@ykdz/template-workspace/scripts/task-gates.ts +631 -0
  422. package/node_modules/@ykdz/template-workspace-authoring/dist/content-artifact.d.ts +57 -0
  423. package/node_modules/@ykdz/template-workspace-authoring/dist/content-artifact.js +168 -0
  424. package/node_modules/@ykdz/template-workspace-authoring/dist/package-name-projection.d.ts +2 -0
  425. package/node_modules/@ykdz/template-workspace-authoring/dist/package-name-projection.js +22 -0
  426. package/node_modules/@ykdz/template-workspace-authoring/dist/resource-ignore-snapshot.d.ts +1 -0
  427. package/node_modules/@ykdz/template-workspace-authoring/dist/resource-ignore-snapshot.js +2 -0
  428. package/node_modules/@ykdz/template-workspace-authoring/dist/typescript-module-specifiers.d.ts +2 -0
  429. package/node_modules/@ykdz/template-workspace-authoring/dist/typescript-module-specifiers.js +36 -0
  430. package/node_modules/@ykdz/template-workspace-authoring/package.json +55 -0
  431. package/node_modules/eslint-visitor-keys/LICENSE +201 -0
  432. package/node_modules/eslint-visitor-keys/README.md +123 -0
  433. package/node_modules/eslint-visitor-keys/dist/eslint-visitor-keys.cjs +187 -0
  434. package/node_modules/eslint-visitor-keys/dist/eslint-visitor-keys.d.cts +28 -0
  435. package/node_modules/eslint-visitor-keys/dist/index.d.ts +16 -0
  436. package/node_modules/eslint-visitor-keys/dist/visitor-keys.d.ts +12 -0
  437. package/node_modules/eslint-visitor-keys/lib/index.js +67 -0
  438. package/node_modules/eslint-visitor-keys/lib/visitor-keys.js +118 -0
  439. package/node_modules/eslint-visitor-keys/package.json +57 -0
  440. package/node_modules/ignore/LICENSE-MIT +21 -0
  441. package/node_modules/ignore/README.md +501 -0
  442. package/node_modules/ignore/index.d.ts +81 -0
  443. package/node_modules/ignore/index.js +1566 -0
  444. package/node_modules/ignore/legacy.js +1346 -0
  445. package/node_modules/ignore/package.json +93 -0
  446. package/node_modules/smol-toml/dist/extract.js +5 -1
  447. package/node_modules/smol-toml/dist/index.cjs +2 -1
  448. package/node_modules/smol-toml/package.json +6 -6
  449. package/node_modules/toml-eslint-parser/LICENSE +21 -0
  450. package/node_modules/toml-eslint-parser/README.md +192 -0
  451. package/node_modules/toml-eslint-parser/lib/chunk-15K8U1wQ.mjs +18 -0
  452. package/node_modules/toml-eslint-parser/lib/index.d.mts +284 -0
  453. package/node_modules/toml-eslint-parser/lib/index.mjs +2219 -0
  454. package/node_modules/toml-eslint-parser/package.json +102 -0
  455. package/node_modules/typescript-7/LICENSE +55 -0
  456. package/node_modules/typescript-7/NOTICE.txt +436 -0
  457. package/node_modules/typescript-7/README.md +49 -0
  458. package/node_modules/typescript-7/bin/tsc +2 -0
  459. package/node_modules/typescript-7/dist/api/async/api.d.ts +529 -0
  460. package/node_modules/typescript-7/dist/api/async/api.d.ts.map +1 -0
  461. package/node_modules/typescript-7/dist/api/async/api.js +1657 -0
  462. package/node_modules/typescript-7/dist/api/async/api.js.map +1 -0
  463. package/node_modules/typescript-7/dist/api/async/client.d.ts +39 -0
  464. package/node_modules/typescript-7/dist/api/async/client.d.ts.map +1 -0
  465. package/node_modules/typescript-7/dist/api/async/client.js +211 -0
  466. package/node_modules/typescript-7/dist/api/async/client.js.map +1 -0
  467. package/node_modules/typescript-7/dist/api/async/types.d.ts +310 -0
  468. package/node_modules/typescript-7/dist/api/async/types.d.ts.map +1 -0
  469. package/node_modules/typescript-7/dist/api/async/types.js +2 -0
  470. package/node_modules/typescript-7/dist/api/async/types.js.map +1 -0
  471. package/node_modules/typescript-7/dist/api/compilerOptions.d.ts +109 -0
  472. package/node_modules/typescript-7/dist/api/compilerOptions.d.ts.map +1 -0
  473. package/node_modules/typescript-7/dist/api/compilerOptions.js +2 -0
  474. package/node_modules/typescript-7/dist/api/compilerOptions.js.map +1 -0
  475. package/node_modules/typescript-7/dist/api/fs.d.ts +23 -0
  476. package/node_modules/typescript-7/dist/api/fs.d.ts.map +1 -0
  477. package/node_modules/typescript-7/dist/api/fs.js +109 -0
  478. package/node_modules/typescript-7/dist/api/fs.js.map +1 -0
  479. package/node_modules/typescript-7/dist/api/node/encoder.d.ts +15 -0
  480. package/node_modules/typescript-7/dist/api/node/encoder.d.ts.map +1 -0
  481. package/node_modules/typescript-7/dist/api/node/encoder.generated.d.ts +5 -0
  482. package/node_modules/typescript-7/dist/api/node/encoder.generated.d.ts.map +1 -0
  483. package/node_modules/typescript-7/dist/api/node/encoder.generated.js +74 -0
  484. package/node_modules/typescript-7/dist/api/node/encoder.generated.js.map +1 -0
  485. package/node_modules/typescript-7/dist/api/node/encoder.js +287 -0
  486. package/node_modules/typescript-7/dist/api/node/encoder.js.map +1 -0
  487. package/node_modules/typescript-7/dist/api/node/msgpack.d.ts +32 -0
  488. package/node_modules/typescript-7/dist/api/node/msgpack.d.ts.map +1 -0
  489. package/node_modules/typescript-7/dist/api/node/msgpack.js +213 -0
  490. package/node_modules/typescript-7/dist/api/node/msgpack.js.map +1 -0
  491. package/node_modules/typescript-7/dist/api/node/node.d.ts +76 -0
  492. package/node_modules/typescript-7/dist/api/node/node.d.ts.map +1 -0
  493. package/node_modules/typescript-7/dist/api/node/node.generated.d.ts +182 -0
  494. package/node_modules/typescript-7/dist/api/node/node.generated.d.ts.map +1 -0
  495. package/node_modules/typescript-7/dist/api/node/node.generated.js +835 -0
  496. package/node_modules/typescript-7/dist/api/node/node.generated.js.map +1 -0
  497. package/node_modules/typescript-7/dist/api/node/node.infrastructure.d.ts +62 -0
  498. package/node_modules/typescript-7/dist/api/node/node.infrastructure.d.ts.map +1 -0
  499. package/node_modules/typescript-7/dist/api/node/node.infrastructure.js +122 -0
  500. package/node_modules/typescript-7/dist/api/node/node.infrastructure.js.map +1 -0
  501. package/node_modules/typescript-7/dist/api/node/node.js +298 -0
  502. package/node_modules/typescript-7/dist/api/node/node.js.map +1 -0
  503. package/node_modules/typescript-7/dist/api/node/protocol.d.ts +29 -0
  504. package/node_modules/typescript-7/dist/api/node/protocol.d.ts.map +1 -0
  505. package/node_modules/typescript-7/dist/api/node/protocol.generated.d.ts +4 -0
  506. package/node_modules/typescript-7/dist/api/node/protocol.generated.d.ts.map +1 -0
  507. package/node_modules/typescript-7/dist/api/node/protocol.generated.js +241 -0
  508. package/node_modules/typescript-7/dist/api/node/protocol.generated.js.map +1 -0
  509. package/node_modules/typescript-7/dist/api/node/protocol.js +30 -0
  510. package/node_modules/typescript-7/dist/api/node/protocol.js.map +1 -0
  511. package/node_modules/typescript-7/dist/api/node/wtf8.d.ts +6 -0
  512. package/node_modules/typescript-7/dist/api/node/wtf8.d.ts.map +1 -0
  513. package/node_modules/typescript-7/dist/api/node/wtf8.js +61 -0
  514. package/node_modules/typescript-7/dist/api/node/wtf8.js.map +1 -0
  515. package/node_modules/typescript-7/dist/api/options.d.ts +32 -0
  516. package/node_modules/typescript-7/dist/api/options.d.ts.map +1 -0
  517. package/node_modules/typescript-7/dist/api/options.js +11 -0
  518. package/node_modules/typescript-7/dist/api/options.js.map +1 -0
  519. package/node_modules/typescript-7/dist/api/path.d.ts +110 -0
  520. package/node_modules/typescript-7/dist/api/path.d.ts.map +1 -0
  521. package/node_modules/typescript-7/dist/api/path.js +508 -0
  522. package/node_modules/typescript-7/dist/api/path.js.map +1 -0
  523. package/node_modules/typescript-7/dist/api/proto.d.ts +239 -0
  524. package/node_modules/typescript-7/dist/api/proto.d.ts.map +1 -0
  525. package/node_modules/typescript-7/dist/api/proto.js +37 -0
  526. package/node_modules/typescript-7/dist/api/proto.js.map +1 -0
  527. package/node_modules/typescript-7/dist/api/sourceFileCache.d.ts +79 -0
  528. package/node_modules/typescript-7/dist/api/sourceFileCache.d.ts.map +1 -0
  529. package/node_modules/typescript-7/dist/api/sourceFileCache.js +169 -0
  530. package/node_modules/typescript-7/dist/api/sourceFileCache.js.map +1 -0
  531. package/node_modules/typescript-7/dist/api/sync/api.d.ts +529 -0
  532. package/node_modules/typescript-7/dist/api/sync/api.d.ts.map +1 -0
  533. package/node_modules/typescript-7/dist/api/sync/api.js +1665 -0
  534. package/node_modules/typescript-7/dist/api/sync/api.js.map +1 -0
  535. package/node_modules/typescript-7/dist/api/sync/client.d.ts +30 -0
  536. package/node_modules/typescript-7/dist/api/sync/client.d.ts.map +1 -0
  537. package/node_modules/typescript-7/dist/api/sync/client.js +124 -0
  538. package/node_modules/typescript-7/dist/api/sync/client.js.map +1 -0
  539. package/node_modules/typescript-7/dist/api/sync/types.d.ts +310 -0
  540. package/node_modules/typescript-7/dist/api/sync/types.d.ts.map +1 -0
  541. package/node_modules/typescript-7/dist/api/sync/types.js +2 -0
  542. package/node_modules/typescript-7/dist/api/sync/types.js.map +1 -0
  543. package/node_modules/typescript-7/dist/api/syncChannel.d.ts +114 -0
  544. package/node_modules/typescript-7/dist/api/syncChannel.d.ts.map +1 -0
  545. package/node_modules/typescript-7/dist/api/syncChannel.js +508 -0
  546. package/node_modules/typescript-7/dist/api/syncChannel.js.map +1 -0
  547. package/node_modules/typescript-7/dist/api/timing.d.ts +175 -0
  548. package/node_modules/typescript-7/dist/api/timing.d.ts.map +1 -0
  549. package/node_modules/typescript-7/dist/api/timing.js +149 -0
  550. package/node_modules/typescript-7/dist/api/timing.js.map +1 -0
  551. package/node_modules/typescript-7/dist/ast/ast.d.ts +100 -0
  552. package/node_modules/typescript-7/dist/ast/ast.d.ts.map +1 -0
  553. package/node_modules/typescript-7/dist/ast/ast.generated.d.ts +1161 -0
  554. package/node_modules/typescript-7/dist/ast/ast.generated.d.ts.map +1 -0
  555. package/node_modules/typescript-7/dist/ast/ast.generated.js +4 -0
  556. package/node_modules/typescript-7/dist/ast/ast.generated.js.map +1 -0
  557. package/node_modules/typescript-7/dist/ast/ast.js +7 -0
  558. package/node_modules/typescript-7/dist/ast/ast.js.map +1 -0
  559. package/node_modules/typescript-7/dist/ast/astnav.d.ts +19 -0
  560. package/node_modules/typescript-7/dist/ast/astnav.d.ts.map +1 -0
  561. package/node_modules/typescript-7/dist/ast/astnav.js +596 -0
  562. package/node_modules/typescript-7/dist/ast/astnav.js.map +1 -0
  563. package/node_modules/typescript-7/dist/ast/clone.d.ts +16 -0
  564. package/node_modules/typescript-7/dist/ast/clone.d.ts.map +1 -0
  565. package/node_modules/typescript-7/dist/ast/clone.js +104 -0
  566. package/node_modules/typescript-7/dist/ast/clone.js.map +1 -0
  567. package/node_modules/typescript-7/dist/ast/factory.generated.d.ts +520 -0
  568. package/node_modules/typescript-7/dist/ast/factory.generated.d.ts.map +1 -0
  569. package/node_modules/typescript-7/dist/ast/factory.generated.js +3057 -0
  570. package/node_modules/typescript-7/dist/ast/factory.generated.js.map +1 -0
  571. package/node_modules/typescript-7/dist/ast/index.d.ts +20 -0
  572. package/node_modules/typescript-7/dist/ast/index.d.ts.map +1 -0
  573. package/node_modules/typescript-7/dist/ast/index.js +20 -0
  574. package/node_modules/typescript-7/dist/ast/index.js.map +1 -0
  575. package/node_modules/typescript-7/dist/ast/is.d.ts +35 -0
  576. package/node_modules/typescript-7/dist/ast/is.d.ts.map +1 -0
  577. package/node_modules/typescript-7/dist/ast/is.generated.d.ts +329 -0
  578. package/node_modules/typescript-7/dist/ast/is.generated.d.ts.map +1 -0
  579. package/node_modules/typescript-7/dist/ast/is.generated.js +1103 -0
  580. package/node_modules/typescript-7/dist/ast/is.generated.js.map +1 -0
  581. package/node_modules/typescript-7/dist/ast/is.js +233 -0
  582. package/node_modules/typescript-7/dist/ast/is.js.map +1 -0
  583. package/node_modules/typescript-7/dist/ast/jsdoc.d.ts +11 -0
  584. package/node_modules/typescript-7/dist/ast/jsdoc.d.ts.map +1 -0
  585. package/node_modules/typescript-7/dist/ast/jsdoc.js +202 -0
  586. package/node_modules/typescript-7/dist/ast/jsdoc.js.map +1 -0
  587. package/node_modules/typescript-7/dist/ast/scanner.d.ts +97 -0
  588. package/node_modules/typescript-7/dist/ast/scanner.d.ts.map +1 -0
  589. package/node_modules/typescript-7/dist/ast/scanner.js +2230 -0
  590. package/node_modules/typescript-7/dist/ast/scanner.js.map +1 -0
  591. package/node_modules/typescript-7/dist/ast/utils.d.ts +17 -0
  592. package/node_modules/typescript-7/dist/ast/utils.d.ts.map +1 -0
  593. package/node_modules/typescript-7/dist/ast/utils.js +67 -0
  594. package/node_modules/typescript-7/dist/ast/utils.js.map +1 -0
  595. package/node_modules/typescript-7/dist/ast/visitor.d.ts +14 -0
  596. package/node_modules/typescript-7/dist/ast/visitor.d.ts.map +1 -0
  597. package/node_modules/typescript-7/dist/ast/visitor.generated.d.ts +50 -0
  598. package/node_modules/typescript-7/dist/ast/visitor.generated.d.ts.map +1 -0
  599. package/node_modules/typescript-7/dist/ast/visitor.generated.js +978 -0
  600. package/node_modules/typescript-7/dist/ast/visitor.generated.js.map +1 -0
  601. package/node_modules/typescript-7/dist/ast/visitor.js +47 -0
  602. package/node_modules/typescript-7/dist/ast/visitor.js.map +1 -0
  603. package/node_modules/typescript-7/dist/enums/characterCodes.d.ts +2 -0
  604. package/node_modules/typescript-7/dist/enums/characterCodes.d.ts.map +1 -0
  605. package/node_modules/typescript-7/dist/enums/characterCodes.enum.d.ts +129 -0
  606. package/node_modules/typescript-7/dist/enums/characterCodes.enum.d.ts.map +1 -0
  607. package/node_modules/typescript-7/dist/enums/characterCodes.enum.js +132 -0
  608. package/node_modules/typescript-7/dist/enums/characterCodes.enum.js.map +1 -0
  609. package/node_modules/typescript-7/dist/enums/characterCodes.js +130 -0
  610. package/node_modules/typescript-7/dist/enums/characterCodes.js.map +1 -0
  611. package/node_modules/typescript-7/dist/enums/commentDirectiveType.d.ts +2 -0
  612. package/node_modules/typescript-7/dist/enums/commentDirectiveType.d.ts.map +1 -0
  613. package/node_modules/typescript-7/dist/enums/commentDirectiveType.enum.d.ts +5 -0
  614. package/node_modules/typescript-7/dist/enums/commentDirectiveType.enum.d.ts.map +1 -0
  615. package/node_modules/typescript-7/dist/enums/commentDirectiveType.enum.js +6 -0
  616. package/node_modules/typescript-7/dist/enums/commentDirectiveType.enum.js.map +1 -0
  617. package/node_modules/typescript-7/dist/enums/commentDirectiveType.js +6 -0
  618. package/node_modules/typescript-7/dist/enums/commentDirectiveType.js.map +1 -0
  619. package/node_modules/typescript-7/dist/enums/completionItemKind.d.ts +2 -0
  620. package/node_modules/typescript-7/dist/enums/completionItemKind.d.ts.map +1 -0
  621. package/node_modules/typescript-7/dist/enums/completionItemKind.enum.d.ts +28 -0
  622. package/node_modules/typescript-7/dist/enums/completionItemKind.enum.d.ts.map +1 -0
  623. package/node_modules/typescript-7/dist/enums/completionItemKind.enum.js +30 -0
  624. package/node_modules/typescript-7/dist/enums/completionItemKind.enum.js.map +1 -0
  625. package/node_modules/typescript-7/dist/enums/completionItemKind.js +30 -0
  626. package/node_modules/typescript-7/dist/enums/completionItemKind.js.map +1 -0
  627. package/node_modules/typescript-7/dist/enums/diagnosticCategory.d.ts +2 -0
  628. package/node_modules/typescript-7/dist/enums/diagnosticCategory.d.ts.map +1 -0
  629. package/node_modules/typescript-7/dist/enums/diagnosticCategory.enum.d.ts +7 -0
  630. package/node_modules/typescript-7/dist/enums/diagnosticCategory.enum.d.ts.map +1 -0
  631. package/node_modules/typescript-7/dist/enums/diagnosticCategory.enum.js +9 -0
  632. package/node_modules/typescript-7/dist/enums/diagnosticCategory.enum.js.map +1 -0
  633. package/node_modules/typescript-7/dist/enums/diagnosticCategory.js +9 -0
  634. package/node_modules/typescript-7/dist/enums/diagnosticCategory.js.map +1 -0
  635. package/node_modules/typescript-7/dist/enums/elementFlags.d.ts +2 -0
  636. package/node_modules/typescript-7/dist/enums/elementFlags.d.ts.map +1 -0
  637. package/node_modules/typescript-7/dist/enums/elementFlags.enum.d.ts +12 -0
  638. package/node_modules/typescript-7/dist/enums/elementFlags.enum.d.ts.map +1 -0
  639. package/node_modules/typescript-7/dist/enums/elementFlags.enum.js +14 -0
  640. package/node_modules/typescript-7/dist/enums/elementFlags.enum.js.map +1 -0
  641. package/node_modules/typescript-7/dist/enums/elementFlags.js +14 -0
  642. package/node_modules/typescript-7/dist/enums/elementFlags.js.map +1 -0
  643. package/node_modules/typescript-7/dist/enums/internalSymbolName.d.ts +2 -0
  644. package/node_modules/typescript-7/dist/enums/internalSymbolName.d.ts.map +1 -0
  645. package/node_modules/typescript-7/dist/enums/internalSymbolName.enum.d.ts +23 -0
  646. package/node_modules/typescript-7/dist/enums/internalSymbolName.enum.d.ts.map +1 -0
  647. package/node_modules/typescript-7/dist/enums/internalSymbolName.enum.js +25 -0
  648. package/node_modules/typescript-7/dist/enums/internalSymbolName.enum.js.map +1 -0
  649. package/node_modules/typescript-7/dist/enums/internalSymbolName.js +25 -0
  650. package/node_modules/typescript-7/dist/enums/internalSymbolName.js.map +1 -0
  651. package/node_modules/typescript-7/dist/enums/jsxEmit.d.ts +2 -0
  652. package/node_modules/typescript-7/dist/enums/jsxEmit.d.ts.map +1 -0
  653. package/node_modules/typescript-7/dist/enums/jsxEmit.enum.d.ts +9 -0
  654. package/node_modules/typescript-7/dist/enums/jsxEmit.enum.d.ts.map +1 -0
  655. package/node_modules/typescript-7/dist/enums/jsxEmit.enum.js +11 -0
  656. package/node_modules/typescript-7/dist/enums/jsxEmit.enum.js.map +1 -0
  657. package/node_modules/typescript-7/dist/enums/jsxEmit.js +11 -0
  658. package/node_modules/typescript-7/dist/enums/jsxEmit.js.map +1 -0
  659. package/node_modules/typescript-7/dist/enums/languageVariant.d.ts +2 -0
  660. package/node_modules/typescript-7/dist/enums/languageVariant.d.ts.map +1 -0
  661. package/node_modules/typescript-7/dist/enums/languageVariant.enum.d.ts +5 -0
  662. package/node_modules/typescript-7/dist/enums/languageVariant.enum.d.ts.map +1 -0
  663. package/node_modules/typescript-7/dist/enums/languageVariant.enum.js +6 -0
  664. package/node_modules/typescript-7/dist/enums/languageVariant.enum.js.map +1 -0
  665. package/node_modules/typescript-7/dist/enums/languageVariant.js +6 -0
  666. package/node_modules/typescript-7/dist/enums/languageVariant.js.map +1 -0
  667. package/node_modules/typescript-7/dist/enums/modifierFlags.d.ts +2 -0
  668. package/node_modules/typescript-7/dist/enums/modifierFlags.d.ts.map +1 -0
  669. package/node_modules/typescript-7/dist/enums/modifierFlags.enum.d.ts +42 -0
  670. package/node_modules/typescript-7/dist/enums/modifierFlags.enum.d.ts.map +1 -0
  671. package/node_modules/typescript-7/dist/enums/modifierFlags.enum.js +44 -0
  672. package/node_modules/typescript-7/dist/enums/modifierFlags.enum.js.map +1 -0
  673. package/node_modules/typescript-7/dist/enums/modifierFlags.js +44 -0
  674. package/node_modules/typescript-7/dist/enums/modifierFlags.js.map +1 -0
  675. package/node_modules/typescript-7/dist/enums/moduleDetectionKind.d.ts +2 -0
  676. package/node_modules/typescript-7/dist/enums/moduleDetectionKind.d.ts.map +1 -0
  677. package/node_modules/typescript-7/dist/enums/moduleDetectionKind.enum.d.ts +7 -0
  678. package/node_modules/typescript-7/dist/enums/moduleDetectionKind.enum.d.ts.map +1 -0
  679. package/node_modules/typescript-7/dist/enums/moduleDetectionKind.enum.js +9 -0
  680. package/node_modules/typescript-7/dist/enums/moduleDetectionKind.enum.js.map +1 -0
  681. package/node_modules/typescript-7/dist/enums/moduleDetectionKind.js +9 -0
  682. package/node_modules/typescript-7/dist/enums/moduleDetectionKind.js.map +1 -0
  683. package/node_modules/typescript-7/dist/enums/moduleKind.d.ts +2 -0
  684. package/node_modules/typescript-7/dist/enums/moduleKind.d.ts.map +1 -0
  685. package/node_modules/typescript-7/dist/enums/moduleKind.enum.d.ts +17 -0
  686. package/node_modules/typescript-7/dist/enums/moduleKind.enum.d.ts.map +1 -0
  687. package/node_modules/typescript-7/dist/enums/moduleKind.enum.js +19 -0
  688. package/node_modules/typescript-7/dist/enums/moduleKind.enum.js.map +1 -0
  689. package/node_modules/typescript-7/dist/enums/moduleKind.js +19 -0
  690. package/node_modules/typescript-7/dist/enums/moduleKind.js.map +1 -0
  691. package/node_modules/typescript-7/dist/enums/moduleResolutionKind.d.ts +2 -0
  692. package/node_modules/typescript-7/dist/enums/moduleResolutionKind.d.ts.map +1 -0
  693. package/node_modules/typescript-7/dist/enums/moduleResolutionKind.enum.d.ts +9 -0
  694. package/node_modules/typescript-7/dist/enums/moduleResolutionKind.enum.d.ts.map +1 -0
  695. package/node_modules/typescript-7/dist/enums/moduleResolutionKind.enum.js +11 -0
  696. package/node_modules/typescript-7/dist/enums/moduleResolutionKind.enum.js.map +1 -0
  697. package/node_modules/typescript-7/dist/enums/moduleResolutionKind.js +11 -0
  698. package/node_modules/typescript-7/dist/enums/moduleResolutionKind.js.map +1 -0
  699. package/node_modules/typescript-7/dist/enums/newLineKind.d.ts +2 -0
  700. package/node_modules/typescript-7/dist/enums/newLineKind.d.ts.map +1 -0
  701. package/node_modules/typescript-7/dist/enums/newLineKind.enum.d.ts +6 -0
  702. package/node_modules/typescript-7/dist/enums/newLineKind.enum.d.ts.map +1 -0
  703. package/node_modules/typescript-7/dist/enums/newLineKind.enum.js +8 -0
  704. package/node_modules/typescript-7/dist/enums/newLineKind.enum.js.map +1 -0
  705. package/node_modules/typescript-7/dist/enums/newLineKind.js +8 -0
  706. package/node_modules/typescript-7/dist/enums/newLineKind.js.map +1 -0
  707. package/node_modules/typescript-7/dist/enums/nodeBuilderFlags.d.ts +2 -0
  708. package/node_modules/typescript-7/dist/enums/nodeBuilderFlags.d.ts.map +1 -0
  709. package/node_modules/typescript-7/dist/enums/nodeBuilderFlags.enum.d.ts +36 -0
  710. package/node_modules/typescript-7/dist/enums/nodeBuilderFlags.enum.d.ts.map +1 -0
  711. package/node_modules/typescript-7/dist/enums/nodeBuilderFlags.enum.js +38 -0
  712. package/node_modules/typescript-7/dist/enums/nodeBuilderFlags.enum.js.map +1 -0
  713. package/node_modules/typescript-7/dist/enums/nodeBuilderFlags.js +38 -0
  714. package/node_modules/typescript-7/dist/enums/nodeBuilderFlags.js.map +1 -0
  715. package/node_modules/typescript-7/dist/enums/nodeFlags.d.ts +2 -0
  716. package/node_modules/typescript-7/dist/enums/nodeFlags.d.ts.map +1 -0
  717. package/node_modules/typescript-7/dist/enums/nodeFlags.enum.d.ts +44 -0
  718. package/node_modules/typescript-7/dist/enums/nodeFlags.enum.d.ts.map +1 -0
  719. package/node_modules/typescript-7/dist/enums/nodeFlags.enum.js +46 -0
  720. package/node_modules/typescript-7/dist/enums/nodeFlags.enum.js.map +1 -0
  721. package/node_modules/typescript-7/dist/enums/nodeFlags.js +46 -0
  722. package/node_modules/typescript-7/dist/enums/nodeFlags.js.map +1 -0
  723. package/node_modules/typescript-7/dist/enums/objectFlags.d.ts +2 -0
  724. package/node_modules/typescript-7/dist/enums/objectFlags.d.ts.map +1 -0
  725. package/node_modules/typescript-7/dist/enums/objectFlags.enum.d.ts +50 -0
  726. package/node_modules/typescript-7/dist/enums/objectFlags.enum.d.ts.map +1 -0
  727. package/node_modules/typescript-7/dist/enums/objectFlags.enum.js +52 -0
  728. package/node_modules/typescript-7/dist/enums/objectFlags.enum.js.map +1 -0
  729. package/node_modules/typescript-7/dist/enums/objectFlags.js +52 -0
  730. package/node_modules/typescript-7/dist/enums/objectFlags.js.map +1 -0
  731. package/node_modules/typescript-7/dist/enums/outerExpressionKinds.d.ts +2 -0
  732. package/node_modules/typescript-7/dist/enums/outerExpressionKinds.d.ts.map +1 -0
  733. package/node_modules/typescript-7/dist/enums/outerExpressionKinds.enum.d.ts +16 -0
  734. package/node_modules/typescript-7/dist/enums/outerExpressionKinds.enum.d.ts.map +1 -0
  735. package/node_modules/typescript-7/dist/enums/outerExpressionKinds.enum.js +18 -0
  736. package/node_modules/typescript-7/dist/enums/outerExpressionKinds.enum.js.map +1 -0
  737. package/node_modules/typescript-7/dist/enums/outerExpressionKinds.js +18 -0
  738. package/node_modules/typescript-7/dist/enums/outerExpressionKinds.js.map +1 -0
  739. package/node_modules/typescript-7/dist/enums/regularExpressionFlags.d.ts +2 -0
  740. package/node_modules/typescript-7/dist/enums/regularExpressionFlags.d.ts.map +1 -0
  741. package/node_modules/typescript-7/dist/enums/regularExpressionFlags.enum.d.ts +13 -0
  742. package/node_modules/typescript-7/dist/enums/regularExpressionFlags.enum.d.ts.map +1 -0
  743. package/node_modules/typescript-7/dist/enums/regularExpressionFlags.enum.js +14 -0
  744. package/node_modules/typescript-7/dist/enums/regularExpressionFlags.enum.js.map +1 -0
  745. package/node_modules/typescript-7/dist/enums/regularExpressionFlags.js +14 -0
  746. package/node_modules/typescript-7/dist/enums/regularExpressionFlags.js.map +1 -0
  747. package/node_modules/typescript-7/dist/enums/scriptKind.d.ts +2 -0
  748. package/node_modules/typescript-7/dist/enums/scriptKind.d.ts.map +1 -0
  749. package/node_modules/typescript-7/dist/enums/scriptKind.enum.d.ts +11 -0
  750. package/node_modules/typescript-7/dist/enums/scriptKind.enum.d.ts.map +1 -0
  751. package/node_modules/typescript-7/dist/enums/scriptKind.enum.js +12 -0
  752. package/node_modules/typescript-7/dist/enums/scriptKind.enum.js.map +1 -0
  753. package/node_modules/typescript-7/dist/enums/scriptKind.js +12 -0
  754. package/node_modules/typescript-7/dist/enums/scriptKind.js.map +1 -0
  755. package/node_modules/typescript-7/dist/enums/scriptTarget.d.ts +2 -0
  756. package/node_modules/typescript-7/dist/enums/scriptTarget.d.ts.map +1 -0
  757. package/node_modules/typescript-7/dist/enums/scriptTarget.enum.d.ts +17 -0
  758. package/node_modules/typescript-7/dist/enums/scriptTarget.enum.d.ts.map +1 -0
  759. package/node_modules/typescript-7/dist/enums/scriptTarget.enum.js +18 -0
  760. package/node_modules/typescript-7/dist/enums/scriptTarget.enum.js.map +1 -0
  761. package/node_modules/typescript-7/dist/enums/scriptTarget.js +18 -0
  762. package/node_modules/typescript-7/dist/enums/scriptTarget.js.map +1 -0
  763. package/node_modules/typescript-7/dist/enums/signatureFlags.d.ts +2 -0
  764. package/node_modules/typescript-7/dist/enums/signatureFlags.d.ts.map +1 -0
  765. package/node_modules/typescript-7/dist/enums/signatureFlags.enum.d.ts +15 -0
  766. package/node_modules/typescript-7/dist/enums/signatureFlags.enum.d.ts.map +1 -0
  767. package/node_modules/typescript-7/dist/enums/signatureFlags.enum.js +17 -0
  768. package/node_modules/typescript-7/dist/enums/signatureFlags.enum.js.map +1 -0
  769. package/node_modules/typescript-7/dist/enums/signatureFlags.js +17 -0
  770. package/node_modules/typescript-7/dist/enums/signatureFlags.js.map +1 -0
  771. package/node_modules/typescript-7/dist/enums/signatureKind.d.ts +2 -0
  772. package/node_modules/typescript-7/dist/enums/signatureKind.d.ts.map +1 -0
  773. package/node_modules/typescript-7/dist/enums/signatureKind.enum.d.ts +5 -0
  774. package/node_modules/typescript-7/dist/enums/signatureKind.enum.d.ts.map +1 -0
  775. package/node_modules/typescript-7/dist/enums/signatureKind.enum.js +7 -0
  776. package/node_modules/typescript-7/dist/enums/signatureKind.enum.js.map +1 -0
  777. package/node_modules/typescript-7/dist/enums/signatureKind.js +7 -0
  778. package/node_modules/typescript-7/dist/enums/signatureKind.js.map +1 -0
  779. package/node_modules/typescript-7/dist/enums/symbolFlags.d.ts +2 -0
  780. package/node_modules/typescript-7/dist/enums/symbolFlags.d.ts.map +1 -0
  781. package/node_modules/typescript-7/dist/enums/symbolFlags.enum.d.ts +71 -0
  782. package/node_modules/typescript-7/dist/enums/symbolFlags.enum.d.ts.map +1 -0
  783. package/node_modules/typescript-7/dist/enums/symbolFlags.enum.js +73 -0
  784. package/node_modules/typescript-7/dist/enums/symbolFlags.enum.js.map +1 -0
  785. package/node_modules/typescript-7/dist/enums/symbolFlags.js +73 -0
  786. package/node_modules/typescript-7/dist/enums/symbolFlags.js.map +1 -0
  787. package/node_modules/typescript-7/dist/enums/syntaxKind.d.ts +2 -0
  788. package/node_modules/typescript-7/dist/enums/syntaxKind.d.ts.map +1 -0
  789. package/node_modules/typescript-7/dist/enums/syntaxKind.enum.d.ts +389 -0
  790. package/node_modules/typescript-7/dist/enums/syntaxKind.enum.d.ts.map +1 -0
  791. package/node_modules/typescript-7/dist/enums/syntaxKind.enum.js +391 -0
  792. package/node_modules/typescript-7/dist/enums/syntaxKind.enum.js.map +1 -0
  793. package/node_modules/typescript-7/dist/enums/syntaxKind.js +391 -0
  794. package/node_modules/typescript-7/dist/enums/syntaxKind.js.map +1 -0
  795. package/node_modules/typescript-7/dist/enums/tokenFlags.d.ts +2 -0
  796. package/node_modules/typescript-7/dist/enums/tokenFlags.d.ts.map +1 -0
  797. package/node_modules/typescript-7/dist/enums/tokenFlags.enum.d.ts +30 -0
  798. package/node_modules/typescript-7/dist/enums/tokenFlags.enum.d.ts.map +1 -0
  799. package/node_modules/typescript-7/dist/enums/tokenFlags.enum.js +32 -0
  800. package/node_modules/typescript-7/dist/enums/tokenFlags.enum.js.map +1 -0
  801. package/node_modules/typescript-7/dist/enums/tokenFlags.js +32 -0
  802. package/node_modules/typescript-7/dist/enums/tokenFlags.js.map +1 -0
  803. package/node_modules/typescript-7/dist/enums/typeFlags.d.ts +2 -0
  804. package/node_modules/typescript-7/dist/enums/typeFlags.d.ts.map +1 -0
  805. package/node_modules/typescript-7/dist/enums/typeFlags.enum.d.ts +76 -0
  806. package/node_modules/typescript-7/dist/enums/typeFlags.enum.d.ts.map +1 -0
  807. package/node_modules/typescript-7/dist/enums/typeFlags.enum.js +78 -0
  808. package/node_modules/typescript-7/dist/enums/typeFlags.enum.js.map +1 -0
  809. package/node_modules/typescript-7/dist/enums/typeFlags.js +78 -0
  810. package/node_modules/typescript-7/dist/enums/typeFlags.js.map +1 -0
  811. package/node_modules/typescript-7/dist/enums/typePredicateKind.d.ts +2 -0
  812. package/node_modules/typescript-7/dist/enums/typePredicateKind.d.ts.map +1 -0
  813. package/node_modules/typescript-7/dist/enums/typePredicateKind.enum.d.ts +7 -0
  814. package/node_modules/typescript-7/dist/enums/typePredicateKind.enum.d.ts.map +1 -0
  815. package/node_modules/typescript-7/dist/enums/typePredicateKind.enum.js +9 -0
  816. package/node_modules/typescript-7/dist/enums/typePredicateKind.enum.js.map +1 -0
  817. package/node_modules/typescript-7/dist/enums/typePredicateKind.js +9 -0
  818. package/node_modules/typescript-7/dist/enums/typePredicateKind.js.map +1 -0
  819. package/node_modules/typescript-7/dist/internal/utils.d.ts +23 -0
  820. package/node_modules/typescript-7/dist/internal/utils.d.ts.map +1 -0
  821. package/node_modules/typescript-7/dist/internal/utils.js +25 -0
  822. package/node_modules/typescript-7/dist/internal/utils.js.map +1 -0
  823. package/node_modules/typescript-7/lib/getExePath.d.ts +2 -0
  824. package/node_modules/typescript-7/lib/getExePath.js +70 -0
  825. package/node_modules/typescript-7/lib/tsc.js +28 -0
  826. package/node_modules/typescript-7/lib/version.cjs +3 -0
  827. package/node_modules/typescript-7/lib/version.d.cts +2 -0
  828. package/node_modules/typescript-7/package.json +87 -0
  829. package/node_modules/typescript-7/vendor/vscode-jsonrpc/License.txt +11 -0
  830. package/node_modules/typescript-7/vendor/vscode-jsonrpc/README.md +54 -0
  831. package/node_modules/typescript-7/vendor/vscode-jsonrpc/lib/browser/main.d.ts +17 -0
  832. package/node_modules/typescript-7/vendor/vscode-jsonrpc/lib/browser/main.js +83 -0
  833. package/node_modules/typescript-7/vendor/vscode-jsonrpc/lib/browser/ril.d.ts +22 -0
  834. package/node_modules/typescript-7/vendor/vscode-jsonrpc/lib/browser/ril.js +210 -0
  835. package/node_modules/typescript-7/vendor/vscode-jsonrpc/lib/common/api.d.ts +14 -0
  836. package/node_modules/typescript-7/vendor/vscode-jsonrpc/lib/common/api.js +87 -0
  837. package/node_modules/typescript-7/vendor/vscode-jsonrpc/lib/common/cancellation.d.ts +32 -0
  838. package/node_modules/typescript-7/vendor/vscode-jsonrpc/lib/common/cancellation.js +132 -0
  839. package/node_modules/typescript-7/vendor/vscode-jsonrpc/lib/common/connection.d.ts +367 -0
  840. package/node_modules/typescript-7/vendor/vscode-jsonrpc/lib/common/connection.js +1271 -0
  841. package/node_modules/typescript-7/vendor/vscode-jsonrpc/lib/common/disposable.d.ts +9 -0
  842. package/node_modules/typescript-7/vendor/vscode-jsonrpc/lib/common/disposable.js +16 -0
  843. package/node_modules/typescript-7/vendor/vscode-jsonrpc/lib/common/encoding.d.ts +52 -0
  844. package/node_modules/typescript-7/vendor/vscode-jsonrpc/lib/common/encoding.js +70 -0
  845. package/node_modules/typescript-7/vendor/vscode-jsonrpc/lib/common/events.d.ts +39 -0
  846. package/node_modules/typescript-7/vendor/vscode-jsonrpc/lib/common/events.js +135 -0
  847. package/node_modules/typescript-7/vendor/vscode-jsonrpc/lib/common/is.d.ts +7 -0
  848. package/node_modules/typescript-7/vendor/vscode-jsonrpc/lib/common/is.js +34 -0
  849. package/node_modules/typescript-7/vendor/vscode-jsonrpc/lib/common/linkedMap.d.ts +55 -0
  850. package/node_modules/typescript-7/vendor/vscode-jsonrpc/lib/common/linkedMap.js +412 -0
  851. package/node_modules/typescript-7/vendor/vscode-jsonrpc/lib/common/messageBuffer.d.ts +18 -0
  852. package/node_modules/typescript-7/vendor/vscode-jsonrpc/lib/common/messageBuffer.js +155 -0
  853. package/node_modules/typescript-7/vendor/vscode-jsonrpc/lib/common/messageReader.d.ts +77 -0
  854. package/node_modules/typescript-7/vendor/vscode-jsonrpc/lib/common/messageReader.js +246 -0
  855. package/node_modules/typescript-7/vendor/vscode-jsonrpc/lib/common/messageWriter.d.ts +60 -0
  856. package/node_modules/typescript-7/vendor/vscode-jsonrpc/lib/common/messageWriter.js +157 -0
  857. package/node_modules/typescript-7/vendor/vscode-jsonrpc/lib/common/messages.d.ts +369 -0
  858. package/node_modules/typescript-7/vendor/vscode-jsonrpc/lib/common/messages.js +436 -0
  859. package/node_modules/typescript-7/vendor/vscode-jsonrpc/lib/common/ral.d.ts +74 -0
  860. package/node_modules/typescript-7/vendor/vscode-jsonrpc/lib/common/ral.js +23 -0
  861. package/node_modules/typescript-7/vendor/vscode-jsonrpc/lib/common/semaphore.d.ts +10 -0
  862. package/node_modules/typescript-7/vendor/vscode-jsonrpc/lib/common/semaphore.js +74 -0
  863. package/node_modules/typescript-7/vendor/vscode-jsonrpc/lib/common/sharedArrayCancellation.d.ts +15 -0
  864. package/node_modules/typescript-7/vendor/vscode-jsonrpc/lib/common/sharedArrayCancellation.js +77 -0
  865. package/node_modules/typescript-7/vendor/vscode-jsonrpc/lib/node/main.d.ts +58 -0
  866. package/node_modules/typescript-7/vendor/vscode-jsonrpc/lib/node/main.js +289 -0
  867. package/node_modules/typescript-7/vendor/vscode-jsonrpc/lib/node/ril.d.ts +12 -0
  868. package/node_modules/typescript-7/vendor/vscode-jsonrpc/lib/node/ril.js +163 -0
  869. package/node_modules/typescript-7/vendor/vscode-jsonrpc/package.json +54 -0
  870. package/node_modules/typescript-7/vendor/vscode-jsonrpc/typings/thenable.d.ts +5 -0
  871. package/package.json +110 -34
  872. package/node_modules/@ykdz/template-builtin-presets/dist/src/foundation.d.ts +0 -243
  873. package/node_modules/@ykdz/template-builtin-presets/dist/src/foundation.js +0 -3567
  874. package/node_modules/@ykdz/template-builtin-presets/dist/src/generation-record.d.ts +0 -58
  875. package/node_modules/@ykdz/template-builtin-presets/dist/src/generation-record.js +0 -178
  876. package/node_modules/@ykdz/template-builtin-presets/dist/src/index.d.ts +0 -4
  877. package/node_modules/@ykdz/template-builtin-presets/dist/src/index.js +0 -3
  878. package/node_modules/@ykdz/template-builtin-presets/dist/src/rust-bin/definition.d.ts +0 -31
  879. package/node_modules/@ykdz/template-builtin-presets/dist/src/rust-bin/definition.js +0 -193
  880. package/node_modules/@ykdz/template-builtin-presets/dist/src/shared/development-container.d.ts +0 -3
  881. package/node_modules/@ykdz/template-builtin-presets/dist/src/shared/development-container.js +0 -52
  882. package/node_modules/@ykdz/template-builtin-presets/dist/src/shared/typescript.d.ts +0 -16
  883. package/node_modules/@ykdz/template-builtin-presets/dist/src/shared/typescript.js +0 -74
  884. package/node_modules/@ykdz/template-builtin-presets/dist/src/shared/vue.d.ts +0 -36
  885. package/node_modules/@ykdz/template-builtin-presets/dist/src/shared/vue.js +0 -117
  886. package/node_modules/@ykdz/template-builtin-presets/dist/src/template-sources.d.ts +0 -15
  887. package/node_modules/@ykdz/template-builtin-presets/dist/src/template-sources.js +0 -27
  888. package/node_modules/@ykdz/template-builtin-presets/dist/src/ts-cli/definition.d.ts +0 -31
  889. package/node_modules/@ykdz/template-builtin-presets/dist/src/ts-cli/definition.js +0 -253
  890. package/node_modules/@ykdz/template-builtin-presets/dist/src/ts-lib/definition.d.ts +0 -31
  891. package/node_modules/@ykdz/template-builtin-presets/dist/src/ts-lib/definition.js +0 -155
  892. package/node_modules/@ykdz/template-builtin-presets/dist/src/vike-app/definition.d.ts +0 -48
  893. package/node_modules/@ykdz/template-builtin-presets/dist/src/vike-app/definition.js +0 -541
  894. package/node_modules/@ykdz/template-builtin-presets/dist/src/vue-app/definition.d.ts +0 -26
  895. package/node_modules/@ykdz/template-builtin-presets/dist/src/vue-app/definition.js +0 -113
  896. package/node_modules/@ykdz/template-builtin-presets/dist/src/vue-hono-app/definition.d.ts +0 -22
  897. package/node_modules/@ykdz/template-builtin-presets/dist/src/vue-hono-app/definition.js +0 -204
  898. package/node_modules/@ykdz/template-builtin-presets/package.json +0 -107
  899. package/node_modules/@ykdz/template-builtin-presets/templates/foundation/.github/dependabot-rust.yml +0 -41
  900. package/node_modules/@ykdz/template-builtin-presets/templates/foundation/.github/dependabot.dynamic.template +0 -4
  901. package/node_modules/@ykdz/template-builtin-presets/templates/foundation/.github/dependabot.yml +0 -33
  902. package/node_modules/@ykdz/template-builtin-presets/templates/foundation/.github/workflows/check-deployment-diagnostics.yml +0 -82
  903. package/node_modules/@ykdz/template-builtin-presets/templates/foundation/.github/workflows/check-deployment.yml +0 -42
  904. package/node_modules/@ykdz/template-builtin-presets/templates/foundation/.github/workflows/check-diagnostics.yml +0 -80
  905. package/node_modules/@ykdz/template-builtin-presets/templates/foundation/.github/workflows/check.yml +0 -40
  906. package/node_modules/@ykdz/template-builtin-presets/templates/foundation/.pnpmfile.mjs +0 -19
  907. package/node_modules/@ykdz/template-builtin-presets/templates/foundation/TODO.md.template +0 -5
  908. package/node_modules/@ykdz/template-builtin-presets/templates/foundation/devcontainer.json +0 -18
  909. package/node_modules/@ykdz/template-builtin-presets/templates/foundation/pnpm-workspace.dynamic.txt +0 -24
  910. package/node_modules/@ykdz/template-builtin-presets/templates/foundation/pnpm-workspace.yaml +0 -35
  911. package/node_modules/@ykdz/template-builtin-presets/templates/foundation/scripts/check-toolchain-versions.ts +0 -556
  912. package/node_modules/@ykdz/template-builtin-presets/templates/foundation/scripts/node-test-count-reporter.ts +0 -31
  913. package/node_modules/@ykdz/template-builtin-presets/templates/foundation/scripts/run-rust-tests.ts +0 -100
  914. package/node_modules/@ykdz/template-builtin-presets/templates/foundation/scripts/run-turbo-boundaries.ts +0 -74
  915. package/node_modules/@ykdz/template-builtin-presets/templates/foundation/scripts/task-gates.ts +0 -589
  916. package/node_modules/@ykdz/template-builtin-presets/templates/foundation/tsconfig.packing-hook.json +0 -7
  917. package/node_modules/@ykdz/template-builtin-presets/templates/foundation/turbo-boundary-tags/app.json +0 -7
  918. package/node_modules/@ykdz/template-builtin-presets/templates/foundation/turbo-boundary-tags/library.json +0 -7
  919. package/node_modules/@ykdz/template-builtin-presets/templates/foundation/turbo-projections/database-preparation.json +0 -17
  920. package/node_modules/@ykdz/template-builtin-presets/templates/foundation/turbo-projections/deployment.json +0 -13
  921. package/node_modules/@ykdz/template-builtin-presets/templates/foundation/turbo-projections/rust-toolchain.json +0 -5
  922. package/node_modules/@ykdz/template-builtin-presets/templates/foundation/turbo-projections/vue-hono-joint-e2e.json +0 -13
  923. package/node_modules/@ykdz/template-builtin-presets/templates/foundation/turbo.json +0 -20
  924. package/node_modules/@ykdz/template-builtin-presets/templates/foundation/typescript-config/turbo.json +0 -33
  925. package/node_modules/@ykdz/template-builtin-presets/templates/rust-bin/.github/dependabot.yml +0 -41
  926. package/node_modules/@ykdz/template-builtin-presets/templates/rust-bin/.vscode/extensions.json +0 -3
  927. package/node_modules/@ykdz/template-builtin-presets/templates/rust-bin/.vscode/settings.json +0 -5
  928. package/node_modules/@ykdz/template-builtin-presets/templates/rust-bin/Cargo.lock +0 -16
  929. package/node_modules/@ykdz/template-builtin-presets/templates/rust-bin/Cargo.toml +0 -27
  930. package/node_modules/@ykdz/template-builtin-presets/templates/rust-bin/rust-toolchain.toml +0 -3
  931. package/node_modules/@ykdz/template-builtin-presets/templates/rust-bin/tsconfig.scripts.json +0 -12
  932. package/node_modules/@ykdz/template-builtin-presets/templates/rust-bin/turbo.json +0 -37
  933. package/node_modules/@ykdz/template-builtin-presets/templates/shared/oxc/node/oxlint.config.ts +0 -8
  934. package/node_modules/@ykdz/template-builtin-presets/templates/shared/oxc/tsconfig.config.json +0 -12
  935. package/node_modules/@ykdz/template-builtin-presets/templates/shared/vue/src/components/CounterButton.vue +0 -18
  936. package/node_modules/@ykdz/template-builtin-presets/templates/shared/vue/src/style.css +0 -1
  937. package/node_modules/@ykdz/template-builtin-presets/templates/shared/vue/test/counter.browser.test.ts +0 -16
  938. package/node_modules/@ykdz/template-builtin-presets/templates/shared/vue/test/counter.node.test.ts +0 -15
  939. package/node_modules/@ykdz/template-builtin-presets/templates/shared/vue/tsconfig.app.json +0 -18
  940. package/node_modules/@ykdz/template-builtin-presets/templates/shared/vue/tsconfig.json +0 -8
  941. package/node_modules/@ykdz/template-builtin-presets/templates/shared/vue/tsconfig.node.json +0 -21
  942. package/node_modules/@ykdz/template-builtin-presets/templates/shared/vue/tsconfig.test.json +0 -10
  943. package/node_modules/@ykdz/template-builtin-presets/templates/shared/vue/typescript/run-vue-tsc.ts +0 -12
  944. package/node_modules/@ykdz/template-builtin-presets/templates/shared/vue/vitest.config.ts +0 -50
  945. package/node_modules/@ykdz/template-builtin-presets/templates/ts-cli/publication/CHANGELOG.md.template +0 -17
  946. package/node_modules/@ykdz/template-builtin-presets/templates/ts-cli/publication/RELEASING.md +0 -17
  947. package/node_modules/@ykdz/template-builtin-presets/templates/ts-cli/publication/artifact.ts +0 -1340
  948. package/node_modules/@ykdz/template-builtin-presets/templates/ts-cli/publication/changelog.ts +0 -283
  949. package/node_modules/@ykdz/template-builtin-presets/templates/ts-cli/publication/check-artifact.ts +0 -110
  950. package/node_modules/@ykdz/template-builtin-presets/templates/ts-cli/publication/check-readiness.ts +0 -66
  951. package/node_modules/@ykdz/template-builtin-presets/templates/ts-cli/publication/cli-command-identity.ts +0 -4
  952. package/node_modules/@ykdz/template-builtin-presets/templates/ts-cli/publication/handoff.ts +0 -522
  953. package/node_modules/@ykdz/template-builtin-presets/templates/ts-cli/publication/publish.ts +0 -483
  954. package/node_modules/@ykdz/template-builtin-presets/templates/ts-cli/publication/readiness.ts +0 -1150
  955. package/node_modules/@ykdz/template-builtin-presets/templates/ts-cli/publication/release.ts +0 -819
  956. package/node_modules/@ykdz/template-builtin-presets/templates/ts-cli/publication/release.yml +0 -122
  957. package/node_modules/@ykdz/template-builtin-presets/templates/ts-cli/publication/root-tsconfig.json +0 -8
  958. package/node_modules/@ykdz/template-builtin-presets/templates/ts-cli/publication/tsconfig.json +0 -4
  959. package/node_modules/@ykdz/template-builtin-presets/templates/ts-cli/publication/turbo.json +0 -9
  960. package/node_modules/@ykdz/template-builtin-presets/templates/ts-cli/publication-setup/README.md +0 -48
  961. package/node_modules/@ykdz/template-builtin-presets/templates/ts-cli/publication-setup/assets/CHANGELOG.md.template +0 -17
  962. package/node_modules/@ykdz/template-builtin-presets/templates/ts-cli/publication-setup/assets/LICENSE-APACHE-2.0.txt +0 -202
  963. package/node_modules/@ykdz/template-builtin-presets/templates/ts-cli/publication-setup/assets/LICENSE-MIT.txt +0 -21
  964. package/node_modules/@ykdz/template-builtin-presets/templates/ts-cli/publication-setup/assets/README.md.template +0 -5
  965. package/node_modules/@ykdz/template-builtin-presets/templates/ts-cli/publication-setup/bridge.ts +0 -3336
  966. package/node_modules/@ykdz/template-builtin-presets/templates/ts-cli/publication-setup/setup.sh +0 -221
  967. package/node_modules/@ykdz/template-builtin-presets/templates/ts-cli/src/cli.ts +0 -17
  968. package/node_modules/@ykdz/template-builtin-presets/templates/ts-cli/src/main.ts +0 -162
  969. package/node_modules/@ykdz/template-builtin-presets/templates/ts-cli/src/standard-schema.ts +0 -37
  970. package/node_modules/@ykdz/template-builtin-presets/templates/ts-cli/test/e2e/journey.ts +0 -31
  971. package/node_modules/@ykdz/template-builtin-presets/templates/ts-cli/test/e2e/journeys/lookup.journey.ts +0 -71
  972. package/node_modules/@ykdz/template-builtin-presets/templates/ts-cli/test/e2e/run-journeys.test.ts +0 -11
  973. package/node_modules/@ykdz/template-builtin-presets/templates/ts-cli/test/e2e/run-journeys.ts +0 -255
  974. package/node_modules/@ykdz/template-builtin-presets/templates/ts-cli/test/integration/command.test.ts +0 -146
  975. package/node_modules/@ykdz/template-builtin-presets/templates/ts-cli/test/unit/cli-command-identity.test.ts +0 -76
  976. package/node_modules/@ykdz/template-builtin-presets/templates/ts-cli/tsconfig.build.json +0 -12
  977. package/node_modules/@ykdz/template-builtin-presets/templates/ts-cli/tsconfig.json +0 -14
  978. package/node_modules/@ykdz/template-builtin-presets/templates/ts-cli/turbo.json +0 -64
  979. package/node_modules/@ykdz/template-builtin-presets/templates/ts-lib/.github/dependabot.yml +0 -33
  980. package/node_modules/@ykdz/template-builtin-presets/templates/ts-lib/tsconfig.build.json +0 -9
  981. package/node_modules/@ykdz/template-builtin-presets/templates/ts-lib/tsconfig.json +0 -14
  982. package/node_modules/@ykdz/template-builtin-presets/templates/ts-lib/turbo.json +0 -47
  983. package/node_modules/@ykdz/template-builtin-presets/templates/vike-app/db/scripts/reset.ts +0 -3
  984. package/node_modules/@ykdz/template-builtin-presets/templates/vike-app/db/tsconfig.build.json +0 -12
  985. package/node_modules/@ykdz/template-builtin-presets/templates/vike-app/db/tsconfig.json +0 -18
  986. package/node_modules/@ykdz/template-builtin-presets/templates/vike-app/db/turbo.json +0 -46
  987. package/node_modules/@ykdz/template-builtin-presets/templates/vike-app/db-migrations/drizzle.config.ts +0 -21
  988. package/node_modules/@ykdz/template-builtin-presets/templates/vike-app/db-migrations/tsconfig.json +0 -14
  989. package/node_modules/@ykdz/template-builtin-presets/templates/vike-app/db-migrations/turbo.json +0 -53
  990. package/node_modules/@ykdz/template-builtin-presets/templates/vike-app/web/Dockerfile +0 -81
  991. package/node_modules/@ykdz/template-builtin-presets/templates/vike-app/web/Dockerfile.dockerignore +0 -14
  992. package/node_modules/@ykdz/template-builtin-presets/templates/vike-app/web/components/CounterButton.vue +0 -21
  993. package/node_modules/@ykdz/template-builtin-presets/templates/vike-app/web/pages/index/+Page.telefunc.ts +0 -12
  994. package/node_modules/@ykdz/template-builtin-presets/templates/vike-app/web/pages/index/+Page.vue +0 -93
  995. package/node_modules/@ykdz/template-builtin-presets/templates/vike-app/web/scripts/check-standalone-deployment.ts +0 -553
  996. package/node_modules/@ykdz/template-builtin-presets/templates/vike-app/web/server/app.ts +0 -36
  997. package/node_modules/@ykdz/template-builtin-presets/templates/vike-app/web/test/counter.browser.test.ts +0 -14
  998. package/node_modules/@ykdz/template-builtin-presets/templates/vike-app/web/test/e2e/app.spec.ts +0 -18
  999. package/node_modules/@ykdz/template-builtin-presets/templates/vike-app/web/tsconfig.app.json +0 -26
  1000. package/node_modules/@ykdz/template-builtin-presets/templates/vike-app/web/tsconfig.json +0 -8
  1001. package/node_modules/@ykdz/template-builtin-presets/templates/vike-app/web/tsconfig.node.json +0 -21
  1002. package/node_modules/@ykdz/template-builtin-presets/templates/vike-app/web/tsconfig.test.json +0 -15
  1003. package/node_modules/@ykdz/template-builtin-presets/templates/vike-app/web/turbo.json +0 -69
  1004. package/node_modules/@ykdz/template-builtin-presets/templates/vike-app/web/types/global.d.ts +0 -9
  1005. package/node_modules/@ykdz/template-builtin-presets/templates/vike-app/web/vite.config.ts +0 -14
  1006. package/node_modules/@ykdz/template-builtin-presets/templates/vike-app/web/vitest.config.ts +0 -35
  1007. package/node_modules/@ykdz/template-builtin-presets/templates/vue-app/.github/dependabot.yml +0 -33
  1008. package/node_modules/@ykdz/template-builtin-presets/templates/vue-app/test/e2e/app.spec.ts +0 -14
  1009. package/node_modules/@ykdz/template-builtin-presets/templates/vue-app/turbo.json +0 -71
  1010. package/node_modules/@ykdz/template-builtin-presets/templates/vue-app/vite.config.ts +0 -7
  1011. package/node_modules/@ykdz/template-builtin-presets/templates/vue-hono-app/api/tsconfig.build.json +0 -10
  1012. package/node_modules/@ykdz/template-builtin-presets/templates/vue-hono-app/api/tsconfig.json +0 -16
  1013. package/node_modules/@ykdz/template-builtin-presets/templates/vue-hono-app/api/turbo.json +0 -54
  1014. package/node_modules/@ykdz/template-builtin-presets/templates/vue-hono-app/root/playwright.config.ts +0 -34
  1015. package/node_modules/@ykdz/template-builtin-presets/templates/vue-hono-app/root/test/e2e/app.spec.ts +0 -15
  1016. package/node_modules/@ykdz/template-builtin-presets/templates/vue-hono-app/root/tsconfig.json +0 -3
  1017. package/node_modules/@ykdz/template-builtin-presets/templates/vue-hono-app/web/src/App.vue +0 -51
  1018. package/node_modules/@ykdz/template-builtin-presets/templates/vue-hono-app/web/turbo.json +0 -65
  1019. package/node_modules/@ykdz/template-builtin-presets/templates/vue-hono-app/web/vite.config.ts +0 -27
  1020. package/node_modules/@ykdz/template-core/dist/Cargo.lock +0 -16
  1021. package/node_modules/@ykdz/template-core/dist/Cargo.toml +0 -12
  1022. package/node_modules/@ykdz/template-core/dist/ci-diagnostic-artifact.d.ts +0 -19
  1023. package/node_modules/@ykdz/template-core/dist/ci-diagnostic-artifact.js +0 -76
  1024. package/node_modules/@ykdz/template-core/dist/dependency-catalog.d.ts +0 -33
  1025. package/node_modules/@ykdz/template-core/dist/dependency-catalog.js +0 -238
  1026. package/node_modules/@ykdz/template-core/dist/development-container-tool-layer.d.ts +0 -56
  1027. package/node_modules/@ykdz/template-core/dist/development-container-tool-layer.js +0 -361
  1028. package/node_modules/@ykdz/template-core/dist/editor-customization.d.ts +0 -17
  1029. package/node_modules/@ykdz/template-core/dist/editor-customization.js +0 -73
  1030. package/node_modules/@ykdz/template-core/dist/module-graph.d.ts +0 -53
  1031. package/node_modules/@ykdz/template-core/dist/module-graph.js +0 -167
  1032. package/node_modules/@ykdz/template-core/dist/pnpm-workspace.yaml +0 -75
  1033. package/node_modules/@ykdz/template-core/dist/project-github.d.ts +0 -25
  1034. package/node_modules/@ykdz/template-core/dist/project-github.js +0 -88
  1035. package/node_modules/@ykdz/template-core/dist/project-linking-v2.d.ts +0 -31
  1036. package/node_modules/@ykdz/template-core/dist/project-linking-v2.js +0 -143
  1037. package/node_modules/@ykdz/template-core/dist/release-toolchain-snapshot.d.ts +0 -10
  1038. package/node_modules/@ykdz/template-core/dist/release-toolchain-snapshot.js +0 -9
  1039. package/node_modules/@ykdz/template-core/dist/template-boundary-check.d.ts +0 -58
  1040. package/node_modules/@ykdz/template-core/dist/template-boundary-check.js +0 -839
  1041. package/node_modules/@ykdz/template-core/node_modules/valibot/LICENSE.md +0 -9
  1042. package/node_modules/@ykdz/template-core/node_modules/valibot/README.md +0 -94
  1043. package/node_modules/@ykdz/template-core/node_modules/valibot/dist/index.cjs +0 -7897
  1044. package/node_modules/@ykdz/template-core/node_modules/valibot/dist/index.d.cts +0 -16579
  1045. package/node_modules/@ykdz/template-core/node_modules/valibot/dist/index.d.mts +0 -16579
  1046. package/node_modules/@ykdz/template-core/node_modules/valibot/dist/index.min.cjs +0 -2
  1047. package/node_modules/@ykdz/template-core/node_modules/valibot/dist/index.min.mjs +0 -2
  1048. package/node_modules/@ykdz/template-core/node_modules/valibot/dist/index.mjs +0 -7577
  1049. package/node_modules/@ykdz/template-core/node_modules/valibot/package.json +0 -84
  1050. package/node_modules/npm-package-arg/node_modules/semver/LICENSE +0 -15
  1051. package/node_modules/npm-package-arg/node_modules/semver/README.md +0 -680
  1052. package/node_modules/npm-package-arg/node_modules/semver/bin/semver.js +0 -195
  1053. package/node_modules/npm-package-arg/node_modules/semver/classes/comparator.js +0 -143
  1054. package/node_modules/npm-package-arg/node_modules/semver/classes/index.js +0 -7
  1055. package/node_modules/npm-package-arg/node_modules/semver/classes/range.js +0 -577
  1056. package/node_modules/npm-package-arg/node_modules/semver/classes/semver.js +0 -350
  1057. package/node_modules/npm-package-arg/node_modules/semver/functions/clean.js +0 -8
  1058. package/node_modules/npm-package-arg/node_modules/semver/functions/cmp.js +0 -54
  1059. package/node_modules/npm-package-arg/node_modules/semver/functions/coerce.js +0 -62
  1060. package/node_modules/npm-package-arg/node_modules/semver/functions/compare-build.js +0 -9
  1061. package/node_modules/npm-package-arg/node_modules/semver/functions/compare-loose.js +0 -5
  1062. package/node_modules/npm-package-arg/node_modules/semver/functions/compare.js +0 -7
  1063. package/node_modules/npm-package-arg/node_modules/semver/functions/diff.js +0 -60
  1064. package/node_modules/npm-package-arg/node_modules/semver/functions/eq.js +0 -5
  1065. package/node_modules/npm-package-arg/node_modules/semver/functions/gt.js +0 -5
  1066. package/node_modules/npm-package-arg/node_modules/semver/functions/gte.js +0 -5
  1067. package/node_modules/npm-package-arg/node_modules/semver/functions/inc.js +0 -21
  1068. package/node_modules/npm-package-arg/node_modules/semver/functions/lt.js +0 -5
  1069. package/node_modules/npm-package-arg/node_modules/semver/functions/lte.js +0 -5
  1070. package/node_modules/npm-package-arg/node_modules/semver/functions/major.js +0 -5
  1071. package/node_modules/npm-package-arg/node_modules/semver/functions/minor.js +0 -5
  1072. package/node_modules/npm-package-arg/node_modules/semver/functions/neq.js +0 -5
  1073. package/node_modules/npm-package-arg/node_modules/semver/functions/parse.js +0 -18
  1074. package/node_modules/npm-package-arg/node_modules/semver/functions/patch.js +0 -5
  1075. package/node_modules/npm-package-arg/node_modules/semver/functions/prerelease.js +0 -8
  1076. package/node_modules/npm-package-arg/node_modules/semver/functions/rcompare.js +0 -5
  1077. package/node_modules/npm-package-arg/node_modules/semver/functions/rsort.js +0 -5
  1078. package/node_modules/npm-package-arg/node_modules/semver/functions/satisfies.js +0 -12
  1079. package/node_modules/npm-package-arg/node_modules/semver/functions/sort.js +0 -5
  1080. package/node_modules/npm-package-arg/node_modules/semver/functions/truncate.js +0 -48
  1081. package/node_modules/npm-package-arg/node_modules/semver/functions/valid.js +0 -8
  1082. package/node_modules/npm-package-arg/node_modules/semver/index.js +0 -93
  1083. package/node_modules/npm-package-arg/node_modules/semver/internal/constants.js +0 -37
  1084. package/node_modules/npm-package-arg/node_modules/semver/internal/debug.js +0 -11
  1085. package/node_modules/npm-package-arg/node_modules/semver/internal/identifiers.js +0 -29
  1086. package/node_modules/npm-package-arg/node_modules/semver/internal/lrucache.js +0 -42
  1087. package/node_modules/npm-package-arg/node_modules/semver/internal/parse-options.js +0 -17
  1088. package/node_modules/npm-package-arg/node_modules/semver/internal/re.js +0 -223
  1089. package/node_modules/npm-package-arg/node_modules/semver/package.json +0 -78
  1090. package/node_modules/npm-package-arg/node_modules/semver/preload.js +0 -4
  1091. package/node_modules/npm-package-arg/node_modules/semver/range.bnf +0 -17
  1092. package/node_modules/npm-package-arg/node_modules/semver/ranges/gtr.js +0 -6
  1093. package/node_modules/npm-package-arg/node_modules/semver/ranges/intersects.js +0 -9
  1094. package/node_modules/npm-package-arg/node_modules/semver/ranges/ltr.js +0 -6
  1095. package/node_modules/npm-package-arg/node_modules/semver/ranges/max-satisfying.js +0 -27
  1096. package/node_modules/npm-package-arg/node_modules/semver/ranges/min-satisfying.js +0 -26
  1097. package/node_modules/npm-package-arg/node_modules/semver/ranges/min-version.js +0 -63
  1098. package/node_modules/npm-package-arg/node_modules/semver/ranges/outside.js +0 -82
  1099. package/node_modules/npm-package-arg/node_modules/semver/ranges/simplify.js +0 -49
  1100. package/node_modules/npm-package-arg/node_modules/semver/ranges/subset.js +0 -249
  1101. package/node_modules/npm-package-arg/node_modules/semver/ranges/to-comparators.js +0 -10
  1102. package/node_modules/npm-package-arg/node_modules/semver/ranges/valid.js +0 -13
  1103. package/node_modules/unbash/LICENSE +0 -15
  1104. package/node_modules/unbash/README.md +0 -289
  1105. package/node_modules/unbash/dist/ansi-c.d.ts +0 -5
  1106. package/node_modules/unbash/dist/ansi-c.js +0 -130
  1107. package/node_modules/unbash/dist/arithmetic.d.ts +0 -11
  1108. package/node_modules/unbash/dist/arithmetic.js +0 -530
  1109. package/node_modules/unbash/dist/assignment.d.ts +0 -15
  1110. package/node_modules/unbash/dist/assignment.js +0 -118
  1111. package/node_modules/unbash/dist/chars.d.ts +0 -41
  1112. package/node_modules/unbash/dist/chars.js +0 -41
  1113. package/node_modules/unbash/dist/command.d.ts +0 -14
  1114. package/node_modules/unbash/dist/command.js +0 -41
  1115. package/node_modules/unbash/dist/heredoc.d.ts +0 -18
  1116. package/node_modules/unbash/dist/heredoc.js +0 -25
  1117. package/node_modules/unbash/dist/internal-types.d.ts +0 -87
  1118. package/node_modules/unbash/dist/lexer.d.ts +0 -202
  1119. package/node_modules/unbash/dist/lexer.js +0 -3930
  1120. package/node_modules/unbash/dist/parser.d.ts +0 -4
  1121. package/node_modules/unbash/dist/parser.js +0 -1295
  1122. package/node_modules/unbash/dist/parts.d.ts +0 -17
  1123. package/node_modules/unbash/dist/parts.js +0 -82
  1124. package/node_modules/unbash/dist/printer.d.ts +0 -2
  1125. package/node_modules/unbash/dist/printer.js +0 -536
  1126. package/node_modules/unbash/dist/types.d.ts +0 -494
  1127. package/node_modules/unbash/dist/word.d.ts +0 -22
  1128. package/node_modules/unbash/dist/word.js +0 -102
  1129. package/node_modules/unbash/package.json +0 -80
  1130. /package/node_modules/@ykdz/{template-builtin-presets/templates/vue-hono-app/root → preset-vue-hono-app/native/resources/joint-e2e}/test/e2e/fixtures.ts +0 -0
  1131. /package/node_modules/@ykdz/{template-builtin-presets/templates/vue-hono-app/api → reference-hono-api/native}/src/index.ts +0 -0
  1132. /package/node_modules/@ykdz/{template-builtin-presets/templates/vue-hono-app/api → reference-hono-api/native}/src/runtime.ts +0 -0
  1133. /package/node_modules/@ykdz/{template-builtin-presets/templates/vue-hono-app/api → reference-hono-api/native}/src/server.ts +0 -0
  1134. /package/node_modules/@ykdz/{template-builtin-presets/templates/vue-hono-app/api → reference-hono-api/native}/test/app.test.ts +0 -0
  1135. /package/node_modules/@ykdz/{template-builtin-presets/templates/rust-bin → reference-rust-bin/native}/rustfmt.toml +0 -0
  1136. /package/node_modules/@ykdz/{template-builtin-presets/templates/rust-bin → reference-rust-bin/native}/src/main.rs +0 -0
  1137. /package/node_modules/@ykdz/{template-builtin-presets/templates/foundation/typescript-config → reference-tooling-config/native}/base.json +0 -0
  1138. /package/node_modules/@ykdz/{template-builtin-presets/templates/shared/oxc → reference-tooling-config/native}/oxfmt.config.ts +0 -0
  1139. /package/node_modules/@ykdz/{template-builtin-presets/templates/ts-cli/src → reference-ts-cli/native/src/publication}/cli-command-identity.ts +0 -0
  1140. /package/node_modules/@ykdz/{template-builtin-presets/templates/ts-lib → reference-ts-lib/native}/src/index.ts +0 -0
  1141. /package/node_modules/@ykdz/{template-builtin-presets/templates/ts-lib → reference-ts-lib/native}/src/name-schema.ts +0 -0
  1142. /package/node_modules/@ykdz/{template-builtin-presets/templates/ts-lib → reference-ts-lib/native}/test/greet.test.ts +0 -0
  1143. /package/node_modules/@ykdz/{template-builtin-presets/templates/vike-app/db → reference-vike-db/native}/scripts/seed-example.ts +0 -0
  1144. /package/node_modules/@ykdz/{template-builtin-presets/templates/vike-app/db → reference-vike-db/native}/src/db.ts +0 -0
  1145. /package/node_modules/@ykdz/{template-builtin-presets/templates/vike-app/db → reference-vike-db/native}/src/index.ts +0 -0
  1146. /package/node_modules/@ykdz/{template-builtin-presets/templates/vike-app/db → reference-vike-db/native}/src/queries/todos.ts +0 -0
  1147. /package/node_modules/@ykdz/{template-builtin-presets/templates/vike-app/db → reference-vike-db/native}/src/readiness.ts +0 -0
  1148. /package/node_modules/@ykdz/{template-builtin-presets/templates/vike-app/db → reference-vike-db/native}/src/schema.ts +0 -0
  1149. /package/node_modules/@ykdz/{template-builtin-presets/templates/vike-app/db → reference-vike-db/native}/src/seed/example.ts +0 -0
  1150. /package/node_modules/@ykdz/{template-builtin-presets/templates/vike-app/db → reference-vike-db/native}/src/storage.ts +0 -0
  1151. /package/node_modules/@ykdz/{template-builtin-presets/templates/vike-app/db → reference-vike-db/native}/src/types.ts +0 -0
  1152. /package/node_modules/@ykdz/{template-builtin-presets/templates/vike-app/db → reference-vike-db/native}/test/todos.test.ts +0 -0
  1153. /package/node_modules/@ykdz/{template-builtin-presets/templates/vike-app/db-migrations → reference-vike-migrations/native}/drizzle/migrations/20260709120325_old_captain_flint/migration.sql +0 -0
  1154. /package/node_modules/@ykdz/{template-builtin-presets/templates/vike-app/db-migrations → reference-vike-migrations/native}/drizzle/migrations/20260709120325_old_captain_flint/snapshot.json +0 -0
  1155. /package/node_modules/@ykdz/{template-builtin-presets/templates/vike-app/db-migrations → reference-vike-migrations/native}/tsconfig.build.json +0 -0
  1156. /package/node_modules/@ykdz/{template-builtin-presets/templates/vike-app/web → reference-vike-web/native}/+server.ts +0 -0
  1157. /package/node_modules/@ykdz/{template-builtin-presets/templates/vike-app/web → reference-vike-web/native}/.env.example +0 -0
  1158. /package/node_modules/@ykdz/{template-builtin-presets/templates/shared/vue → reference-vike-web/native}/TESTING.md +0 -0
  1159. /package/node_modules/@ykdz/{template-builtin-presets/templates/vike-app/web → reference-vike-web/native}/assets/logo.svg +0 -0
  1160. /package/node_modules/@ykdz/{template-builtin-presets/templates/vike-app/web → reference-vike-web/native}/components/PageShell.vue +0 -0
  1161. /package/node_modules/@ykdz/{template-builtin-presets/templates/vike-app/web → reference-vike-web/native}/pages/+Head.vue +0 -0
  1162. /package/node_modules/@ykdz/{template-builtin-presets/templates/vike-app/web → reference-vike-web/native}/pages/+Layout.vue +0 -0
  1163. /package/node_modules/@ykdz/{template-builtin-presets/templates/vike-app/web → reference-vike-web/native}/pages/+config.ts +0 -0
  1164. /package/node_modules/@ykdz/{template-builtin-presets/templates/vike-app/web → reference-vike-web/native}/pages/tailwind.css +0 -0
  1165. /package/node_modules/@ykdz/{template-builtin-presets/templates/vike-app/web → reference-vike-web/native}/playwright.config.ts +0 -0
  1166. /package/node_modules/@ykdz/{template-builtin-presets/templates/vike-app/web → reference-vike-web/native}/server/api.ts +0 -0
  1167. /package/node_modules/@ykdz/{template-builtin-presets/templates/vike-app/web → reference-vike-web/native}/test/playwright-teardown.ts +0 -0
  1168. /package/node_modules/@ykdz/{template-builtin-presets/templates/vike-app/web → reference-vike-web/native}/types/env.d.ts +0 -0
  1169. /package/node_modules/@ykdz/{template-builtin-presets/templates/vue-app → reference-vue-app/native}/env.d.ts +0 -0
  1170. /package/node_modules/@ykdz/{template-builtin-presets/templates/vue-app → reference-vue-app/native}/index.html +0 -0
  1171. /package/node_modules/@ykdz/{template-builtin-presets/templates/vue-app → reference-vue-app/native}/playwright.config.ts +0 -0
  1172. /package/node_modules/@ykdz/{template-builtin-presets/templates/vue-app → reference-vue-app/native}/src/App.vue +0 -0
  1173. /package/node_modules/@ykdz/{template-builtin-presets/templates/shared/vue → reference-vue-app/native}/src/main.ts +0 -0
  1174. /package/node_modules/@ykdz/{template-builtin-presets/templates/shared/vue → reference-vue-app/native}/src/stores/counter.ts +0 -0
  1175. /package/node_modules/@ykdz/{template-builtin-presets/templates/vue-hono-app/web → reference-vue-hono-web/native}/env.d.ts +0 -0
  1176. /package/node_modules/@ykdz/{template-builtin-presets/templates/vue-hono-app/web → reference-vue-hono-web/native}/index.html +0 -0
  1177. /package/node_modules/@ykdz/{template-builtin-presets/templates/vue-hono-app/web → reference-vue-hono-web/native}/src/api.ts +0 -0
  1178. /package/node_modules/@ykdz/{template-builtin-presets/templates/foundation/AGENTS.md.template → template-workspace/assets/agent-instructions.md} +0 -0
  1179. /package/node_modules/@ykdz/{template-builtin-presets/templates/foundation/devcontainer → template-workspace/assets/environment}/base.Dockerfile +0 -0
  1180. /package/node_modules/@ykdz/{template-builtin-presets/templates/shared → template-workspace/assets/environment}/devcontainer/browser-test.Dockerfile +0 -0
  1181. /package/node_modules/@ykdz/{template-builtin-presets/templates/shared → template-workspace/assets/environment}/devcontainer/github-cli.Dockerfile +0 -0
  1182. /package/node_modules/@ykdz/{template-builtin-presets/templates/rust-bin → template-workspace/assets/environment}/devcontainer/rust.Dockerfile +0 -0
  1183. /package/node_modules/@ykdz/{template-builtin-presets/templates/vike-app → template-workspace/assets/environment}/devcontainer/shellcheck.Dockerfile +0 -0
  1184. /package/node_modules/@ykdz/{template-builtin-presets/templates/shared → template-workspace/assets/environment}/editor-customization/capabilities.json +0 -0
  1185. /package/node_modules/@ykdz/{template-builtin-presets/templates/foundation → template-workspace/assets}/gitignore +0 -0
  1186. /package/node_modules/@ykdz/{template-builtin-presets/templates/foundation → template-workspace/assets}/tsconfig.json +0 -0
  1187. /package/node_modules/{unbash/dist/internal-types.js → @ykdz/template-workspace/dist/generation-context.js} +0 -0
  1188. /package/node_modules/{unbash/dist/types.js → @ykdz/template-workspace/dist/project-requirements.js} +0 -0
  1189. /package/node_modules/{@ykdz/template-builtin-presets/node_modules/semver → semver}/LICENSE +0 -0
  1190. /package/node_modules/{@ykdz/template-builtin-presets/node_modules/semver → semver}/README.md +0 -0
  1191. /package/node_modules/{@ykdz/template-builtin-presets/node_modules/semver → semver}/bin/semver.js +0 -0
  1192. /package/node_modules/{@ykdz/template-builtin-presets/node_modules/semver → semver}/classes/comparator.js +0 -0
  1193. /package/node_modules/{@ykdz/template-builtin-presets/node_modules/semver → semver}/classes/index.js +0 -0
  1194. /package/node_modules/{@ykdz/template-builtin-presets/node_modules/semver → semver}/classes/range.js +0 -0
  1195. /package/node_modules/{@ykdz/template-builtin-presets/node_modules/semver → semver}/classes/semver.js +0 -0
  1196. /package/node_modules/{@ykdz/template-builtin-presets/node_modules/semver → semver}/functions/clean.js +0 -0
  1197. /package/node_modules/{@ykdz/template-builtin-presets/node_modules/semver → semver}/functions/cmp.js +0 -0
  1198. /package/node_modules/{@ykdz/template-builtin-presets/node_modules/semver → semver}/functions/coerce.js +0 -0
  1199. /package/node_modules/{@ykdz/template-builtin-presets/node_modules/semver → semver}/functions/compare-build.js +0 -0
  1200. /package/node_modules/{@ykdz/template-builtin-presets/node_modules/semver → semver}/functions/compare-loose.js +0 -0
  1201. /package/node_modules/{@ykdz/template-builtin-presets/node_modules/semver → semver}/functions/compare.js +0 -0
  1202. /package/node_modules/{@ykdz/template-builtin-presets/node_modules/semver → semver}/functions/diff.js +0 -0
  1203. /package/node_modules/{@ykdz/template-builtin-presets/node_modules/semver → semver}/functions/eq.js +0 -0
  1204. /package/node_modules/{@ykdz/template-builtin-presets/node_modules/semver → semver}/functions/gt.js +0 -0
  1205. /package/node_modules/{@ykdz/template-builtin-presets/node_modules/semver → semver}/functions/gte.js +0 -0
  1206. /package/node_modules/{@ykdz/template-builtin-presets/node_modules/semver → semver}/functions/inc.js +0 -0
  1207. /package/node_modules/{@ykdz/template-builtin-presets/node_modules/semver → semver}/functions/lt.js +0 -0
  1208. /package/node_modules/{@ykdz/template-builtin-presets/node_modules/semver → semver}/functions/lte.js +0 -0
  1209. /package/node_modules/{@ykdz/template-builtin-presets/node_modules/semver → semver}/functions/major.js +0 -0
  1210. /package/node_modules/{@ykdz/template-builtin-presets/node_modules/semver → semver}/functions/minor.js +0 -0
  1211. /package/node_modules/{@ykdz/template-builtin-presets/node_modules/semver → semver}/functions/neq.js +0 -0
  1212. /package/node_modules/{@ykdz/template-builtin-presets/node_modules/semver → semver}/functions/parse.js +0 -0
  1213. /package/node_modules/{@ykdz/template-builtin-presets/node_modules/semver → semver}/functions/patch.js +0 -0
  1214. /package/node_modules/{@ykdz/template-builtin-presets/node_modules/semver → semver}/functions/prerelease.js +0 -0
  1215. /package/node_modules/{@ykdz/template-builtin-presets/node_modules/semver → semver}/functions/rcompare.js +0 -0
  1216. /package/node_modules/{@ykdz/template-builtin-presets/node_modules/semver → semver}/functions/rsort.js +0 -0
  1217. /package/node_modules/{@ykdz/template-builtin-presets/node_modules/semver → semver}/functions/satisfies.js +0 -0
  1218. /package/node_modules/{@ykdz/template-builtin-presets/node_modules/semver → semver}/functions/sort.js +0 -0
  1219. /package/node_modules/{@ykdz/template-builtin-presets/node_modules/semver → semver}/functions/truncate.js +0 -0
  1220. /package/node_modules/{@ykdz/template-builtin-presets/node_modules/semver → semver}/functions/valid.js +0 -0
  1221. /package/node_modules/{@ykdz/template-builtin-presets/node_modules/semver → semver}/index.js +0 -0
  1222. /package/node_modules/{@ykdz/template-builtin-presets/node_modules/semver → semver}/internal/constants.js +0 -0
  1223. /package/node_modules/{@ykdz/template-builtin-presets/node_modules/semver → semver}/internal/debug.js +0 -0
  1224. /package/node_modules/{@ykdz/template-builtin-presets/node_modules/semver → semver}/internal/identifiers.js +0 -0
  1225. /package/node_modules/{@ykdz/template-builtin-presets/node_modules/semver → semver}/internal/lrucache.js +0 -0
  1226. /package/node_modules/{@ykdz/template-builtin-presets/node_modules/semver → semver}/internal/parse-options.js +0 -0
  1227. /package/node_modules/{@ykdz/template-builtin-presets/node_modules/semver → semver}/internal/re.js +0 -0
  1228. /package/node_modules/{@ykdz/template-builtin-presets/node_modules/semver → semver}/package.json +0 -0
  1229. /package/node_modules/{@ykdz/template-builtin-presets/node_modules/semver → semver}/preload.js +0 -0
  1230. /package/node_modules/{@ykdz/template-builtin-presets/node_modules/semver → semver}/range.bnf +0 -0
  1231. /package/node_modules/{@ykdz/template-builtin-presets/node_modules/semver → semver}/ranges/gtr.js +0 -0
  1232. /package/node_modules/{@ykdz/template-builtin-presets/node_modules/semver → semver}/ranges/intersects.js +0 -0
  1233. /package/node_modules/{@ykdz/template-builtin-presets/node_modules/semver → semver}/ranges/ltr.js +0 -0
  1234. /package/node_modules/{@ykdz/template-builtin-presets/node_modules/semver → semver}/ranges/max-satisfying.js +0 -0
  1235. /package/node_modules/{@ykdz/template-builtin-presets/node_modules/semver → semver}/ranges/min-satisfying.js +0 -0
  1236. /package/node_modules/{@ykdz/template-builtin-presets/node_modules/semver → semver}/ranges/min-version.js +0 -0
  1237. /package/node_modules/{@ykdz/template-builtin-presets/node_modules/semver → semver}/ranges/outside.js +0 -0
  1238. /package/node_modules/{@ykdz/template-builtin-presets/node_modules/semver → semver}/ranges/simplify.js +0 -0
  1239. /package/node_modules/{@ykdz/template-builtin-presets/node_modules/semver → semver}/ranges/subset.js +0 -0
  1240. /package/node_modules/{@ykdz/template-builtin-presets/node_modules/semver → semver}/ranges/to-comparators.js +0 -0
  1241. /package/node_modules/{@ykdz/template-builtin-presets/node_modules/semver → semver}/ranges/valid.js +0 -0
  1242. /package/node_modules/{@ykdz/template-builtin-presets/node_modules/valibot → valibot}/LICENSE.md +0 -0
  1243. /package/node_modules/{@ykdz/template-builtin-presets/node_modules/valibot → valibot}/README.md +0 -0
  1244. /package/node_modules/{@ykdz/template-builtin-presets/node_modules/valibot → valibot}/dist/index.cjs +0 -0
  1245. /package/node_modules/{@ykdz/template-builtin-presets/node_modules/valibot → valibot}/dist/index.d.cts +0 -0
  1246. /package/node_modules/{@ykdz/template-builtin-presets/node_modules/valibot → valibot}/dist/index.d.mts +0 -0
  1247. /package/node_modules/{@ykdz/template-builtin-presets/node_modules/valibot → valibot}/dist/index.min.cjs +0 -0
  1248. /package/node_modules/{@ykdz/template-builtin-presets/node_modules/valibot → valibot}/dist/index.min.mjs +0 -0
  1249. /package/node_modules/{@ykdz/template-builtin-presets/node_modules/valibot → valibot}/dist/index.mjs +0 -0
  1250. /package/node_modules/{@ykdz/template-builtin-presets/node_modules/valibot → valibot}/package.json +0 -0
@@ -1,1295 +0,0 @@
1
- import { hasEmbeddedWordStructure, LexContext, MAX_SYNTAX_NESTING, Token, Lexer, TokenValue } from "./lexer.js";
2
- import { parseArithmeticExpression } from "./arithmetic.js";
3
- import { computeWordParts, computeEmbeddedWordParts, computeHereDocBodyParts } from "./parts.js";
4
- import { WordImpl } from "./word.js";
5
- import { AssignmentImpl } from "./assignment.js";
6
- import { CommandImpl } from "./command.js";
7
- import { HereDocBodyImpl } from "./heredoc.js";
8
- WordImpl._resolveWord = computeWordParts;
9
- HereDocBodyImpl._resolveParts = computeHereDocBodyParts;
10
- function isDeclarationCommand(name) {
11
- switch (name.length) {
12
- case 5:
13
- return name === "local" || name === "alias";
14
- case 6:
15
- return name === "export";
16
- case 7:
17
- return name === "declare" || name === "typeset";
18
- case 8:
19
- return name === "readonly";
20
- default:
21
- return false;
22
- }
23
- }
24
- class ArithmeticCommandImpl {
25
- type = "ArithmeticCommand";
26
- pos;
27
- end;
28
- body;
29
- #source;
30
- #depth;
31
- #expression = null;
32
- constructor(pos, end, body, source, depth) {
33
- this.pos = pos;
34
- this.end = end;
35
- this.body = body;
36
- this.#source = source;
37
- this.#depth = depth;
38
- }
39
- get expression() {
40
- if (this.#expression === null) {
41
- this.#expression = parseArithmeticWithParts(this.body, this.pos + 2, this.#source, this.#depth);
42
- }
43
- return this.#expression;
44
- }
45
- set expression(v) {
46
- this.#expression = v ?? undefined;
47
- }
48
- toJSON() {
49
- return {
50
- type: this.type,
51
- pos: this.pos,
52
- end: this.end,
53
- expression: this.expression,
54
- body: this.body,
55
- };
56
- }
57
- }
58
- class ArithmeticForImpl {
59
- type = "ArithmeticFor";
60
- pos;
61
- end;
62
- body;
63
- #initStr;
64
- #testStr;
65
- #updateStr;
66
- #initPos;
67
- #testPos;
68
- #updatePos;
69
- #source;
70
- #depth;
71
- #initialize = null;
72
- #test = null;
73
- #update = null;
74
- constructor(pos, end, body, initStr, testStr, updateStr, initPos, testPos, updatePos, source, depth) {
75
- this.pos = pos;
76
- this.end = end;
77
- this.body = body;
78
- this.#initStr = initStr;
79
- this.#testStr = testStr;
80
- this.#updateStr = updateStr;
81
- this.#initPos = initPos;
82
- this.#testPos = testPos;
83
- this.#updatePos = updatePos;
84
- this.#source = source;
85
- this.#depth = depth;
86
- }
87
- get initialize() {
88
- if (this.#initialize === null) {
89
- if (this.#initStr) {
90
- this.#initialize = parseArithmeticWithParts(this.#initStr, this.#initPos, this.#source, this.#depth);
91
- }
92
- else {
93
- this.#initialize = undefined;
94
- }
95
- }
96
- return this.#initialize;
97
- }
98
- set initialize(v) {
99
- this.#initialize = v ?? undefined;
100
- }
101
- get test() {
102
- if (this.#test === null) {
103
- if (this.#testStr) {
104
- this.#test = parseArithmeticWithParts(this.#testStr, this.#testPos, this.#source, this.#depth);
105
- }
106
- else {
107
- this.#test = undefined;
108
- }
109
- }
110
- return this.#test;
111
- }
112
- set test(v) {
113
- this.#test = v ?? undefined;
114
- }
115
- get update() {
116
- if (this.#update === null) {
117
- if (this.#updateStr) {
118
- this.#update = parseArithmeticWithParts(this.#updateStr, this.#updatePos, this.#source, this.#depth);
119
- }
120
- else {
121
- this.#update = undefined;
122
- }
123
- }
124
- return this.#update;
125
- }
126
- set update(v) {
127
- this.#update = v ?? undefined;
128
- }
129
- toJSON() {
130
- return {
131
- type: this.type,
132
- pos: this.pos,
133
- end: this.end,
134
- initialize: this.initialize,
135
- test: this.test,
136
- update: this.update,
137
- body: this.body,
138
- };
139
- }
140
- }
141
- const CASE_TERMINATORS = {
142
- [Token.DoubleSemi]: ";;",
143
- [Token.SemiAmp]: ";&",
144
- [Token.DoubleSemiAmp]: ";;&",
145
- };
146
- const REDIRECT_OPS = {
147
- ">": ">",
148
- ">>": ">>",
149
- "<": "<",
150
- "<>": "<>",
151
- "<&": "<&",
152
- ">&": ">&",
153
- ">|": ">|",
154
- "&>": "&>",
155
- "&>>": "&>>",
156
- };
157
- function parseArithmeticWithParts(body, offset, source, depth = 0) {
158
- if (!hasEmbeddedWordStructure(source, offset, offset + body.length)) {
159
- return parseArithmeticExpression(body, offset) ?? undefined;
160
- }
161
- const commandExpansions = [];
162
- const embeddedWords = [];
163
- const lexer = new Lexer(source);
164
- const expression = parseArithmeticExpression(body, offset, {
165
- commandExpansions,
166
- embeddedWords,
167
- findClosingBracket: (start, end) => lexer.findClosingBracket(start, end),
168
- findClosingBrace: (start, end) => lexer.findClosingBrace(start, end),
169
- findClosingParenthesis: (start, end) => lexer.findClosingParenthesis(start, end),
170
- findArithmeticExpansionEnd: (start, end) => lexer.findArithmeticExpansionEnd(start, end),
171
- findArithmeticWordEnd: (start, end) => lexer.findArithmeticWordEnd(start, end),
172
- }) ?? undefined;
173
- for (const node of commandExpansions) {
174
- if (depth <= MAX_SYNTAX_NESTING) {
175
- node.script = parseRegion(source, node.pos + 2, node.end - 1, depth + 1, true);
176
- }
177
- }
178
- for (const node of embeddedWords)
179
- node.parts = computeEmbeddedWordParts(source, node, depth);
180
- return expression;
181
- }
182
- // Lookup tables for O(1) token classification (replaces sequential comparisons)
183
- const listTerminators = new Uint8Array(37);
184
- listTerminators[Token.EOF] = 1;
185
- listTerminators[Token.RParen] = 1;
186
- listTerminators[Token.RBrace] = 1;
187
- listTerminators[Token.Then] = 1;
188
- listTerminators[Token.Else] = 1;
189
- listTerminators[Token.Elif] = 1;
190
- listTerminators[Token.Fi] = 1;
191
- listTerminators[Token.Do] = 1;
192
- listTerminators[Token.Done] = 1;
193
- listTerminators[Token.Esac] = 1;
194
- listTerminators[Token.DoubleSemi] = 1;
195
- listTerminators[Token.SemiAmp] = 1;
196
- listTerminators[Token.DoubleSemiAmp] = 1;
197
- // After one of these Bash is at a command-start position, the only place a reserved-word
198
- // terminator may follow with no separator.
199
- const compoundClosers = new Uint8Array(37);
200
- compoundClosers[Token.RParen] = 1;
201
- compoundClosers[Token.RBrace] = 1;
202
- compoundClosers[Token.DblRBracket] = 1;
203
- compoundClosers[Token.Fi] = 1;
204
- compoundClosers[Token.Done] = 1;
205
- compoundClosers[Token.Esac] = 1;
206
- compoundClosers[Token.ArithCmd] = 1;
207
- // Inside `[[ ]]` only an unquoted `!` negates; `'!'` and `\!` are ordinary operands.
208
- function isTestNegation(t) {
209
- return t.token === Token.Word && t.keywordEligible && t.value === "!";
210
- }
211
- const commandStarts = new Uint8Array(37);
212
- commandStarts[Token.Word] = 1;
213
- commandStarts[Token.Assignment] = 1;
214
- commandStarts[Token.Bang] = 1;
215
- commandStarts[Token.LParen] = 1;
216
- commandStarts[Token.LBrace] = 1;
217
- commandStarts[Token.DblLBracket] = 1;
218
- commandStarts[Token.If] = 1;
219
- commandStarts[Token.For] = 1;
220
- commandStarts[Token.While] = 1;
221
- commandStarts[Token.Until] = 1;
222
- commandStarts[Token.Case] = 1;
223
- commandStarts[Token.Function] = 1;
224
- commandStarts[Token.Select] = 1;
225
- commandStarts[Token.ArithCmd] = 1;
226
- commandStarts[Token.Coproc] = 1;
227
- commandStarts[Token.Redirect] = 1;
228
- const UNARY_TEST_OPS = {
229
- "-a": 1,
230
- "-b": 1,
231
- "-c": 1,
232
- "-d": 1,
233
- "-e": 1,
234
- "-f": 1,
235
- "-g": 1,
236
- "-h": 1,
237
- "-k": 1,
238
- "-p": 1,
239
- "-r": 1,
240
- "-s": 1,
241
- "-t": 1,
242
- "-u": 1,
243
- "-v": 1,
244
- "-w": 1,
245
- "-x": 1,
246
- "-z": 1,
247
- "-n": 1,
248
- "-o": 1,
249
- "-N": 1,
250
- "-S": 1,
251
- "-L": 1,
252
- "-G": 1,
253
- "-O": 1,
254
- "-R": 1,
255
- };
256
- const BINARY_TEST_OPS = {
257
- "==": 1,
258
- "!=": 1,
259
- "=~": 1,
260
- "=": 1,
261
- "-eq": 1,
262
- "-ne": 1,
263
- "-lt": 1,
264
- "-le": 1,
265
- "-gt": 1,
266
- "-ge": 1,
267
- "-nt": 1,
268
- "-ot": 1,
269
- "-ef": 1,
270
- "<": 1,
271
- ">": 1,
272
- };
273
- const EMPTY_REDIRECTS = [];
274
- export function parse(source) {
275
- return new Parser(source, 0, source.length).run();
276
- }
277
- // Parse a [start, end) window of `source` in place, so the resulting nodes index the original
278
- // source directly. Used to resolve substitution scripts with absolute offsets; not public API.
279
- export function parseRegion(source, start, end, depth = 0, parenBoundary = false) {
280
- return new Parser(source, start, end, depth, parenBoundary).run();
281
- }
282
- class Parser {
283
- tok;
284
- source;
285
- start;
286
- end;
287
- depth;
288
- errors = null;
289
- syntaxDepth = 0;
290
- // `depth` counts the substitution scripts (and sub-fields) enclosing this region; it
291
- // shares the MAX_SYNTAX_NESTING budget with the lexer's lazy word-part materialization.
292
- constructor(source, start, end, depth = 0, parenBoundary = false) {
293
- this.tok = new Lexer(source, start, end, parenBoundary);
294
- this.tok._nestingDepth = depth;
295
- this.source = source;
296
- this.start = start;
297
- this.end = end;
298
- this.depth = depth;
299
- }
300
- run() {
301
- const start = this.start;
302
- // The boundary script one level past the budget still parses (one level is cheap and
303
- // iterative) but is flagged: everything below it stays unresolved.
304
- if (this.depth > MAX_SYNTAX_NESTING)
305
- this.error("maximum substitution nesting depth exceeded", start);
306
- let shebang;
307
- if (start === 0 && this.source.charCodeAt(0) === 35 && this.source.charCodeAt(1) === 33) {
308
- const nl = this.source.indexOf("\n");
309
- shebang = nl === -1 ? this.source : this.source.slice(0, nl);
310
- }
311
- const commands = this.list();
312
- for (;;) {
313
- const unexpected = this.tok.peek(LexContext.CommandStart);
314
- if (unexpected.token === Token.EOF)
315
- break;
316
- this.error(`unexpected token '${unexpected.value}'`, unexpected.pos);
317
- // `In` cannot join `listTerminators`: `list()` shares it, and `in` must not terminate a
318
- // list inside `for`/`case`.
319
- if (!listTerminators[unexpected.token] && unexpected.token !== Token.In)
320
- break;
321
- this.tok.next(LexContext.CommandStart);
322
- let separator = this.tok.peek(LexContext.CommandStart).token;
323
- if (separator !== Token.Semi && separator !== Token.Newline && separator !== Token.Amp)
324
- break;
325
- while (separator === Token.Semi || separator === Token.Newline || separator === Token.Amp) {
326
- this.tok.next(LexContext.CommandStart);
327
- separator = this.tok.peek(LexContext.CommandStart).token;
328
- }
329
- const recovered = this.list();
330
- for (let i = 0; i < recovered.length; i++)
331
- commands.push(recovered[i]);
332
- }
333
- const lexerErrors = this.tok._errors;
334
- if (lexerErrors !== null && lexerErrors.length > 0) {
335
- const errors = this.errors ?? (this.errors = []);
336
- for (let i = 0; i < lexerErrors.length; i++)
337
- errors.push(lexerErrors[i]);
338
- }
339
- if (this.errors !== null && this.errors.length > 1)
340
- this.errors.sort((a, b) => a.pos - b.pos);
341
- return {
342
- type: "Script",
343
- pos: start,
344
- end: this.end,
345
- shebang,
346
- commands,
347
- errors: this.errors ?? undefined,
348
- };
349
- }
350
- error(message, pos) {
351
- (this.errors ?? (this.errors = [])).push({ message, pos });
352
- }
353
- skipSemi() {
354
- if (this.tok.peek(LexContext.Normal).token === Token.Semi)
355
- this.tok.next(LexContext.Normal);
356
- }
357
- accept(token, ctx = LexContext.Normal) {
358
- if (this.tok.peek(ctx).token === token)
359
- return this.tok.next(ctx);
360
- return null;
361
- }
362
- acceptEnd(token, ctx = LexContext.Normal) {
363
- if (this.tok.peek(ctx).token === token)
364
- return this.tok.next(ctx).end;
365
- return -1;
366
- }
367
- skipNewlines(ctx = LexContext.Normal) {
368
- while (this.tok.peek(ctx).token === Token.Newline)
369
- this.tok.next(ctx);
370
- }
371
- makeStatement(command) {
372
- return {
373
- type: "Statement",
374
- pos: command.pos,
375
- end: command.end,
376
- command,
377
- background: undefined,
378
- };
379
- }
380
- // list := and_or ((';' | '&' | NEWLINE) and_or)* [';' | '&' | NEWLINE]
381
- list() {
382
- const commands = [];
383
- this.skipNewlines(LexContext.CommandStart);
384
- let t = this.tok.peek(LexContext.CommandStart).token;
385
- if (listTerminators[t] || !commandStarts[t])
386
- return commands;
387
- const first = this.andOr();
388
- if (first)
389
- commands.push(this.makeStatement(first));
390
- for (;;) {
391
- t = this.tok.peekFollow(compoundClosers).token;
392
- if (t !== Token.Semi && t !== Token.Newline && t !== Token.Amp)
393
- break;
394
- const isBackground = t === Token.Amp;
395
- const sepEnd = this.tok.next(LexContext.Normal).end;
396
- if (isBackground) {
397
- const stmt = commands[commands.length - 1];
398
- stmt.background = true;
399
- stmt.end = sepEnd;
400
- }
401
- this.skipNewlines(LexContext.CommandStart);
402
- t = this.tok.peek(LexContext.CommandStart).token;
403
- if (listTerminators[t] || !commandStarts[t])
404
- break;
405
- const node = this.andOr();
406
- if (node)
407
- commands.push(this.makeStatement(node));
408
- }
409
- return commands;
410
- }
411
- // and_or := pipeline (('&&' | '||') newlines pipeline)*
412
- andOr() {
413
- const first = this.pipeline();
414
- if (!first)
415
- return null;
416
- let t = this.tok.peek(LexContext.Normal).token;
417
- if (t !== Token.And && t !== Token.Or)
418
- return first;
419
- const commands = [first];
420
- const operators = [];
421
- do {
422
- const operatorToken = this.tok.next(LexContext.Normal);
423
- const operator = operatorToken.token === Token.And ? "&&" : "||";
424
- this.skipNewlines(LexContext.CommandStart);
425
- const next = this.pipeline();
426
- if (!next) {
427
- this.error(`expected command after '${operator}'`, operatorToken.end);
428
- break;
429
- }
430
- operators.push(operator);
431
- commands.push(next);
432
- t = this.tok.peek(LexContext.Normal).token;
433
- } while (t === Token.And || t === Token.Or);
434
- return {
435
- type: "AndOr",
436
- pos: first.pos,
437
- end: commands[commands.length - 1].end,
438
- commands,
439
- operators,
440
- };
441
- }
442
- withRedirects(command) {
443
- const redirects = this.collectTrailingRedirects();
444
- if (redirects.length === 0)
445
- return command;
446
- return { type: "Redirected", pos: command.pos, end: redirects[redirects.length - 1].end, command, redirects };
447
- }
448
- pipeline() {
449
- let prefixes;
450
- let exceeded = false;
451
- for (;;) {
452
- const token = this.tok.peek(LexContext.CommandStart);
453
- const isTime = token.token === Token.Word && token.keywordEligible && token.value === "time";
454
- if (token.token !== Token.Bang && !isTime)
455
- break;
456
- const prefix = this.tok.next(LexContext.CommandStart);
457
- const pos = prefix.pos;
458
- const keywordEnd = prefix.end;
459
- let posix;
460
- let endOfOptions;
461
- if (isTime) {
462
- let flag = this.tok.peek(LexContext.CommandStart);
463
- if (flag.token === Token.Word && flag.keywordEligible && flag.value === "-p") {
464
- this.tok.next(LexContext.CommandStart);
465
- posix = { pos: flag.pos, end: flag.end };
466
- flag = this.tok.peek(LexContext.CommandStart);
467
- }
468
- if (flag.token === Token.Word && flag.keywordEligible && flag.value === "--") {
469
- this.tok.next(LexContext.CommandStart);
470
- endOfOptions = { pos: flag.pos, end: flag.end };
471
- }
472
- }
473
- if (prefixes === undefined)
474
- prefixes = [];
475
- if (prefixes.length + this.syntaxDepth === MAX_SYNTAX_NESTING) {
476
- if (!exceeded)
477
- this.error("maximum pipeline prefix nesting depth exceeded", pos);
478
- exceeded = true;
479
- continue;
480
- }
481
- prefixes.push(isTime
482
- ? {
483
- type: "Time",
484
- pos,
485
- end: endOfOptions?.end ?? posix?.end ?? keywordEnd,
486
- keywordEnd,
487
- posix,
488
- endOfOptions,
489
- command: undefined,
490
- }
491
- : { type: "Negation", pos, end: keywordEnd, keywordEnd, command: undefined });
492
- }
493
- if (!prefixes)
494
- return this.pipelineCommands();
495
- this.syntaxDepth += prefixes.length;
496
- let command = this.pipelineCommands();
497
- this.syntaxDepth -= prefixes.length;
498
- for (let i = prefixes.length - 1; i >= 0; i--) {
499
- const prefix = prefixes[i];
500
- prefix.command = command ?? undefined;
501
- if (command)
502
- prefix.end = command.end;
503
- command = prefix;
504
- }
505
- return command;
506
- }
507
- pipelineCommands() {
508
- const first = this.command();
509
- if (!first)
510
- return null;
511
- if (this.tok.peek(LexContext.Normal).token !== Token.Pipe)
512
- return first;
513
- const commands = [first];
514
- const operators = [];
515
- while (this.tok.peek(LexContext.Normal).token === Token.Pipe) {
516
- const pipeToken = this.tok.next(LexContext.Normal);
517
- const operator = pipeToken.value === "|&" ? "|&" : "|";
518
- this.skipNewlines(LexContext.CommandStart);
519
- const cmd = this.command();
520
- if (!cmd) {
521
- this.error(`expected command after '${operator}'`, pipeToken.end);
522
- break;
523
- }
524
- operators.push(operator);
525
- commands.push(cmd);
526
- }
527
- if (commands.length === 1) {
528
- return commands[0];
529
- }
530
- const pipeline = {
531
- type: "Pipeline",
532
- pos: first.pos,
533
- end: commands[commands.length - 1].end,
534
- commands,
535
- operators,
536
- };
537
- return pipeline;
538
- }
539
- // command := compound_command | function_def | simple_command
540
- command() {
541
- let compound;
542
- switch (this.tok.peek(LexContext.CommandStart).token) {
543
- case Token.LParen:
544
- compound = this.subshell();
545
- break;
546
- case Token.LBrace:
547
- compound = this.braceGroup();
548
- break;
549
- case Token.If:
550
- compound = this.ifClause();
551
- break;
552
- case Token.For:
553
- compound = this.forClause();
554
- break;
555
- case Token.While:
556
- compound = this.whileClause();
557
- break;
558
- case Token.Until:
559
- compound = this.untilClause();
560
- break;
561
- case Token.Case:
562
- compound = this.caseClause();
563
- break;
564
- case Token.Function:
565
- return this.functionDef();
566
- case Token.Select:
567
- compound = this.selectClause();
568
- break;
569
- case Token.DblLBracket:
570
- compound = this.testCommand();
571
- break;
572
- case Token.ArithCmd:
573
- compound = this.arithCommand();
574
- break;
575
- case Token.Coproc:
576
- return this.coprocCommand();
577
- case Token.Word:
578
- case Token.Assignment:
579
- case Token.Redirect:
580
- return this.simpleCommandOrFunction();
581
- default:
582
- return null;
583
- }
584
- return this.withRedirects(compound);
585
- }
586
- collectTrailingRedirects() {
587
- let redirects = EMPTY_REDIRECTS;
588
- while (this.tok.peekFollow(compoundClosers).token === Token.Redirect) {
589
- if (redirects === EMPTY_REDIRECTS)
590
- redirects = [];
591
- redirects.push(this.readRedirect(LexContext.Normal));
592
- }
593
- return redirects;
594
- }
595
- // arith_command := (( expr ))
596
- arithCommand() {
597
- const tok = this.tok.next(LexContext.CommandStart);
598
- return new ArithmeticCommandImpl(tok.pos, tok.end, tok.value, this.source, this.depth);
599
- }
600
- // coproc := COPROC ([name] compound_command [redirections] | simple_command)
601
- coprocCommand() {
602
- const start = this.tok.next(LexContext.CommandStart);
603
- const pos = start.pos;
604
- const first = this.tok.peek(LexContext.CommandStart);
605
- let name;
606
- // Only a compound command can follow a coprocess name. Decide before parsing
607
- // a simple command so its assignments and reserved words use the actual name.
608
- if (first.token === Token.Word) {
609
- const lookahead = new Lexer(this.source, first.end, this.end);
610
- lookahead._nestingDepth = this.depth;
611
- switch (lookahead.peek(LexContext.CommandStart).token) {
612
- case Token.LParen:
613
- // `name ( )` opens a function definition, not a subshell body after a name.
614
- lookahead.next(LexContext.CommandStart);
615
- if (lookahead.peek(LexContext.Normal).token !== Token.RParen)
616
- name = this.readWord(LexContext.CommandStart);
617
- break;
618
- case Token.LBrace:
619
- case Token.If:
620
- case Token.For:
621
- case Token.While:
622
- case Token.Until:
623
- case Token.Case:
624
- case Token.Select:
625
- case Token.DblLBracket:
626
- case Token.ArithCmd:
627
- name = this.readWord(LexContext.CommandStart);
628
- }
629
- }
630
- const cmd = this.command();
631
- if (cmd && cmd.type !== "Function" && cmd.type !== "Coproc") {
632
- return { type: "Coproc", pos, end: cmd.end, name, body: cmd };
633
- }
634
- this.error("expected command after 'coproc'", cmd?.pos ?? start.end);
635
- const body = cmd
636
- ? this.makeCompoundList([this.makeStatement(cmd)])
637
- : { type: "CompoundList", pos: start.end, end: start.end, commands: [] };
638
- return { type: "Coproc", pos, end: body.end, name, body };
639
- }
640
- // subshell := '(' list ')'
641
- subshell() {
642
- return this.subshellBody(this.tok.next(LexContext.CommandStart).pos);
643
- }
644
- // Continues a subshell whose '(' the caller already consumed.
645
- subshellBody(pos) {
646
- if (this.syntaxDepth === MAX_SYNTAX_NESTING) {
647
- this.error("maximum subshell nesting depth exceeded", pos);
648
- const closeEnd = this.tok.skipSubshellBody();
649
- if (closeEnd < 0)
650
- this.error("expected ')' to close subshell", this.tok.getPos());
651
- const end = closeEnd >= 0 ? closeEnd : pos;
652
- return { type: "Subshell", pos, end, body: this.makeCompoundList([]) };
653
- }
654
- this.syntaxDepth++;
655
- const commands = this.list();
656
- this.syntaxDepth--;
657
- if (commands.length === 0)
658
- this.error("expected command in subshell", pos);
659
- const closeEnd = this.acceptEnd(Token.RParen, LexContext.Normal);
660
- if (closeEnd < 0)
661
- this.error("expected ')' to close subshell", this.tok.getPos());
662
- const end = closeEnd >= 0 ? closeEnd : pos;
663
- return { type: "Subshell", pos, end, body: this.makeCompoundList(commands) };
664
- }
665
- // brace_group := '{' list '}'
666
- braceGroup() {
667
- const pos = this.tok.next(LexContext.CommandStart).pos;
668
- if (this.syntaxDepth === MAX_SYNTAX_NESTING) {
669
- this.error("maximum brace group nesting depth exceeded", pos);
670
- const closeEnd = this.tok.skipCompoundBody(Token.RBrace);
671
- if (closeEnd < 0)
672
- this.error("expected '}' to close brace group", this.tok.getPos());
673
- const end = closeEnd >= 0 ? closeEnd : pos;
674
- return { type: "BraceGroup", pos, end, body: this.makeCompoundList([]) };
675
- }
676
- this.syntaxDepth++;
677
- const commands = this.list();
678
- this.syntaxDepth--;
679
- if (commands.length === 0)
680
- this.error("expected command in brace group", pos);
681
- const closeEnd = this.acceptEnd(Token.RBrace, LexContext.Normal);
682
- if (closeEnd < 0)
683
- this.error("expected '}' to close brace group", this.tok.getPos());
684
- const end = closeEnd >= 0 ? closeEnd : pos;
685
- return { type: "BraceGroup", pos, end, body: this.makeCompoundList(commands) };
686
- }
687
- // if_clause := IF list THEN list (ELIF list THEN list)* [ELSE list] FI
688
- ifClause() {
689
- const pos = this.tok.next(LexContext.CommandStart).pos;
690
- if (this.syntaxDepth === MAX_SYNTAX_NESTING) {
691
- this.error("maximum if nesting depth exceeded", pos);
692
- const closeEnd = this.tok.skipCompoundBody(Token.Fi);
693
- if (closeEnd < 0)
694
- this.error("expected 'fi' to close 'if'", this.tok.getPos());
695
- const end = closeEnd >= 0 ? closeEnd : pos;
696
- return {
697
- type: "If",
698
- pos,
699
- end,
700
- clause: this.makeCompoundList([]),
701
- then: this.makeCompoundList([]),
702
- else: undefined,
703
- };
704
- }
705
- this.syntaxDepth++;
706
- let firstBranch;
707
- let lastBranch;
708
- let branchPos = pos;
709
- let clause;
710
- let then_;
711
- for (;;) {
712
- clause = this.makeCompoundList(this.list());
713
- this.skipSemi();
714
- const thenToken = this.accept(Token.Then, LexContext.CommandStart);
715
- if (!thenToken)
716
- this.error("expected 'then'", this.tok.getPos());
717
- const thenCommands = this.list();
718
- if (thenToken && thenCommands.length === 0)
719
- this.error("expected command after 'then'", this.tok.peek(LexContext.CommandStart).pos);
720
- then_ = this.makeCompoundList(thenCommands);
721
- this.skipSemi();
722
- const elif = this.accept(Token.Elif, LexContext.CommandStart);
723
- if (!elif)
724
- break;
725
- const branch = {
726
- type: "If",
727
- pos: branchPos,
728
- end: branchPos,
729
- clause,
730
- then: then_,
731
- else: undefined,
732
- };
733
- if (lastBranch)
734
- lastBranch.else = branch;
735
- else
736
- firstBranch = branch;
737
- lastBranch = branch;
738
- branchPos = elif.pos;
739
- }
740
- let else_;
741
- let end;
742
- if (this.accept(Token.Else, LexContext.CommandStart)) {
743
- else_ = this.makeCompoundList(this.list());
744
- this.skipSemi();
745
- const closeEnd = this.acceptEnd(Token.Fi, LexContext.CommandStart);
746
- if (closeEnd < 0)
747
- this.error("expected 'fi' to close 'if'", this.tok.getPos());
748
- end = closeEnd >= 0 ? closeEnd : branchPos;
749
- }
750
- else {
751
- const closeEnd = this.acceptEnd(Token.Fi, LexContext.CommandStart);
752
- if (closeEnd < 0)
753
- this.error("expected 'fi' to close 'if'", this.tok.getPos());
754
- end = closeEnd >= 0 ? closeEnd : branchPos;
755
- }
756
- this.syntaxDepth--;
757
- const finalBranch = { type: "If", pos: branchPos, end, clause, then: then_, else: else_ };
758
- if (!firstBranch)
759
- return finalBranch;
760
- lastBranch.else = finalBranch;
761
- let branch = firstBranch;
762
- while (branch?.type === "If") {
763
- branch.end = end;
764
- branch = branch.else;
765
- }
766
- return firstBranch;
767
- }
768
- // for_clause := FOR word [IN word* (';'|NL)] DO list DONE
769
- // | FOR '((' expr '))' [';'|NL] DO list DONE
770
- forClause() {
771
- const pos = this.tok.next(LexContext.CommandStart).pos;
772
- if (this.tok.peek(LexContext.Normal).token === Token.LParen) {
773
- return this.cStyleFor(pos);
774
- }
775
- const name = this.readWord(LexContext.Normal);
776
- let wordlist;
777
- this.skipNewlines(LexContext.CommandStart);
778
- if (this.tok.peek(LexContext.CommandStart).token === Token.In) {
779
- this.tok.next(LexContext.CommandStart);
780
- wordlist = [];
781
- while (this.tok.peek(LexContext.Normal).token === Token.Word) {
782
- wordlist.push(this.readWord(LexContext.Normal));
783
- }
784
- }
785
- this.skipSemi();
786
- this.skipNewlines(LexContext.CommandStart);
787
- if (this.tok.peek(LexContext.CommandStart).token === Token.LBrace) {
788
- const bg = this.braceGroup();
789
- return { type: "For", pos, end: bg.end, name, wordlist, body: bg.body };
790
- }
791
- if (!this.accept(Token.Do, LexContext.CommandStart))
792
- this.error("expected 'do'", this.tok.getPos());
793
- if (this.syntaxDepth === MAX_SYNTAX_NESTING) {
794
- this.error("maximum for nesting depth exceeded", pos);
795
- const closeEnd = this.tok.skipCompoundBody(Token.Done);
796
- if (closeEnd < 0)
797
- this.error("expected 'done' to close 'for'", this.tok.getPos());
798
- const end = closeEnd >= 0 ? closeEnd : pos;
799
- return { type: "For", pos, end, name, wordlist, body: this.makeCompoundList([]) };
800
- }
801
- this.syntaxDepth++;
802
- const body = this.list();
803
- this.syntaxDepth--;
804
- this.skipSemi();
805
- const closeEnd = this.acceptEnd(Token.Done, LexContext.CommandStart);
806
- if (closeEnd < 0)
807
- this.error("expected 'done' to close 'for'", this.tok.getPos());
808
- const end = closeEnd >= 0 ? closeEnd : pos;
809
- return { type: "For", pos, end, name, wordlist, body: this.makeCompoundList(body) };
810
- }
811
- // C-style for: (( expr; expr; expr )) [;|NL] do list done | { list }
812
- cStyleFor(pos) {
813
- const [initStr, testStr, updateStr, initPos, testPos, updatePos] = this.tok.readCStyleForExprs();
814
- if (this.tok.peek(LexContext.CommandStart).token === Token.Semi)
815
- this.tok.next(LexContext.CommandStart);
816
- this.skipNewlines(LexContext.CommandStart);
817
- if (this.tok.peek(LexContext.CommandStart).token === Token.LBrace) {
818
- const bg = this.braceGroup();
819
- return new ArithmeticForImpl(pos, bg.end, bg.body, initStr, testStr, updateStr, initPos, testPos, updatePos, this.source, this.depth);
820
- }
821
- if (!this.accept(Token.Do, LexContext.CommandStart))
822
- this.error("expected 'do'", this.tok.getPos());
823
- if (this.syntaxDepth === MAX_SYNTAX_NESTING) {
824
- this.error("maximum for nesting depth exceeded", pos);
825
- const closeEnd = this.tok.skipCompoundBody(Token.Done);
826
- if (closeEnd < 0)
827
- this.error("expected 'done' to close 'for'", this.tok.getPos());
828
- const end = closeEnd >= 0 ? closeEnd : pos;
829
- return new ArithmeticForImpl(pos, end, this.makeCompoundList([]), initStr, testStr, updateStr, initPos, testPos, updatePos, this.source, this.depth);
830
- }
831
- this.syntaxDepth++;
832
- const body = this.list();
833
- this.syntaxDepth--;
834
- const closeEnd = this.acceptEnd(Token.Done, LexContext.CommandStart);
835
- if (closeEnd < 0)
836
- this.error("expected 'done' to close 'for'", this.tok.getPos());
837
- const end = closeEnd >= 0 ? closeEnd : pos;
838
- return new ArithmeticForImpl(pos, end, this.makeCompoundList(body), initStr, testStr, updateStr, initPos, testPos, updatePos, this.source, this.depth);
839
- }
840
- whileClause() {
841
- return this.whileOrUntil("while");
842
- }
843
- untilClause() {
844
- return this.whileOrUntil("until");
845
- }
846
- whileOrUntil(kind) {
847
- const pos = this.tok.next(LexContext.CommandStart).pos;
848
- if (this.syntaxDepth === MAX_SYNTAX_NESTING) {
849
- this.error(`maximum ${kind} nesting depth exceeded`, pos);
850
- const closeEnd = this.tok.skipCompoundBody(Token.Done);
851
- if (closeEnd < 0)
852
- this.error(`expected 'done' to close '${kind}'`, this.tok.getPos());
853
- const end = closeEnd >= 0 ? closeEnd : pos;
854
- return {
855
- type: "While",
856
- pos,
857
- end,
858
- kind,
859
- clause: this.makeCompoundList([]),
860
- body: this.makeCompoundList([]),
861
- };
862
- }
863
- this.syntaxDepth++;
864
- const clause = this.makeCompoundList(this.list());
865
- this.skipSemi();
866
- if (!this.accept(Token.Do, LexContext.CommandStart))
867
- this.error("expected 'do'", this.tok.getPos());
868
- const body = this.list();
869
- this.skipSemi();
870
- const closeEnd = this.acceptEnd(Token.Done, LexContext.CommandStart);
871
- if (closeEnd < 0)
872
- this.error(`expected 'done' to close '${kind}'`, this.tok.getPos());
873
- const end = closeEnd >= 0 ? closeEnd : pos;
874
- this.syntaxDepth--;
875
- return { type: "While", pos, end, kind, clause, body: this.makeCompoundList(body) };
876
- }
877
- // case_clause := CASE word IN (pattern) list (;; | ;& | ;;&) ... ESAC
878
- caseClause() {
879
- const pos = this.tok.next(LexContext.CommandStart).pos;
880
- const word = this.readWord(LexContext.Normal);
881
- this.skipNewlines(LexContext.CommandStart);
882
- if (!this.accept(Token.In, LexContext.CommandStart))
883
- this.error("expected 'in' after 'case' word", this.tok.getPos());
884
- this.skipNewlines(LexContext.CommandStart);
885
- if (this.syntaxDepth === MAX_SYNTAX_NESTING) {
886
- this.error("maximum case nesting depth exceeded", pos);
887
- const closeEnd = this.tok.skipCompoundBody(Token.Esac);
888
- if (closeEnd < 0)
889
- this.error("expected 'esac' to close 'case'", this.tok.getPos());
890
- const end = closeEnd >= 0 ? closeEnd : pos;
891
- return { type: "Case", pos, end, word, items: [] };
892
- }
893
- this.syntaxDepth++;
894
- const items = [];
895
- let t = this.tok.peek(LexContext.CommandStart).token;
896
- while (t !== Token.Esac && t !== Token.EOF) {
897
- const itemPos = this.tok.peek(LexContext.Normal).pos;
898
- this.accept(Token.LParen, LexContext.Normal);
899
- const pattern = [];
900
- t = this.tok.peek(LexContext.Normal).token;
901
- while (t !== Token.RParen && t !== Token.EOF) {
902
- if (t !== Token.Pipe)
903
- pattern.push(this.toWord(this.tok.next(LexContext.Normal)));
904
- else
905
- this.tok.next(LexContext.Normal);
906
- t = this.tok.peek(LexContext.Normal).token;
907
- }
908
- const rparenEnd = this.acceptEnd(Token.RParen, LexContext.Normal);
909
- const cmds = this.list();
910
- // An empty body belongs where commands would start, not wherever the lexer stopped.
911
- const bodyPos = rparenEnd >= 0 ? rparenEnd : pattern.length > 0 ? pattern[pattern.length - 1].end : itemPos;
912
- const itemEnd = cmds.length > 0 ? cmds[cmds.length - 1].end : bodyPos;
913
- const item = {
914
- type: "CaseItem",
915
- pos: itemPos,
916
- end: itemEnd,
917
- pattern,
918
- body: cmds.length > 0
919
- ? this.makeCompoundList(cmds)
920
- : { type: "CompoundList", pos: bodyPos, end: bodyPos, commands: [] },
921
- terminator: undefined,
922
- };
923
- t = this.tok.peek(LexContext.CommandStart).token;
924
- if (t === Token.DoubleSemi || t === Token.SemiAmp || t === Token.DoubleSemiAmp) {
925
- const termTok = this.tok.next(LexContext.CommandStart);
926
- item.terminator = CASE_TERMINATORS[termTok.token];
927
- item.end = termTok.end;
928
- }
929
- items.push(item);
930
- this.skipNewlines(LexContext.CommandStart);
931
- t = this.tok.peek(LexContext.CommandStart).token;
932
- }
933
- const closeEnd = this.acceptEnd(Token.Esac, LexContext.CommandStart);
934
- if (closeEnd < 0)
935
- this.error("expected 'esac' to close 'case'", this.tok.getPos());
936
- const end = closeEnd >= 0 ? closeEnd : pos;
937
- this.syntaxDepth--;
938
- return { type: "Case", pos, end, word, items };
939
- }
940
- // select_clause := SELECT word [IN word* (';'|NL)] DO list DONE
941
- selectClause() {
942
- const pos = this.tok.next(LexContext.CommandStart).pos;
943
- const name = this.readWord(LexContext.Normal);
944
- let wordlist;
945
- this.skipNewlines(LexContext.CommandStart);
946
- if (this.tok.peek(LexContext.CommandStart).token === Token.In) {
947
- this.tok.next(LexContext.CommandStart);
948
- wordlist = [];
949
- while (this.tok.peek(LexContext.Normal).token === Token.Word) {
950
- wordlist.push(this.readWord(LexContext.Normal));
951
- }
952
- }
953
- this.skipSemi();
954
- this.skipNewlines(LexContext.CommandStart);
955
- if (this.tok.peek(LexContext.CommandStart).token === Token.LBrace) {
956
- const bg = this.braceGroup();
957
- return { type: "Select", pos, end: bg.end, name, wordlist, body: bg.body };
958
- }
959
- if (!this.accept(Token.Do, LexContext.CommandStart))
960
- this.error("expected 'do'", this.tok.getPos());
961
- if (this.syntaxDepth === MAX_SYNTAX_NESTING) {
962
- this.error("maximum select nesting depth exceeded", pos);
963
- const closeEnd = this.tok.skipCompoundBody(Token.Done);
964
- if (closeEnd < 0)
965
- this.error("expected 'done' to close 'select'", this.tok.getPos());
966
- const end = closeEnd >= 0 ? closeEnd : pos;
967
- return { type: "Select", pos, end, name, wordlist, body: this.makeCompoundList([]) };
968
- }
969
- this.syntaxDepth++;
970
- const body = this.list();
971
- this.syntaxDepth--;
972
- this.skipSemi();
973
- const closeEnd = this.acceptEnd(Token.Done, LexContext.CommandStart);
974
- if (closeEnd < 0)
975
- this.error("expected 'done' to close 'select'", this.tok.getPos());
976
- const end = closeEnd >= 0 ? closeEnd : pos;
977
- return { type: "Select", pos, end, name, wordlist, body: this.makeCompoundList(body) };
978
- }
979
- // test_command := [[ test_expr ]]
980
- testCommand() {
981
- const pos = this.tok.next(LexContext.CommandStart).pos; // consume [[
982
- const expr = this.parseTestOr();
983
- const closeEnd = this.acceptEnd(Token.DblRBracket, LexContext.TestMode);
984
- if (closeEnd < 0)
985
- this.error("expected ']]' to close '[['", this.tok.getPos());
986
- const end = closeEnd >= 0 ? closeEnd : pos;
987
- return { type: "TestCommand", pos, end, expression: expr };
988
- }
989
- // test_or := test_and ('||' test_and)*
990
- parseTestOr() {
991
- let left = this.parseTestAnd();
992
- while (this.tok.peek(LexContext.TestMode).token === Token.Or) {
993
- this.tok.next(LexContext.TestMode);
994
- const right = this.parseTestAnd();
995
- left = {
996
- type: "TestLogical",
997
- pos: left.pos,
998
- end: right.end,
999
- operator: "||",
1000
- left,
1001
- right,
1002
- };
1003
- }
1004
- return left;
1005
- }
1006
- // test_and := test_not ('&&' test_not)*
1007
- parseTestAnd() {
1008
- let left = this.parseTestNot();
1009
- while (this.tok.peek(LexContext.TestMode).token === Token.And) {
1010
- this.tok.next(LexContext.TestMode);
1011
- const right = this.parseTestNot();
1012
- left = {
1013
- type: "TestLogical",
1014
- pos: left.pos,
1015
- end: right.end,
1016
- operator: "&&",
1017
- left,
1018
- right,
1019
- };
1020
- }
1021
- return left;
1022
- }
1023
- // test_not := '!' test_not | test_primary
1024
- parseTestNot() {
1025
- let t = this.tok.peek(LexContext.TestMode);
1026
- if (!isTestNegation(t))
1027
- return this.parseTestPrimary();
1028
- const firstPos = this.tok.next(LexContext.TestMode).pos;
1029
- t = this.tok.peek(LexContext.TestMode);
1030
- if (!isTestNegation(t)) {
1031
- const operand = this.parseTestPrimary();
1032
- return { type: "TestNot", pos: firstPos, end: operand.end, operand };
1033
- }
1034
- const positions = [firstPos];
1035
- while (isTestNegation(t)) {
1036
- positions.push(this.tok.next(LexContext.TestMode).pos);
1037
- t = this.tok.peek(LexContext.TestMode);
1038
- }
1039
- let expression = this.parseTestPrimary();
1040
- for (let i = positions.length - 1; i >= 0; i--) {
1041
- expression = {
1042
- type: "TestNot",
1043
- pos: positions[i],
1044
- end: expression.end,
1045
- operand: expression,
1046
- };
1047
- }
1048
- return expression;
1049
- }
1050
- // test_primary := '(' test_or ')' | unary_op word | word binary_op word | word
1051
- parseTestPrimary() {
1052
- // Grouped: ( expr )
1053
- if (this.tok.peek(LexContext.TestMode).token === Token.LParen) {
1054
- const openPos = this.tok.next(LexContext.TestMode).pos;
1055
- if (this.syntaxDepth === MAX_SYNTAX_NESTING) {
1056
- this.error("maximum test group nesting depth exceeded", openPos);
1057
- const closeEnd = this.tok.skipTestGroup();
1058
- if (closeEnd < 0)
1059
- this.error("expected ')' to close test group", this.tok.getPos());
1060
- const end = closeEnd >= 0 ? closeEnd : openPos;
1061
- const operand = new WordImpl("", openPos, openPos, this.source, undefined, this.depth);
1062
- const expression = {
1063
- type: "TestUnary",
1064
- pos: openPos,
1065
- end: openPos,
1066
- operator: "-n",
1067
- operand,
1068
- };
1069
- return { type: "TestGroup", pos: openPos, end, expression };
1070
- }
1071
- this.syntaxDepth++;
1072
- const expr = this.parseTestOr();
1073
- this.syntaxDepth--;
1074
- const closeEnd = this.acceptEnd(Token.RParen, LexContext.TestMode);
1075
- if (closeEnd < 0)
1076
- this.error("expected ')' to close test group", this.tok.getPos());
1077
- const end = closeEnd >= 0 ? closeEnd : openPos;
1078
- return { type: "TestGroup", pos: openPos, end, expression: expr };
1079
- }
1080
- const first = this.tok.next(LexContext.TestMode);
1081
- const val = first.value;
1082
- const firstPos = first.pos;
1083
- const firstEnd = first.end;
1084
- // Unary test: -op word, recognized only as written. Bash rejects the operator without an
1085
- // operand, so keep the operator and report the missing word instead of demoting it to a string.
1086
- if (first.keywordEligible && UNARY_TEST_OPS[val] === 1) {
1087
- if (this.tok.peek(LexContext.TestMode).token === Token.Word) {
1088
- const operand = this.readWord(LexContext.TestMode);
1089
- return {
1090
- type: "TestUnary",
1091
- pos: firstPos,
1092
- end: operand.end,
1093
- operator: val,
1094
- operand,
1095
- };
1096
- }
1097
- this.error("expected operand after unary test operator", firstEnd);
1098
- const operand = new WordImpl("", firstEnd, firstEnd, this.source, undefined, this.depth);
1099
- return { type: "TestUnary", pos: firstPos, end: firstEnd, operator: val, operand };
1100
- }
1101
- // Check for binary op
1102
- const nt = this.tok.peek(LexContext.TestMode);
1103
- if (nt.token === Token.Word && nt.keywordEligible && BINARY_TEST_OPS[nt.value] === 1) {
1104
- const op = this.tok.next(LexContext.TestMode).value;
1105
- let right;
1106
- if (op === "=~") {
1107
- const token = this.tok.readTestRegexWord();
1108
- right = new WordImpl(this.source.slice(token.pos, token.end), token.pos, token.end, this.source, computeEmbeddedWordParts, this.depth);
1109
- }
1110
- else {
1111
- right = this.readWord(LexContext.TestMode);
1112
- }
1113
- const left = this.toWordFromPosEnd(first, firstPos, firstEnd);
1114
- return {
1115
- type: "TestBinary",
1116
- pos: firstPos,
1117
- end: right.end,
1118
- operator: op,
1119
- left,
1120
- right,
1121
- };
1122
- }
1123
- // Standalone word (implicit -n test)
1124
- const w = this.toWordFromPosEnd(first, firstPos, firstEnd);
1125
- return { type: "TestUnary", pos: firstPos, end: w.end, operator: "-n", operand: w };
1126
- }
1127
- // function_def with 'function' keyword
1128
- functionDef() {
1129
- const pos = this.tok.next(LexContext.CommandStart).pos;
1130
- const name = this.readWord(LexContext.Normal);
1131
- let body;
1132
- if (this.tok.peek(LexContext.CommandStart).token === Token.LParen) {
1133
- const openPos = this.tok.next(LexContext.CommandStart).pos;
1134
- // `(` is the optional empty parameter list only when `)` follows immediately;
1135
- // anything else opens a subshell body, as in `f() ( ... )`.
1136
- if (this.tok.peek(LexContext.CommandStart).token === Token.RParen) {
1137
- this.tok.next(LexContext.CommandStart);
1138
- this.skipNewlines(LexContext.CommandStart);
1139
- body = this.commandAsBody();
1140
- }
1141
- else {
1142
- body = this.withRedirects(this.subshellBody(openPos));
1143
- }
1144
- }
1145
- else {
1146
- this.skipNewlines(LexContext.CommandStart);
1147
- body = this.commandAsBody();
1148
- }
1149
- return { type: "Function", pos, end: body.end, name, body };
1150
- }
1151
- // simple_command or function_def (word '(' ')' body)
1152
- simpleCommandOrFunction() {
1153
- const prefix = [];
1154
- const cmdPos = this.tok.peek(LexContext.CommandStart).pos;
1155
- let lastEnd = cmdPos;
1156
- // Assignments and redirects interleave freely; after the first element CommandPrefix
1157
- // keeps the following command name from being read as a reserved word.
1158
- let ctx = LexContext.CommandStart;
1159
- for (;;) {
1160
- const t = this.tok.peek(ctx).token;
1161
- if (t === Token.Assignment) {
1162
- const assignment = this.tok.next(ctx);
1163
- lastEnd = assignment.end;
1164
- prefix.push(this.parseAssignment(assignment));
1165
- }
1166
- else if (t === Token.Redirect) {
1167
- const redirect = this.readRedirect(ctx);
1168
- prefix.push(redirect);
1169
- lastEnd = redirect.end;
1170
- }
1171
- else {
1172
- break;
1173
- }
1174
- ctx = LexContext.CommandPrefix;
1175
- }
1176
- if (this.tok.peek(LexContext.Normal).token !== Token.Word) {
1177
- return new CommandImpl(cmdPos, lastEnd, undefined, prefix, []);
1178
- }
1179
- const nameToken = this.tok.next(LexContext.Normal);
1180
- const declaration = nameToken.keywordEligible && isDeclarationCommand(nameToken.value);
1181
- const name = this.toWord(nameToken);
1182
- ctx = declaration ? LexContext.Declaration : LexContext.Normal;
1183
- lastEnd = name.end;
1184
- // Check for function definition: word '(' ')' body
1185
- if (this.tok.peek(ctx).token === Token.LParen) {
1186
- this.tok.next(LexContext.Normal);
1187
- if (this.tok.peek(LexContext.Normal).token === Token.RParen) {
1188
- this.tok.next(LexContext.Normal);
1189
- this.skipNewlines(LexContext.CommandStart);
1190
- const body = this.commandAsBody();
1191
- return {
1192
- type: "Function",
1193
- pos: name.pos,
1194
- end: body.end,
1195
- name,
1196
- body,
1197
- };
1198
- }
1199
- }
1200
- const suffix = [];
1201
- // Collect suffix words and redirects
1202
- for (;;) {
1203
- const st = this.tok.peek(ctx).token;
1204
- if (st === Token.Word || st === Token.Assignment) {
1205
- const token = this.tok.next(ctx);
1206
- const w = st === Token.Assignment ? this.parseAssignment(token) : this.toWord(token);
1207
- suffix.push(w);
1208
- lastEnd = w.end;
1209
- }
1210
- else if (st === Token.Redirect) {
1211
- const redirect = this.readRedirect(ctx);
1212
- suffix.push(redirect);
1213
- lastEnd = redirect.end;
1214
- }
1215
- else {
1216
- break;
1217
- }
1218
- }
1219
- return new CommandImpl(cmdPos, lastEnd, name, prefix, suffix);
1220
- }
1221
- readRedirect(ctx) {
1222
- const t = this.tok.next(ctx);
1223
- const tPos = t.pos;
1224
- const tEnd = t.end;
1225
- const descriptor = t.fileDescriptor !== undefined
1226
- ? { type: "FileDescriptor", pos: tPos, end: t.descriptorEnd, value: t.fileDescriptor }
1227
- : t.variableName !== undefined
1228
- ? { type: "FileDescriptorVariable", pos: tPos, end: t.descriptorEnd, name: t.variableName }
1229
- : undefined;
1230
- const hasTarget = t.targetEnd > t.targetPos;
1231
- if (!hasTarget)
1232
- this.error("expected redirect target", t.targetPos);
1233
- if (t.value === "<<" || t.value === "<<-") {
1234
- const r = {
1235
- type: "HereDoc",
1236
- pos: tPos,
1237
- end: tEnd,
1238
- operator: t.value,
1239
- descriptor,
1240
- delimiter: hasTarget
1241
- ? {
1242
- type: "HereDocDelimiter",
1243
- pos: t.targetPos,
1244
- end: t.targetEnd,
1245
- text: this.source.slice(t.targetPos, t.targetEnd),
1246
- value: t.content ?? "",
1247
- quoted: t.delimiterQuoted,
1248
- }
1249
- : undefined,
1250
- body: new HereDocBodyImpl(this.source, tEnd, t.delimiterQuoted, this.depth),
1251
- closing: undefined,
1252
- };
1253
- if (hasTarget)
1254
- this.tok.registerHereDocTarget(r);
1255
- return r;
1256
- }
1257
- const target = hasTarget
1258
- ? new WordImpl(this.source.slice(t.targetPos, t.targetEnd), t.targetPos, t.targetEnd, this.source, undefined, this.depth)
1259
- : undefined;
1260
- return t.value === "<<<"
1261
- ? { type: "HereString", pos: tPos, end: tEnd, operator: "<<<", descriptor, target }
1262
- : { type: "Redirect", pos: tPos, end: tEnd, operator: REDIRECT_OPS[t.value] ?? ">", descriptor, target };
1263
- }
1264
- commandAsBody() {
1265
- const cmd = this.command();
1266
- if (cmd && cmd.type !== "Command" && cmd.type !== "Function" && cmd.type !== "Coproc")
1267
- return cmd;
1268
- this.error("expected compound command as function body", cmd?.pos ?? this.tok.getPos());
1269
- return this.makeCompoundList(cmd ? [this.makeStatement(cmd)] : []);
1270
- }
1271
- readWord(ctx) {
1272
- return this.toWord(this.tok.next(ctx));
1273
- }
1274
- toWord(tok) {
1275
- const text = tok.raw ? tok.value : this.source.slice(tok.pos, tok.end);
1276
- // Raw keyword-eligible words have no quotes or expansions to resolve.
1277
- const source = tok.raw && tok.keywordEligible ? undefined : this.source;
1278
- return new WordImpl(text, tok.pos, tok.end, source, undefined, this.depth);
1279
- }
1280
- toWordFromPosEnd(tok, pos, end) {
1281
- if (tok.pos === pos && tok.end === end)
1282
- return this.toWord(tok);
1283
- return new WordImpl(this.source.slice(pos, end), pos, end, this.source, undefined, this.depth);
1284
- }
1285
- parseAssignment(token) {
1286
- const text = token.raw ? token.value : this.source.slice(token.pos, token.end);
1287
- return new AssignmentImpl(text, token.pos, token.end, this.source, token.assignmentOperatorPos, this.depth);
1288
- }
1289
- makeCompoundList(commands) {
1290
- const p = this.tok.getPos();
1291
- const pos = commands.length > 0 ? commands[0].pos : p;
1292
- const end = commands.length > 0 ? commands[commands.length - 1].end : p;
1293
- return { type: "CompoundList", pos, end, commands };
1294
- }
1295
- }