projen 0.99.74 → 0.99.75

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 (755) hide show
  1. package/.jsii +854 -429
  2. package/lib/ai-instructions.js +2 -2
  3. package/lib/awscdk/auto-discover.js +6 -6
  4. package/lib/awscdk/awscdk-app-java.js +1 -1
  5. package/lib/awscdk/awscdk-app-py.js +1 -1
  6. package/lib/awscdk/awscdk-app-ts.js +1 -1
  7. package/lib/awscdk/awscdk-construct.js +2 -2
  8. package/lib/awscdk/awscdk-deps-java.js +1 -1
  9. package/lib/awscdk/awscdk-deps-js.js +1 -1
  10. package/lib/awscdk/awscdk-deps-py.js +1 -1
  11. package/lib/awscdk/awscdk-deps.js +1 -1
  12. package/lib/awscdk/cdk-config.js +4 -4
  13. package/lib/awscdk/cdk-tasks.js +1 -1
  14. package/lib/awscdk/integration-test.js +1 -1
  15. package/lib/awscdk/internal.d.ts +2 -0
  16. package/lib/awscdk/lambda-extension.js +1 -1
  17. package/lib/awscdk/lambda-function.js +2 -2
  18. package/lib/awscdk/private/feature-flags-v2.const.d.ts +3 -1
  19. package/lib/awscdk/private/feature-flags-v2.const.js +5 -3
  20. package/lib/build/build-workflow.js +1 -1
  21. package/lib/cdk/auto-discover-base.js +2 -2
  22. package/lib/cdk/construct-lib.js +1 -1
  23. package/lib/cdk/integration-test-base.js +1 -1
  24. package/lib/cdk/jsii-build.js +1 -1
  25. package/lib/cdk/jsii-docgen.js +1 -1
  26. package/lib/cdk/jsii-project.js +1 -1
  27. package/lib/cdk8s/auto-discover.js +2 -2
  28. package/lib/cdk8s/cdk8s-app-py.js +1 -1
  29. package/lib/cdk8s/cdk8s-app-ts.js +1 -1
  30. package/lib/cdk8s/cdk8s-construct.js +1 -1
  31. package/lib/cdk8s/cdk8s-deps-py.js +1 -1
  32. package/lib/cdk8s/cdk8s-deps.js +1 -1
  33. package/lib/cdk8s/integration-test.js +1 -1
  34. package/lib/cdktf/cdktf-construct.js +1 -1
  35. package/lib/circleci/circleci.js +1 -1
  36. package/lib/component.js +1 -1
  37. package/lib/dependencies.js +1 -1
  38. package/lib/dev-env.js +1 -1
  39. package/lib/docker-compose/docker-compose-service.js +1 -1
  40. package/lib/docker-compose/docker-compose.js +1 -1
  41. package/lib/file.js +1 -1
  42. package/lib/gitattributes.js +1 -1
  43. package/lib/github/actions-provider.js +1 -1
  44. package/lib/github/auto-approve.js +1 -1
  45. package/lib/github/auto-merge.js +1 -1
  46. package/lib/github/auto-queue.js +1 -1
  47. package/lib/github/dependabot.js +1 -1
  48. package/lib/github/dependency-review.js +1 -1
  49. package/lib/github/github-credentials.js +1 -1
  50. package/lib/github/github-project.js +1 -1
  51. package/lib/github/github.js +1 -1
  52. package/lib/github/merge-queue.js +1 -1
  53. package/lib/github/mergify.js +1 -1
  54. package/lib/github/pr-template.js +1 -1
  55. package/lib/github/pull-request-backport.js +1 -1
  56. package/lib/github/pull-request-lint.js +1 -1
  57. package/lib/github/stale.js +1 -1
  58. package/lib/github/task-workflow-job.js +1 -1
  59. package/lib/github/task-workflow.js +1 -1
  60. package/lib/github/workflow-actions.js +1 -1
  61. package/lib/github/workflow-jobs.js +1 -1
  62. package/lib/github/workflow-steps.js +1 -1
  63. package/lib/github/workflows.js +1 -1
  64. package/lib/gitlab/configuration.js +1 -1
  65. package/lib/gitlab/gitlab-configuration.js +1 -1
  66. package/lib/gitlab/nested-configuration.js +1 -1
  67. package/lib/gitpod.js +1 -1
  68. package/lib/ignore-file.js +1 -1
  69. package/lib/ini.js +1 -1
  70. package/lib/java/java-project.js +1 -1
  71. package/lib/java/junit.js +1 -1
  72. package/lib/java/maven-compile.js +1 -1
  73. package/lib/java/maven-packaging.js +1 -1
  74. package/lib/java/maven-sample.js +1 -1
  75. package/lib/java/pom.js +2 -2
  76. package/lib/java/projenrc.js +1 -1
  77. package/lib/javascript/biome/biome-config.d.ts +178 -6
  78. package/lib/javascript/biome/biome-config.js +46 -2
  79. package/lib/javascript/biome/biome.js +1 -1
  80. package/lib/javascript/bundler.js +1 -1
  81. package/lib/javascript/eslint.js +1 -1
  82. package/lib/javascript/jest.js +4 -4
  83. package/lib/javascript/license-checker.js +1 -1
  84. package/lib/javascript/node-package.js +3 -5
  85. package/lib/javascript/node-project.js +1 -1
  86. package/lib/javascript/npm-config.js +1 -1
  87. package/lib/javascript/prettier.js +1 -1
  88. package/lib/javascript/projenrc.js +1 -1
  89. package/lib/javascript/typescript-config.js +2 -2
  90. package/lib/javascript/upgrade-dependencies.js +2 -2
  91. package/lib/javascript/yarnrc.js +1 -1
  92. package/lib/json-patch.js +1 -1
  93. package/lib/json.js +1 -1
  94. package/lib/license.js +1 -1
  95. package/lib/logger.js +1 -1
  96. package/lib/makefile.js +1 -1
  97. package/lib/object-file.js +1 -1
  98. package/lib/project-build.js +1 -1
  99. package/lib/project-tree.js +1 -1
  100. package/lib/project.js +1 -1
  101. package/lib/projects.js +1 -1
  102. package/lib/projenrc-json.js +2 -2
  103. package/lib/projenrc.js +1 -1
  104. package/lib/python/pip.js +3 -5
  105. package/lib/python/poetry.js +5 -7
  106. package/lib/python/projenrc.js +1 -1
  107. package/lib/python/pyproject-toml-file.js +1 -1
  108. package/lib/python/pytest-sample.js +1 -1
  109. package/lib/python/pytest.js +1 -1
  110. package/lib/python/python-project.js +1 -1
  111. package/lib/python/python-sample.js +1 -1
  112. package/lib/python/requirements-file.js +1 -1
  113. package/lib/python/setuppy.js +1 -1
  114. package/lib/python/setuptools.js +1 -1
  115. package/lib/python/uv.js +4 -6
  116. package/lib/python/venv.js +1 -1
  117. package/lib/readme.js +1 -1
  118. package/lib/release/publisher.js +1 -1
  119. package/lib/release/release-trigger.js +1 -1
  120. package/lib/release/release.js +1 -1
  121. package/lib/renovatebot.js +1 -1
  122. package/lib/run-task.cjs +26 -21
  123. package/lib/sample-file.js +2 -2
  124. package/lib/semver.js +1 -1
  125. package/lib/source-code.js +1 -1
  126. package/lib/task-runtime.js +28 -9
  127. package/lib/task.js +1 -1
  128. package/lib/tasks.d.ts +15 -0
  129. package/lib/tasks.js +17 -2
  130. package/lib/testing.js +1 -1
  131. package/lib/textfile.js +1 -1
  132. package/lib/toml.js +1 -1
  133. package/lib/typescript/projenrc-ts.js +1 -1
  134. package/lib/typescript/projenrc.js +1 -1
  135. package/lib/typescript/typescript-typedoc.js +1 -1
  136. package/lib/typescript/typescript.js +6 -6
  137. package/lib/version.js +2 -2
  138. package/lib/vscode/devcontainer.js +1 -1
  139. package/lib/vscode/extensions.js +1 -1
  140. package/lib/vscode/launch-config.js +1 -1
  141. package/lib/vscode/settings.js +1 -1
  142. package/lib/vscode/vscode.js +1 -1
  143. package/lib/web/next.js +3 -3
  144. package/lib/web/postcss.js +1 -1
  145. package/lib/web/react.js +4 -4
  146. package/lib/web/tailwind.js +1 -1
  147. package/lib/xmlfile.js +1 -1
  148. package/lib/yaml.js +1 -1
  149. package/node_modules/{shx → dax}/LICENSE +2 -2
  150. package/node_modules/dax/README.md +39 -0
  151. package/node_modules/dax/esm/_dnt.polyfills.d.ts +81 -0
  152. package/node_modules/dax/esm/_dnt.polyfills.d.ts.map +1 -0
  153. package/node_modules/dax/esm/_dnt.shims.d.ts +27 -0
  154. package/node_modules/dax/esm/_dnt.shims.d.ts.map +1 -0
  155. package/node_modules/dax/esm/_dnt.test_shims.d.ts.map +1 -0
  156. package/node_modules/dax/esm/deps/jsr.io/@david/console-static-text/0.3.4/lib/rs_lib.d.ts +2 -0
  157. package/node_modules/dax/esm/deps/jsr.io/@david/console-static-text/0.3.4/lib/rs_lib.d.ts.map +1 -0
  158. package/node_modules/dax/esm/deps/jsr.io/@david/console-static-text/0.3.4/lib/rs_lib.internal.d.ts +68 -0
  159. package/node_modules/dax/esm/deps/jsr.io/@david/console-static-text/0.3.4/lib/rs_lib.internal.d.ts.map +1 -0
  160. package/node_modules/dax/esm/deps/jsr.io/@david/console-static-text/0.3.4/mod.d.ts +112 -0
  161. package/node_modules/dax/esm/deps/jsr.io/@david/console-static-text/0.3.4/mod.d.ts.map +1 -0
  162. package/node_modules/dax/esm/deps/jsr.io/@david/path/0.3.2/_fs.d.ts +170 -0
  163. package/node_modules/dax/esm/deps/jsr.io/@david/path/0.3.2/_fs.d.ts.map +1 -0
  164. package/node_modules/dax/esm/deps/jsr.io/@david/path/0.3.2/mod.d.ts +404 -0
  165. package/node_modules/dax/esm/deps/jsr.io/@david/path/0.3.2/mod.d.ts.map +1 -0
  166. package/node_modules/dax/esm/deps/jsr.io/@david/path/0.3.2/path.d.ts +12 -0
  167. package/node_modules/dax/esm/deps/jsr.io/@david/path/0.3.2/path.d.ts.map +1 -0
  168. package/node_modules/dax/esm/deps/jsr.io/@david/shell/0.5.2/internal.d.ts +8 -0
  169. package/node_modules/dax/esm/deps/jsr.io/@david/shell/0.5.2/internal.d.ts.map +1 -0
  170. package/node_modules/dax/esm/deps/jsr.io/@david/shell/0.5.2/mod.d.ts +16 -0
  171. package/node_modules/dax/esm/deps/jsr.io/@david/shell/0.5.2/mod.d.ts.map +1 -0
  172. package/node_modules/dax/esm/deps/jsr.io/@david/shell/0.5.2/src/byteRingBuffer.d.ts +20 -0
  173. package/node_modules/dax/esm/deps/jsr.io/@david/shell/0.5.2/src/byteRingBuffer.d.ts.map +1 -0
  174. package/node_modules/dax/esm/deps/jsr.io/@david/shell/0.5.2/src/command.d.ts +677 -0
  175. package/node_modules/dax/esm/deps/jsr.io/@david/shell/0.5.2/src/command.d.ts.map +1 -0
  176. package/node_modules/dax/esm/deps/jsr.io/@david/shell/0.5.2/src/commandHandler.d.ts +45 -0
  177. package/node_modules/dax/esm/deps/jsr.io/@david/shell/0.5.2/src/commandHandler.d.ts.map +1 -0
  178. package/node_modules/dax/esm/deps/jsr.io/@david/shell/0.5.2/src/commands/args.d.ts +7 -0
  179. package/node_modules/dax/esm/deps/jsr.io/@david/shell/0.5.2/src/commands/args.d.ts.map +1 -0
  180. package/node_modules/dax/esm/deps/jsr.io/@david/shell/0.5.2/src/commands/cat.d.ts +9 -0
  181. package/node_modules/dax/esm/deps/jsr.io/@david/shell/0.5.2/src/commands/cat.d.ts.map +1 -0
  182. package/node_modules/dax/esm/deps/jsr.io/@david/shell/0.5.2/src/commands/cd.d.ts +4 -0
  183. package/node_modules/dax/esm/deps/jsr.io/@david/shell/0.5.2/src/commands/cd.d.ts.map +1 -0
  184. package/node_modules/dax/esm/deps/jsr.io/@david/shell/0.5.2/src/commands/cpMv.d.ts +25 -0
  185. package/node_modules/dax/esm/deps/jsr.io/@david/shell/0.5.2/src/commands/cpMv.d.ts.map +1 -0
  186. package/node_modules/dax/esm/deps/jsr.io/@david/shell/0.5.2/src/commands/echo.d.ts +4 -0
  187. package/node_modules/dax/esm/deps/jsr.io/@david/shell/0.5.2/src/commands/echo.d.ts.map +1 -0
  188. package/node_modules/dax/esm/deps/jsr.io/@david/shell/0.5.2/src/commands/executable.d.ts +14 -0
  189. package/node_modules/dax/esm/deps/jsr.io/@david/shell/0.5.2/src/commands/executable.d.ts.map +1 -0
  190. package/node_modules/dax/esm/deps/jsr.io/@david/shell/0.5.2/src/commands/exit.d.ts +4 -0
  191. package/node_modules/dax/esm/deps/jsr.io/@david/shell/0.5.2/src/commands/exit.d.ts.map +1 -0
  192. package/node_modules/dax/esm/deps/jsr.io/@david/shell/0.5.2/src/commands/export.d.ts +4 -0
  193. package/node_modules/dax/esm/deps/jsr.io/@david/shell/0.5.2/src/commands/export.d.ts.map +1 -0
  194. package/node_modules/dax/esm/deps/jsr.io/@david/shell/0.5.2/src/commands/mkdir.d.ts +10 -0
  195. package/node_modules/dax/esm/deps/jsr.io/@david/shell/0.5.2/src/commands/mkdir.d.ts.map +1 -0
  196. package/node_modules/dax/esm/deps/jsr.io/@david/shell/0.5.2/src/commands/printenv.d.ts +4 -0
  197. package/node_modules/dax/esm/deps/jsr.io/@david/shell/0.5.2/src/commands/printenv.d.ts.map +1 -0
  198. package/node_modules/dax/esm/deps/jsr.io/@david/shell/0.5.2/src/commands/pwd.d.ts +9 -0
  199. package/node_modules/dax/esm/deps/jsr.io/@david/shell/0.5.2/src/commands/pwd.d.ts.map +1 -0
  200. package/node_modules/dax/esm/deps/jsr.io/@david/shell/0.5.2/src/commands/rm.d.ts +12 -0
  201. package/node_modules/dax/esm/deps/jsr.io/@david/shell/0.5.2/src/commands/rm.d.ts.map +1 -0
  202. package/node_modules/dax/esm/deps/jsr.io/@david/shell/0.5.2/src/commands/set.d.ts +4 -0
  203. package/node_modules/dax/esm/deps/jsr.io/@david/shell/0.5.2/src/commands/set.d.ts.map +1 -0
  204. package/node_modules/dax/esm/deps/jsr.io/@david/shell/0.5.2/src/commands/shopt.d.ts +4 -0
  205. package/node_modules/dax/esm/deps/jsr.io/@david/shell/0.5.2/src/commands/shopt.d.ts.map +1 -0
  206. package/node_modules/dax/esm/deps/jsr.io/@david/shell/0.5.2/src/commands/sleep.d.ts +4 -0
  207. package/node_modules/dax/esm/deps/jsr.io/@david/shell/0.5.2/src/commands/sleep.d.ts.map +1 -0
  208. package/node_modules/dax/esm/deps/jsr.io/@david/shell/0.5.2/src/commands/test.d.ts +4 -0
  209. package/node_modules/dax/esm/deps/jsr.io/@david/shell/0.5.2/src/commands/test.d.ts.map +1 -0
  210. package/node_modules/dax/esm/deps/jsr.io/@david/shell/0.5.2/src/commands/touch.d.ts +8 -0
  211. package/node_modules/dax/esm/deps/jsr.io/@david/shell/0.5.2/src/commands/touch.d.ts.map +1 -0
  212. package/node_modules/dax/esm/deps/jsr.io/@david/shell/0.5.2/src/commands/unset.d.ts +4 -0
  213. package/node_modules/dax/esm/deps/jsr.io/@david/shell/0.5.2/src/commands/unset.d.ts.map +1 -0
  214. package/node_modules/dax/esm/deps/jsr.io/@david/shell/0.5.2/src/commands/which.d.ts +7 -0
  215. package/node_modules/dax/esm/deps/jsr.io/@david/shell/0.5.2/src/commands/which.d.ts.map +1 -0
  216. package/node_modules/dax/esm/deps/jsr.io/@david/shell/0.5.2/src/common.d.ts +85 -0
  217. package/node_modules/dax/esm/deps/jsr.io/@david/shell/0.5.2/src/common.d.ts.map +1 -0
  218. package/node_modules/dax/esm/deps/jsr.io/@david/shell/0.5.2/src/dollar.d.ts +30 -0
  219. package/node_modules/dax/esm/deps/jsr.io/@david/shell/0.5.2/src/dollar.d.ts.map +1 -0
  220. package/node_modules/dax/esm/deps/jsr.io/@david/shell/0.5.2/src/fsFile.d.ts +62 -0
  221. package/node_modules/dax/esm/deps/jsr.io/@david/shell/0.5.2/src/fsFile.d.ts.map +1 -0
  222. package/node_modules/dax/esm/deps/jsr.io/@david/shell/0.5.2/src/glob.d.ts +23 -0
  223. package/node_modules/dax/esm/deps/jsr.io/@david/shell/0.5.2/src/glob.d.ts.map +1 -0
  224. package/node_modules/dax/esm/deps/jsr.io/@david/shell/0.5.2/src/lib/rs_lib.d.ts +2 -0
  225. package/node_modules/dax/esm/deps/jsr.io/@david/shell/0.5.2/src/lib/rs_lib.d.ts.map +1 -0
  226. package/node_modules/dax/esm/deps/jsr.io/@david/shell/0.5.2/src/lib/rs_lib.internal.d.ts +19 -0
  227. package/node_modules/dax/esm/deps/jsr.io/@david/shell/0.5.2/src/lib/rs_lib.internal.d.ts.map +1 -0
  228. package/node_modules/dax/esm/deps/jsr.io/@david/shell/0.5.2/src/lineRingBuffer.d.ts +17 -0
  229. package/node_modules/dax/esm/deps/jsr.io/@david/shell/0.5.2/src/lineRingBuffer.d.ts.map +1 -0
  230. package/node_modules/dax/esm/deps/jsr.io/@david/shell/0.5.2/src/pipes.d.ts +396 -0
  231. package/node_modules/dax/esm/deps/jsr.io/@david/shell/0.5.2/src/pipes.d.ts.map +1 -0
  232. package/node_modules/dax/esm/deps/jsr.io/@david/shell/0.5.2/src/result.d.ts +92 -0
  233. package/node_modules/dax/esm/deps/jsr.io/@david/shell/0.5.2/src/result.d.ts.map +1 -0
  234. package/node_modules/dax/esm/deps/jsr.io/@david/shell/0.5.2/src/shell.d.ts +210 -0
  235. package/node_modules/dax/esm/deps/jsr.io/@david/shell/0.5.2/src/shell.d.ts.map +1 -0
  236. package/node_modules/dax/esm/deps/jsr.io/@david/shell/0.5.2/src/signal.d.ts +3 -0
  237. package/node_modules/dax/esm/deps/jsr.io/@david/shell/0.5.2/src/signal.d.ts.map +1 -0
  238. package/node_modules/dax/esm/deps/jsr.io/@david/shell/0.5.2/src/spawn.d.ts +21 -0
  239. package/node_modules/dax/esm/deps/jsr.io/@david/shell/0.5.2/src/spawn.d.ts.map +1 -0
  240. package/node_modules/dax/esm/deps/jsr.io/@david/shell/0.5.2/src/streams.d.ts +35 -0
  241. package/node_modules/dax/esm/deps/jsr.io/@david/shell/0.5.2/src/streams.d.ts.map +1 -0
  242. package/node_modules/dax/esm/deps/jsr.io/@david/which/0.7.0/mod.d.ts +81 -0
  243. package/node_modules/dax/esm/deps/jsr.io/@david/which/0.7.0/mod.d.ts.map +1 -0
  244. package/node_modules/dax/esm/deps/jsr.io/@david/which-runtime/0.2.1/mod.d.ts.map +1 -0
  245. package/node_modules/dax/esm/deps/jsr.io/@std/assert/1.0.19/almost_equals.d.ts.map +1 -0
  246. package/node_modules/dax/esm/deps/jsr.io/@std/assert/1.0.19/array_includes.d.ts.map +1 -0
  247. package/node_modules/dax/esm/deps/jsr.io/@std/assert/1.0.19/assert.d.ts.map +1 -0
  248. package/node_modules/dax/esm/deps/jsr.io/@std/assert/1.0.19/assertion_error.d.ts.map +1 -0
  249. package/node_modules/dax/esm/deps/jsr.io/@std/assert/1.0.19/equal.d.ts.map +1 -0
  250. package/node_modules/dax/esm/deps/jsr.io/@std/assert/1.0.19/equals.d.ts.map +1 -0
  251. package/node_modules/dax/esm/deps/jsr.io/@std/assert/1.0.19/exists.d.ts.map +1 -0
  252. package/node_modules/dax/esm/deps/jsr.io/@std/assert/1.0.19/fail.d.ts.map +1 -0
  253. package/node_modules/dax/esm/deps/jsr.io/@std/assert/1.0.19/false.d.ts.map +1 -0
  254. package/node_modules/dax/esm/deps/jsr.io/@std/assert/1.0.19/greater.d.ts.map +1 -0
  255. package/node_modules/dax/esm/deps/jsr.io/@std/assert/1.0.19/greater_or_equal.d.ts.map +1 -0
  256. package/node_modules/dax/esm/deps/jsr.io/@std/assert/1.0.19/instance_of.d.ts.map +1 -0
  257. package/node_modules/dax/esm/deps/jsr.io/@std/assert/1.0.19/is_error.d.ts.map +1 -0
  258. package/node_modules/dax/esm/deps/jsr.io/@std/assert/1.0.19/less.d.ts.map +1 -0
  259. package/node_modules/dax/esm/deps/jsr.io/@std/assert/1.0.19/less_or_equal.d.ts.map +1 -0
  260. package/node_modules/dax/esm/deps/jsr.io/@std/assert/1.0.19/match.d.ts.map +1 -0
  261. package/node_modules/dax/esm/deps/jsr.io/@std/assert/1.0.19/mod.d.ts.map +1 -0
  262. package/node_modules/dax/esm/deps/jsr.io/@std/assert/1.0.19/not_equals.d.ts.map +1 -0
  263. package/node_modules/dax/esm/deps/jsr.io/@std/assert/1.0.19/not_instance_of.d.ts.map +1 -0
  264. package/node_modules/dax/esm/deps/jsr.io/@std/assert/1.0.19/not_match.d.ts.map +1 -0
  265. package/node_modules/dax/esm/deps/jsr.io/@std/assert/1.0.19/not_strict_equals.d.ts.map +1 -0
  266. package/node_modules/dax/esm/deps/jsr.io/@std/assert/1.0.19/object_match.d.ts.map +1 -0
  267. package/node_modules/dax/esm/deps/jsr.io/@std/assert/1.0.19/rejects.d.ts.map +1 -0
  268. package/node_modules/dax/esm/deps/jsr.io/@std/assert/1.0.19/strict_equals.d.ts.map +1 -0
  269. package/node_modules/dax/esm/deps/jsr.io/@std/assert/1.0.19/string_includes.d.ts.map +1 -0
  270. package/node_modules/dax/esm/deps/jsr.io/@std/assert/1.0.19/throws.d.ts.map +1 -0
  271. package/node_modules/dax/esm/deps/jsr.io/@std/assert/1.0.19/unimplemented.d.ts.map +1 -0
  272. package/node_modules/dax/esm/deps/jsr.io/@std/assert/1.0.19/unreachable.d.ts.map +1 -0
  273. package/node_modules/dax/esm/deps/jsr.io/@std/bytes/1.0.6/copy.d.ts +41 -0
  274. package/node_modules/dax/esm/deps/jsr.io/@std/bytes/1.0.6/copy.d.ts.map +1 -0
  275. package/node_modules/dax/esm/deps/jsr.io/@std/fmt/1.0.10/colors.d.ts +700 -0
  276. package/node_modules/dax/esm/deps/jsr.io/@std/fmt/1.0.10/colors.d.ts.map +1 -0
  277. package/node_modules/dax/esm/deps/jsr.io/@std/internal/1.0.14/_os.d.ts +2 -0
  278. package/node_modules/dax/esm/deps/jsr.io/@std/internal/1.0.14/_os.d.ts.map +1 -0
  279. package/node_modules/dax/esm/deps/jsr.io/@std/internal/1.0.14/build_message.d.ts.map +1 -0
  280. package/node_modules/dax/esm/deps/jsr.io/@std/internal/1.0.14/diff.d.ts.map +1 -0
  281. package/node_modules/dax/esm/deps/jsr.io/@std/internal/1.0.14/diff_str.d.ts.map +1 -0
  282. package/node_modules/dax/esm/deps/jsr.io/@std/internal/1.0.14/format.d.ts.map +1 -0
  283. package/node_modules/dax/esm/deps/jsr.io/@std/internal/1.0.14/os.d.ts +3 -0
  284. package/node_modules/dax/esm/deps/jsr.io/@std/internal/1.0.14/os.d.ts.map +1 -0
  285. package/node_modules/dax/esm/deps/jsr.io/@std/internal/1.0.14/styles.d.ts.map +1 -0
  286. package/node_modules/dax/esm/deps/jsr.io/@std/internal/1.0.14/types.d.ts.map +1 -0
  287. package/node_modules/dax/esm/deps/jsr.io/@std/io/0.225.3/_common.d.ts.map +1 -0
  288. package/node_modules/dax/esm/deps/jsr.io/@std/io/0.225.3/buffer.d.ts +321 -0
  289. package/node_modules/dax/esm/deps/jsr.io/@std/io/0.225.3/buffer.d.ts.map +1 -0
  290. package/node_modules/dax/esm/deps/jsr.io/@std/io/0.225.3/reader_from_stream_reader.d.ts +21 -0
  291. package/node_modules/dax/esm/deps/jsr.io/@std/io/0.225.3/reader_from_stream_reader.d.ts.map +1 -0
  292. package/node_modules/dax/esm/deps/jsr.io/@std/io/0.225.3/to_writable_stream.d.ts.map +1 -0
  293. package/node_modules/dax/esm/deps/jsr.io/@std/io/0.225.3/types.d.ts +146 -0
  294. package/node_modules/dax/esm/deps/jsr.io/@std/io/0.225.3/types.d.ts.map +1 -0
  295. package/node_modules/dax/esm/deps/jsr.io/@std/io/0.225.3/write_all.d.ts +52 -0
  296. package/node_modules/dax/esm/deps/jsr.io/@std/io/0.225.3/write_all.d.ts.map +1 -0
  297. package/node_modules/dax/esm/deps/jsr.io/@std/path/1.1.5/_common/glob_to_reg_exp.d.ts +35 -0
  298. package/node_modules/dax/esm/deps/jsr.io/@std/path/1.1.5/_common/glob_to_reg_exp.d.ts.map +1 -0
  299. package/node_modules/dax/esm/deps/jsr.io/@std/path/1.1.5/glob_to_regexp.d.ts +77 -0
  300. package/node_modules/dax/esm/deps/jsr.io/@std/path/1.1.5/glob_to_regexp.d.ts.map +1 -0
  301. package/node_modules/dax/esm/deps/jsr.io/@std/path/1.1.5/posix/glob_to_regexp.d.ts +72 -0
  302. package/node_modules/dax/esm/deps/jsr.io/@std/path/1.1.5/posix/glob_to_regexp.d.ts.map +1 -0
  303. package/node_modules/dax/esm/deps/jsr.io/@std/path/1.1.5/windows/glob_to_regexp.d.ts +71 -0
  304. package/node_modules/dax/esm/deps/jsr.io/@std/path/1.1.5/windows/glob_to_regexp.d.ts.map +1 -0
  305. package/node_modules/dax/esm/mod.d.ts +600 -0
  306. package/node_modules/dax/esm/mod.d.ts.map +1 -0
  307. package/node_modules/dax/esm/mod.js +12187 -0
  308. package/node_modules/dax/esm/mod.test.d.ts.map +1 -0
  309. package/node_modules/dax/esm/package.json +3 -0
  310. package/node_modules/dax/esm/src/common.d.ts +15 -0
  311. package/node_modules/dax/esm/src/common.d.ts.map +1 -0
  312. package/node_modules/dax/esm/src/common.test.d.ts.map +1 -0
  313. package/node_modules/dax/esm/src/console/alert.d.ts +25 -0
  314. package/node_modules/dax/esm/src/console/alert.d.ts.map +1 -0
  315. package/node_modules/dax/esm/src/console/alert.test.d.ts.map +1 -0
  316. package/node_modules/dax/esm/src/console/confirm.d.ts +27 -0
  317. package/node_modules/dax/esm/src/console/confirm.d.ts.map +1 -0
  318. package/node_modules/dax/esm/src/console/confirm.test.d.ts.map +1 -0
  319. package/node_modules/dax/esm/src/console/logger.d.ts +13 -0
  320. package/node_modules/dax/esm/src/console/logger.d.ts.map +1 -0
  321. package/node_modules/dax/esm/src/console/mod.d.ts +14 -0
  322. package/node_modules/dax/esm/src/console/mod.d.ts.map +1 -0
  323. package/node_modules/dax/esm/src/console/multiSelect.d.ts +31 -0
  324. package/node_modules/dax/esm/src/console/multiSelect.d.ts.map +1 -0
  325. package/node_modules/dax/esm/src/console/multiSelect.test.d.ts.map +1 -0
  326. package/node_modules/dax/esm/src/console/progress.d.ts +57 -0
  327. package/node_modules/dax/esm/src/console/progress.d.ts.map +1 -0
  328. package/node_modules/dax/esm/src/console/progress.test.d.ts.map +1 -0
  329. package/node_modules/dax/esm/src/console/prompt.d.ts +46 -0
  330. package/node_modules/dax/esm/src/console/prompt.d.ts.map +1 -0
  331. package/node_modules/dax/esm/src/console/prompt.test.d.ts.map +1 -0
  332. package/node_modules/dax/esm/src/console/select.d.ts +26 -0
  333. package/node_modules/dax/esm/src/console/select.d.ts.map +1 -0
  334. package/node_modules/dax/esm/src/console/select.test.d.ts.map +1 -0
  335. package/node_modules/dax/esm/src/console/testUtils.d.ts.map +1 -0
  336. package/node_modules/dax/esm/src/console/ttyFallback.d.ts +19 -0
  337. package/node_modules/dax/esm/src/console/ttyFallback.d.ts.map +1 -0
  338. package/node_modules/dax/esm/src/console/utils.d.ts +47 -0
  339. package/node_modules/dax/esm/src/console/utils.d.ts.map +1 -0
  340. package/node_modules/dax/esm/src/console/utils.test.d.ts.map +1 -0
  341. package/node_modules/dax/esm/src/request.d.ts +306 -0
  342. package/node_modules/dax/esm/src/request.d.ts.map +1 -0
  343. package/node_modules/dax/esm/src/request.test.d.ts.map +1 -0
  344. package/node_modules/dax/esm/src/test/server.common.d.ts.map +1 -0
  345. package/node_modules/dax/esm/src/test/server.node.d.ts.map +1 -0
  346. package/node_modules/dax/esm/src/vendor/outdent.d.ts +34 -0
  347. package/node_modules/dax/esm/src/vendor/outdent.d.ts.map +1 -0
  348. package/node_modules/dax/package.json +39 -0
  349. package/node_modules/dax/script/_dnt.polyfills.d.ts +81 -0
  350. package/node_modules/dax/script/_dnt.polyfills.d.ts.map +1 -0
  351. package/node_modules/dax/script/_dnt.shims.d.ts +27 -0
  352. package/node_modules/dax/script/_dnt.shims.d.ts.map +1 -0
  353. package/node_modules/dax/script/_dnt.test_shims.d.ts.map +1 -0
  354. package/node_modules/dax/script/deps/jsr.io/@david/console-static-text/0.3.4/lib/rs_lib.d.ts +2 -0
  355. package/node_modules/dax/script/deps/jsr.io/@david/console-static-text/0.3.4/lib/rs_lib.d.ts.map +1 -0
  356. package/node_modules/dax/script/deps/jsr.io/@david/console-static-text/0.3.4/lib/rs_lib.internal.d.ts +68 -0
  357. package/node_modules/dax/script/deps/jsr.io/@david/console-static-text/0.3.4/lib/rs_lib.internal.d.ts.map +1 -0
  358. package/node_modules/dax/script/deps/jsr.io/@david/console-static-text/0.3.4/mod.d.ts +112 -0
  359. package/node_modules/dax/script/deps/jsr.io/@david/console-static-text/0.3.4/mod.d.ts.map +1 -0
  360. package/node_modules/dax/script/deps/jsr.io/@david/path/0.3.2/_fs.d.ts +170 -0
  361. package/node_modules/dax/script/deps/jsr.io/@david/path/0.3.2/_fs.d.ts.map +1 -0
  362. package/node_modules/dax/script/deps/jsr.io/@david/path/0.3.2/mod.d.ts +404 -0
  363. package/node_modules/dax/script/deps/jsr.io/@david/path/0.3.2/mod.d.ts.map +1 -0
  364. package/node_modules/dax/script/deps/jsr.io/@david/path/0.3.2/path.d.ts +12 -0
  365. package/node_modules/dax/script/deps/jsr.io/@david/path/0.3.2/path.d.ts.map +1 -0
  366. package/node_modules/dax/script/deps/jsr.io/@david/shell/0.5.2/internal.d.ts +8 -0
  367. package/node_modules/dax/script/deps/jsr.io/@david/shell/0.5.2/internal.d.ts.map +1 -0
  368. package/node_modules/dax/script/deps/jsr.io/@david/shell/0.5.2/mod.d.ts +16 -0
  369. package/node_modules/dax/script/deps/jsr.io/@david/shell/0.5.2/mod.d.ts.map +1 -0
  370. package/node_modules/dax/script/deps/jsr.io/@david/shell/0.5.2/src/byteRingBuffer.d.ts +20 -0
  371. package/node_modules/dax/script/deps/jsr.io/@david/shell/0.5.2/src/byteRingBuffer.d.ts.map +1 -0
  372. package/node_modules/dax/script/deps/jsr.io/@david/shell/0.5.2/src/command.d.ts +677 -0
  373. package/node_modules/dax/script/deps/jsr.io/@david/shell/0.5.2/src/command.d.ts.map +1 -0
  374. package/node_modules/dax/script/deps/jsr.io/@david/shell/0.5.2/src/commandHandler.d.ts +45 -0
  375. package/node_modules/dax/script/deps/jsr.io/@david/shell/0.5.2/src/commandHandler.d.ts.map +1 -0
  376. package/node_modules/dax/script/deps/jsr.io/@david/shell/0.5.2/src/commands/args.d.ts +7 -0
  377. package/node_modules/dax/script/deps/jsr.io/@david/shell/0.5.2/src/commands/args.d.ts.map +1 -0
  378. package/node_modules/dax/script/deps/jsr.io/@david/shell/0.5.2/src/commands/cat.d.ts +9 -0
  379. package/node_modules/dax/script/deps/jsr.io/@david/shell/0.5.2/src/commands/cat.d.ts.map +1 -0
  380. package/node_modules/dax/script/deps/jsr.io/@david/shell/0.5.2/src/commands/cd.d.ts +4 -0
  381. package/node_modules/dax/script/deps/jsr.io/@david/shell/0.5.2/src/commands/cd.d.ts.map +1 -0
  382. package/node_modules/dax/script/deps/jsr.io/@david/shell/0.5.2/src/commands/cpMv.d.ts +25 -0
  383. package/node_modules/dax/script/deps/jsr.io/@david/shell/0.5.2/src/commands/cpMv.d.ts.map +1 -0
  384. package/node_modules/dax/script/deps/jsr.io/@david/shell/0.5.2/src/commands/echo.d.ts +4 -0
  385. package/node_modules/dax/script/deps/jsr.io/@david/shell/0.5.2/src/commands/echo.d.ts.map +1 -0
  386. package/node_modules/dax/script/deps/jsr.io/@david/shell/0.5.2/src/commands/executable.d.ts +14 -0
  387. package/node_modules/dax/script/deps/jsr.io/@david/shell/0.5.2/src/commands/executable.d.ts.map +1 -0
  388. package/node_modules/dax/script/deps/jsr.io/@david/shell/0.5.2/src/commands/exit.d.ts +4 -0
  389. package/node_modules/dax/script/deps/jsr.io/@david/shell/0.5.2/src/commands/exit.d.ts.map +1 -0
  390. package/node_modules/dax/script/deps/jsr.io/@david/shell/0.5.2/src/commands/export.d.ts +4 -0
  391. package/node_modules/dax/script/deps/jsr.io/@david/shell/0.5.2/src/commands/export.d.ts.map +1 -0
  392. package/node_modules/dax/script/deps/jsr.io/@david/shell/0.5.2/src/commands/mkdir.d.ts +10 -0
  393. package/node_modules/dax/script/deps/jsr.io/@david/shell/0.5.2/src/commands/mkdir.d.ts.map +1 -0
  394. package/node_modules/dax/script/deps/jsr.io/@david/shell/0.5.2/src/commands/printenv.d.ts +4 -0
  395. package/node_modules/dax/script/deps/jsr.io/@david/shell/0.5.2/src/commands/printenv.d.ts.map +1 -0
  396. package/node_modules/dax/script/deps/jsr.io/@david/shell/0.5.2/src/commands/pwd.d.ts +9 -0
  397. package/node_modules/dax/script/deps/jsr.io/@david/shell/0.5.2/src/commands/pwd.d.ts.map +1 -0
  398. package/node_modules/dax/script/deps/jsr.io/@david/shell/0.5.2/src/commands/rm.d.ts +12 -0
  399. package/node_modules/dax/script/deps/jsr.io/@david/shell/0.5.2/src/commands/rm.d.ts.map +1 -0
  400. package/node_modules/dax/script/deps/jsr.io/@david/shell/0.5.2/src/commands/set.d.ts +4 -0
  401. package/node_modules/dax/script/deps/jsr.io/@david/shell/0.5.2/src/commands/set.d.ts.map +1 -0
  402. package/node_modules/dax/script/deps/jsr.io/@david/shell/0.5.2/src/commands/shopt.d.ts +4 -0
  403. package/node_modules/dax/script/deps/jsr.io/@david/shell/0.5.2/src/commands/shopt.d.ts.map +1 -0
  404. package/node_modules/dax/script/deps/jsr.io/@david/shell/0.5.2/src/commands/sleep.d.ts +4 -0
  405. package/node_modules/dax/script/deps/jsr.io/@david/shell/0.5.2/src/commands/sleep.d.ts.map +1 -0
  406. package/node_modules/dax/script/deps/jsr.io/@david/shell/0.5.2/src/commands/test.d.ts +4 -0
  407. package/node_modules/dax/script/deps/jsr.io/@david/shell/0.5.2/src/commands/test.d.ts.map +1 -0
  408. package/node_modules/dax/script/deps/jsr.io/@david/shell/0.5.2/src/commands/touch.d.ts +8 -0
  409. package/node_modules/dax/script/deps/jsr.io/@david/shell/0.5.2/src/commands/touch.d.ts.map +1 -0
  410. package/node_modules/dax/script/deps/jsr.io/@david/shell/0.5.2/src/commands/unset.d.ts +4 -0
  411. package/node_modules/dax/script/deps/jsr.io/@david/shell/0.5.2/src/commands/unset.d.ts.map +1 -0
  412. package/node_modules/dax/script/deps/jsr.io/@david/shell/0.5.2/src/commands/which.d.ts +7 -0
  413. package/node_modules/dax/script/deps/jsr.io/@david/shell/0.5.2/src/commands/which.d.ts.map +1 -0
  414. package/node_modules/dax/script/deps/jsr.io/@david/shell/0.5.2/src/common.d.ts +85 -0
  415. package/node_modules/dax/script/deps/jsr.io/@david/shell/0.5.2/src/common.d.ts.map +1 -0
  416. package/node_modules/dax/script/deps/jsr.io/@david/shell/0.5.2/src/dollar.d.ts +30 -0
  417. package/node_modules/dax/script/deps/jsr.io/@david/shell/0.5.2/src/dollar.d.ts.map +1 -0
  418. package/node_modules/dax/script/deps/jsr.io/@david/shell/0.5.2/src/fsFile.d.ts +62 -0
  419. package/node_modules/dax/script/deps/jsr.io/@david/shell/0.5.2/src/fsFile.d.ts.map +1 -0
  420. package/node_modules/dax/script/deps/jsr.io/@david/shell/0.5.2/src/glob.d.ts +23 -0
  421. package/node_modules/dax/script/deps/jsr.io/@david/shell/0.5.2/src/glob.d.ts.map +1 -0
  422. package/node_modules/dax/script/deps/jsr.io/@david/shell/0.5.2/src/lib/rs_lib.d.ts +2 -0
  423. package/node_modules/dax/script/deps/jsr.io/@david/shell/0.5.2/src/lib/rs_lib.d.ts.map +1 -0
  424. package/node_modules/dax/script/deps/jsr.io/@david/shell/0.5.2/src/lib/rs_lib.internal.d.ts +19 -0
  425. package/node_modules/dax/script/deps/jsr.io/@david/shell/0.5.2/src/lib/rs_lib.internal.d.ts.map +1 -0
  426. package/node_modules/dax/script/deps/jsr.io/@david/shell/0.5.2/src/lineRingBuffer.d.ts +17 -0
  427. package/node_modules/dax/script/deps/jsr.io/@david/shell/0.5.2/src/lineRingBuffer.d.ts.map +1 -0
  428. package/node_modules/dax/script/deps/jsr.io/@david/shell/0.5.2/src/pipes.d.ts +396 -0
  429. package/node_modules/dax/script/deps/jsr.io/@david/shell/0.5.2/src/pipes.d.ts.map +1 -0
  430. package/node_modules/dax/script/deps/jsr.io/@david/shell/0.5.2/src/result.d.ts +92 -0
  431. package/node_modules/dax/script/deps/jsr.io/@david/shell/0.5.2/src/result.d.ts.map +1 -0
  432. package/node_modules/dax/script/deps/jsr.io/@david/shell/0.5.2/src/shell.d.ts +210 -0
  433. package/node_modules/dax/script/deps/jsr.io/@david/shell/0.5.2/src/shell.d.ts.map +1 -0
  434. package/node_modules/dax/script/deps/jsr.io/@david/shell/0.5.2/src/signal.d.ts +3 -0
  435. package/node_modules/dax/script/deps/jsr.io/@david/shell/0.5.2/src/signal.d.ts.map +1 -0
  436. package/node_modules/dax/script/deps/jsr.io/@david/shell/0.5.2/src/spawn.d.ts +21 -0
  437. package/node_modules/dax/script/deps/jsr.io/@david/shell/0.5.2/src/spawn.d.ts.map +1 -0
  438. package/node_modules/dax/script/deps/jsr.io/@david/shell/0.5.2/src/streams.d.ts +35 -0
  439. package/node_modules/dax/script/deps/jsr.io/@david/shell/0.5.2/src/streams.d.ts.map +1 -0
  440. package/node_modules/dax/script/deps/jsr.io/@david/which/0.7.0/mod.d.ts +81 -0
  441. package/node_modules/dax/script/deps/jsr.io/@david/which/0.7.0/mod.d.ts.map +1 -0
  442. package/node_modules/dax/script/deps/jsr.io/@david/which-runtime/0.2.1/mod.d.ts.map +1 -0
  443. package/node_modules/dax/script/deps/jsr.io/@std/assert/1.0.19/almost_equals.d.ts.map +1 -0
  444. package/node_modules/dax/script/deps/jsr.io/@std/assert/1.0.19/array_includes.d.ts.map +1 -0
  445. package/node_modules/dax/script/deps/jsr.io/@std/assert/1.0.19/assert.d.ts.map +1 -0
  446. package/node_modules/dax/script/deps/jsr.io/@std/assert/1.0.19/assertion_error.d.ts.map +1 -0
  447. package/node_modules/dax/script/deps/jsr.io/@std/assert/1.0.19/equal.d.ts.map +1 -0
  448. package/node_modules/dax/script/deps/jsr.io/@std/assert/1.0.19/equals.d.ts.map +1 -0
  449. package/node_modules/dax/script/deps/jsr.io/@std/assert/1.0.19/exists.d.ts.map +1 -0
  450. package/node_modules/dax/script/deps/jsr.io/@std/assert/1.0.19/fail.d.ts.map +1 -0
  451. package/node_modules/dax/script/deps/jsr.io/@std/assert/1.0.19/false.d.ts.map +1 -0
  452. package/node_modules/dax/script/deps/jsr.io/@std/assert/1.0.19/greater.d.ts.map +1 -0
  453. package/node_modules/dax/script/deps/jsr.io/@std/assert/1.0.19/greater_or_equal.d.ts.map +1 -0
  454. package/node_modules/dax/script/deps/jsr.io/@std/assert/1.0.19/instance_of.d.ts.map +1 -0
  455. package/node_modules/dax/script/deps/jsr.io/@std/assert/1.0.19/is_error.d.ts.map +1 -0
  456. package/node_modules/dax/script/deps/jsr.io/@std/assert/1.0.19/less.d.ts.map +1 -0
  457. package/node_modules/dax/script/deps/jsr.io/@std/assert/1.0.19/less_or_equal.d.ts.map +1 -0
  458. package/node_modules/dax/script/deps/jsr.io/@std/assert/1.0.19/match.d.ts.map +1 -0
  459. package/node_modules/dax/script/deps/jsr.io/@std/assert/1.0.19/mod.d.ts.map +1 -0
  460. package/node_modules/dax/script/deps/jsr.io/@std/assert/1.0.19/not_equals.d.ts.map +1 -0
  461. package/node_modules/dax/script/deps/jsr.io/@std/assert/1.0.19/not_instance_of.d.ts.map +1 -0
  462. package/node_modules/dax/script/deps/jsr.io/@std/assert/1.0.19/not_match.d.ts.map +1 -0
  463. package/node_modules/dax/script/deps/jsr.io/@std/assert/1.0.19/not_strict_equals.d.ts.map +1 -0
  464. package/node_modules/dax/script/deps/jsr.io/@std/assert/1.0.19/object_match.d.ts.map +1 -0
  465. package/node_modules/dax/script/deps/jsr.io/@std/assert/1.0.19/rejects.d.ts.map +1 -0
  466. package/node_modules/dax/script/deps/jsr.io/@std/assert/1.0.19/strict_equals.d.ts.map +1 -0
  467. package/node_modules/dax/script/deps/jsr.io/@std/assert/1.0.19/string_includes.d.ts.map +1 -0
  468. package/node_modules/dax/script/deps/jsr.io/@std/assert/1.0.19/throws.d.ts.map +1 -0
  469. package/node_modules/dax/script/deps/jsr.io/@std/assert/1.0.19/unimplemented.d.ts.map +1 -0
  470. package/node_modules/dax/script/deps/jsr.io/@std/assert/1.0.19/unreachable.d.ts.map +1 -0
  471. package/node_modules/dax/script/deps/jsr.io/@std/bytes/1.0.6/copy.d.ts +41 -0
  472. package/node_modules/dax/script/deps/jsr.io/@std/bytes/1.0.6/copy.d.ts.map +1 -0
  473. package/node_modules/dax/script/deps/jsr.io/@std/fmt/1.0.10/colors.d.ts +700 -0
  474. package/node_modules/dax/script/deps/jsr.io/@std/fmt/1.0.10/colors.d.ts.map +1 -0
  475. package/node_modules/dax/script/deps/jsr.io/@std/internal/1.0.14/_os.d.ts +2 -0
  476. package/node_modules/dax/script/deps/jsr.io/@std/internal/1.0.14/_os.d.ts.map +1 -0
  477. package/node_modules/dax/script/deps/jsr.io/@std/internal/1.0.14/build_message.d.ts.map +1 -0
  478. package/node_modules/dax/script/deps/jsr.io/@std/internal/1.0.14/diff.d.ts.map +1 -0
  479. package/node_modules/dax/script/deps/jsr.io/@std/internal/1.0.14/diff_str.d.ts.map +1 -0
  480. package/node_modules/dax/script/deps/jsr.io/@std/internal/1.0.14/format.d.ts.map +1 -0
  481. package/node_modules/dax/script/deps/jsr.io/@std/internal/1.0.14/os.d.ts +3 -0
  482. package/node_modules/dax/script/deps/jsr.io/@std/internal/1.0.14/os.d.ts.map +1 -0
  483. package/node_modules/dax/script/deps/jsr.io/@std/internal/1.0.14/styles.d.ts.map +1 -0
  484. package/node_modules/dax/script/deps/jsr.io/@std/internal/1.0.14/types.d.ts.map +1 -0
  485. package/node_modules/dax/script/deps/jsr.io/@std/io/0.225.3/_common.d.ts.map +1 -0
  486. package/node_modules/dax/script/deps/jsr.io/@std/io/0.225.3/buffer.d.ts +321 -0
  487. package/node_modules/dax/script/deps/jsr.io/@std/io/0.225.3/buffer.d.ts.map +1 -0
  488. package/node_modules/dax/script/deps/jsr.io/@std/io/0.225.3/reader_from_stream_reader.d.ts +21 -0
  489. package/node_modules/dax/script/deps/jsr.io/@std/io/0.225.3/reader_from_stream_reader.d.ts.map +1 -0
  490. package/node_modules/dax/script/deps/jsr.io/@std/io/0.225.3/to_writable_stream.d.ts.map +1 -0
  491. package/node_modules/dax/script/deps/jsr.io/@std/io/0.225.3/types.d.ts +146 -0
  492. package/node_modules/dax/script/deps/jsr.io/@std/io/0.225.3/types.d.ts.map +1 -0
  493. package/node_modules/dax/script/deps/jsr.io/@std/io/0.225.3/write_all.d.ts +52 -0
  494. package/node_modules/dax/script/deps/jsr.io/@std/io/0.225.3/write_all.d.ts.map +1 -0
  495. package/node_modules/dax/script/deps/jsr.io/@std/path/1.1.5/_common/glob_to_reg_exp.d.ts +35 -0
  496. package/node_modules/dax/script/deps/jsr.io/@std/path/1.1.5/_common/glob_to_reg_exp.d.ts.map +1 -0
  497. package/node_modules/dax/script/deps/jsr.io/@std/path/1.1.5/glob_to_regexp.d.ts +77 -0
  498. package/node_modules/dax/script/deps/jsr.io/@std/path/1.1.5/glob_to_regexp.d.ts.map +1 -0
  499. package/node_modules/dax/script/deps/jsr.io/@std/path/1.1.5/posix/glob_to_regexp.d.ts +72 -0
  500. package/node_modules/dax/script/deps/jsr.io/@std/path/1.1.5/posix/glob_to_regexp.d.ts.map +1 -0
  501. package/node_modules/dax/script/deps/jsr.io/@std/path/1.1.5/windows/glob_to_regexp.d.ts +71 -0
  502. package/node_modules/dax/script/deps/jsr.io/@std/path/1.1.5/windows/glob_to_regexp.d.ts.map +1 -0
  503. package/node_modules/dax/script/mod.d.ts +600 -0
  504. package/node_modules/dax/script/mod.d.ts.map +1 -0
  505. package/node_modules/dax/script/mod.js +14815 -0
  506. package/node_modules/dax/script/mod.test.d.ts.map +1 -0
  507. package/node_modules/dax/script/package.json +3 -0
  508. package/node_modules/dax/script/src/common.d.ts +15 -0
  509. package/node_modules/dax/script/src/common.d.ts.map +1 -0
  510. package/node_modules/dax/script/src/common.test.d.ts.map +1 -0
  511. package/node_modules/dax/script/src/console/alert.d.ts +25 -0
  512. package/node_modules/dax/script/src/console/alert.d.ts.map +1 -0
  513. package/node_modules/dax/script/src/console/alert.test.d.ts.map +1 -0
  514. package/node_modules/dax/script/src/console/confirm.d.ts +27 -0
  515. package/node_modules/dax/script/src/console/confirm.d.ts.map +1 -0
  516. package/node_modules/dax/script/src/console/confirm.test.d.ts.map +1 -0
  517. package/node_modules/dax/script/src/console/logger.d.ts +13 -0
  518. package/node_modules/dax/script/src/console/logger.d.ts.map +1 -0
  519. package/node_modules/dax/script/src/console/mod.d.ts +14 -0
  520. package/node_modules/dax/script/src/console/mod.d.ts.map +1 -0
  521. package/node_modules/dax/script/src/console/multiSelect.d.ts +31 -0
  522. package/node_modules/dax/script/src/console/multiSelect.d.ts.map +1 -0
  523. package/node_modules/dax/script/src/console/multiSelect.test.d.ts.map +1 -0
  524. package/node_modules/dax/script/src/console/progress.d.ts +57 -0
  525. package/node_modules/dax/script/src/console/progress.d.ts.map +1 -0
  526. package/node_modules/dax/script/src/console/progress.test.d.ts.map +1 -0
  527. package/node_modules/dax/script/src/console/prompt.d.ts +46 -0
  528. package/node_modules/dax/script/src/console/prompt.d.ts.map +1 -0
  529. package/node_modules/dax/script/src/console/prompt.test.d.ts.map +1 -0
  530. package/node_modules/dax/script/src/console/select.d.ts +26 -0
  531. package/node_modules/dax/script/src/console/select.d.ts.map +1 -0
  532. package/node_modules/dax/script/src/console/select.test.d.ts.map +1 -0
  533. package/node_modules/dax/script/src/console/testUtils.d.ts.map +1 -0
  534. package/node_modules/dax/script/src/console/ttyFallback.d.ts +19 -0
  535. package/node_modules/dax/script/src/console/ttyFallback.d.ts.map +1 -0
  536. package/node_modules/dax/script/src/console/utils.d.ts +47 -0
  537. package/node_modules/dax/script/src/console/utils.d.ts.map +1 -0
  538. package/node_modules/dax/script/src/console/utils.test.d.ts.map +1 -0
  539. package/node_modules/dax/script/src/request.d.ts +306 -0
  540. package/node_modules/dax/script/src/request.d.ts.map +1 -0
  541. package/node_modules/dax/script/src/request.test.d.ts.map +1 -0
  542. package/node_modules/dax/script/src/test/server.common.d.ts.map +1 -0
  543. package/node_modules/dax/script/src/test/server.node.d.ts.map +1 -0
  544. package/node_modules/dax/script/src/vendor/outdent.d.ts +34 -0
  545. package/node_modules/dax/script/src/vendor/outdent.d.ts.map +1 -0
  546. package/node_modules/{cross-spawn → undici-types}/LICENSE +6 -6
  547. package/node_modules/undici-types/README.md +6 -0
  548. package/node_modules/undici-types/agent.d.ts +31 -0
  549. package/node_modules/undici-types/api.d.ts +43 -0
  550. package/node_modules/undici-types/balanced-pool.d.ts +18 -0
  551. package/node_modules/undici-types/cache.d.ts +36 -0
  552. package/node_modules/undici-types/client.d.ts +97 -0
  553. package/node_modules/undici-types/connector.d.ts +34 -0
  554. package/node_modules/undici-types/content-type.d.ts +21 -0
  555. package/node_modules/undici-types/cookies.d.ts +28 -0
  556. package/node_modules/undici-types/diagnostics-channel.d.ts +67 -0
  557. package/node_modules/undici-types/dispatcher.d.ts +241 -0
  558. package/node_modules/undici-types/errors.d.ts +128 -0
  559. package/node_modules/undici-types/fetch.d.ts +209 -0
  560. package/node_modules/undici-types/file.d.ts +39 -0
  561. package/node_modules/undici-types/filereader.d.ts +54 -0
  562. package/node_modules/undici-types/formdata.d.ts +108 -0
  563. package/node_modules/undici-types/global-dispatcher.d.ts +9 -0
  564. package/node_modules/undici-types/global-origin.d.ts +7 -0
  565. package/node_modules/undici-types/handlers.d.ts +9 -0
  566. package/node_modules/undici-types/header.d.ts +4 -0
  567. package/node_modules/undici-types/index.d.ts +65 -0
  568. package/node_modules/undici-types/interceptors.d.ts +5 -0
  569. package/node_modules/undici-types/mock-agent.d.ts +50 -0
  570. package/node_modules/undici-types/mock-client.d.ts +25 -0
  571. package/node_modules/undici-types/mock-errors.d.ts +12 -0
  572. package/node_modules/undici-types/mock-interceptor.d.ts +93 -0
  573. package/node_modules/undici-types/mock-pool.d.ts +25 -0
  574. package/node_modules/undici-types/package.json +55 -0
  575. package/node_modules/undici-types/patch.d.ts +71 -0
  576. package/node_modules/undici-types/pool-stats.d.ts +19 -0
  577. package/node_modules/undici-types/pool.d.ts +28 -0
  578. package/node_modules/undici-types/proxy-agent.d.ts +30 -0
  579. package/node_modules/undici-types/readable.d.ts +61 -0
  580. package/node_modules/undici-types/retry-handler.d.ts +116 -0
  581. package/node_modules/undici-types/webidl.d.ts +220 -0
  582. package/node_modules/undici-types/websocket.d.ts +131 -0
  583. package/package.json +11 -11
  584. package/lib/util/tasks.d.ts +0 -7
  585. package/lib/util/tasks.js +0 -25
  586. package/node_modules/cross-spawn/README.md +0 -89
  587. package/node_modules/cross-spawn/index.js +0 -39
  588. package/node_modules/cross-spawn/lib/enoent.js +0 -59
  589. package/node_modules/cross-spawn/lib/parse.js +0 -91
  590. package/node_modules/cross-spawn/lib/util/escape.js +0 -47
  591. package/node_modules/cross-spawn/lib/util/readShebang.js +0 -23
  592. package/node_modules/cross-spawn/lib/util/resolveCommand.js +0 -52
  593. package/node_modules/cross-spawn/package.json +0 -73
  594. package/node_modules/execa/index.d.ts +0 -564
  595. package/node_modules/execa/index.js +0 -268
  596. package/node_modules/execa/lib/command.js +0 -52
  597. package/node_modules/execa/lib/error.js +0 -88
  598. package/node_modules/execa/lib/kill.js +0 -115
  599. package/node_modules/execa/lib/promise.js +0 -46
  600. package/node_modules/execa/lib/stdio.js +0 -52
  601. package/node_modules/execa/lib/stream.js +0 -97
  602. package/node_modules/execa/license +0 -9
  603. package/node_modules/execa/package.json +0 -74
  604. package/node_modules/execa/readme.md +0 -663
  605. package/node_modules/get-stream/buffer-stream.js +0 -52
  606. package/node_modules/get-stream/index.d.ts +0 -105
  607. package/node_modules/get-stream/index.js +0 -61
  608. package/node_modules/get-stream/license +0 -9
  609. package/node_modules/get-stream/package.json +0 -47
  610. package/node_modules/get-stream/readme.md +0 -124
  611. package/node_modules/human-signals/LICENSE +0 -201
  612. package/node_modules/human-signals/README.md +0 -165
  613. package/node_modules/human-signals/build/src/core.js +0 -273
  614. package/node_modules/human-signals/build/src/core.js.map +0 -1
  615. package/node_modules/human-signals/build/src/main.d.ts +0 -52
  616. package/node_modules/human-signals/build/src/main.js +0 -71
  617. package/node_modules/human-signals/build/src/main.js.map +0 -1
  618. package/node_modules/human-signals/build/src/realtime.js +0 -19
  619. package/node_modules/human-signals/build/src/realtime.js.map +0 -1
  620. package/node_modules/human-signals/build/src/signals.js +0 -35
  621. package/node_modules/human-signals/build/src/signals.js.map +0 -1
  622. package/node_modules/human-signals/package.json +0 -64
  623. package/node_modules/is-stream/index.d.ts +0 -79
  624. package/node_modules/is-stream/index.js +0 -28
  625. package/node_modules/is-stream/license +0 -9
  626. package/node_modules/is-stream/package.json +0 -42
  627. package/node_modules/is-stream/readme.md +0 -60
  628. package/node_modules/isexe/.npmignore +0 -2
  629. package/node_modules/isexe/LICENSE +0 -15
  630. package/node_modules/isexe/README.md +0 -51
  631. package/node_modules/isexe/index.js +0 -57
  632. package/node_modules/isexe/mode.js +0 -41
  633. package/node_modules/isexe/package.json +0 -31
  634. package/node_modules/isexe/test/basic.js +0 -221
  635. package/node_modules/isexe/windows.js +0 -42
  636. package/node_modules/merge-stream/LICENSE +0 -21
  637. package/node_modules/merge-stream/README.md +0 -78
  638. package/node_modules/merge-stream/index.js +0 -41
  639. package/node_modules/merge-stream/package.json +0 -19
  640. package/node_modules/mimic-fn/index.d.ts +0 -54
  641. package/node_modules/mimic-fn/index.js +0 -13
  642. package/node_modules/mimic-fn/license +0 -9
  643. package/node_modules/mimic-fn/package.json +0 -42
  644. package/node_modules/mimic-fn/readme.md +0 -69
  645. package/node_modules/minimist/.eslintrc +0 -29
  646. package/node_modules/minimist/.github/FUNDING.yml +0 -12
  647. package/node_modules/minimist/.nycrc +0 -14
  648. package/node_modules/minimist/CHANGELOG.md +0 -298
  649. package/node_modules/minimist/LICENSE +0 -18
  650. package/node_modules/minimist/README.md +0 -121
  651. package/node_modules/minimist/example/parse.js +0 -4
  652. package/node_modules/minimist/index.js +0 -263
  653. package/node_modules/minimist/package.json +0 -75
  654. package/node_modules/minimist/test/all_bool.js +0 -34
  655. package/node_modules/minimist/test/bool.js +0 -177
  656. package/node_modules/minimist/test/dash.js +0 -43
  657. package/node_modules/minimist/test/default_bool.js +0 -37
  658. package/node_modules/minimist/test/dotted.js +0 -24
  659. package/node_modules/minimist/test/kv_short.js +0 -32
  660. package/node_modules/minimist/test/long.js +0 -33
  661. package/node_modules/minimist/test/num.js +0 -38
  662. package/node_modules/minimist/test/parse.js +0 -209
  663. package/node_modules/minimist/test/parse_modified.js +0 -11
  664. package/node_modules/minimist/test/proto.js +0 -64
  665. package/node_modules/minimist/test/short.js +0 -69
  666. package/node_modules/minimist/test/stop_early.js +0 -17
  667. package/node_modules/minimist/test/unknown.js +0 -104
  668. package/node_modules/minimist/test/whitespace.js +0 -10
  669. package/node_modules/npm-run-path/index.d.ts +0 -89
  670. package/node_modules/npm-run-path/index.js +0 -47
  671. package/node_modules/npm-run-path/license +0 -9
  672. package/node_modules/npm-run-path/package.json +0 -44
  673. package/node_modules/npm-run-path/readme.md +0 -115
  674. package/node_modules/onetime/index.d.ts +0 -64
  675. package/node_modules/onetime/index.js +0 -44
  676. package/node_modules/onetime/license +0 -9
  677. package/node_modules/onetime/package.json +0 -43
  678. package/node_modules/onetime/readme.md +0 -94
  679. package/node_modules/path-key/index.d.ts +0 -40
  680. package/node_modules/path-key/index.js +0 -16
  681. package/node_modules/path-key/license +0 -9
  682. package/node_modules/path-key/package.json +0 -39
  683. package/node_modules/path-key/readme.md +0 -61
  684. package/node_modules/shebang-command/index.js +0 -19
  685. package/node_modules/shebang-command/license +0 -9
  686. package/node_modules/shebang-command/package.json +0 -34
  687. package/node_modules/shebang-command/readme.md +0 -34
  688. package/node_modules/shebang-regex/index.d.ts +0 -22
  689. package/node_modules/shebang-regex/index.js +0 -2
  690. package/node_modules/shebang-regex/license +0 -9
  691. package/node_modules/shebang-regex/package.json +0 -35
  692. package/node_modules/shebang-regex/readme.md +0 -33
  693. package/node_modules/shelljs/LICENSE +0 -29
  694. package/node_modules/shelljs/README.md +0 -949
  695. package/node_modules/shelljs/global.js +0 -15
  696. package/node_modules/shelljs/make.js +0 -57
  697. package/node_modules/shelljs/package.json +0 -90
  698. package/node_modules/shelljs/plugin.js +0 -16
  699. package/node_modules/shelljs/shell.js +0 -216
  700. package/node_modules/shelljs/src/cat.js +0 -76
  701. package/node_modules/shelljs/src/cd.js +0 -40
  702. package/node_modules/shelljs/src/chmod.js +0 -222
  703. package/node_modules/shelljs/src/cmd.js +0 -138
  704. package/node_modules/shelljs/src/common.js +0 -545
  705. package/node_modules/shelljs/src/cp.js +0 -314
  706. package/node_modules/shelljs/src/dirs.js +0 -210
  707. package/node_modules/shelljs/src/echo.js +0 -62
  708. package/node_modules/shelljs/src/error.js +0 -15
  709. package/node_modules/shelljs/src/errorCode.js +0 -10
  710. package/node_modules/shelljs/src/exec-child.js +0 -71
  711. package/node_modules/shelljs/src/exec.js +0 -255
  712. package/node_modules/shelljs/src/find.js +0 -66
  713. package/node_modules/shelljs/src/grep.js +0 -198
  714. package/node_modules/shelljs/src/head.js +0 -107
  715. package/node_modules/shelljs/src/ln.js +0 -75
  716. package/node_modules/shelljs/src/ls.js +0 -155
  717. package/node_modules/shelljs/src/mkdir.js +0 -102
  718. package/node_modules/shelljs/src/mv.js +0 -119
  719. package/node_modules/shelljs/src/popd.js +0 -1
  720. package/node_modules/shelljs/src/pushd.js +0 -1
  721. package/node_modules/shelljs/src/pwd.js +0 -16
  722. package/node_modules/shelljs/src/rm.js +0 -201
  723. package/node_modules/shelljs/src/sed.js +0 -95
  724. package/node_modules/shelljs/src/set.js +0 -55
  725. package/node_modules/shelljs/src/sort.js +0 -98
  726. package/node_modules/shelljs/src/tail.js +0 -90
  727. package/node_modules/shelljs/src/tempdir.js +0 -75
  728. package/node_modules/shelljs/src/test.js +0 -86
  729. package/node_modules/shelljs/src/to.js +0 -38
  730. package/node_modules/shelljs/src/toEnd.js +0 -37
  731. package/node_modules/shelljs/src/touch.js +0 -117
  732. package/node_modules/shelljs/src/uniq.js +0 -93
  733. package/node_modules/shelljs/src/which.js +0 -119
  734. package/node_modules/shx/README.md +0 -160
  735. package/node_modules/shx/lib/cli.js +0 -40
  736. package/node_modules/shx/lib/config.js +0 -58
  737. package/node_modules/shx/lib/help.js +0 -37
  738. package/node_modules/shx/lib/plugin-true-false.js +0 -25
  739. package/node_modules/shx/lib/printCmdRet.js +0 -17
  740. package/node_modules/shx/lib/shx.js +0 -162
  741. package/node_modules/shx/package.json +0 -72
  742. package/node_modules/signal-exit/LICENSE.txt +0 -16
  743. package/node_modules/signal-exit/README.md +0 -39
  744. package/node_modules/signal-exit/index.js +0 -202
  745. package/node_modules/signal-exit/package.json +0 -38
  746. package/node_modules/signal-exit/signals.js +0 -53
  747. package/node_modules/strip-final-newline/index.js +0 -16
  748. package/node_modules/strip-final-newline/license +0 -9
  749. package/node_modules/strip-final-newline/package.json +0 -40
  750. package/node_modules/strip-final-newline/readme.md +0 -30
  751. package/node_modules/which/LICENSE +0 -15
  752. package/node_modules/which/README.md +0 -54
  753. package/node_modules/which/bin/node-which +0 -52
  754. package/node_modules/which/package.json +0 -43
  755. package/node_modules/which/which.js +0 -125
