projen 0.99.74 → 0.99.76
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.jsii +854 -429
- package/lib/ai-instructions.js +2 -2
- package/lib/awscdk/auto-discover.js +6 -6
- package/lib/awscdk/awscdk-app-java.js +1 -1
- package/lib/awscdk/awscdk-app-py.js +1 -1
- package/lib/awscdk/awscdk-app-ts.js +1 -1
- package/lib/awscdk/awscdk-construct.js +2 -2
- package/lib/awscdk/awscdk-deps-java.js +1 -1
- package/lib/awscdk/awscdk-deps-js.js +1 -1
- package/lib/awscdk/awscdk-deps-py.js +1 -1
- package/lib/awscdk/awscdk-deps.js +1 -1
- package/lib/awscdk/cdk-config.js +4 -4
- package/lib/awscdk/cdk-tasks.js +1 -1
- package/lib/awscdk/integration-test.js +1 -1
- package/lib/awscdk/internal.d.ts +2 -0
- package/lib/awscdk/lambda-extension.js +1 -1
- package/lib/awscdk/lambda-function.js +2 -2
- package/lib/awscdk/private/feature-flags-v2.const.d.ts +3 -1
- package/lib/awscdk/private/feature-flags-v2.const.js +5 -3
- package/lib/build/build-workflow.js +1 -1
- package/lib/cdk/auto-discover-base.js +2 -2
- package/lib/cdk/construct-lib.js +1 -1
- package/lib/cdk/integration-test-base.js +1 -1
- package/lib/cdk/jsii-build.js +1 -1
- package/lib/cdk/jsii-docgen.js +1 -1
- package/lib/cdk/jsii-project.js +1 -1
- package/lib/cdk8s/auto-discover.js +2 -2
- package/lib/cdk8s/cdk8s-app-py.js +1 -1
- package/lib/cdk8s/cdk8s-app-ts.js +1 -1
- package/lib/cdk8s/cdk8s-construct.js +1 -1
- package/lib/cdk8s/cdk8s-deps-py.js +1 -1
- package/lib/cdk8s/cdk8s-deps.js +1 -1
- package/lib/cdk8s/integration-test.js +1 -1
- package/lib/cdktf/cdktf-construct.js +1 -1
- package/lib/circleci/circleci.js +1 -1
- package/lib/component.js +1 -1
- package/lib/dependencies.js +1 -1
- package/lib/dev-env.js +1 -1
- package/lib/docker-compose/docker-compose-service.js +1 -1
- package/lib/docker-compose/docker-compose.js +1 -1
- package/lib/file.js +1 -1
- package/lib/gitattributes.js +1 -1
- package/lib/github/actions-provider.js +1 -1
- package/lib/github/auto-approve.js +1 -1
- package/lib/github/auto-merge.js +1 -1
- package/lib/github/auto-queue.js +1 -1
- package/lib/github/dependabot.js +1 -1
- package/lib/github/dependency-review.js +1 -1
- package/lib/github/github-credentials.js +1 -1
- package/lib/github/github-project.js +1 -1
- package/lib/github/github.js +1 -1
- package/lib/github/merge-queue.js +1 -1
- package/lib/github/mergify.js +1 -1
- package/lib/github/pr-template.js +1 -1
- package/lib/github/pull-request-backport.js +1 -1
- package/lib/github/pull-request-lint.js +1 -1
- package/lib/github/stale.js +1 -1
- package/lib/github/task-workflow-job.js +1 -1
- package/lib/github/task-workflow.js +1 -1
- package/lib/github/workflow-actions.js +1 -1
- package/lib/github/workflow-jobs.js +1 -1
- package/lib/github/workflow-steps.js +1 -1
- package/lib/github/workflows.js +1 -1
- package/lib/gitlab/configuration.js +1 -1
- package/lib/gitlab/gitlab-configuration.js +1 -1
- package/lib/gitlab/nested-configuration.js +1 -1
- package/lib/gitpod.js +1 -1
- package/lib/ignore-file.js +1 -1
- package/lib/ini.js +1 -1
- package/lib/java/java-project.js +1 -1
- package/lib/java/junit.js +1 -1
- package/lib/java/maven-compile.js +1 -1
- package/lib/java/maven-packaging.js +1 -1
- package/lib/java/maven-sample.js +1 -1
- package/lib/java/pom.js +2 -2
- package/lib/java/projenrc.js +1 -1
- package/lib/javascript/biome/biome-config.d.ts +178 -6
- package/lib/javascript/biome/biome-config.js +46 -2
- package/lib/javascript/biome/biome.js +1 -1
- package/lib/javascript/bundler.js +1 -1
- package/lib/javascript/eslint.js +1 -1
- package/lib/javascript/jest.js +4 -4
- package/lib/javascript/license-checker.js +1 -1
- package/lib/javascript/node-package.js +3 -5
- package/lib/javascript/node-project.js +1 -1
- package/lib/javascript/npm-config.js +1 -1
- package/lib/javascript/prettier.js +1 -1
- package/lib/javascript/projenrc.js +1 -1
- package/lib/javascript/typescript-config.js +2 -2
- package/lib/javascript/upgrade-dependencies.js +2 -2
- package/lib/javascript/yarnrc.js +1 -1
- package/lib/json-patch.js +1 -1
- package/lib/json.js +1 -1
- package/lib/license.js +1 -1
- package/lib/logger.js +1 -1
- package/lib/makefile.js +1 -1
- package/lib/object-file.js +1 -1
- package/lib/project-build.js +1 -1
- package/lib/project-tree.js +1 -1
- package/lib/project.js +1 -1
- package/lib/projects.js +1 -1
- package/lib/projenrc-json.js +2 -2
- package/lib/projenrc.js +1 -1
- package/lib/python/pip.js +3 -5
- package/lib/python/poetry.js +5 -7
- package/lib/python/projenrc.js +1 -1
- package/lib/python/pyproject-toml-file.js +1 -1
- package/lib/python/pytest-sample.js +1 -1
- package/lib/python/pytest.js +1 -1
- package/lib/python/python-project.js +1 -1
- package/lib/python/python-sample.js +1 -1
- package/lib/python/requirements-file.js +1 -1
- package/lib/python/setuppy.js +1 -1
- package/lib/python/setuptools.js +1 -1
- package/lib/python/uv.js +4 -6
- package/lib/python/venv.js +1 -1
- package/lib/readme.js +1 -1
- package/lib/release/publisher.js +1 -1
- package/lib/release/release-trigger.js +1 -1
- package/lib/release/release.js +1 -1
- package/lib/renovatebot.js +1 -1
- package/lib/run-task.cjs +26 -21
- package/lib/sample-file.js +2 -2
- package/lib/semver.js +1 -1
- package/lib/source-code.js +1 -1
- package/lib/task-runtime.js +28 -9
- package/lib/task.js +1 -1
- package/lib/tasks.d.ts +15 -0
- package/lib/tasks.js +17 -2
- package/lib/testing.js +1 -1
- package/lib/textfile.js +1 -1
- package/lib/toml.js +1 -1
- package/lib/typescript/projenrc-ts.js +1 -1
- package/lib/typescript/projenrc.js +1 -1
- package/lib/typescript/typescript-typedoc.js +1 -1
- package/lib/typescript/typescript.js +6 -6
- package/lib/version.js +2 -2
- package/lib/vscode/devcontainer.js +1 -1
- package/lib/vscode/extensions.js +1 -1
- package/lib/vscode/launch-config.js +1 -1
- package/lib/vscode/settings.js +1 -1
- package/lib/vscode/vscode.js +1 -1
- package/lib/web/next.js +3 -3
- package/lib/web/postcss.js +1 -1
- package/lib/web/react.js +4 -4
- package/lib/web/tailwind.js +1 -1
- package/lib/xmlfile.js +1 -1
- package/lib/yaml.js +1 -1
- package/node_modules/{shx → dax}/LICENSE +2 -2
- package/node_modules/dax/README.md +39 -0
- package/node_modules/dax/esm/_dnt.polyfills.d.ts +81 -0
- package/node_modules/dax/esm/_dnt.polyfills.d.ts.map +1 -0
- package/node_modules/dax/esm/_dnt.shims.d.ts +27 -0
- package/node_modules/dax/esm/_dnt.shims.d.ts.map +1 -0
- package/node_modules/dax/esm/_dnt.test_shims.d.ts.map +1 -0
- package/node_modules/dax/esm/deps/jsr.io/@david/console-static-text/0.3.4/lib/rs_lib.d.ts +2 -0
- package/node_modules/dax/esm/deps/jsr.io/@david/console-static-text/0.3.4/lib/rs_lib.d.ts.map +1 -0
- package/node_modules/dax/esm/deps/jsr.io/@david/console-static-text/0.3.4/lib/rs_lib.internal.d.ts +68 -0
- package/node_modules/dax/esm/deps/jsr.io/@david/console-static-text/0.3.4/lib/rs_lib.internal.d.ts.map +1 -0
- package/node_modules/dax/esm/deps/jsr.io/@david/console-static-text/0.3.4/mod.d.ts +112 -0
- package/node_modules/dax/esm/deps/jsr.io/@david/console-static-text/0.3.4/mod.d.ts.map +1 -0
- package/node_modules/dax/esm/deps/jsr.io/@david/path/0.3.2/_fs.d.ts +170 -0
- package/node_modules/dax/esm/deps/jsr.io/@david/path/0.3.2/_fs.d.ts.map +1 -0
- package/node_modules/dax/esm/deps/jsr.io/@david/path/0.3.2/mod.d.ts +404 -0
- package/node_modules/dax/esm/deps/jsr.io/@david/path/0.3.2/mod.d.ts.map +1 -0
- package/node_modules/dax/esm/deps/jsr.io/@david/path/0.3.2/path.d.ts +12 -0
- package/node_modules/dax/esm/deps/jsr.io/@david/path/0.3.2/path.d.ts.map +1 -0
- package/node_modules/dax/esm/deps/jsr.io/@david/shell/0.5.2/internal.d.ts +8 -0
- package/node_modules/dax/esm/deps/jsr.io/@david/shell/0.5.2/internal.d.ts.map +1 -0
- package/node_modules/dax/esm/deps/jsr.io/@david/shell/0.5.2/mod.d.ts +16 -0
- package/node_modules/dax/esm/deps/jsr.io/@david/shell/0.5.2/mod.d.ts.map +1 -0
- package/node_modules/dax/esm/deps/jsr.io/@david/shell/0.5.2/src/byteRingBuffer.d.ts +20 -0
- package/node_modules/dax/esm/deps/jsr.io/@david/shell/0.5.2/src/byteRingBuffer.d.ts.map +1 -0
- package/node_modules/dax/esm/deps/jsr.io/@david/shell/0.5.2/src/command.d.ts +677 -0
- package/node_modules/dax/esm/deps/jsr.io/@david/shell/0.5.2/src/command.d.ts.map +1 -0
- package/node_modules/dax/esm/deps/jsr.io/@david/shell/0.5.2/src/commandHandler.d.ts +45 -0
- package/node_modules/dax/esm/deps/jsr.io/@david/shell/0.5.2/src/commandHandler.d.ts.map +1 -0
- package/node_modules/dax/esm/deps/jsr.io/@david/shell/0.5.2/src/commands/args.d.ts +7 -0
- package/node_modules/dax/esm/deps/jsr.io/@david/shell/0.5.2/src/commands/args.d.ts.map +1 -0
- package/node_modules/dax/esm/deps/jsr.io/@david/shell/0.5.2/src/commands/cat.d.ts +9 -0
- package/node_modules/dax/esm/deps/jsr.io/@david/shell/0.5.2/src/commands/cat.d.ts.map +1 -0
- package/node_modules/dax/esm/deps/jsr.io/@david/shell/0.5.2/src/commands/cd.d.ts +4 -0
- package/node_modules/dax/esm/deps/jsr.io/@david/shell/0.5.2/src/commands/cd.d.ts.map +1 -0
- package/node_modules/dax/esm/deps/jsr.io/@david/shell/0.5.2/src/commands/cpMv.d.ts +25 -0
- package/node_modules/dax/esm/deps/jsr.io/@david/shell/0.5.2/src/commands/cpMv.d.ts.map +1 -0
- package/node_modules/dax/esm/deps/jsr.io/@david/shell/0.5.2/src/commands/echo.d.ts +4 -0
- package/node_modules/dax/esm/deps/jsr.io/@david/shell/0.5.2/src/commands/echo.d.ts.map +1 -0
- package/node_modules/dax/esm/deps/jsr.io/@david/shell/0.5.2/src/commands/executable.d.ts +14 -0
- package/node_modules/dax/esm/deps/jsr.io/@david/shell/0.5.2/src/commands/executable.d.ts.map +1 -0
- package/node_modules/dax/esm/deps/jsr.io/@david/shell/0.5.2/src/commands/exit.d.ts +4 -0
- package/node_modules/dax/esm/deps/jsr.io/@david/shell/0.5.2/src/commands/exit.d.ts.map +1 -0
- package/node_modules/dax/esm/deps/jsr.io/@david/shell/0.5.2/src/commands/export.d.ts +4 -0
- package/node_modules/dax/esm/deps/jsr.io/@david/shell/0.5.2/src/commands/export.d.ts.map +1 -0
- package/node_modules/dax/esm/deps/jsr.io/@david/shell/0.5.2/src/commands/mkdir.d.ts +10 -0
- package/node_modules/dax/esm/deps/jsr.io/@david/shell/0.5.2/src/commands/mkdir.d.ts.map +1 -0
- package/node_modules/dax/esm/deps/jsr.io/@david/shell/0.5.2/src/commands/printenv.d.ts +4 -0
- package/node_modules/dax/esm/deps/jsr.io/@david/shell/0.5.2/src/commands/printenv.d.ts.map +1 -0
- package/node_modules/dax/esm/deps/jsr.io/@david/shell/0.5.2/src/commands/pwd.d.ts +9 -0
- package/node_modules/dax/esm/deps/jsr.io/@david/shell/0.5.2/src/commands/pwd.d.ts.map +1 -0
- package/node_modules/dax/esm/deps/jsr.io/@david/shell/0.5.2/src/commands/rm.d.ts +12 -0
- package/node_modules/dax/esm/deps/jsr.io/@david/shell/0.5.2/src/commands/rm.d.ts.map +1 -0
- package/node_modules/dax/esm/deps/jsr.io/@david/shell/0.5.2/src/commands/set.d.ts +4 -0
- package/node_modules/dax/esm/deps/jsr.io/@david/shell/0.5.2/src/commands/set.d.ts.map +1 -0
- package/node_modules/dax/esm/deps/jsr.io/@david/shell/0.5.2/src/commands/shopt.d.ts +4 -0
- package/node_modules/dax/esm/deps/jsr.io/@david/shell/0.5.2/src/commands/shopt.d.ts.map +1 -0
- package/node_modules/dax/esm/deps/jsr.io/@david/shell/0.5.2/src/commands/sleep.d.ts +4 -0
- package/node_modules/dax/esm/deps/jsr.io/@david/shell/0.5.2/src/commands/sleep.d.ts.map +1 -0
- package/node_modules/dax/esm/deps/jsr.io/@david/shell/0.5.2/src/commands/test.d.ts +4 -0
- package/node_modules/dax/esm/deps/jsr.io/@david/shell/0.5.2/src/commands/test.d.ts.map +1 -0
- package/node_modules/dax/esm/deps/jsr.io/@david/shell/0.5.2/src/commands/touch.d.ts +8 -0
- package/node_modules/dax/esm/deps/jsr.io/@david/shell/0.5.2/src/commands/touch.d.ts.map +1 -0
- package/node_modules/dax/esm/deps/jsr.io/@david/shell/0.5.2/src/commands/unset.d.ts +4 -0
- package/node_modules/dax/esm/deps/jsr.io/@david/shell/0.5.2/src/commands/unset.d.ts.map +1 -0
- package/node_modules/dax/esm/deps/jsr.io/@david/shell/0.5.2/src/commands/which.d.ts +7 -0
- package/node_modules/dax/esm/deps/jsr.io/@david/shell/0.5.2/src/commands/which.d.ts.map +1 -0
- package/node_modules/dax/esm/deps/jsr.io/@david/shell/0.5.2/src/common.d.ts +85 -0
- package/node_modules/dax/esm/deps/jsr.io/@david/shell/0.5.2/src/common.d.ts.map +1 -0
- package/node_modules/dax/esm/deps/jsr.io/@david/shell/0.5.2/src/dollar.d.ts +30 -0
- package/node_modules/dax/esm/deps/jsr.io/@david/shell/0.5.2/src/dollar.d.ts.map +1 -0
- package/node_modules/dax/esm/deps/jsr.io/@david/shell/0.5.2/src/fsFile.d.ts +62 -0
- package/node_modules/dax/esm/deps/jsr.io/@david/shell/0.5.2/src/fsFile.d.ts.map +1 -0
- package/node_modules/dax/esm/deps/jsr.io/@david/shell/0.5.2/src/glob.d.ts +23 -0
- package/node_modules/dax/esm/deps/jsr.io/@david/shell/0.5.2/src/glob.d.ts.map +1 -0
- package/node_modules/dax/esm/deps/jsr.io/@david/shell/0.5.2/src/lib/rs_lib.d.ts +2 -0
- package/node_modules/dax/esm/deps/jsr.io/@david/shell/0.5.2/src/lib/rs_lib.d.ts.map +1 -0
- package/node_modules/dax/esm/deps/jsr.io/@david/shell/0.5.2/src/lib/rs_lib.internal.d.ts +19 -0
- package/node_modules/dax/esm/deps/jsr.io/@david/shell/0.5.2/src/lib/rs_lib.internal.d.ts.map +1 -0
- package/node_modules/dax/esm/deps/jsr.io/@david/shell/0.5.2/src/lineRingBuffer.d.ts +17 -0
- package/node_modules/dax/esm/deps/jsr.io/@david/shell/0.5.2/src/lineRingBuffer.d.ts.map +1 -0
- package/node_modules/dax/esm/deps/jsr.io/@david/shell/0.5.2/src/pipes.d.ts +396 -0
- package/node_modules/dax/esm/deps/jsr.io/@david/shell/0.5.2/src/pipes.d.ts.map +1 -0
- package/node_modules/dax/esm/deps/jsr.io/@david/shell/0.5.2/src/result.d.ts +92 -0
- package/node_modules/dax/esm/deps/jsr.io/@david/shell/0.5.2/src/result.d.ts.map +1 -0
- package/node_modules/dax/esm/deps/jsr.io/@david/shell/0.5.2/src/shell.d.ts +210 -0
- package/node_modules/dax/esm/deps/jsr.io/@david/shell/0.5.2/src/shell.d.ts.map +1 -0
- package/node_modules/dax/esm/deps/jsr.io/@david/shell/0.5.2/src/signal.d.ts +3 -0
- package/node_modules/dax/esm/deps/jsr.io/@david/shell/0.5.2/src/signal.d.ts.map +1 -0
- package/node_modules/dax/esm/deps/jsr.io/@david/shell/0.5.2/src/spawn.d.ts +21 -0
- package/node_modules/dax/esm/deps/jsr.io/@david/shell/0.5.2/src/spawn.d.ts.map +1 -0
- package/node_modules/dax/esm/deps/jsr.io/@david/shell/0.5.2/src/streams.d.ts +35 -0
- package/node_modules/dax/esm/deps/jsr.io/@david/shell/0.5.2/src/streams.d.ts.map +1 -0
- package/node_modules/dax/esm/deps/jsr.io/@david/which/0.7.0/mod.d.ts +81 -0
- package/node_modules/dax/esm/deps/jsr.io/@david/which/0.7.0/mod.d.ts.map +1 -0
- package/node_modules/dax/esm/deps/jsr.io/@david/which-runtime/0.2.1/mod.d.ts.map +1 -0
- package/node_modules/dax/esm/deps/jsr.io/@std/assert/1.0.19/almost_equals.d.ts.map +1 -0
- package/node_modules/dax/esm/deps/jsr.io/@std/assert/1.0.19/array_includes.d.ts.map +1 -0
- package/node_modules/dax/esm/deps/jsr.io/@std/assert/1.0.19/assert.d.ts.map +1 -0
- package/node_modules/dax/esm/deps/jsr.io/@std/assert/1.0.19/assertion_error.d.ts.map +1 -0
- package/node_modules/dax/esm/deps/jsr.io/@std/assert/1.0.19/equal.d.ts.map +1 -0
- package/node_modules/dax/esm/deps/jsr.io/@std/assert/1.0.19/equals.d.ts.map +1 -0
- package/node_modules/dax/esm/deps/jsr.io/@std/assert/1.0.19/exists.d.ts.map +1 -0
- package/node_modules/dax/esm/deps/jsr.io/@std/assert/1.0.19/fail.d.ts.map +1 -0
- package/node_modules/dax/esm/deps/jsr.io/@std/assert/1.0.19/false.d.ts.map +1 -0
- package/node_modules/dax/esm/deps/jsr.io/@std/assert/1.0.19/greater.d.ts.map +1 -0
- package/node_modules/dax/esm/deps/jsr.io/@std/assert/1.0.19/greater_or_equal.d.ts.map +1 -0
- package/node_modules/dax/esm/deps/jsr.io/@std/assert/1.0.19/instance_of.d.ts.map +1 -0
- package/node_modules/dax/esm/deps/jsr.io/@std/assert/1.0.19/is_error.d.ts.map +1 -0
- package/node_modules/dax/esm/deps/jsr.io/@std/assert/1.0.19/less.d.ts.map +1 -0
- package/node_modules/dax/esm/deps/jsr.io/@std/assert/1.0.19/less_or_equal.d.ts.map +1 -0
- package/node_modules/dax/esm/deps/jsr.io/@std/assert/1.0.19/match.d.ts.map +1 -0
- package/node_modules/dax/esm/deps/jsr.io/@std/assert/1.0.19/mod.d.ts.map +1 -0
- package/node_modules/dax/esm/deps/jsr.io/@std/assert/1.0.19/not_equals.d.ts.map +1 -0
- package/node_modules/dax/esm/deps/jsr.io/@std/assert/1.0.19/not_instance_of.d.ts.map +1 -0
- package/node_modules/dax/esm/deps/jsr.io/@std/assert/1.0.19/not_match.d.ts.map +1 -0
- package/node_modules/dax/esm/deps/jsr.io/@std/assert/1.0.19/not_strict_equals.d.ts.map +1 -0
- package/node_modules/dax/esm/deps/jsr.io/@std/assert/1.0.19/object_match.d.ts.map +1 -0
- package/node_modules/dax/esm/deps/jsr.io/@std/assert/1.0.19/rejects.d.ts.map +1 -0
- package/node_modules/dax/esm/deps/jsr.io/@std/assert/1.0.19/strict_equals.d.ts.map +1 -0
- package/node_modules/dax/esm/deps/jsr.io/@std/assert/1.0.19/string_includes.d.ts.map +1 -0
- package/node_modules/dax/esm/deps/jsr.io/@std/assert/1.0.19/throws.d.ts.map +1 -0
- package/node_modules/dax/esm/deps/jsr.io/@std/assert/1.0.19/unimplemented.d.ts.map +1 -0
- package/node_modules/dax/esm/deps/jsr.io/@std/assert/1.0.19/unreachable.d.ts.map +1 -0
- package/node_modules/dax/esm/deps/jsr.io/@std/bytes/1.0.6/copy.d.ts +41 -0
- package/node_modules/dax/esm/deps/jsr.io/@std/bytes/1.0.6/copy.d.ts.map +1 -0
- package/node_modules/dax/esm/deps/jsr.io/@std/fmt/1.0.10/colors.d.ts +700 -0
- package/node_modules/dax/esm/deps/jsr.io/@std/fmt/1.0.10/colors.d.ts.map +1 -0
- package/node_modules/dax/esm/deps/jsr.io/@std/internal/1.0.14/_os.d.ts +2 -0
- package/node_modules/dax/esm/deps/jsr.io/@std/internal/1.0.14/_os.d.ts.map +1 -0
- package/node_modules/dax/esm/deps/jsr.io/@std/internal/1.0.14/build_message.d.ts.map +1 -0
- package/node_modules/dax/esm/deps/jsr.io/@std/internal/1.0.14/diff.d.ts.map +1 -0
- package/node_modules/dax/esm/deps/jsr.io/@std/internal/1.0.14/diff_str.d.ts.map +1 -0
- package/node_modules/dax/esm/deps/jsr.io/@std/internal/1.0.14/format.d.ts.map +1 -0
- package/node_modules/dax/esm/deps/jsr.io/@std/internal/1.0.14/os.d.ts +3 -0
- package/node_modules/dax/esm/deps/jsr.io/@std/internal/1.0.14/os.d.ts.map +1 -0
- package/node_modules/dax/esm/deps/jsr.io/@std/internal/1.0.14/styles.d.ts.map +1 -0
- package/node_modules/dax/esm/deps/jsr.io/@std/internal/1.0.14/types.d.ts.map +1 -0
- package/node_modules/dax/esm/deps/jsr.io/@std/io/0.225.3/_common.d.ts.map +1 -0
- package/node_modules/dax/esm/deps/jsr.io/@std/io/0.225.3/buffer.d.ts +321 -0
- package/node_modules/dax/esm/deps/jsr.io/@std/io/0.225.3/buffer.d.ts.map +1 -0
- package/node_modules/dax/esm/deps/jsr.io/@std/io/0.225.3/reader_from_stream_reader.d.ts +21 -0
- package/node_modules/dax/esm/deps/jsr.io/@std/io/0.225.3/reader_from_stream_reader.d.ts.map +1 -0
- package/node_modules/dax/esm/deps/jsr.io/@std/io/0.225.3/to_writable_stream.d.ts.map +1 -0
- package/node_modules/dax/esm/deps/jsr.io/@std/io/0.225.3/types.d.ts +146 -0
- package/node_modules/dax/esm/deps/jsr.io/@std/io/0.225.3/types.d.ts.map +1 -0
- package/node_modules/dax/esm/deps/jsr.io/@std/io/0.225.3/write_all.d.ts +52 -0
- package/node_modules/dax/esm/deps/jsr.io/@std/io/0.225.3/write_all.d.ts.map +1 -0
- package/node_modules/dax/esm/deps/jsr.io/@std/path/1.1.5/_common/glob_to_reg_exp.d.ts +35 -0
- package/node_modules/dax/esm/deps/jsr.io/@std/path/1.1.5/_common/glob_to_reg_exp.d.ts.map +1 -0
- package/node_modules/dax/esm/deps/jsr.io/@std/path/1.1.5/glob_to_regexp.d.ts +77 -0
- package/node_modules/dax/esm/deps/jsr.io/@std/path/1.1.5/glob_to_regexp.d.ts.map +1 -0
- package/node_modules/dax/esm/deps/jsr.io/@std/path/1.1.5/posix/glob_to_regexp.d.ts +72 -0
- package/node_modules/dax/esm/deps/jsr.io/@std/path/1.1.5/posix/glob_to_regexp.d.ts.map +1 -0
- package/node_modules/dax/esm/deps/jsr.io/@std/path/1.1.5/windows/glob_to_regexp.d.ts +71 -0
- package/node_modules/dax/esm/deps/jsr.io/@std/path/1.1.5/windows/glob_to_regexp.d.ts.map +1 -0
- package/node_modules/dax/esm/mod.d.ts +600 -0
- package/node_modules/dax/esm/mod.d.ts.map +1 -0
- package/node_modules/dax/esm/mod.js +12187 -0
- package/node_modules/dax/esm/mod.test.d.ts.map +1 -0
- package/node_modules/dax/esm/package.json +3 -0
- package/node_modules/dax/esm/src/common.d.ts +15 -0
- package/node_modules/dax/esm/src/common.d.ts.map +1 -0
- package/node_modules/dax/esm/src/common.test.d.ts.map +1 -0
- package/node_modules/dax/esm/src/console/alert.d.ts +25 -0
- package/node_modules/dax/esm/src/console/alert.d.ts.map +1 -0
- package/node_modules/dax/esm/src/console/alert.test.d.ts.map +1 -0
- package/node_modules/dax/esm/src/console/confirm.d.ts +27 -0
- package/node_modules/dax/esm/src/console/confirm.d.ts.map +1 -0
- package/node_modules/dax/esm/src/console/confirm.test.d.ts.map +1 -0
- package/node_modules/dax/esm/src/console/logger.d.ts +13 -0
- package/node_modules/dax/esm/src/console/logger.d.ts.map +1 -0
- package/node_modules/dax/esm/src/console/mod.d.ts +14 -0
- package/node_modules/dax/esm/src/console/mod.d.ts.map +1 -0
- package/node_modules/dax/esm/src/console/multiSelect.d.ts +31 -0
- package/node_modules/dax/esm/src/console/multiSelect.d.ts.map +1 -0
- package/node_modules/dax/esm/src/console/multiSelect.test.d.ts.map +1 -0
- package/node_modules/dax/esm/src/console/progress.d.ts +57 -0
- package/node_modules/dax/esm/src/console/progress.d.ts.map +1 -0
- package/node_modules/dax/esm/src/console/progress.test.d.ts.map +1 -0
- package/node_modules/dax/esm/src/console/prompt.d.ts +46 -0
- package/node_modules/dax/esm/src/console/prompt.d.ts.map +1 -0
- package/node_modules/dax/esm/src/console/prompt.test.d.ts.map +1 -0
- package/node_modules/dax/esm/src/console/select.d.ts +26 -0
- package/node_modules/dax/esm/src/console/select.d.ts.map +1 -0
- package/node_modules/dax/esm/src/console/select.test.d.ts.map +1 -0
- package/node_modules/dax/esm/src/console/testUtils.d.ts.map +1 -0
- package/node_modules/dax/esm/src/console/ttyFallback.d.ts +19 -0
- package/node_modules/dax/esm/src/console/ttyFallback.d.ts.map +1 -0
- package/node_modules/dax/esm/src/console/utils.d.ts +47 -0
- package/node_modules/dax/esm/src/console/utils.d.ts.map +1 -0
- package/node_modules/dax/esm/src/console/utils.test.d.ts.map +1 -0
- package/node_modules/dax/esm/src/request.d.ts +306 -0
- package/node_modules/dax/esm/src/request.d.ts.map +1 -0
- package/node_modules/dax/esm/src/request.test.d.ts.map +1 -0
- package/node_modules/dax/esm/src/test/server.common.d.ts.map +1 -0
- package/node_modules/dax/esm/src/test/server.node.d.ts.map +1 -0
- package/node_modules/dax/esm/src/vendor/outdent.d.ts +34 -0
- package/node_modules/dax/esm/src/vendor/outdent.d.ts.map +1 -0
- package/node_modules/dax/package.json +39 -0
- package/node_modules/dax/script/_dnt.polyfills.d.ts +81 -0
- package/node_modules/dax/script/_dnt.polyfills.d.ts.map +1 -0
- package/node_modules/dax/script/_dnt.shims.d.ts +27 -0
- package/node_modules/dax/script/_dnt.shims.d.ts.map +1 -0
- package/node_modules/dax/script/_dnt.test_shims.d.ts.map +1 -0
- package/node_modules/dax/script/deps/jsr.io/@david/console-static-text/0.3.4/lib/rs_lib.d.ts +2 -0
- package/node_modules/dax/script/deps/jsr.io/@david/console-static-text/0.3.4/lib/rs_lib.d.ts.map +1 -0
- package/node_modules/dax/script/deps/jsr.io/@david/console-static-text/0.3.4/lib/rs_lib.internal.d.ts +68 -0
- package/node_modules/dax/script/deps/jsr.io/@david/console-static-text/0.3.4/lib/rs_lib.internal.d.ts.map +1 -0
- package/node_modules/dax/script/deps/jsr.io/@david/console-static-text/0.3.4/mod.d.ts +112 -0
- package/node_modules/dax/script/deps/jsr.io/@david/console-static-text/0.3.4/mod.d.ts.map +1 -0
- package/node_modules/dax/script/deps/jsr.io/@david/path/0.3.2/_fs.d.ts +170 -0
- package/node_modules/dax/script/deps/jsr.io/@david/path/0.3.2/_fs.d.ts.map +1 -0
- package/node_modules/dax/script/deps/jsr.io/@david/path/0.3.2/mod.d.ts +404 -0
- package/node_modules/dax/script/deps/jsr.io/@david/path/0.3.2/mod.d.ts.map +1 -0
- package/node_modules/dax/script/deps/jsr.io/@david/path/0.3.2/path.d.ts +12 -0
- package/node_modules/dax/script/deps/jsr.io/@david/path/0.3.2/path.d.ts.map +1 -0
- package/node_modules/dax/script/deps/jsr.io/@david/shell/0.5.2/internal.d.ts +8 -0
- package/node_modules/dax/script/deps/jsr.io/@david/shell/0.5.2/internal.d.ts.map +1 -0
- package/node_modules/dax/script/deps/jsr.io/@david/shell/0.5.2/mod.d.ts +16 -0
- package/node_modules/dax/script/deps/jsr.io/@david/shell/0.5.2/mod.d.ts.map +1 -0
- package/node_modules/dax/script/deps/jsr.io/@david/shell/0.5.2/src/byteRingBuffer.d.ts +20 -0
- package/node_modules/dax/script/deps/jsr.io/@david/shell/0.5.2/src/byteRingBuffer.d.ts.map +1 -0
- package/node_modules/dax/script/deps/jsr.io/@david/shell/0.5.2/src/command.d.ts +677 -0
- package/node_modules/dax/script/deps/jsr.io/@david/shell/0.5.2/src/command.d.ts.map +1 -0
- package/node_modules/dax/script/deps/jsr.io/@david/shell/0.5.2/src/commandHandler.d.ts +45 -0
- package/node_modules/dax/script/deps/jsr.io/@david/shell/0.5.2/src/commandHandler.d.ts.map +1 -0
- package/node_modules/dax/script/deps/jsr.io/@david/shell/0.5.2/src/commands/args.d.ts +7 -0
- package/node_modules/dax/script/deps/jsr.io/@david/shell/0.5.2/src/commands/args.d.ts.map +1 -0
- package/node_modules/dax/script/deps/jsr.io/@david/shell/0.5.2/src/commands/cat.d.ts +9 -0
- package/node_modules/dax/script/deps/jsr.io/@david/shell/0.5.2/src/commands/cat.d.ts.map +1 -0
- package/node_modules/dax/script/deps/jsr.io/@david/shell/0.5.2/src/commands/cd.d.ts +4 -0
- package/node_modules/dax/script/deps/jsr.io/@david/shell/0.5.2/src/commands/cd.d.ts.map +1 -0
- package/node_modules/dax/script/deps/jsr.io/@david/shell/0.5.2/src/commands/cpMv.d.ts +25 -0
- package/node_modules/dax/script/deps/jsr.io/@david/shell/0.5.2/src/commands/cpMv.d.ts.map +1 -0
- package/node_modules/dax/script/deps/jsr.io/@david/shell/0.5.2/src/commands/echo.d.ts +4 -0
- package/node_modules/dax/script/deps/jsr.io/@david/shell/0.5.2/src/commands/echo.d.ts.map +1 -0
- package/node_modules/dax/script/deps/jsr.io/@david/shell/0.5.2/src/commands/executable.d.ts +14 -0
- package/node_modules/dax/script/deps/jsr.io/@david/shell/0.5.2/src/commands/executable.d.ts.map +1 -0
- package/node_modules/dax/script/deps/jsr.io/@david/shell/0.5.2/src/commands/exit.d.ts +4 -0
- package/node_modules/dax/script/deps/jsr.io/@david/shell/0.5.2/src/commands/exit.d.ts.map +1 -0
- package/node_modules/dax/script/deps/jsr.io/@david/shell/0.5.2/src/commands/export.d.ts +4 -0
- package/node_modules/dax/script/deps/jsr.io/@david/shell/0.5.2/src/commands/export.d.ts.map +1 -0
- package/node_modules/dax/script/deps/jsr.io/@david/shell/0.5.2/src/commands/mkdir.d.ts +10 -0
- package/node_modules/dax/script/deps/jsr.io/@david/shell/0.5.2/src/commands/mkdir.d.ts.map +1 -0
- package/node_modules/dax/script/deps/jsr.io/@david/shell/0.5.2/src/commands/printenv.d.ts +4 -0
- package/node_modules/dax/script/deps/jsr.io/@david/shell/0.5.2/src/commands/printenv.d.ts.map +1 -0
- package/node_modules/dax/script/deps/jsr.io/@david/shell/0.5.2/src/commands/pwd.d.ts +9 -0
- package/node_modules/dax/script/deps/jsr.io/@david/shell/0.5.2/src/commands/pwd.d.ts.map +1 -0
- package/node_modules/dax/script/deps/jsr.io/@david/shell/0.5.2/src/commands/rm.d.ts +12 -0
- package/node_modules/dax/script/deps/jsr.io/@david/shell/0.5.2/src/commands/rm.d.ts.map +1 -0
- package/node_modules/dax/script/deps/jsr.io/@david/shell/0.5.2/src/commands/set.d.ts +4 -0
- package/node_modules/dax/script/deps/jsr.io/@david/shell/0.5.2/src/commands/set.d.ts.map +1 -0
- package/node_modules/dax/script/deps/jsr.io/@david/shell/0.5.2/src/commands/shopt.d.ts +4 -0
- package/node_modules/dax/script/deps/jsr.io/@david/shell/0.5.2/src/commands/shopt.d.ts.map +1 -0
- package/node_modules/dax/script/deps/jsr.io/@david/shell/0.5.2/src/commands/sleep.d.ts +4 -0
- package/node_modules/dax/script/deps/jsr.io/@david/shell/0.5.2/src/commands/sleep.d.ts.map +1 -0
- package/node_modules/dax/script/deps/jsr.io/@david/shell/0.5.2/src/commands/test.d.ts +4 -0
- package/node_modules/dax/script/deps/jsr.io/@david/shell/0.5.2/src/commands/test.d.ts.map +1 -0
- package/node_modules/dax/script/deps/jsr.io/@david/shell/0.5.2/src/commands/touch.d.ts +8 -0
- package/node_modules/dax/script/deps/jsr.io/@david/shell/0.5.2/src/commands/touch.d.ts.map +1 -0
- package/node_modules/dax/script/deps/jsr.io/@david/shell/0.5.2/src/commands/unset.d.ts +4 -0
- package/node_modules/dax/script/deps/jsr.io/@david/shell/0.5.2/src/commands/unset.d.ts.map +1 -0
- package/node_modules/dax/script/deps/jsr.io/@david/shell/0.5.2/src/commands/which.d.ts +7 -0
- package/node_modules/dax/script/deps/jsr.io/@david/shell/0.5.2/src/commands/which.d.ts.map +1 -0
- package/node_modules/dax/script/deps/jsr.io/@david/shell/0.5.2/src/common.d.ts +85 -0
- package/node_modules/dax/script/deps/jsr.io/@david/shell/0.5.2/src/common.d.ts.map +1 -0
- package/node_modules/dax/script/deps/jsr.io/@david/shell/0.5.2/src/dollar.d.ts +30 -0
- package/node_modules/dax/script/deps/jsr.io/@david/shell/0.5.2/src/dollar.d.ts.map +1 -0
- package/node_modules/dax/script/deps/jsr.io/@david/shell/0.5.2/src/fsFile.d.ts +62 -0
- package/node_modules/dax/script/deps/jsr.io/@david/shell/0.5.2/src/fsFile.d.ts.map +1 -0
- package/node_modules/dax/script/deps/jsr.io/@david/shell/0.5.2/src/glob.d.ts +23 -0
- package/node_modules/dax/script/deps/jsr.io/@david/shell/0.5.2/src/glob.d.ts.map +1 -0
- package/node_modules/dax/script/deps/jsr.io/@david/shell/0.5.2/src/lib/rs_lib.d.ts +2 -0
- package/node_modules/dax/script/deps/jsr.io/@david/shell/0.5.2/src/lib/rs_lib.d.ts.map +1 -0
- package/node_modules/dax/script/deps/jsr.io/@david/shell/0.5.2/src/lib/rs_lib.internal.d.ts +19 -0
- package/node_modules/dax/script/deps/jsr.io/@david/shell/0.5.2/src/lib/rs_lib.internal.d.ts.map +1 -0
- package/node_modules/dax/script/deps/jsr.io/@david/shell/0.5.2/src/lineRingBuffer.d.ts +17 -0
- package/node_modules/dax/script/deps/jsr.io/@david/shell/0.5.2/src/lineRingBuffer.d.ts.map +1 -0
- package/node_modules/dax/script/deps/jsr.io/@david/shell/0.5.2/src/pipes.d.ts +396 -0
- package/node_modules/dax/script/deps/jsr.io/@david/shell/0.5.2/src/pipes.d.ts.map +1 -0
- package/node_modules/dax/script/deps/jsr.io/@david/shell/0.5.2/src/result.d.ts +92 -0
- package/node_modules/dax/script/deps/jsr.io/@david/shell/0.5.2/src/result.d.ts.map +1 -0
- package/node_modules/dax/script/deps/jsr.io/@david/shell/0.5.2/src/shell.d.ts +210 -0
- package/node_modules/dax/script/deps/jsr.io/@david/shell/0.5.2/src/shell.d.ts.map +1 -0
- package/node_modules/dax/script/deps/jsr.io/@david/shell/0.5.2/src/signal.d.ts +3 -0
- package/node_modules/dax/script/deps/jsr.io/@david/shell/0.5.2/src/signal.d.ts.map +1 -0
- package/node_modules/dax/script/deps/jsr.io/@david/shell/0.5.2/src/spawn.d.ts +21 -0
- package/node_modules/dax/script/deps/jsr.io/@david/shell/0.5.2/src/spawn.d.ts.map +1 -0
- package/node_modules/dax/script/deps/jsr.io/@david/shell/0.5.2/src/streams.d.ts +35 -0
- package/node_modules/dax/script/deps/jsr.io/@david/shell/0.5.2/src/streams.d.ts.map +1 -0
- package/node_modules/dax/script/deps/jsr.io/@david/which/0.7.0/mod.d.ts +81 -0
- package/node_modules/dax/script/deps/jsr.io/@david/which/0.7.0/mod.d.ts.map +1 -0
- package/node_modules/dax/script/deps/jsr.io/@david/which-runtime/0.2.1/mod.d.ts.map +1 -0
- package/node_modules/dax/script/deps/jsr.io/@std/assert/1.0.19/almost_equals.d.ts.map +1 -0
- package/node_modules/dax/script/deps/jsr.io/@std/assert/1.0.19/array_includes.d.ts.map +1 -0
- package/node_modules/dax/script/deps/jsr.io/@std/assert/1.0.19/assert.d.ts.map +1 -0
- package/node_modules/dax/script/deps/jsr.io/@std/assert/1.0.19/assertion_error.d.ts.map +1 -0
- package/node_modules/dax/script/deps/jsr.io/@std/assert/1.0.19/equal.d.ts.map +1 -0
- package/node_modules/dax/script/deps/jsr.io/@std/assert/1.0.19/equals.d.ts.map +1 -0
- package/node_modules/dax/script/deps/jsr.io/@std/assert/1.0.19/exists.d.ts.map +1 -0
- package/node_modules/dax/script/deps/jsr.io/@std/assert/1.0.19/fail.d.ts.map +1 -0
- package/node_modules/dax/script/deps/jsr.io/@std/assert/1.0.19/false.d.ts.map +1 -0
- package/node_modules/dax/script/deps/jsr.io/@std/assert/1.0.19/greater.d.ts.map +1 -0
- package/node_modules/dax/script/deps/jsr.io/@std/assert/1.0.19/greater_or_equal.d.ts.map +1 -0
- package/node_modules/dax/script/deps/jsr.io/@std/assert/1.0.19/instance_of.d.ts.map +1 -0
- package/node_modules/dax/script/deps/jsr.io/@std/assert/1.0.19/is_error.d.ts.map +1 -0
- package/node_modules/dax/script/deps/jsr.io/@std/assert/1.0.19/less.d.ts.map +1 -0
- package/node_modules/dax/script/deps/jsr.io/@std/assert/1.0.19/less_or_equal.d.ts.map +1 -0
- package/node_modules/dax/script/deps/jsr.io/@std/assert/1.0.19/match.d.ts.map +1 -0
- package/node_modules/dax/script/deps/jsr.io/@std/assert/1.0.19/mod.d.ts.map +1 -0
- package/node_modules/dax/script/deps/jsr.io/@std/assert/1.0.19/not_equals.d.ts.map +1 -0
- package/node_modules/dax/script/deps/jsr.io/@std/assert/1.0.19/not_instance_of.d.ts.map +1 -0
- package/node_modules/dax/script/deps/jsr.io/@std/assert/1.0.19/not_match.d.ts.map +1 -0
- package/node_modules/dax/script/deps/jsr.io/@std/assert/1.0.19/not_strict_equals.d.ts.map +1 -0
- package/node_modules/dax/script/deps/jsr.io/@std/assert/1.0.19/object_match.d.ts.map +1 -0
- package/node_modules/dax/script/deps/jsr.io/@std/assert/1.0.19/rejects.d.ts.map +1 -0
- package/node_modules/dax/script/deps/jsr.io/@std/assert/1.0.19/strict_equals.d.ts.map +1 -0
- package/node_modules/dax/script/deps/jsr.io/@std/assert/1.0.19/string_includes.d.ts.map +1 -0
- package/node_modules/dax/script/deps/jsr.io/@std/assert/1.0.19/throws.d.ts.map +1 -0
- package/node_modules/dax/script/deps/jsr.io/@std/assert/1.0.19/unimplemented.d.ts.map +1 -0
- package/node_modules/dax/script/deps/jsr.io/@std/assert/1.0.19/unreachable.d.ts.map +1 -0
- package/node_modules/dax/script/deps/jsr.io/@std/bytes/1.0.6/copy.d.ts +41 -0
- package/node_modules/dax/script/deps/jsr.io/@std/bytes/1.0.6/copy.d.ts.map +1 -0
- package/node_modules/dax/script/deps/jsr.io/@std/fmt/1.0.10/colors.d.ts +700 -0
- package/node_modules/dax/script/deps/jsr.io/@std/fmt/1.0.10/colors.d.ts.map +1 -0
- package/node_modules/dax/script/deps/jsr.io/@std/internal/1.0.14/_os.d.ts +2 -0
- package/node_modules/dax/script/deps/jsr.io/@std/internal/1.0.14/_os.d.ts.map +1 -0
- package/node_modules/dax/script/deps/jsr.io/@std/internal/1.0.14/build_message.d.ts.map +1 -0
- package/node_modules/dax/script/deps/jsr.io/@std/internal/1.0.14/diff.d.ts.map +1 -0
- package/node_modules/dax/script/deps/jsr.io/@std/internal/1.0.14/diff_str.d.ts.map +1 -0
- package/node_modules/dax/script/deps/jsr.io/@std/internal/1.0.14/format.d.ts.map +1 -0
- package/node_modules/dax/script/deps/jsr.io/@std/internal/1.0.14/os.d.ts +3 -0
- package/node_modules/dax/script/deps/jsr.io/@std/internal/1.0.14/os.d.ts.map +1 -0
- package/node_modules/dax/script/deps/jsr.io/@std/internal/1.0.14/styles.d.ts.map +1 -0
- package/node_modules/dax/script/deps/jsr.io/@std/internal/1.0.14/types.d.ts.map +1 -0
- package/node_modules/dax/script/deps/jsr.io/@std/io/0.225.3/_common.d.ts.map +1 -0
- package/node_modules/dax/script/deps/jsr.io/@std/io/0.225.3/buffer.d.ts +321 -0
- package/node_modules/dax/script/deps/jsr.io/@std/io/0.225.3/buffer.d.ts.map +1 -0
- package/node_modules/dax/script/deps/jsr.io/@std/io/0.225.3/reader_from_stream_reader.d.ts +21 -0
- package/node_modules/dax/script/deps/jsr.io/@std/io/0.225.3/reader_from_stream_reader.d.ts.map +1 -0
- package/node_modules/dax/script/deps/jsr.io/@std/io/0.225.3/to_writable_stream.d.ts.map +1 -0
- package/node_modules/dax/script/deps/jsr.io/@std/io/0.225.3/types.d.ts +146 -0
- package/node_modules/dax/script/deps/jsr.io/@std/io/0.225.3/types.d.ts.map +1 -0
- package/node_modules/dax/script/deps/jsr.io/@std/io/0.225.3/write_all.d.ts +52 -0
- package/node_modules/dax/script/deps/jsr.io/@std/io/0.225.3/write_all.d.ts.map +1 -0
- package/node_modules/dax/script/deps/jsr.io/@std/path/1.1.5/_common/glob_to_reg_exp.d.ts +35 -0
- package/node_modules/dax/script/deps/jsr.io/@std/path/1.1.5/_common/glob_to_reg_exp.d.ts.map +1 -0
- package/node_modules/dax/script/deps/jsr.io/@std/path/1.1.5/glob_to_regexp.d.ts +77 -0
- package/node_modules/dax/script/deps/jsr.io/@std/path/1.1.5/glob_to_regexp.d.ts.map +1 -0
- package/node_modules/dax/script/deps/jsr.io/@std/path/1.1.5/posix/glob_to_regexp.d.ts +72 -0
- package/node_modules/dax/script/deps/jsr.io/@std/path/1.1.5/posix/glob_to_regexp.d.ts.map +1 -0
- package/node_modules/dax/script/deps/jsr.io/@std/path/1.1.5/windows/glob_to_regexp.d.ts +71 -0
- package/node_modules/dax/script/deps/jsr.io/@std/path/1.1.5/windows/glob_to_regexp.d.ts.map +1 -0
- package/node_modules/dax/script/mod.d.ts +600 -0
- package/node_modules/dax/script/mod.d.ts.map +1 -0
- package/node_modules/dax/script/mod.js +14815 -0
- package/node_modules/dax/script/mod.test.d.ts.map +1 -0
- package/node_modules/dax/script/package.json +3 -0
- package/node_modules/dax/script/src/common.d.ts +15 -0
- package/node_modules/dax/script/src/common.d.ts.map +1 -0
- package/node_modules/dax/script/src/common.test.d.ts.map +1 -0
- package/node_modules/dax/script/src/console/alert.d.ts +25 -0
- package/node_modules/dax/script/src/console/alert.d.ts.map +1 -0
- package/node_modules/dax/script/src/console/alert.test.d.ts.map +1 -0
- package/node_modules/dax/script/src/console/confirm.d.ts +27 -0
- package/node_modules/dax/script/src/console/confirm.d.ts.map +1 -0
- package/node_modules/dax/script/src/console/confirm.test.d.ts.map +1 -0
- package/node_modules/dax/script/src/console/logger.d.ts +13 -0
- package/node_modules/dax/script/src/console/logger.d.ts.map +1 -0
- package/node_modules/dax/script/src/console/mod.d.ts +14 -0
- package/node_modules/dax/script/src/console/mod.d.ts.map +1 -0
- package/node_modules/dax/script/src/console/multiSelect.d.ts +31 -0
- package/node_modules/dax/script/src/console/multiSelect.d.ts.map +1 -0
- package/node_modules/dax/script/src/console/multiSelect.test.d.ts.map +1 -0
- package/node_modules/dax/script/src/console/progress.d.ts +57 -0
- package/node_modules/dax/script/src/console/progress.d.ts.map +1 -0
- package/node_modules/dax/script/src/console/progress.test.d.ts.map +1 -0
- package/node_modules/dax/script/src/console/prompt.d.ts +46 -0
- package/node_modules/dax/script/src/console/prompt.d.ts.map +1 -0
- package/node_modules/dax/script/src/console/prompt.test.d.ts.map +1 -0
- package/node_modules/dax/script/src/console/select.d.ts +26 -0
- package/node_modules/dax/script/src/console/select.d.ts.map +1 -0
- package/node_modules/dax/script/src/console/select.test.d.ts.map +1 -0
- package/node_modules/dax/script/src/console/testUtils.d.ts.map +1 -0
- package/node_modules/dax/script/src/console/ttyFallback.d.ts +19 -0
- package/node_modules/dax/script/src/console/ttyFallback.d.ts.map +1 -0
- package/node_modules/dax/script/src/console/utils.d.ts +47 -0
- package/node_modules/dax/script/src/console/utils.d.ts.map +1 -0
- package/node_modules/dax/script/src/console/utils.test.d.ts.map +1 -0
- package/node_modules/dax/script/src/request.d.ts +306 -0
- package/node_modules/dax/script/src/request.d.ts.map +1 -0
- package/node_modules/dax/script/src/request.test.d.ts.map +1 -0
- package/node_modules/dax/script/src/test/server.common.d.ts.map +1 -0
- package/node_modules/dax/script/src/test/server.node.d.ts.map +1 -0
- package/node_modules/dax/script/src/vendor/outdent.d.ts +34 -0
- package/node_modules/dax/script/src/vendor/outdent.d.ts.map +1 -0
- package/node_modules/{cross-spawn → undici-types}/LICENSE +6 -6
- package/node_modules/undici-types/README.md +6 -0
- package/node_modules/undici-types/agent.d.ts +31 -0
- package/node_modules/undici-types/api.d.ts +43 -0
- package/node_modules/undici-types/balanced-pool.d.ts +18 -0
- package/node_modules/undici-types/cache.d.ts +36 -0
- package/node_modules/undici-types/client.d.ts +97 -0
- package/node_modules/undici-types/connector.d.ts +34 -0
- package/node_modules/undici-types/content-type.d.ts +21 -0
- package/node_modules/undici-types/cookies.d.ts +28 -0
- package/node_modules/undici-types/diagnostics-channel.d.ts +67 -0
- package/node_modules/undici-types/dispatcher.d.ts +241 -0
- package/node_modules/undici-types/errors.d.ts +128 -0
- package/node_modules/undici-types/fetch.d.ts +209 -0
- package/node_modules/undici-types/file.d.ts +39 -0
- package/node_modules/undici-types/filereader.d.ts +54 -0
- package/node_modules/undici-types/formdata.d.ts +108 -0
- package/node_modules/undici-types/global-dispatcher.d.ts +9 -0
- package/node_modules/undici-types/global-origin.d.ts +7 -0
- package/node_modules/undici-types/handlers.d.ts +9 -0
- package/node_modules/undici-types/header.d.ts +4 -0
- package/node_modules/undici-types/index.d.ts +65 -0
- package/node_modules/undici-types/interceptors.d.ts +5 -0
- package/node_modules/undici-types/mock-agent.d.ts +50 -0
- package/node_modules/undici-types/mock-client.d.ts +25 -0
- package/node_modules/undici-types/mock-errors.d.ts +12 -0
- package/node_modules/undici-types/mock-interceptor.d.ts +93 -0
- package/node_modules/undici-types/mock-pool.d.ts +25 -0
- package/node_modules/undici-types/package.json +55 -0
- package/node_modules/undici-types/patch.d.ts +71 -0
- package/node_modules/undici-types/pool-stats.d.ts +19 -0
- package/node_modules/undici-types/pool.d.ts +28 -0
- package/node_modules/undici-types/proxy-agent.d.ts +30 -0
- package/node_modules/undici-types/readable.d.ts +61 -0
- package/node_modules/undici-types/retry-handler.d.ts +116 -0
- package/node_modules/undici-types/webidl.d.ts +220 -0
- package/node_modules/undici-types/websocket.d.ts +131 -0
- package/package.json +11 -11
- package/lib/util/tasks.d.ts +0 -7
- package/lib/util/tasks.js +0 -25
- package/node_modules/cross-spawn/README.md +0 -89
- package/node_modules/cross-spawn/index.js +0 -39
- package/node_modules/cross-spawn/lib/enoent.js +0 -59
- package/node_modules/cross-spawn/lib/parse.js +0 -91
- package/node_modules/cross-spawn/lib/util/escape.js +0 -47
- package/node_modules/cross-spawn/lib/util/readShebang.js +0 -23
- package/node_modules/cross-spawn/lib/util/resolveCommand.js +0 -52
- package/node_modules/cross-spawn/package.json +0 -73
- package/node_modules/execa/index.d.ts +0 -564
- package/node_modules/execa/index.js +0 -268
- package/node_modules/execa/lib/command.js +0 -52
- package/node_modules/execa/lib/error.js +0 -88
- package/node_modules/execa/lib/kill.js +0 -115
- package/node_modules/execa/lib/promise.js +0 -46
- package/node_modules/execa/lib/stdio.js +0 -52
- package/node_modules/execa/lib/stream.js +0 -97
- package/node_modules/execa/license +0 -9
- package/node_modules/execa/package.json +0 -74
- package/node_modules/execa/readme.md +0 -663
- package/node_modules/get-stream/buffer-stream.js +0 -52
- package/node_modules/get-stream/index.d.ts +0 -105
- package/node_modules/get-stream/index.js +0 -61
- package/node_modules/get-stream/license +0 -9
- package/node_modules/get-stream/package.json +0 -47
- package/node_modules/get-stream/readme.md +0 -124
- package/node_modules/human-signals/LICENSE +0 -201
- package/node_modules/human-signals/README.md +0 -165
- package/node_modules/human-signals/build/src/core.js +0 -273
- package/node_modules/human-signals/build/src/core.js.map +0 -1
- package/node_modules/human-signals/build/src/main.d.ts +0 -52
- package/node_modules/human-signals/build/src/main.js +0 -71
- package/node_modules/human-signals/build/src/main.js.map +0 -1
- package/node_modules/human-signals/build/src/realtime.js +0 -19
- package/node_modules/human-signals/build/src/realtime.js.map +0 -1
- package/node_modules/human-signals/build/src/signals.js +0 -35
- package/node_modules/human-signals/build/src/signals.js.map +0 -1
- package/node_modules/human-signals/package.json +0 -64
- package/node_modules/is-stream/index.d.ts +0 -79
- package/node_modules/is-stream/index.js +0 -28
- package/node_modules/is-stream/license +0 -9
- package/node_modules/is-stream/package.json +0 -42
- package/node_modules/is-stream/readme.md +0 -60
- package/node_modules/isexe/.npmignore +0 -2
- package/node_modules/isexe/LICENSE +0 -15
- package/node_modules/isexe/README.md +0 -51
- package/node_modules/isexe/index.js +0 -57
- package/node_modules/isexe/mode.js +0 -41
- package/node_modules/isexe/package.json +0 -31
- package/node_modules/isexe/test/basic.js +0 -221
- package/node_modules/isexe/windows.js +0 -42
- package/node_modules/merge-stream/LICENSE +0 -21
- package/node_modules/merge-stream/README.md +0 -78
- package/node_modules/merge-stream/index.js +0 -41
- package/node_modules/merge-stream/package.json +0 -19
- package/node_modules/mimic-fn/index.d.ts +0 -54
- package/node_modules/mimic-fn/index.js +0 -13
- package/node_modules/mimic-fn/license +0 -9
- package/node_modules/mimic-fn/package.json +0 -42
- package/node_modules/mimic-fn/readme.md +0 -69
- package/node_modules/minimist/.eslintrc +0 -29
- package/node_modules/minimist/.github/FUNDING.yml +0 -12
- package/node_modules/minimist/.nycrc +0 -14
- package/node_modules/minimist/CHANGELOG.md +0 -298
- package/node_modules/minimist/LICENSE +0 -18
- package/node_modules/minimist/README.md +0 -121
- package/node_modules/minimist/example/parse.js +0 -4
- package/node_modules/minimist/index.js +0 -263
- package/node_modules/minimist/package.json +0 -75
- package/node_modules/minimist/test/all_bool.js +0 -34
- package/node_modules/minimist/test/bool.js +0 -177
- package/node_modules/minimist/test/dash.js +0 -43
- package/node_modules/minimist/test/default_bool.js +0 -37
- package/node_modules/minimist/test/dotted.js +0 -24
- package/node_modules/minimist/test/kv_short.js +0 -32
- package/node_modules/minimist/test/long.js +0 -33
- package/node_modules/minimist/test/num.js +0 -38
- package/node_modules/minimist/test/parse.js +0 -209
- package/node_modules/minimist/test/parse_modified.js +0 -11
- package/node_modules/minimist/test/proto.js +0 -64
- package/node_modules/minimist/test/short.js +0 -69
- package/node_modules/minimist/test/stop_early.js +0 -17
- package/node_modules/minimist/test/unknown.js +0 -104
- package/node_modules/minimist/test/whitespace.js +0 -10
- package/node_modules/npm-run-path/index.d.ts +0 -89
- package/node_modules/npm-run-path/index.js +0 -47
- package/node_modules/npm-run-path/license +0 -9
- package/node_modules/npm-run-path/package.json +0 -44
- package/node_modules/npm-run-path/readme.md +0 -115
- package/node_modules/onetime/index.d.ts +0 -64
- package/node_modules/onetime/index.js +0 -44
- package/node_modules/onetime/license +0 -9
- package/node_modules/onetime/package.json +0 -43
- package/node_modules/onetime/readme.md +0 -94
- package/node_modules/path-key/index.d.ts +0 -40
- package/node_modules/path-key/index.js +0 -16
- package/node_modules/path-key/license +0 -9
- package/node_modules/path-key/package.json +0 -39
- package/node_modules/path-key/readme.md +0 -61
- package/node_modules/shebang-command/index.js +0 -19
- package/node_modules/shebang-command/license +0 -9
- package/node_modules/shebang-command/package.json +0 -34
- package/node_modules/shebang-command/readme.md +0 -34
- package/node_modules/shebang-regex/index.d.ts +0 -22
- package/node_modules/shebang-regex/index.js +0 -2
- package/node_modules/shebang-regex/license +0 -9
- package/node_modules/shebang-regex/package.json +0 -35
- package/node_modules/shebang-regex/readme.md +0 -33
- package/node_modules/shelljs/LICENSE +0 -29
- package/node_modules/shelljs/README.md +0 -949
- package/node_modules/shelljs/global.js +0 -15
- package/node_modules/shelljs/make.js +0 -57
- package/node_modules/shelljs/package.json +0 -90
- package/node_modules/shelljs/plugin.js +0 -16
- package/node_modules/shelljs/shell.js +0 -216
- package/node_modules/shelljs/src/cat.js +0 -76
- package/node_modules/shelljs/src/cd.js +0 -40
- package/node_modules/shelljs/src/chmod.js +0 -222
- package/node_modules/shelljs/src/cmd.js +0 -138
- package/node_modules/shelljs/src/common.js +0 -545
- package/node_modules/shelljs/src/cp.js +0 -314
- package/node_modules/shelljs/src/dirs.js +0 -210
- package/node_modules/shelljs/src/echo.js +0 -62
- package/node_modules/shelljs/src/error.js +0 -15
- package/node_modules/shelljs/src/errorCode.js +0 -10
- package/node_modules/shelljs/src/exec-child.js +0 -71
- package/node_modules/shelljs/src/exec.js +0 -255
- package/node_modules/shelljs/src/find.js +0 -66
- package/node_modules/shelljs/src/grep.js +0 -198
- package/node_modules/shelljs/src/head.js +0 -107
- package/node_modules/shelljs/src/ln.js +0 -75
- package/node_modules/shelljs/src/ls.js +0 -155
- package/node_modules/shelljs/src/mkdir.js +0 -102
- package/node_modules/shelljs/src/mv.js +0 -119
- package/node_modules/shelljs/src/popd.js +0 -1
- package/node_modules/shelljs/src/pushd.js +0 -1
- package/node_modules/shelljs/src/pwd.js +0 -16
- package/node_modules/shelljs/src/rm.js +0 -201
- package/node_modules/shelljs/src/sed.js +0 -95
- package/node_modules/shelljs/src/set.js +0 -55
- package/node_modules/shelljs/src/sort.js +0 -98
- package/node_modules/shelljs/src/tail.js +0 -90
- package/node_modules/shelljs/src/tempdir.js +0 -75
- package/node_modules/shelljs/src/test.js +0 -86
- package/node_modules/shelljs/src/to.js +0 -38
- package/node_modules/shelljs/src/toEnd.js +0 -37
- package/node_modules/shelljs/src/touch.js +0 -117
- package/node_modules/shelljs/src/uniq.js +0 -93
- package/node_modules/shelljs/src/which.js +0 -119
- package/node_modules/shx/README.md +0 -160
- package/node_modules/shx/lib/cli.js +0 -40
- package/node_modules/shx/lib/config.js +0 -58
- package/node_modules/shx/lib/help.js +0 -37
- package/node_modules/shx/lib/plugin-true-false.js +0 -25
- package/node_modules/shx/lib/printCmdRet.js +0 -17
- package/node_modules/shx/lib/shx.js +0 -162
- package/node_modules/shx/package.json +0 -72
- package/node_modules/signal-exit/LICENSE.txt +0 -16
- package/node_modules/signal-exit/README.md +0 -39
- package/node_modules/signal-exit/index.js +0 -202
- package/node_modules/signal-exit/package.json +0 -38
- package/node_modules/signal-exit/signals.js +0 -53
- package/node_modules/strip-final-newline/index.js +0 -16
- package/node_modules/strip-final-newline/license +0 -9
- package/node_modules/strip-final-newline/package.json +0 -40
- package/node_modules/strip-final-newline/readme.md +0 -30
- package/node_modules/which/LICENSE +0 -15
- package/node_modules/which/README.md +0 -54
- package/node_modules/which/bin/node-which +0 -52
- package/node_modules/which/package.json +0 -43
- package/node_modules/which/which.js +0 -125
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Fixed-capacity ring buffer of strings. `push` is O(1); bounded-size
|
|
3
|
+
* append-dropping doesn't need the `shift()` copies that an `array.shift()`
|
|
4
|
+
* path would pay on every overflowing line.
|
|
5
|
+
*/
|
|
6
|
+
export declare class LineRingBuffer implements Iterable<string> {
|
|
7
|
+
#private;
|
|
8
|
+
readonly capacity: number;
|
|
9
|
+
constructor(capacity: number);
|
|
10
|
+
get size(): number;
|
|
11
|
+
push(item: string): void;
|
|
12
|
+
/** Iterate every retained item, oldest first. */
|
|
13
|
+
[Symbol.iterator](): IterableIterator<string>;
|
|
14
|
+
/** Iterate the last `n` retained items, oldest first. */
|
|
15
|
+
takeLast(n: number): IterableIterator<string>;
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=lineRingBuffer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lineRingBuffer.d.ts","sourceRoot":"","sources":["../../../../../../../src/deps/jsr.io/@david/shell/0.5.2/src/lineRingBuffer.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,qBAAa,cAAe,YAAW,QAAQ,CAAC,MAAM,CAAC;;IACrD,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;gBAKd,QAAQ,EAAE,MAAM;IAK5B,IAAI,IAAI,IAAI,MAAM,CAEjB;IAED,IAAI,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI;IAMxB,iDAAiD;IAChD,CAAC,MAAM,CAAC,QAAQ,CAAC,IAAI,gBAAgB,CAAC,MAAM,CAAC;IAO9C,yDAAyD;IACxD,QAAQ,CAAC,CAAC,EAAE,MAAM,GAAG,gBAAgB,CAAC,MAAM,CAAC;CAO/C"}
|
|
@@ -0,0 +1,396 @@
|
|
|
1
|
+
import * as dntShim from "../../../../../../_dnt.shims.js";
|
|
2
|
+
import type { FsFileWrapper, Path } from "../../../path/0.3.2/mod.js";
|
|
3
|
+
import { type ConsoleSize, type RenderInterval, type StaticTextContainer, type TextItem } from "../../../console-static-text/0.3.4/mod.js";
|
|
4
|
+
import { Buffer } from "../../../../@std/io/0.225.3/buffer.js";
|
|
5
|
+
import type { CommandBuilder, KillSignal } from "./command.js";
|
|
6
|
+
import type { ByteRingBuffer } from "./byteRingBuffer.js";
|
|
7
|
+
import { LineRingBuffer } from "./lineRingBuffer.js";
|
|
8
|
+
import type { Closer, Reader, ReaderSync, Writer, WriterSync } from "../../../../@std/io/0.225.3/types.js";
|
|
9
|
+
import type { CommandPipeWriter } from "./commandHandler.js";
|
|
10
|
+
export type { Closer, Reader, ReaderSync, Writer, WriterSync };
|
|
11
|
+
/**
|
|
12
|
+
* Owns the static text scope and the list of active tail segments. A single
|
|
13
|
+
* shared instance handles all `InheritTailWriter`s in the process so parallel
|
|
14
|
+
* commands interleave into the same pinned region. Tests can construct
|
|
15
|
+
* their own with a stand-in `StaticTextContainer` to assert on the emitted
|
|
16
|
+
* ANSI bytes; pass `interval: null` to skip the periodic refresh and drive
|
|
17
|
+
* `container.refresh()` manually.
|
|
18
|
+
*/
|
|
19
|
+
export declare class TailRenderer implements Disposable {
|
|
20
|
+
#private;
|
|
21
|
+
readonly container: StaticTextContainer;
|
|
22
|
+
constructor(options?: {
|
|
23
|
+
container?: StaticTextContainer;
|
|
24
|
+
interval?: RenderInterval | null;
|
|
25
|
+
});
|
|
26
|
+
[Symbol.dispose](): void;
|
|
27
|
+
/** @internal */
|
|
28
|
+
register(seg: InheritTailState): void;
|
|
29
|
+
/** @internal */
|
|
30
|
+
unregister(seg: InheritTailState): void;
|
|
31
|
+
/** @internal */
|
|
32
|
+
logAbove(items: TextItem[]): void;
|
|
33
|
+
}
|
|
34
|
+
export type PipeReader = Reader | ReaderSync;
|
|
35
|
+
export type PipeWriter = Writer | WriterSync;
|
|
36
|
+
/** An awaitable that resolves to an object exposing a `readable` stream —
|
|
37
|
+
* e.g. a `RequestBuilder` that resolves to a response with `.readable`. */
|
|
38
|
+
export interface AwaitableReadable {
|
|
39
|
+
/** Resolves to an object that exposes a `ReadableStream<Uint8Array>` via
|
|
40
|
+
* its `readable` property. */
|
|
41
|
+
then<TResult1 = {
|
|
42
|
+
readable: dntShim.ReadableStream<Uint8Array>;
|
|
43
|
+
}, TResult2 = never>(onfulfilled?: ((value: {
|
|
44
|
+
readable: dntShim.ReadableStream<Uint8Array>;
|
|
45
|
+
}) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): PromiseLike<TResult1 | TResult2>;
|
|
46
|
+
}
|
|
47
|
+
/** Behaviour to use for stdin.
|
|
48
|
+
* @value "inherit" - Sends the stdin of the process to the shell (default).
|
|
49
|
+
* @value "null" - Does not pipe or redirect the pipe.
|
|
50
|
+
*/
|
|
51
|
+
export type ShellPipeReaderKind = "inherit" | "null" | Reader | dntShim.ReadableStream<Uint8Array> | Uint8Array | CommandBuilder | FsFileWrapper | Path | AwaitableReadable;
|
|
52
|
+
/**
|
|
53
|
+
* The behaviour to use for a shell pipe.
|
|
54
|
+
* @value "inherit" - Sends the output directly to the current process' corresponding pipe (default).
|
|
55
|
+
* @value "null" - Does not pipe or redirect the pipe.
|
|
56
|
+
* @value "piped" - Captures the pipe without outputting.
|
|
57
|
+
* @value "inheritPiped" - Captures the pipe with outputting.
|
|
58
|
+
*/
|
|
59
|
+
export type ShellPipeWriterKind = "inherit" | "null" | "piped" | "inheritPiped" | WriterSync | dntShim.WritableStream<Uint8Array> | FsFileWrapper | Path;
|
|
60
|
+
export declare class NullPipeReader implements Reader {
|
|
61
|
+
read(_p: Uint8Array): Promise<number | null>;
|
|
62
|
+
}
|
|
63
|
+
export declare class NullPipeWriter implements WriterSync {
|
|
64
|
+
writeSync(p: Uint8Array): number;
|
|
65
|
+
}
|
|
66
|
+
export declare class ShellPipeWriter {
|
|
67
|
+
#private;
|
|
68
|
+
constructor(kind: ShellPipeWriterKind, inner: PipeWriter);
|
|
69
|
+
get kind(): ShellPipeWriterKind;
|
|
70
|
+
get inner(): PipeWriter;
|
|
71
|
+
write(p: Uint8Array): number | Promise<number>;
|
|
72
|
+
writeAll(data: Uint8Array): void | Promise<void>;
|
|
73
|
+
writeText(text: string): void | Promise<void>;
|
|
74
|
+
writeLine(text: string): void | Promise<void>;
|
|
75
|
+
}
|
|
76
|
+
export declare class CapturingBufferWriter implements Writer {
|
|
77
|
+
#private;
|
|
78
|
+
constructor(innerWriter: Writer, buffer: Buffer);
|
|
79
|
+
getBuffer(): Buffer;
|
|
80
|
+
write(p: Uint8Array): Promise<number>;
|
|
81
|
+
}
|
|
82
|
+
export declare class CapturingBufferWriterSync implements WriterSync {
|
|
83
|
+
#private;
|
|
84
|
+
constructor(innerWriter: WriterSync, buffer: Buffer);
|
|
85
|
+
getBuffer(): Buffer;
|
|
86
|
+
writeSync(p: Uint8Array): number;
|
|
87
|
+
}
|
|
88
|
+
/** Async tap that mirrors writes into a {@link ByteRingBuffer} for use as
|
|
89
|
+
* "errorTail" — the ring keeps the trailing N bytes of whatever the
|
|
90
|
+
* command sent through this stream, so they can be surfaced in the thrown
|
|
91
|
+
* `Error` even when the underlying sink (a piped command, a `WritableStream`,
|
|
92
|
+
* a file on disk) doesn't expose what was written. Pairs with
|
|
93
|
+
* {@link ErrorTailCaptureWriterSync}. */
|
|
94
|
+
export declare class ErrorTailCaptureWriter implements Writer {
|
|
95
|
+
#private;
|
|
96
|
+
readonly ring: ByteRingBuffer;
|
|
97
|
+
constructor(innerWriter: Writer, ring: ByteRingBuffer);
|
|
98
|
+
write(p: Uint8Array): Promise<number>;
|
|
99
|
+
}
|
|
100
|
+
/** Sync variant of {@link ErrorTailCaptureWriter}. */
|
|
101
|
+
export declare class ErrorTailCaptureWriterSync implements WriterSync {
|
|
102
|
+
#private;
|
|
103
|
+
readonly ring: ByteRingBuffer;
|
|
104
|
+
constructor(innerWriter: WriterSync, ring: ByteRingBuffer);
|
|
105
|
+
writeSync(p: Uint8Array): number;
|
|
106
|
+
}
|
|
107
|
+
export declare class InheritStaticTextBypassWriter implements WriterSync {
|
|
108
|
+
#private;
|
|
109
|
+
constructor(innerWriter: WriterSync);
|
|
110
|
+
writeSync(p: Uint8Array): number;
|
|
111
|
+
flush(): void;
|
|
112
|
+
}
|
|
113
|
+
/**
|
|
114
|
+
* Default number of lines to show in `.tailDisplay()` mode. Docker Compose
|
|
115
|
+
* shows a comparable-sized window; small enough not to dominate the terminal,
|
|
116
|
+
* large enough to convey progress.
|
|
117
|
+
*/
|
|
118
|
+
export declare const DEFAULT_INHERIT_TAIL_LINES = 5;
|
|
119
|
+
/**
|
|
120
|
+
* Default number of lines to retain for error-time flushback. On error the
|
|
121
|
+
* live tail (5 lines) rarely shows what actually broke, so we keep a larger
|
|
122
|
+
* buffer and promote it to scrollback when the command fails.
|
|
123
|
+
*/
|
|
124
|
+
export declare const DEFAULT_INHERIT_TAIL_ERROR_LINES = 80;
|
|
125
|
+
/** Context passed to a `TailMaxLines` callback at draw time. */
|
|
126
|
+
export interface TailMaxLinesContext {
|
|
127
|
+
/** Current terminal size, or `undefined` if the host isn't a TTY. */
|
|
128
|
+
size: ConsoleSize | undefined;
|
|
129
|
+
}
|
|
130
|
+
/** Total number of rows the tail occupies — header included — so two
|
|
131
|
+
* commands tailing at `"50%"` each compose into a full screen instead of
|
|
132
|
+
* spilling. When a header is shown the visible output count is `maxLines - 1`,
|
|
133
|
+
* clamped to at least 1 row of output (so a headered tail is always at
|
|
134
|
+
* least 2 rows total). Accepts:
|
|
135
|
+
* - A literal `number`, taken as-is.
|
|
136
|
+
* - A string like `"50%"`, resolved against the terminal's row count at draw
|
|
137
|
+
* time so the tail re-fits if the user resizes mid-run.
|
|
138
|
+
* - A function called per draw — for cases neither form covers, e.g.
|
|
139
|
+
* `(ctx) => Math.min(10, (ctx.size?.rows ?? 24) - 5)` to leave headroom. */
|
|
140
|
+
export type TailMaxLines = number | `${number}%` | ((ctx: TailMaxLinesContext) => number);
|
|
141
|
+
/** Context passed to a `TailHeader` callback at draw time. */
|
|
142
|
+
export interface TailHeaderContext {
|
|
143
|
+
/** The raw command text being run. */
|
|
144
|
+
command: string;
|
|
145
|
+
/** Current terminal size, or `undefined` if the host isn't a TTY. */
|
|
146
|
+
size: ConsoleSize | undefined;
|
|
147
|
+
}
|
|
148
|
+
/** Header rendered above the live tail.
|
|
149
|
+
* - `undefined` (default): `Running <command>` while running, `Ran <command>` in scrollback (when `printCommand()` is set).
|
|
150
|
+
* - `false`: no header.
|
|
151
|
+
* - `string`: rendered verbatim — you supply any styling.
|
|
152
|
+
* - function: called per draw with `{ command, size }`; the result is rendered verbatim.
|
|
153
|
+
*
|
|
154
|
+
* Regardless of this setting, the error path still emits `> <command>` to
|
|
155
|
+
* scrollback so failed commands stay unambiguous in logs. */
|
|
156
|
+
export type TailHeader = string | false | ((ctx: TailHeaderContext) => string);
|
|
157
|
+
/**
|
|
158
|
+
* Construction-time options for `InheritTailWriter`. The user-facing
|
|
159
|
+
* `.tailDisplay()` API maps onto this plus a few post-construction setters
|
|
160
|
+
* for header/promote behavior.
|
|
161
|
+
*/
|
|
162
|
+
export interface InheritTailWriterOptions {
|
|
163
|
+
/** Number of visible tail lines. See {@link TailMaxLines}.
|
|
164
|
+
* @default 5
|
|
165
|
+
*/
|
|
166
|
+
maxLines?: TailMaxLines;
|
|
167
|
+
/** Treat the inner writer as TTY-attached. Defaults to `process.stderr.isTTY`.
|
|
168
|
+
* When false, writes pass through to the inner writer untouched (no pinned
|
|
169
|
+
* region) — used when the host process isn't a terminal. */
|
|
170
|
+
isTty?: boolean;
|
|
171
|
+
/** Renderer hosting the pinned scrolling region. Defaults to the global
|
|
172
|
+
* one tied to `staticText` + `renderInterval`. Tests pass a custom
|
|
173
|
+
* renderer to capture the emitted ANSI bytes in isolation. */
|
|
174
|
+
renderer?: TailRenderer;
|
|
175
|
+
/** Header text or per-draw callback (already pre-bound — accepts only
|
|
176
|
+
* `{ size }`). Set in the constructor so the segment is fully labeled
|
|
177
|
+
* before it gets registered with the renderer; otherwise the live area
|
|
178
|
+
* could paint a header-less segment for one tick. */
|
|
179
|
+
header?: string | ((ctx: {
|
|
180
|
+
size: ConsoleSize | undefined;
|
|
181
|
+
}) => string);
|
|
182
|
+
/** When true, render `header` as-is (no `Running` / `Ran` framing). */
|
|
183
|
+
headerVerbatim?: boolean;
|
|
184
|
+
/** Always-shown command label on the error scrollback path, even when
|
|
185
|
+
* `header` is hidden or customized. */
|
|
186
|
+
errorHeader?: string;
|
|
187
|
+
/** When true, promote the header to scrollback as `Ran <cmd>` (or the
|
|
188
|
+
* verbatim header) on success — typically wired to `.printCommand()`. */
|
|
189
|
+
promoteHeaderOnSuccess?: boolean;
|
|
190
|
+
}
|
|
191
|
+
/**
|
|
192
|
+
* Default size of the per-stream error-context ring buffer. 8 KiB is enough
|
|
193
|
+
* to capture the last few screens worth of output — large enough to convey
|
|
194
|
+
* what went wrong without ballooning memory for long-running commands.
|
|
195
|
+
*/
|
|
196
|
+
export declare const DEFAULT_ERROR_TAIL_BYTES: number;
|
|
197
|
+
/**
|
|
198
|
+
* Configuration for `.errorTail()`. When enabled, dax silently retains
|
|
199
|
+
* the trailing N bytes of stdout and/or stderr and appends them to the
|
|
200
|
+
* thrown `Error.message` if the command exits with a non-zero code.
|
|
201
|
+
* Targets streams the user can't see — piped to another command,
|
|
202
|
+
* redirected to a file, sent to a `WritableStream`, or discarded with
|
|
203
|
+
* `"null"`. Streams routed to the terminal (`"inherit"` /
|
|
204
|
+
* `"inheritPiped"`) are skipped since the bytes already reached the
|
|
205
|
+
* user's scrollback.
|
|
206
|
+
*/
|
|
207
|
+
export interface ErrorTailOptions {
|
|
208
|
+
/** Per-stream cap on retained bytes. Once exceeded, the oldest bytes
|
|
209
|
+
* are dropped first.
|
|
210
|
+
* @default 8192 (8 KiB) */
|
|
211
|
+
maxBytes?: number;
|
|
212
|
+
/** Capture the trailing bytes of stdout.
|
|
213
|
+
* @default true */
|
|
214
|
+
stdout?: boolean;
|
|
215
|
+
/** Capture the trailing bytes of stderr.
|
|
216
|
+
* @default true */
|
|
217
|
+
stderr?: boolean;
|
|
218
|
+
/** Capture stdout and stderr into a single interleaved buffer instead
|
|
219
|
+
* of separate per-stream buffers. When true, the error message shows
|
|
220
|
+
* output in the order it was written rather than grouped by stream.
|
|
221
|
+
* @default false */
|
|
222
|
+
combined?: boolean;
|
|
223
|
+
}
|
|
224
|
+
/**
|
|
225
|
+
* Configuration for `.tailDisplay()`. Pass `true` to enable with defaults,
|
|
226
|
+
* or an options object to customize.
|
|
227
|
+
*/
|
|
228
|
+
export interface TailDisplayOptions {
|
|
229
|
+
/** Number of visible tail lines. See {@link TailMaxLines}.
|
|
230
|
+
* @default 5
|
|
231
|
+
*/
|
|
232
|
+
maxLines?: TailMaxLines;
|
|
233
|
+
/** Header rendered above the live tail. See {@link TailHeader}. */
|
|
234
|
+
header?: TailHeader;
|
|
235
|
+
}
|
|
236
|
+
/** Internal: a maxLines value normalized into a uniform per-draw callback,
|
|
237
|
+
* so the renderer doesn't dispatch on type each tick. */
|
|
238
|
+
type ResolvedMaxLinesFn = (ctx: TailMaxLinesContext) => number;
|
|
239
|
+
/** Internal: a header value normalized into a uniform per-draw callback.
|
|
240
|
+
* The user-facing `(ctx: TailHeaderContext) => string` is pre-bound with
|
|
241
|
+
* the command text by command.ts before reaching state, so the renderer
|
|
242
|
+
* (which only knows about `size`) can call it uniformly. */
|
|
243
|
+
type ResolvedHeaderFn = (ctx: {
|
|
244
|
+
size: ConsoleSize | undefined;
|
|
245
|
+
}) => string;
|
|
246
|
+
declare class InheritTailState {
|
|
247
|
+
#private;
|
|
248
|
+
readonly resolveMaxLines: ResolvedMaxLinesFn;
|
|
249
|
+
readonly lines: LineRingBuffer;
|
|
250
|
+
readonly enabled: boolean;
|
|
251
|
+
/** Per-draw callback that produces the header text. `undefined` means
|
|
252
|
+
* "no header" (live tail renders no label). Percentages, raw strings and
|
|
253
|
+
* user callbacks are all normalized into this single shape upstream. */
|
|
254
|
+
headerFn: ResolvedHeaderFn | undefined;
|
|
255
|
+
/** When true, the header is rendered verbatim instead of being framed
|
|
256
|
+
* with the built-in `Running <text>` / `Ran <text>` styling. Set when
|
|
257
|
+
* the user supplies a custom header string or function. */
|
|
258
|
+
headerVerbatim: boolean;
|
|
259
|
+
/** Always-present fallback shown on the error path, even if the live
|
|
260
|
+
* header is hidden or customized — so error scrollback is unambiguous
|
|
261
|
+
* about which command failed. */
|
|
262
|
+
errorHeader: string | undefined;
|
|
263
|
+
promoteHeaderOnSuccess: boolean;
|
|
264
|
+
readonly renderer: TailRenderer;
|
|
265
|
+
constructor(renderer: TailRenderer, maxLines: TailMaxLines, isTty: boolean, maxErrorLines?: number);
|
|
266
|
+
get omittedLineCount(): number;
|
|
267
|
+
/** Visible output rows after subtracting the header (if any) from the
|
|
268
|
+
* total `maxLines` budget. Floors to 1 so a headered segment always shows
|
|
269
|
+
* at least one line. */
|
|
270
|
+
visibleLineCount(ctx: TailMaxLinesContext): number;
|
|
271
|
+
addRef(): void;
|
|
272
|
+
setHeader(header: string | ResolvedHeaderFn | undefined, options?: {
|
|
273
|
+
verbatim?: boolean;
|
|
274
|
+
}): void;
|
|
275
|
+
appendLines(newLines: string[]): void;
|
|
276
|
+
release(errored: boolean, trailing: string[]): void;
|
|
277
|
+
}
|
|
278
|
+
/**
|
|
279
|
+
* Docker-style partial scrolling writer.
|
|
280
|
+
*
|
|
281
|
+
* Instead of streaming command output straight to the terminal, this buffers
|
|
282
|
+
* output line-by-line and shows only the most recent `maxLines` lines inside
|
|
283
|
+
* a static text scope pinned to the bottom of the terminal. When the command
|
|
284
|
+
* finishes successfully, the scope is cleared (the header is promoted to
|
|
285
|
+
* scrollback); on error the retained tail is flushed above so the user can
|
|
286
|
+
* see what happened.
|
|
287
|
+
*
|
|
288
|
+
* Falls back to writing directly to `innerWriter` when the host process is
|
|
289
|
+
* not attached to a TTY, since there's nowhere to anchor a scrolling region.
|
|
290
|
+
*
|
|
291
|
+
* Pass an existing writer as the second argument to share its scrolling
|
|
292
|
+
* region — used internally when both stdout and stderr are tailed, so the
|
|
293
|
+
* two streams interleave into one scroll area with a single header.
|
|
294
|
+
*/
|
|
295
|
+
export declare class InheritTailWriter implements WriterSync, Disposable {
|
|
296
|
+
#private;
|
|
297
|
+
constructor(innerWriter: WriterSync, options?: InheritTailWriterOptions);
|
|
298
|
+
constructor(innerWriter: WriterSync, sibling: InheritTailWriter);
|
|
299
|
+
/** Snapshot of the live tail (last visible-window retained lines, oldest
|
|
300
|
+
* first). The visible-window size is `maxLines - 1` when a header is shown
|
|
301
|
+
* (recomputed from the current console size for percentage / callback
|
|
302
|
+
* `maxLines`). */
|
|
303
|
+
get tailLines(): readonly string[];
|
|
304
|
+
/** Number of completed lines that were dropped from the retained ring
|
|
305
|
+
* buffer because its capacity is bounded. Rendered as
|
|
306
|
+
* `...N lines omitted...` above the retained tail when the command fails. */
|
|
307
|
+
get omittedLineCount(): number;
|
|
308
|
+
/**
|
|
309
|
+
* Sets a label rendered above the tail lines that identifies what this
|
|
310
|
+
* scrolling region is showing. Accepts a literal string (collapsed to
|
|
311
|
+
* a single line) or a per-draw callback that receives the current
|
|
312
|
+
* `{ size }`. `undefined` removes the header. Long text is truncated to
|
|
313
|
+
* the terminal width.
|
|
314
|
+
*
|
|
315
|
+
* When `options.verbatim` is true, the text is rendered as-is (no
|
|
316
|
+
* built-in `Running` / `Ran` framing). Used by `.tailDisplay({ header })`
|
|
317
|
+
* so the caller has full control over styling.
|
|
318
|
+
*/
|
|
319
|
+
setHeader(header: string | ((ctx: {
|
|
320
|
+
size: ConsoleSize | undefined;
|
|
321
|
+
}) => string) | undefined, options?: {
|
|
322
|
+
verbatim?: boolean;
|
|
323
|
+
}): void;
|
|
324
|
+
/**
|
|
325
|
+
* Sets the command label preserved on the error scrollback path even
|
|
326
|
+
* when the live header is hidden or customized — so `> <command>` is
|
|
327
|
+
* always shown when a tailed command fails, regardless of `.tailDisplay`
|
|
328
|
+
* header config.
|
|
329
|
+
*/
|
|
330
|
+
setErrorHeader(text: string | undefined): void;
|
|
331
|
+
/**
|
|
332
|
+
* Controls whether the `Ran <command>` header is promoted to scrollback
|
|
333
|
+
* on successful finalize. Defaults to `false` — on success the live tail
|
|
334
|
+
* clears silently unless the caller opts in (command.ts enables it when
|
|
335
|
+
* `.printCommand()` was set, so the command stays visible in scrollback).
|
|
336
|
+
* The error-path header (`> <command>` + retained tail) is always emitted
|
|
337
|
+
* regardless of this flag since it's diagnostic.
|
|
338
|
+
*/
|
|
339
|
+
setPromoteHeaderOnSuccess(value: boolean): void;
|
|
340
|
+
writeSync(p: Uint8Array): number;
|
|
341
|
+
/**
|
|
342
|
+
* Clears the scrolling region. Called on successful command completion.
|
|
343
|
+
*
|
|
344
|
+
* If a header was set it's promoted to scrollback via `logAbove` before
|
|
345
|
+
* the scope is disposed, so "which commands ran" remains visible after
|
|
346
|
+
* the transient tail clears. When multiple writers share a scope the
|
|
347
|
+
* scope is only disposed once all of them have finalized.
|
|
348
|
+
*
|
|
349
|
+
* Any partial pending line is still passed to `release` so that — if a
|
|
350
|
+
* sibling writer subsequently errors — the success side's last partial
|
|
351
|
+
* line is preserved in the error scrollback. The success path itself
|
|
352
|
+
* never renders trailing lines, so there's no visual cost when no
|
|
353
|
+
* sibling errors.
|
|
354
|
+
*/
|
|
355
|
+
finalize(): void;
|
|
356
|
+
[Symbol.dispose](): void;
|
|
357
|
+
/**
|
|
358
|
+
* Promotes the header + retained tail above the static region before
|
|
359
|
+
* clearing it. Called when the command errored so the user has visible
|
|
360
|
+
* context. When multiple writers share a scope, any writer finalizing
|
|
361
|
+
* for error causes the shared region to use the error path once all
|
|
362
|
+
* writers have finalized.
|
|
363
|
+
*/
|
|
364
|
+
finalizeForError(): void;
|
|
365
|
+
}
|
|
366
|
+
/**
|
|
367
|
+
* Header rendered above the live tail while the command is in flight:
|
|
368
|
+
* `Running <command>` in bold cyan.
|
|
369
|
+
*/
|
|
370
|
+
export declare function formatTailHeader(text: string, size: ConsoleSize | undefined): string;
|
|
371
|
+
/**
|
|
372
|
+
* Past-tense header promoted to scrollback when a tailed command completes
|
|
373
|
+
* successfully: `Ran <command>` in bold green.
|
|
374
|
+
*/
|
|
375
|
+
export declare function formatRanHeader(text: string, size: ConsoleSize | undefined): string;
|
|
376
|
+
export interface PipedBufferListener extends WriterSync, Closer {
|
|
377
|
+
setError(err: Error): void;
|
|
378
|
+
}
|
|
379
|
+
export declare class PipedBuffer implements WriterSync {
|
|
380
|
+
#private;
|
|
381
|
+
constructor();
|
|
382
|
+
getBuffer(): Buffer | undefined;
|
|
383
|
+
setError(err: Error): void;
|
|
384
|
+
close(): void;
|
|
385
|
+
writeSync(p: Uint8Array): number;
|
|
386
|
+
setListener(listener: PipedBufferListener): void;
|
|
387
|
+
}
|
|
388
|
+
export declare class PipeSequencePipe implements Reader, WriterSync {
|
|
389
|
+
#private;
|
|
390
|
+
close(): void;
|
|
391
|
+
writeSync(p: Uint8Array): number;
|
|
392
|
+
read(p: Uint8Array): Promise<number | null>;
|
|
393
|
+
}
|
|
394
|
+
export declare function pipeReaderToWritable(reader: Reader, writable: dntShim.WritableStream<Uint8Array>, signal: AbortSignal): Promise<void>;
|
|
395
|
+
export declare function pipeReadableToWriterSync(readable: dntShim.ReadableStream<Uint8Array>, writer: ShellPipeWriter | CommandPipeWriter, signal: AbortSignal | KillSignal): Promise<void>;
|
|
396
|
+
//# sourceMappingURL=pipes.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pipes.d.ts","sourceRoot":"","sources":["../../../../../../../src/deps/jsr.io/@david/shell/0.5.2/src/pipes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,OAAO,MAAM,iCAAiC,CAAC;AAC3D,OAAO,KAAK,EAAE,aAAa,EAAE,IAAI,EAAE,MAAM,4BAA4B,CAAC;AACtE,OAAO,EACL,KAAK,WAAW,EAChB,KAAK,cAAc,EAGnB,KAAK,mBAAmB,EAGxB,KAAK,QAAQ,EACd,MAAM,2CAA2C,CAAC;AAEnD,OAAO,EAAE,MAAM,EAAE,MAAM,uCAAuC,CAAC;AAE/D,OAAO,KAAK,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE/D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAC1D,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AACrD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,sCAAsC,CAAC;AAC3G,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAC7D,YAAY,EAAE,MAAM,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,UAAU,EAAE,CAAC;AAY/D;;;;;;;GAOG;AACH,qBAAa,YAAa,YAAW,UAAU;;IAC7C,QAAQ,CAAC,SAAS,EAAE,mBAAmB,CAAC;gBAU5B,OAAO,GAAE;QACnB,SAAS,CAAC,EAAE,mBAAmB,CAAC;QAChC,QAAQ,CAAC,EAAE,cAAc,GAAG,IAAI,CAAC;KAC7B;IAQN,CAAC,MAAM,CAAC,OAAO,C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,IAAI;CAUzB;AAUD;;;GAGG;AACH,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,WAAW,GAAG,SAAS,GAAG,MAAM,CAEpF;AAED;;;GAGG;AACH,wBAAgB,eAAe,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,WAAW,GAAG,SAAS,GAAG,MAAM,CAEnF;AAgBD,MAAM,WAAW,mBAAoB,SAAQ,UAAU,EAAE,MAAM;IAC7D,QAAQ,CAAC,GAAG,EAAE,KAAK,GAAG,IAAI,CAAC;CAC5B;AAED,qBAAa,WAAY,YAAW,UAAU;;;IAQ5C,SAAS,IAAI,MAAM,GAAG,SAAS;IAQ/B,QAAQ,CAAC,GAAG,EAAE,KAAK;IAMnB,KAAK;IAML,SAAS,CAAC,CAAC,EAAE,UAAU,GAAG,MAAM;IAIhC,WAAW,CAAC,QAAQ,EAAE,mBAAmB;CAY1C;AAKD,qBAAa,gBAAiB,YAAW,MAAM,EAAE,UAAU;;IAKzD,KAAK;IAKL,SAAS,CAAC,CAAC,EAAE,UAAU,GAAG,MAAM;IAUhC,IAAI,CAAC,CAAC,EAAE,UAAU,GAAG,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC;CAoB5C;AAED,wBAAsB,oBAAoB,CACxC,MAAM,EAAE,MAAM,EACd,QAAQ,EAAE,OAAO,CAAC,cAAc,CAAC,UAAU,CAAC,EAC5C,MAAM,EAAE,WAAW,iBAgBpB;AAED,wBAAsB,wBAAwB,CAC5C,QAAQ,EAAE,OAAO,CAAC,cAAc,CAAC,UAAU,CAAC,EAC5C,MAAM,EAAE,eAAe,GAAG,iBAAiB,EAC3C,MAAM,EAAE,WAAW,GAAG,UAAU,iBAajC"}
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
/** Result of executing a custom command. */
|
|
2
|
+
export type ExecuteResult = ExitExecuteResult | ContinueExecuteResult;
|
|
3
|
+
export declare function getAbortedResult(): ExecuteResult;
|
|
4
|
+
/** Tells the shell it should exit immediately with the provided exit code. */
|
|
5
|
+
export interface ExitExecuteResult {
|
|
6
|
+
/** Discriminator. */
|
|
7
|
+
kind: "exit";
|
|
8
|
+
/** Exit code to use and completely exit the shell with. */
|
|
9
|
+
code: number;
|
|
10
|
+
}
|
|
11
|
+
/** Tells the shell to continue executing. */
|
|
12
|
+
export interface ContinueExecuteResult {
|
|
13
|
+
/** Discriminator. */
|
|
14
|
+
kind?: undefined;
|
|
15
|
+
/** Exit code to use. */
|
|
16
|
+
code: number;
|
|
17
|
+
/** Changes to the shell that should occur (ex. unsetting env vars). */
|
|
18
|
+
changes?: EnvChange[];
|
|
19
|
+
}
|
|
20
|
+
/** Change that alters the environment.
|
|
21
|
+
*
|
|
22
|
+
* Used for registering custom commands.
|
|
23
|
+
*/
|
|
24
|
+
export type EnvChange = SetEnvVarChange | SetShellVarChange | UnsetVarChange | CdChange | SetOptionChange;
|
|
25
|
+
/** Change that sets an environment variable (ex. `export ENV_VAR=VALUE`)
|
|
26
|
+
*
|
|
27
|
+
* Used for registering custom commands.
|
|
28
|
+
*/
|
|
29
|
+
export interface SetEnvVarChange {
|
|
30
|
+
/** Discriminator. */
|
|
31
|
+
kind: "envvar";
|
|
32
|
+
/** Name of the env var to set. */
|
|
33
|
+
name: string;
|
|
34
|
+
/** Value to set the env var to. */
|
|
35
|
+
value: string;
|
|
36
|
+
}
|
|
37
|
+
/** Change that sets a shell variable (ex. `ENV_VAR=VALUE`)
|
|
38
|
+
*
|
|
39
|
+
* Used for registering custom commands.
|
|
40
|
+
*/
|
|
41
|
+
export interface SetShellVarChange {
|
|
42
|
+
/** Discriminator. */
|
|
43
|
+
kind: "shellvar";
|
|
44
|
+
/** Name of the shell var to set. */
|
|
45
|
+
name: string;
|
|
46
|
+
/** Value to set the shell var to. */
|
|
47
|
+
value: string;
|
|
48
|
+
}
|
|
49
|
+
/** Change that deletes the environment variable (ex. `unset ENV_VAR`).
|
|
50
|
+
*
|
|
51
|
+
* Used for registering custom commands.
|
|
52
|
+
*/
|
|
53
|
+
export interface UnsetVarChange {
|
|
54
|
+
/** Discriminator. */
|
|
55
|
+
kind: "unsetvar";
|
|
56
|
+
/** Nave of the env var to unset. */
|
|
57
|
+
name: string;
|
|
58
|
+
}
|
|
59
|
+
/** Change that alters the current working directory.
|
|
60
|
+
*
|
|
61
|
+
* Used for registering custom commands.
|
|
62
|
+
*/
|
|
63
|
+
export interface CdChange {
|
|
64
|
+
/** Discriminator. */
|
|
65
|
+
kind: "cd";
|
|
66
|
+
/** Relative or absolute directory to change to. */
|
|
67
|
+
dir: string;
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* Shell options that can be set via `shopt` or `set -o`.
|
|
71
|
+
*
|
|
72
|
+
* - `nullglob`: a glob pattern that matches no files expands to nothing
|
|
73
|
+
* - `failglob`: a glob pattern that matches no files causes an error
|
|
74
|
+
* - `pipefail`: pipeline exit code is the rightmost non-zero exit code
|
|
75
|
+
* - `globstar`: `**` matches recursively across directories (default)
|
|
76
|
+
* - `questionGlob`: `?` matches any single character in glob patterns
|
|
77
|
+
* - `errexit`: abort a sequential list at the first non-zero command (`set -e`)
|
|
78
|
+
*/
|
|
79
|
+
export type ShellOption = "nullglob" | "failglob" | "pipefail" | "globstar" | "questionGlob" | "errexit";
|
|
80
|
+
/** Change that sets a shell option (ex. `shopt -s nullglob` or `set -o pipefail`).
|
|
81
|
+
*
|
|
82
|
+
* Used for registering custom commands.
|
|
83
|
+
*/
|
|
84
|
+
export interface SetOptionChange {
|
|
85
|
+
/** Discriminator. */
|
|
86
|
+
kind: "setoption";
|
|
87
|
+
/** The shell option to set. */
|
|
88
|
+
option: ShellOption;
|
|
89
|
+
/** Whether to enable or disable the option. */
|
|
90
|
+
value: boolean;
|
|
91
|
+
}
|
|
92
|
+
//# sourceMappingURL=result.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"result.d.ts","sourceRoot":"","sources":["../../../../../../../src/deps/jsr.io/@david/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