@@ -1,119 +0,0 @@
1
- var fs = require('fs');
2
- var path = require('path');
3
- var common = require('./common');
4
-
5
- common.register('which', _which, {
6
- allowGlobbing: false,
7
- cmdOptions: {
8
- 'a': 'all',
9
- },
10
- });
11
-
12
- // XP's system default value for `PATHEXT` system variable, just in case it's not
13
- // set on Windows.
14
- var XP_DEFAULT_PATHEXT = '.com;.exe;.bat;.cmd;.vbs;.vbe;.js;.jse;.wsf;.wsh';
15
-
16
- // For earlier versions of NodeJS that doesn't have a list of constants (< v6)
17
- var FILE_EXECUTABLE_MODE = 1;
18
-
19
- function isWindowsPlatform() {
20
- return process.platform === 'win32';
21
- }
22
-
23
- // Cross-platform method for splitting environment `PATH` variables
24
- function splitPath(p) {
25
- return p ? p.split(path.delimiter) : [];
26
- }
27
-
28
- // Tests are running all cases for this func but it stays uncovered by codecov due to unknown reason
29
- /* istanbul ignore next */
30
- function isExecutable(pathName) {
31
- try {
32
- // TODO(node-support): replace with fs.constants.X_OK once remove support for node < v6
33
- fs.accessSync(pathName, FILE_EXECUTABLE_MODE);
34
- } catch (err) {
35
- return false;
36
- }
37
- return true;
38
- }
39
-
40
- function checkPath(pathName) {
41
- return fs.existsSync(pathName) && !common.statFollowLinks(pathName).isDirectory()
42
- && (isWindowsPlatform() || isExecutable(pathName));
43
- }
44
-
45
- //@
46
- //@ ### which(command)
47
- //@
48
- //@ Examples:
49
- //@
50
- //@ ```javascript
51
- //@ var nodeExec = which('node');
52
- //@ ```
53
- //@
54
- //@ Searches for `command` in the system's `PATH`. On Windows, this uses the
55
- //@ `PATHEXT` variable to append the extension if it's not already executable.
56
- //@ Returns a [ShellString](#shellstringstr) containing the absolute path to
57
- //@ `command`.
58
- function _which(options, cmd) {
59
- if (!cmd) common.error('must specify command');
60
-
61
- var isWindows = isWindowsPlatform();
62
- var pathArray = splitPath(process.env.PATH);
63
-
64
- var queryMatches = [];
65
-
66
- // No relative/absolute paths provided?
67
- if (!cmd.includes('/')) {
68
- // Assume that there are no extensions to append to queries (this is the
69
- // case for unix)
70
- var pathExtArray = [''];
71
- if (isWindows) {
72
- // In case the PATHEXT variable is somehow not set (e.g.
73
- // child_process.spawn with an empty environment), use the XP default.
74
- var pathExtEnv = process.env.PATHEXT || XP_DEFAULT_PATHEXT;
75
- pathExtArray = splitPath(pathExtEnv.toUpperCase());
76
- }
77
-
78
- // Search for command in PATH
79
- for (var k = 0; k < pathArray.length; k++) {
80
- // already found it
81
- if (queryMatches.length > 0 && !options.all) break;
82
-
83
- var attempt = path.resolve(pathArray[k], cmd);
84
-
85
- if (isWindows) {
86
- attempt = attempt.toUpperCase();
87
- }
88
-
89
- var match = attempt.match(/\.[^<>:"/|?*.]+$/);
90
- if (match && pathExtArray.includes(match[0])) { // this is Windows-only
91
- // The user typed a query with the file extension, like
92
- // `which('node.exe')`
93
- if (checkPath(attempt)) {
94
- queryMatches.push(attempt);
95
- break;
96
- }
97
- } else { // All-platforms
98
- // Cycle through the PATHEXT array, and check each extension
99
- // Note: the array is always [''] on Unix
100
- for (var i = 0; i < pathExtArray.length; i++) {
101
- var ext = pathExtArray[i];
102
- var newAttempt = attempt + ext;
103
- if (checkPath(newAttempt)) {
104
- queryMatches.push(newAttempt);
105
- break;
106
- }
107
- }
108
- }
109
- }
110
- } else if (checkPath(cmd)) { // a valid absolute or relative path
111
- queryMatches.push(path.resolve(cmd));
112
- }
113
-
114
- if (queryMatches.length > 0) {
115
- return options.all ? queryMatches : queryMatches[0];
116
- }
117
- return options.all ? [] : null;
118
- }
119
- module.exports = _which;
@@ -1,160 +0,0 @@
1
- # Shx
2
-
3
- [![GitHub Actions](https://img.shields.io/github/actions/workflow/status/shelljs/shx/main.yml?style=flat-square&logo=github)](https://github.com/shelljs/shx/actions/workflows/main.yml)
4
- [![Codecov](https://img.shields.io/codecov/c/github/shelljs/shx/main.svg?style=flat-square&label=coverage)](https://codecov.io/gh/shelljs/shx)
5
- [![npm version](https://img.shields.io/npm/v/shx.svg?style=flat-square)](https://www.npmjs.com/package/shx)
6
- [![npm downloads](https://img.shields.io/npm/dm/shx.svg?style=flat-square)](https://www.npmjs.com/package/shx)
7
-
8
- `shx` is a wrapper around [ShellJS](https://github.com/shelljs/shelljs) Unix
9
- commands, providing an easy solution for simple Unix-like, cross-platform
10
- commands in npm package scripts.
11
-
12
- `shx` is proudly tested on every LTS node release since <!-- start minVersion -->`v18`<!-- stop minVersion -->!
13
-
14
- ## Difference Between ShellJS and shx
15
-
16
- - **ShellJS:** Good for writing long scripts, all in JS, running via NodeJS (e.g. `node myScript.js`).
17
- - **shx:** Good for writing one-off commands in npm package scripts (e.g. `"clean": "shx rm -rf out/"`).
18
-
19
- ## Install
20
-
21
- ```shell
22
- npm install shx --save-dev
23
- ```
24
- This will allow using `shx` in your `package.json` scripts.
25
-
26
- ## Usage
27
-
28
- ### Command Line
29
-
30
- If you'd like to use `shx` on the command line, install it globally with the `-g` flag.
31
- The following code can be run *either a Unix or Windows* command line:
32
-
33
- ```Bash
34
- $ shx pwd # ShellJS commands are supported automatically
35
- /home/username/path/to/dir
36
-
37
- $ shx ls # files are outputted one per line
38
- file.txt
39
- file2.txt
40
-
41
- $ shx rm *.txt # a cross-platform way to delete files!
42
-
43
- $ shx ls
44
-
45
- $ shx echo "Hi there!"
46
- Hi there!
47
-
48
- $ shx touch helloworld.txt
49
-
50
- $ shx cp helloworld.txt foobar.txt
51
-
52
- $ shx mkdir sub
53
-
54
- $ shx ls
55
- foobar.txt
56
- helloworld.txt
57
- sub
58
-
59
- $ shx rm -r sub # options work as well
60
-
61
- $ shx --silent ls fakeFileName # silence error output
62
-
63
- $ shx --negate test -d dir # Negate status code output (e.g., failed commands will now have status 0)
64
- ```
65
-
66
- All commands internally call the ShellJS corresponding function, guaranteeing
67
- cross-platform compatibility.
68
-
69
- ### package.json
70
-
71
- ShellJS is good for writing long scripts. If you want to write bash-like,
72
- platform-independent scripts, we recommend you go with that.
73
-
74
- However, `shx` is ideal for one-liners inside `package.json`:
75
-
76
- ```json
77
- {
78
- "scripts": {
79
- "clean": "shx rm -rf \"build/**/*.js\" \"build/output\" && shx echo \"Done cleaning\""
80
- }
81
- }
82
- ```
83
-
84
- It's safe to use `&&` and `||` operators in npm package scripts. These will be
85
- interpreted by the operating system's shell (`sh` on Unix, `cmd.exe` on
86
- Windows). If you're using glob operators like `*` or `**`, then we recommend to
87
- **put these in double quotes**, which ensures that `shx` will expand the glob
88
- rather than the operating system shell.
89
-
90
- > [!IMPORTANT]
91
- > Windows treats single quotes (ex. `'some string'`) differently than double
92
- > quotes.
93
- > [We recommend](https://github.com/shelljs/shx/issues/165#issuecomment-563127983)
94
- > wrapping your arguments in **escaped double quotes** so that your code is
95
- > compatible cross platform (ex. `"clean": "shx echo \"some string\""`).
96
-
97
- ## Command reference
98
-
99
- Shx exposes [most ShellJS
100
- commands](https://github.com/shelljs/shelljs#command-reference). If a command is
101
- not listed here, assume it's supported!
102
-
103
- ### sed
104
-
105
- Shx provides unix-like syntax on top of `shell.sed()`. So ShellJS code like:
106
-
107
- ```js
108
- shell.sed('-i', /original string/g, 'replacement', 'filename.txt');
109
- ```
110
-
111
- would turn into the following Shx command:
112
-
113
- ```sh
114
- shx sed -i "s/original string/replacement/g" filename.txt
115
- ```
116
-
117
- **Note:** like unix `sed`, `shx sed` treats `/` as a special character, and
118
- [this must be
119
- escaped](https://github.com/shelljs/shx/issues/169#issuecomment-563013849) (as
120
- `\/` in the shell, or `\\/` in `package.json`) if you intend to use this
121
- character in either the regex or replacement string. Do **not** escape `/`
122
- characters in the file path.
123
-
124
- ### Unsupported Commands
125
-
126
- As mentioned above, most ShellJS commands are supported in `shx`. Due to the
127
- differences in execution environments between ShellJS and `shx` (JS vs CLI) the
128
- following commands are not supported:
129
-
130
- | Unsupported command | Recommend workaround |
131
- | ------------------- | -------------------- |
132
- | `shx cd` | Just use plain old `cd` (it's the same on windows too) |
133
- | `shx pushd` | Just use plain old `pushd`. Use forward slashes and double-quote the path. (e.g. `pushd "../docs"`. This would fail on Windows without the quotes) |
134
- | `shx popd` | Just use plain old `popd` |
135
- | `shx dirs` | No workaround |
136
- | `shx set` | See below |
137
- | `shx exit` | Just use plain old `exit` |
138
- | `shx exec` | Instead of `shx exec cmd`, just use plain old `cmd` |
139
- | `shx ShellString` | No workaround (but why would you want this?) |
140
-
141
- ### Shx options
142
-
143
- Shx allows you to modify its behavior by passing arguments. Here's a list of
144
- supported options:
145
-
146
- | [`set`](https://github.com/shelljs/shelljs#setoptions) flag | [`shell.config`](https://github.com/shelljs/shelljs#configuration) setting | shx command | Effect |
147
- |:---:| --- | --- | --- |
148
- | `-e` | `config.fatal = true` | Not supported | Exit upon first error. |
149
- | `-v` | `config.verbose = true` | `shx --verbose cd foo` | Log the command as it's run. |
150
- | `-f` | `config.noglob = true` | `shx --noglob cat '*.txt'` | Don't expand wildcards. |
151
- | N/A | `config.silent = true` | `shx --silent cd noexist` | Don't show error output. |
152
- | N/A | N/A | `shx --negate test -d dir` | Runs the specified command but negates the exit status. Failed command = status 0, successful command = status 1. |
153
- | N/A | N/A | `shx --help` | Show help text. |
154
- | N/A | N/A | `shx --version` | Print the shx version. |
155
-
156
- ## Team
157
-
158
- | [![Nate Fischer](https://avatars.githubusercontent.com/u/5801521?s=130)](https://github.com/nfischer) | [![Ari Porad](https://avatars1.githubusercontent.com/u/1817508?v=3&s=130)](http://github.com/ariporad) | [![Levi Thomason](https://avatars1.githubusercontent.com/u/5067638?v=3&s=130)](https://github.com/levithomason) |
159
- |:---:|:---:|:---:|
160
- | [Nate Fischer](https://github.com/nfischer) | [Ari Porad](http://github.com/ariporad) | [Levi Thomason](https://github.com/levithomason) |
@@ -1,40 +0,0 @@
1
- #!/usr/bin/env node
2
- 'use strict';
3
-
4
- var _minimist = require('minimist');
5
-
6
- var _minimist2 = _interopRequireDefault(_minimist);
7
-
8
- var _shx = require('./shx');
9
-
10
- var _config = require('./config');
11
-
12
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
13
-
14
- var parsedArgs = (0, _minimist2.default)(process.argv.slice(2), { stopEarly: true, boolean: true });
15
-
16
- // `input` is null if we're running from a TTY, or a string of all stdin if
17
- // running from the right-hand side of a pipe
18
- var run = function run(input) {
19
- // Pass stdin to shx as the 'this' parameter
20
- process.exitCode = _shx.shx.call(input, process.argv);
21
-
22
- // We use process.exitCode to ensure we don't terminate the process before
23
- // streams finish. See:
24
- // https://github.com/shelljs/shx/issues/85
25
- };
26
-
27
- // ShellJS doesn't support input streams, so we have to collect all input first
28
- if ((0, _config.shouldReadStdin)(parsedArgs._)) {
29
- // Read all stdin first, and then pass that onto ShellJS
30
- var chunks = [];
31
- process.stdin.on('data', function (data) {
32
- return chunks.push(data);
33
- });
34
- process.stdin.on('end', function () {
35
- return run(chunks.join(''));
36
- });
37
- } else {
38
- // There's no stdin, so we can immediately invoke the ShellJS function
39
- run(null);
40
- }
@@ -1,58 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.shouldReadStdin = exports.SHELLJS_PIPE_INFO = exports.CONFIG_FILE = exports.OPTION_BLOCKLIST = exports.CMD_BLOCKLIST = exports.EXIT_CODES = undefined;
7
-
8
- var _minimist = require('minimist');
9
-
10
- var _minimist2 = _interopRequireDefault(_minimist);
11
-
12
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
13
-
14
- var EXIT_CODES = exports.EXIT_CODES = {
15
- SHX_ERROR: 27, // https://xkcd.com/221/
16
- CMD_FAILED: 1, // TODO: Once shelljs/shelljs#269 lands, use `error()`
17
- SUCCESS: 0
18
- };
19
-
20
- var CMD_BLOCKLIST = exports.CMD_BLOCKLIST = ['cd', 'pushd', 'popd', 'dirs', 'set', 'exit', 'exec', 'ShellString'];
21
-
22
- var OPTION_BLOCKLIST = exports.OPTION_BLOCKLIST = ['globOptions', // we don't have good control over globbing in the shell
23
- 'execPath', // we don't currently support exec
24
- 'bufLength', // we don't use buffers in shx
25
- 'maxdepth'];
26
-
27
- var CONFIG_FILE = exports.CONFIG_FILE = '.shxrc.json';
28
-
29
- var SHELLJS_PIPE_INFO = exports.SHELLJS_PIPE_INFO = {
30
- cat: { minArgs: 1 },
31
- grep: { minArgs: 2 },
32
- head: { minArgs: 1 },
33
- sed: { minArgs: 2 },
34
- sort: { minArgs: 1 },
35
- tail: { minArgs: 1 },
36
- uniq: { minArgs: 1 }
37
- };
38
-
39
- // All valid options
40
- var allOptionsList = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'.split('');
41
-
42
- var shouldReadStdin = exports.shouldReadStdin = function shouldReadStdin(args) {
43
- var cmd = args[0];
44
- var cmdInfo = SHELLJS_PIPE_INFO[cmd];
45
- var parsedArgs = (0, _minimist2.default)(args.slice(1), {
46
- stopEarly: true,
47
- boolean: allOptionsList // treat all short options as booleans
48
- });
49
- var requiredNumArgs = cmdInfo ? cmdInfo.minArgs : -1;
50
-
51
- // If a non-boolean option is passed in, increment the required argument
52
- // count (this is the case for `-n` for `head` and `tail`)
53
- if (parsedArgs.n && (cmd === 'head' || cmd === 'tail')) {
54
- requiredNumArgs++;
55
- }
56
-
57
- return Boolean(!process.stdin.isTTY && parsedArgs._.length < requiredNumArgs);
58
- };
@@ -1,37 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
-
7
- var _shelljs = require('shelljs');
8
-
9
- var _shelljs2 = _interopRequireDefault(_shelljs);
10
-
11
- var _config = require('./config');
12
-
13
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
14
-
15
- // Global options defined directly in shx.
16
- var locallyDefinedOptions = ['version', 'negate'];
17
-
18
- var shxOptions = Object.keys(_shelljs2.default.config).filter(function (key) {
19
- return typeof _shelljs2.default.config[key] !== 'function';
20
- }).filter(function (key) {
21
- return _config.OPTION_BLOCKLIST.indexOf(key) === -1;
22
- }).concat(locallyDefinedOptions).map(function (key) {
23
- return ' * --' + key;
24
- });
25
-
26
- exports.default = function () {
27
- // Note: compute this at runtime so that we have all plugins loaded.
28
- var commandList = Object.keys(_shelljs2.default).filter(function (cmd) {
29
- return typeof _shelljs2.default[cmd] === 'function';
30
- }).filter(function (cmd) {
31
- return _config.CMD_BLOCKLIST.indexOf(cmd) === -1;
32
- }).map(function (cmd) {
33
- return ' * ' + cmd;
34
- });
35
-
36
- return '\nshx: A wrapper for shelljs UNIX commands.\n\nUsage: shx [shx-options] <command> [cmd-options] [cmd-args]\n\nExample:\n\n $ shx ls .\n foo.txt\n baz.js\n $ shx rm -rf *.txt && shx ls .\n baz.js\n\nCommands:\n\n' + commandList.join('\n') + '\n\nShx Options (please see https://github.com/shelljs/shelljs for details on each\noption):\n\n' + shxOptions.join('\n') + '\n';
37
- };
@@ -1,25 +0,0 @@
1
- 'use strict';
2
-
3
- var _plugin = require('shelljs/plugin');
4
-
5
- var _plugin2 = _interopRequireDefault(_plugin);
6
-
7
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
8
-
9
- var shellTrue = function shellTrue() {
10
- return '';
11
- };
12
-
13
- var shellFalse = function shellFalse() {
14
- _plugin2.default.error('', { silent: true });
15
- };
16
-
17
- _plugin2.default.register('true', shellTrue, {
18
- allowGlobbing: false,
19
- wrapOutput: true
20
- });
21
-
22
- _plugin2.default.register('false', shellFalse, {
23
- allowGlobbing: false,
24
- wrapOutput: true
25
- });
@@ -1,17 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- // This function takes the raw result of a shelljs command and figures out how to print it.
7
- // Invoke this *REGARDLESS* of what the command returns, it will figure it out.
8
- var printCmdRet = exports.printCmdRet = function printCmdRet(ret) {
9
- // Don't print these types
10
- if (typeof ret === 'boolean' || !ret) return;
11
-
12
- if (typeof ret.stdout === 'string') {
13
- process.stdout.write(ret.stdout);
14
- } else {
15
- process.stdout.write(ret);
16
- }
17
- };
@@ -1,162 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.shx = shx;
7
-
8
- var _path = require('path');
9
-
10
- var _path2 = _interopRequireDefault(_path);
11
-
12
- var _fs = require('fs');
13
-
14
- var _fs2 = _interopRequireDefault(_fs);
15
-
16
- var _shelljs = require('shelljs');
17
-
18
- var _shelljs2 = _interopRequireDefault(_shelljs);
19
-
20
- var _minimist = require('minimist');
21
-
22
- var _minimist2 = _interopRequireDefault(_minimist);
23
-
24
- var _help = require('./help');
25
-
26
- var _help2 = _interopRequireDefault(_help);
27
-
28
- var _config = require('./config');
29
-
30
- var _printCmdRet = require('./printCmdRet');
31
-
32
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
33
-
34
- function _toArray(arr) { return Array.isArray(arr) ? arr : Array.from(arr); }
35
-
36
- _shelljs2.default.help = _help2.default;
37
-
38
- var convertSedRegex = function convertSedRegex(args) {
39
- var newArgs = [];
40
- var lookingForSubstString = true;
41
- args.forEach(function (arg) {
42
- // A regex or replacement string can be any sequence of zero or more
43
- // (a) non-slashes or (b) escaped chars.
44
- var escapedChar = '\\\\.'; // This may match an escaped slash (i.e., "\/")
45
- var nonSlash = '[^/]';
46
- var nonSlashSequence = '(?:' + escapedChar + '|' + nonSlash + ')*';
47
- var sedPattern = '^s/(' + nonSlashSequence + ')/(' + nonSlashSequence + ')/(g?)$';
48
- var match = arg.match(new RegExp(sedPattern));
49
- if (match && lookingForSubstString) {
50
- var regexString = match[1].replace(/\\\//g, '/');
51
- var replacement = match[2].replace(/\\\//g, '/').replace(/\\./g, '.');
52
- var regexFlags = match[3];
53
- if (regexString === '') {
54
- // Unix sed gives an error if the pattern is the empty string, so we
55
- // forbid this case even though JavaScript's .replace() has well-defined
56
- // behavior.
57
- throw new Error('Bad sed pattern (empty regex)');
58
- }
59
- newArgs.push(new RegExp(regexString, regexFlags));
60
- newArgs.push(replacement);
61
- lookingForSubstString = false;
62
- } else {
63
- newArgs.push(arg);
64
- }
65
- });
66
- return newArgs;
67
- };
68
-
69
- function shx(argv) {
70
- var parsedArgs = (0, _minimist2.default)(argv.slice(2), { stopEarly: true, boolean: true });
71
- if (parsedArgs.version) {
72
- var shxVersion = require('../package.json').version;
73
- var shelljsVersion = require('shelljs/package.json').version;
74
- console.log('shx v' + shxVersion + ' (using ShellJS v' + shelljsVersion + ')');
75
- return _config.EXIT_CODES.SUCCESS;
76
- }
77
-
78
- var _parsedArgs$_ = _toArray(parsedArgs._),
79
- fnName = _parsedArgs$_[0],
80
- args = _parsedArgs$_.slice(1);
81
-
82
- if (!fnName) {
83
- console.error('Error: Missing ShellJS command name');
84
- console.error((0, _help2.default)());
85
- return _config.EXIT_CODES.SHX_ERROR;
86
- }
87
-
88
- // Load ShellJS plugins
89
- var CONFIG_PATH = _path2.default.join(process.cwd(), _config.CONFIG_FILE);
90
- if (_fs2.default.existsSync(CONFIG_PATH)) {
91
- var shxConfig = void 0;
92
- try {
93
- shxConfig = require(CONFIG_PATH);
94
- } catch (e) {
95
- throw new Error('Unable to read config file ' + _config.CONFIG_FILE);
96
- }
97
-
98
- (shxConfig.plugins || []).forEach(function (pluginName) {
99
- try {
100
- require(pluginName);
101
- } catch (e) {
102
- throw new Error('Unable to find plugin \'' + pluginName + '\'');
103
- }
104
- });
105
- }
106
-
107
- // Always load true-false plugin
108
- require('./plugin-true-false');
109
-
110
- // validate command
111
- if (typeof _shelljs2.default[fnName] !== 'function') {
112
- console.error('Error: Invalid ShellJS command: ' + fnName + '.');
113
- console.error((0, _help2.default)());
114
- return _config.EXIT_CODES.SHX_ERROR;
115
- } else if (_config.CMD_BLOCKLIST.indexOf(fnName) > -1) {
116
- console.error('Warning: shx ' + fnName + ' is not supported');
117
- console.error('Please run `shx help` for a list of commands.');
118
- return _config.EXIT_CODES.SHX_ERROR;
119
- }
120
-
121
- var input = this !== null ? new _shelljs2.default.ShellString(this) : null;
122
-
123
- // Set shell.config with parsed options
124
- Object.assign(_shelljs2.default.config, parsedArgs);
125
-
126
- // Workaround for sed syntax
127
- var ret = void 0;
128
- if (fnName === 'sed') {
129
- var newArgs = convertSedRegex(args);
130
- ret = _shelljs2.default[fnName].apply(input, newArgs);
131
- } else {
132
- ret = _shelljs2.default[fnName].apply(input, args);
133
- }
134
- if (ret === null) ret = _shelljs2.default.ShellString('', '', 1);
135
-
136
- /* instanbul ignore next */
137
- var code = Object.prototype.hasOwnProperty.call(ret, 'code') && ret.code;
138
-
139
- if ((fnName === 'pwd' || fnName === 'which') && !ret.match(/\n$/) && ret.length > 1) {
140
- ret += '\n';
141
- }
142
-
143
- // echo already prints
144
- if (fnName !== 'echo') (0, _printCmdRet.printCmdRet)(ret);
145
- if (typeof ret === 'boolean') {
146
- code = ret ? 0 : 1;
147
- }
148
-
149
- // Check for negation flag, and flip the code value
150
- if (parsedArgs.negate === true) {
151
- code = Number(!code);
152
- }
153
-
154
- if (typeof code === 'number') {
155
- return code;
156
- } else if (_shelljs2.default.error()) {
157
- /* istanbul ignore next */
158
- return _config.EXIT_CODES.CMD_FAILED;
159
- }
160
-
161
- return _config.EXIT_CODES.SUCCESS;
162
- }