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,170 @@
|
|
|
1
|
+
import * as dntShim from "../../../../../_dnt.shims.js";
|
|
2
|
+
/** Information about a file or directory. Shape matches `node:fs` `Stats`. */
|
|
3
|
+
export interface FileInfo {
|
|
4
|
+
/** True if this is info about a regular file. */
|
|
5
|
+
isFile(): boolean;
|
|
6
|
+
/** True if this is info about a directory. */
|
|
7
|
+
isDirectory(): boolean;
|
|
8
|
+
/** True if this is info about a symbolic link. */
|
|
9
|
+
isSymbolicLink(): boolean;
|
|
10
|
+
/** Size of the file in bytes. */
|
|
11
|
+
size: number;
|
|
12
|
+
/** Last modified time. */
|
|
13
|
+
mtime: Date;
|
|
14
|
+
/** Last access time. */
|
|
15
|
+
atime: Date;
|
|
16
|
+
/** Creation time. */
|
|
17
|
+
birthtime: Date;
|
|
18
|
+
/** Numeric identifier of the device containing the file. */
|
|
19
|
+
dev: number;
|
|
20
|
+
/** File system specific inode number. */
|
|
21
|
+
ino: number;
|
|
22
|
+
/** File type and mode. */
|
|
23
|
+
mode: number;
|
|
24
|
+
/** Number of hard links. */
|
|
25
|
+
nlink: number;
|
|
26
|
+
/** User ID of the file's owner. */
|
|
27
|
+
uid: number;
|
|
28
|
+
/** Group ID of the file's owner. */
|
|
29
|
+
gid: number;
|
|
30
|
+
}
|
|
31
|
+
/** A directory entry returned by readDir. Shape matches `node:fs` `Dirent`. */
|
|
32
|
+
export interface DirEntryInfo {
|
|
33
|
+
/** Name of this entry (not the full path). */
|
|
34
|
+
name: string;
|
|
35
|
+
/** True if this entry is a regular file. */
|
|
36
|
+
isFile(): boolean;
|
|
37
|
+
/** True if this entry is a directory. */
|
|
38
|
+
isDirectory(): boolean;
|
|
39
|
+
/** True if this entry is a symbolic link. */
|
|
40
|
+
isSymbolicLink(): boolean;
|
|
41
|
+
}
|
|
42
|
+
/** Options for `mkdir`. */
|
|
43
|
+
export interface MkdirOptions {
|
|
44
|
+
/** Create parent directories as needed (like `mkdir -p`). */
|
|
45
|
+
recursive?: boolean;
|
|
46
|
+
/** Permission mode to apply to newly-created directories. */
|
|
47
|
+
mode?: number;
|
|
48
|
+
}
|
|
49
|
+
/** Options for opening a file. */
|
|
50
|
+
export interface OpenOptions {
|
|
51
|
+
/** Open for reading. */
|
|
52
|
+
read?: boolean;
|
|
53
|
+
/** Open for writing. */
|
|
54
|
+
write?: boolean;
|
|
55
|
+
/** Create the file if it doesn't exist. */
|
|
56
|
+
create?: boolean;
|
|
57
|
+
/** Create the file, failing if it already exists. */
|
|
58
|
+
createNew?: boolean;
|
|
59
|
+
/** Open in append mode. */
|
|
60
|
+
append?: boolean;
|
|
61
|
+
/** Truncate the file to zero length if it already exists. */
|
|
62
|
+
truncate?: boolean;
|
|
63
|
+
/** Permission mode to apply when creating a file. */
|
|
64
|
+
mode?: number;
|
|
65
|
+
}
|
|
66
|
+
/** Options for writing to a file. */
|
|
67
|
+
export interface WriteFileOptions {
|
|
68
|
+
/** Append to the file instead of overwriting. */
|
|
69
|
+
append?: boolean;
|
|
70
|
+
/** Create the file if it doesn't exist. */
|
|
71
|
+
create?: boolean;
|
|
72
|
+
/** Create the file, failing if it already exists. */
|
|
73
|
+
createNew?: boolean;
|
|
74
|
+
/** Permission mode to apply when creating a file. */
|
|
75
|
+
mode?: number;
|
|
76
|
+
/** Abort the write when the signal is triggered. */
|
|
77
|
+
signal?: AbortSignal;
|
|
78
|
+
}
|
|
79
|
+
/** Options for removing a file or directory. */
|
|
80
|
+
export interface RemoveOptions {
|
|
81
|
+
/** Recursively remove directory contents. */
|
|
82
|
+
recursive?: boolean;
|
|
83
|
+
}
|
|
84
|
+
/** Options for reading a file. */
|
|
85
|
+
export interface ReadFileOptions {
|
|
86
|
+
/** Abort the read when the signal is triggered. */
|
|
87
|
+
signal?: AbortSignal;
|
|
88
|
+
}
|
|
89
|
+
/** Checks if an error is a "not found" error. */
|
|
90
|
+
export declare function isNotFoundError(err: unknown): boolean;
|
|
91
|
+
/** Creates a "not found" error. */
|
|
92
|
+
export declare function createNotFoundError(message: string): Error;
|
|
93
|
+
/** Returns true if running on Windows. */
|
|
94
|
+
export declare function isWindows(): boolean;
|
|
95
|
+
/** A file handle backed by a Node.js file descriptor. */
|
|
96
|
+
export declare class FsFile {
|
|
97
|
+
/** @internal */
|
|
98
|
+
_fd: number;
|
|
99
|
+
/** @internal */
|
|
100
|
+
constructor(fd: number);
|
|
101
|
+
/** Writes data to the file, resolving to the number of bytes written.
|
|
102
|
+
*
|
|
103
|
+
* Strings are encoded as UTF-8.
|
|
104
|
+
*/
|
|
105
|
+
write(data: string | Uint8Array): Promise<number>;
|
|
106
|
+
/** Synchronously writes data to the file, returning the number of bytes written.
|
|
107
|
+
*
|
|
108
|
+
* Strings are encoded as UTF-8.
|
|
109
|
+
*/
|
|
110
|
+
writeSync(data: string | Uint8Array): number;
|
|
111
|
+
/** Reads into `buf`, resolving to the number of bytes read (0 at EOF). */
|
|
112
|
+
read(buf: Uint8Array): Promise<number>;
|
|
113
|
+
/** Synchronously reads into `buf`, returning the number of bytes read (0 at EOF). */
|
|
114
|
+
readSync(buf: Uint8Array): number;
|
|
115
|
+
/** Closes the file handle. */
|
|
116
|
+
close(): void;
|
|
117
|
+
/** A writable stream that writes to this file. */
|
|
118
|
+
get writable(): dntShim.WritableStream<Uint8Array>;
|
|
119
|
+
/** A readable stream that reads from this file. */
|
|
120
|
+
get readable(): dntShim.ReadableStream<Uint8Array>;
|
|
121
|
+
}
|
|
122
|
+
export declare function stat(path: string): Promise<FileInfo>;
|
|
123
|
+
export declare function statSync(path: string): FileInfo;
|
|
124
|
+
export declare function lstat(path: string): Promise<FileInfo>;
|
|
125
|
+
export declare function lstatSync(path: string): FileInfo;
|
|
126
|
+
export declare function realPath(path: string): Promise<string>;
|
|
127
|
+
export declare function realPathSync(path: string): string;
|
|
128
|
+
export declare function mkdirFn(path: string, options?: MkdirOptions): Promise<void>;
|
|
129
|
+
export declare function mkdirSyncFn(path: string, options?: MkdirOptions): void;
|
|
130
|
+
export declare function linkFn(oldPath: string, newPath: string): Promise<void>;
|
|
131
|
+
export declare function linkSyncFn(oldPath: string, newPath: string): void;
|
|
132
|
+
export declare function symlinkFn(target: string, path: string, type?: {
|
|
133
|
+
type: "file" | "dir" | "junction";
|
|
134
|
+
}): Promise<void>;
|
|
135
|
+
export declare function symlinkSyncFn(target: string, path: string, type?: {
|
|
136
|
+
type: "file" | "dir" | "junction";
|
|
137
|
+
}): void;
|
|
138
|
+
export declare function readDir(path: string): AsyncGenerator<DirEntryInfo>;
|
|
139
|
+
export declare function readDirSync(path: string): Generator<DirEntryInfo>;
|
|
140
|
+
export declare function readFile(path: string, options?: ReadFileOptions): Promise<Uint8Array>;
|
|
141
|
+
export declare function readFileSync(path: string): Uint8Array;
|
|
142
|
+
export declare function readTextFile(path: string, options?: ReadFileOptions): Promise<string>;
|
|
143
|
+
export declare function readTextFileSync(path: string): string;
|
|
144
|
+
export declare function chmod(path: string, mode: number): Promise<void>;
|
|
145
|
+
export declare function chmodSync(path: string, mode: number): void;
|
|
146
|
+
export declare function chown(path: string, uid: number | null, gid: number | null): Promise<void>;
|
|
147
|
+
export declare function chownSync(path: string, uid: number | null, gid: number | null): void;
|
|
148
|
+
export declare function openFile(path: string, options?: OpenOptions): Promise<FsFile>;
|
|
149
|
+
export declare function openFileSync(path: string, options?: OpenOptions): FsFile;
|
|
150
|
+
export declare function createFile(path: string): Promise<FsFile>;
|
|
151
|
+
export declare function createFileSync(path: string): FsFile;
|
|
152
|
+
export declare function remove(path: string, options?: RemoveOptions): Promise<void>;
|
|
153
|
+
export declare function removeSync(path: string, options?: RemoveOptions): void;
|
|
154
|
+
export declare function copyFileFn(src: string, dest: string): Promise<void>;
|
|
155
|
+
export declare function copyFileSyncFn(src: string, dest: string): void;
|
|
156
|
+
export declare function renameFn(oldPath: string, newPath: string): Promise<void>;
|
|
157
|
+
export declare function renameSyncFn(oldPath: string, newPath: string): void;
|
|
158
|
+
export declare function ensureDir(path: string): Promise<void>;
|
|
159
|
+
export declare function ensureDirSync(path: string): void;
|
|
160
|
+
export declare function ensureFile(path: string): Promise<void>;
|
|
161
|
+
export declare function ensureFileSync(path: string): void;
|
|
162
|
+
export declare function emptyDir(path: string): Promise<void>;
|
|
163
|
+
export declare function emptyDirSync(path: string): void;
|
|
164
|
+
export declare function copy(src: string, dest: string, options?: {
|
|
165
|
+
overwrite?: boolean;
|
|
166
|
+
}): Promise<void>;
|
|
167
|
+
export declare function copySync(src: string, dest: string, options?: {
|
|
168
|
+
overwrite?: boolean;
|
|
169
|
+
}): void;
|
|
170
|
+
//# sourceMappingURL=_fs.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"_fs.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@david/path/0.3.2/_fs.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,OAAO,MAAM,8BAA8B,CAAC;AAKxD,8EAA8E;AAC9E,MAAM,WAAW,QAAQ;IACvB,iDAAiD;IACjD,MAAM,IAAI,OAAO,CAAC;IAClB,8CAA8C;IAC9C,WAAW,IAAI,OAAO,CAAC;IACvB,kDAAkD;IAClD,cAAc,IAAI,OAAO,CAAC;IAC1B,iCAAiC;IACjC,IAAI,EAAE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AAC,EAAE;IAAE,SAAS,CAAC,EAAE,OAAO,CAAA;CAAE,GAChC,OAAO,CAAC,IAAI,CAAC,CAIf;AAED,wBAAgB,QAAQ,CACtB,GAAG,EAAE,MAAM,EACX,IAAI,EAAE,MAAM,EACZ,OAAO,CAAC,EAAE;IAAE,SAAS,CAAC,EAAE,OAAO,CAAA;CAAE,GAChC,IAAI,CAIN"}
|
|
@@ -0,0 +1,404 @@
|
|
|
1
|
+
import * as dntShim from "../../../../../_dnt.shims.js";
|
|
2
|
+
import * as _fs from "./_fs.js";
|
|
3
|
+
export type { DirEntryInfo, FileInfo, MkdirOptions, OpenOptions, ReadFileOptions, RemoveOptions, WriteFileOptions, } from "./_fs.js";
|
|
4
|
+
export { FsFile } from "./_fs.js";
|
|
5
|
+
/** Directory entry when reading a directory. */
|
|
6
|
+
export interface DirEntry extends _fs.DirEntryInfo {
|
|
7
|
+
/** Path of this directory entry. */
|
|
8
|
+
path: Path;
|
|
9
|
+
}
|
|
10
|
+
/** Options for creating a symlink. */
|
|
11
|
+
export interface SymlinkOptions {
|
|
12
|
+
/** Creates the symlink as absolute or relative. */
|
|
13
|
+
kind: "absolute" | "relative";
|
|
14
|
+
/** Kind of symlink to create. Required on Windows when the target doesn't exist. */
|
|
15
|
+
type?: "file" | "dir" | "junction";
|
|
16
|
+
}
|
|
17
|
+
/** Creates a new {@linkcode Path}. Shorthand for `new Path(...)`. */
|
|
18
|
+
export declare function path(path: string | URL | Path): Path;
|
|
19
|
+
export default path;
|
|
20
|
+
/** Represents a path on the file system. */
|
|
21
|
+
export declare class Path {
|
|
22
|
+
#private;
|
|
23
|
+
/** This is a special symbol that allows different versions of
|
|
24
|
+
* `Path` API to match on `instanceof` checks. Ideally
|
|
25
|
+
* people shouldn't be mixing versions, but if it happens then
|
|
26
|
+
* this will maybe reduce some bugs.
|
|
27
|
+
* @internal
|
|
28
|
+
*/
|
|
29
|
+
private static instanceofSymbol;
|
|
30
|
+
/** Creates a new path from the provided string, URL, or another Path. */
|
|
31
|
+
constructor(path: string | URL | Path);
|
|
32
|
+
/** @internal */
|
|
33
|
+
static [Symbol.hasInstance](instance: unknown): boolean;
|
|
34
|
+
/** Gets the string representation of this path. */
|
|
35
|
+
toString(): string;
|
|
36
|
+
/** Resolves the path and gets the file URL. */
|
|
37
|
+
toFileUrl(): URL;
|
|
38
|
+
/** If this path reference is the same as another one. */
|
|
39
|
+
equals(otherPath: Path): boolean;
|
|
40
|
+
/** Follows symlinks and gets if this path is a directory. */
|
|
41
|
+
isDirSync(): boolean;
|
|
42
|
+
/** Follows symlinks and gets if this path is a file. */
|
|
43
|
+
isFileSync(): boolean;
|
|
44
|
+
/** Gets if this path is a symlink. */
|
|
45
|
+
isSymlinkSync(): boolean;
|
|
46
|
+
/** Gets if this path is an absolute path. */
|
|
47
|
+
isAbsolute(): boolean;
|
|
48
|
+
/** Gets if this path is relative. */
|
|
49
|
+
isRelative(): boolean;
|
|
50
|
+
/** Joins the provided path segments onto this path. */
|
|
51
|
+
join(...pathSegments: string[]): Path;
|
|
52
|
+
/** Resolves this path to an absolute path along with the provided path segments. */
|
|
53
|
+
resolve(...pathSegments: string[]): Path;
|
|
54
|
+
/**
|
|
55
|
+
* Normalizes the `path`, resolving `'..'` and `'.'` segments.
|
|
56
|
+
* Note that resolving these segments does not necessarily mean that all will be eliminated.
|
|
57
|
+
* A `'..'` at the top-level will be preserved, and an empty path is canonically `'.'`.
|
|
58
|
+
*/
|
|
59
|
+
normalize(): Path;
|
|
60
|
+
/** Resolves the file info of this path following symlinks. */
|
|
61
|
+
stat(): Promise<_fs.FileInfo | undefined>;
|
|
62
|
+
/** Synchronously resolves the file info of this path following symlinks. */
|
|
63
|
+
statSync(): _fs.FileInfo | undefined;
|
|
64
|
+
/** Resolves the file info of this path without following symlinks. */
|
|
65
|
+
lstat(): Promise<_fs.FileInfo | undefined>;
|
|
66
|
+
/** Synchronously resolves the file info of this path without following symlinks. */
|
|
67
|
+
lstatSync(): _fs.FileInfo | undefined;
|
|
68
|
+
/**
|
|
69
|
+
* Gets the directory path. In most cases, it is recommended
|
|
70
|
+
* to use `.parent()` instead since it will give you a `PathRef`.
|
|
71
|
+
*/
|
|
72
|
+
dirname(): string;
|
|
73
|
+
/** Gets the file or directory name of the path. */
|
|
74
|
+
basename(): string;
|
|
75
|
+
/** Resolves the path getting all its ancestor directories in order. */
|
|
76
|
+
ancestors(): Generator<Path>;
|
|
77
|
+
/** Iterates over the components of a path. */
|
|
78
|
+
components(): Generator<string>;
|
|
79
|
+
/** Gets if the provided path starts with the specified Path, URL, or string.
|
|
80
|
+
*
|
|
81
|
+
* This verifies based on matching the components.
|
|
82
|
+
*
|
|
83
|
+
* ```
|
|
84
|
+
* assert(new Path("/a/b/c").startsWith("/a/b"));
|
|
85
|
+
* assert(!new Path("/example").endsWith("/exam"));
|
|
86
|
+
* ```
|
|
87
|
+
*/
|
|
88
|
+
startsWith(path: Path | URL | string): boolean;
|
|
89
|
+
/** Gets if the provided path ends with the specified Path, URL, or string.
|
|
90
|
+
*
|
|
91
|
+
* This verifies based on matching the components.
|
|
92
|
+
*
|
|
93
|
+
* ```
|
|
94
|
+
* assert(new Path("/a/b/c").endsWith("b/c"));
|
|
95
|
+
* assert(!new Path("/a/b/example").endsWith("ple"));
|
|
96
|
+
* ```
|
|
97
|
+
*/
|
|
98
|
+
endsWith(path: Path | URL | string): boolean;
|
|
99
|
+
/** Gets the parent directory or returns undefined if the parent is the root directory. */
|
|
100
|
+
parent(): Path | undefined;
|
|
101
|
+
/** Gets the parent or throws if the current directory was the root. */
|
|
102
|
+
parentOrThrow(): Path;
|
|
103
|
+
/**
|
|
104
|
+
* Returns the extension of the path with leading period or undefined
|
|
105
|
+
* if there is no extension.
|
|
106
|
+
*/
|
|
107
|
+
extname(): string | undefined;
|
|
108
|
+
/** Gets a new path reference with the provided extension. */
|
|
109
|
+
withExtname(ext: string): Path;
|
|
110
|
+
/** Gets a new path reference with the provided file or directory name. */
|
|
111
|
+
withBasename(basename: string): Path;
|
|
112
|
+
/** Gets the relative path from this path to the specified path. */
|
|
113
|
+
relative(to: string | URL | Path): string;
|
|
114
|
+
/** Gets if the path exists. Beware of TOCTOU issues. */
|
|
115
|
+
exists(): Promise<boolean>;
|
|
116
|
+
/** Synchronously gets if the path exists. Beware of TOCTOU issues. */
|
|
117
|
+
existsSync(): boolean;
|
|
118
|
+
/** Resolves to the absolute normalized path, with symbolic links resolved. */
|
|
119
|
+
realPath(): Promise<Path>;
|
|
120
|
+
/** Synchronously resolves to the absolute normalized path, with symbolic links resolved. */
|
|
121
|
+
realPathSync(): Path;
|
|
122
|
+
/** Creates a directory at this path.
|
|
123
|
+
* @remarks By default, this is recursive.
|
|
124
|
+
*/
|
|
125
|
+
mkdir(options?: _fs.MkdirOptions): Promise<this>;
|
|
126
|
+
/** Synchronously creates a directory at this path.
|
|
127
|
+
* @remarks By default, this is recursive.
|
|
128
|
+
*/
|
|
129
|
+
mkdirSync(options?: _fs.MkdirOptions): this;
|
|
130
|
+
/**
|
|
131
|
+
* Creates a symlink to the provided target path.
|
|
132
|
+
*/
|
|
133
|
+
symlinkTo(targetPath: URL | Path, opts: SymlinkOptions): Promise<void>;
|
|
134
|
+
/**
|
|
135
|
+
* Creates a symlink at the provided path with the provided target text.
|
|
136
|
+
*/
|
|
137
|
+
symlinkTo(target: string, opts?: Partial<SymlinkOptions>): Promise<void>;
|
|
138
|
+
/**
|
|
139
|
+
* Synchronously creates a symlink to the provided target path.
|
|
140
|
+
*/
|
|
141
|
+
symlinkToSync(targetPath: URL | Path, opts: SymlinkOptions): void;
|
|
142
|
+
/**
|
|
143
|
+
* Synchronously creates a symlink at the provided path with the provided target text.
|
|
144
|
+
*/
|
|
145
|
+
symlinkToSync(target: string, opts?: Partial<SymlinkOptions>): void;
|
|
146
|
+
/**
|
|
147
|
+
* Creates a hardlink to the provided target path.
|
|
148
|
+
*/
|
|
149
|
+
linkTo(targetPath: string | URL | Path): Promise<void>;
|
|
150
|
+
/**
|
|
151
|
+
* Synchronously creates a hardlink to the provided target path.
|
|
152
|
+
*/
|
|
153
|
+
linkToSync(targetPath: string | URL | Path): void;
|
|
154
|
+
/** Reads the entries in the directory. */
|
|
155
|
+
readDir(): AsyncIterable<DirEntry>;
|
|
156
|
+
/** Synchronously reads the entries in the directory. */
|
|
157
|
+
readDirSync(): Iterable<DirEntry>;
|
|
158
|
+
/** Reads only the directory file paths, not including symlinks. */
|
|
159
|
+
readDirFilePaths(): AsyncIterable<Path>;
|
|
160
|
+
/** Synchronously reads only the directory file paths, not including symlinks. */
|
|
161
|
+
readDirFilePathsSync(): Iterable<Path>;
|
|
162
|
+
/** Reads the bytes from the file. */
|
|
163
|
+
readBytes(options?: _fs.ReadFileOptions): Promise<Uint8Array>;
|
|
164
|
+
/** Synchronously reads the bytes from the file. */
|
|
165
|
+
readBytesSync(): Uint8Array;
|
|
166
|
+
/** Calls `.readBytes()`, but returns undefined if the path doesn't exist. */
|
|
167
|
+
readMaybeBytes(options?: _fs.ReadFileOptions): Promise<Uint8Array | undefined>;
|
|
168
|
+
/** Calls `.readBytesSync()`, but returns undefined if the path doesn't exist. */
|
|
169
|
+
readMaybeBytesSync(): Uint8Array | undefined;
|
|
170
|
+
/** Reads the text from the file. */
|
|
171
|
+
readText(options?: _fs.ReadFileOptions): Promise<string>;
|
|
172
|
+
/** Synchronously reads the text from the file. */
|
|
173
|
+
readTextSync(): string;
|
|
174
|
+
/** Calls `.readText()`, but returns undefined when the path doesn't exist.
|
|
175
|
+
* @remarks This still errors for other kinds of errors reading a file.
|
|
176
|
+
*/
|
|
177
|
+
readMaybeText(options?: _fs.ReadFileOptions): Promise<string | undefined>;
|
|
178
|
+
/** Calls `.readTextSync()`, but returns undefined when the path doesn't exist.
|
|
179
|
+
* @remarks This still errors for other kinds of errors reading a file.
|
|
180
|
+
*/
|
|
181
|
+
readMaybeTextSync(): string | undefined;
|
|
182
|
+
/** Reads the file's text and returns an array of its lines.
|
|
183
|
+
*
|
|
184
|
+
* Lines are split at `\n` or `\r\n`. Line terminators are not included.
|
|
185
|
+
* A trailing blank line caused by a final line ending is excluded (matches
|
|
186
|
+
* [Rust's `str::lines`](https://doc.rust-lang.org/std/primitive.str.html#method.lines)).
|
|
187
|
+
*/
|
|
188
|
+
lines(options?: _fs.ReadFileOptions): Promise<string[]>;
|
|
189
|
+
/** Synchronously reads the file's text and returns an array of its lines.
|
|
190
|
+
*
|
|
191
|
+
* See `.lines()` for the splitting semantics.
|
|
192
|
+
*/
|
|
193
|
+
linesSync(): string[];
|
|
194
|
+
/** Streams the file and iterates over its lines without loading it all into memory.
|
|
195
|
+
*
|
|
196
|
+
* See `.lines()` for the splitting semantics.
|
|
197
|
+
*/
|
|
198
|
+
linesIter(options?: _fs.ReadFileOptions): AsyncIterableIterator<string>;
|
|
199
|
+
/** Synchronously streams the file and iterates over its lines without
|
|
200
|
+
* loading it all into memory.
|
|
201
|
+
*
|
|
202
|
+
* See `.lines()` for the splitting semantics.
|
|
203
|
+
*/
|
|
204
|
+
linesIterSync(): IterableIterator<string>;
|
|
205
|
+
/** Reads and parses the file as JSON, throwing if it doesn't exist or is not valid JSON. */
|
|
206
|
+
readJson<T>(options?: _fs.ReadFileOptions): Promise<T>;
|
|
207
|
+
/** Synchronously reads and parses the file as JSON, throwing if it doesn't
|
|
208
|
+
* exist or is not valid JSON. */
|
|
209
|
+
readJsonSync<T>(): T;
|
|
210
|
+
/**
|
|
211
|
+
* Calls `.readJson()`, but returns undefined if the file doesn't exist.
|
|
212
|
+
* @remarks This method will still throw if the file cannot be parsed as JSON.
|
|
213
|
+
*/
|
|
214
|
+
readMaybeJson<T>(options?: _fs.ReadFileOptions): Promise<T | undefined>;
|
|
215
|
+
/**
|
|
216
|
+
* Calls `.readJsonSync()`, but returns undefined if the file doesn't exist.
|
|
217
|
+
* @remarks This method will still throw if the file cannot be parsed as JSON.
|
|
218
|
+
*/
|
|
219
|
+
readMaybeJsonSync<T>(): T | undefined;
|
|
220
|
+
/** Writes out the provided bytes or text to the file.
|
|
221
|
+
*
|
|
222
|
+
* Strings are encoded as UTF-8.
|
|
223
|
+
*/
|
|
224
|
+
write(data: string | Uint8Array, options?: _fs.WriteFileOptions): Promise<this>;
|
|
225
|
+
/** Synchronously writes out the provided bytes or text to the file.
|
|
226
|
+
*
|
|
227
|
+
* Strings are encoded as UTF-8.
|
|
228
|
+
*/
|
|
229
|
+
writeSync(data: string | Uint8Array, options?: _fs.WriteFileOptions): this;
|
|
230
|
+
/** Writes the provided text to the file.
|
|
231
|
+
* @deprecated Use `.write(text)` instead — `write` now accepts strings.
|
|
232
|
+
*/
|
|
233
|
+
writeText(text: string, options?: _fs.WriteFileOptions): Promise<this>;
|
|
234
|
+
/** Synchronously writes the provided text to the file.
|
|
235
|
+
* @deprecated Use `.writeSync(text)` instead — `writeSync` now accepts strings.
|
|
236
|
+
*/
|
|
237
|
+
writeTextSync(text: string, options?: _fs.WriteFileOptions): this;
|
|
238
|
+
/** Writes out the provided object as compact JSON. */
|
|
239
|
+
writeJson(obj: unknown, options?: _fs.WriteFileOptions): Promise<this>;
|
|
240
|
+
/** Synchronously writes out the provided object as compact JSON. */
|
|
241
|
+
writeJsonSync(obj: unknown, options?: _fs.WriteFileOptions): this;
|
|
242
|
+
/** Writes out the provided object as formatted JSON. */
|
|
243
|
+
writeJsonPretty(obj: unknown, options?: _fs.WriteFileOptions): Promise<this>;
|
|
244
|
+
/** Synchronously writes out the provided object as formatted JSON. */
|
|
245
|
+
writeJsonPrettySync(obj: unknown, options?: _fs.WriteFileOptions): this;
|
|
246
|
+
/** Appends the provided bytes or text to the file.
|
|
247
|
+
*
|
|
248
|
+
* Strings are encoded as UTF-8.
|
|
249
|
+
*/
|
|
250
|
+
append(data: string | Uint8Array, options?: Omit<_fs.WriteFileOptions, "append">): Promise<this>;
|
|
251
|
+
/** Synchronously appends the provided bytes or text to the file.
|
|
252
|
+
*
|
|
253
|
+
* Strings are encoded as UTF-8.
|
|
254
|
+
*/
|
|
255
|
+
appendSync(data: string | Uint8Array, options?: Omit<_fs.WriteFileOptions, "append">): this;
|
|
256
|
+
/** Changes the permissions of the file or directory. */
|
|
257
|
+
chmod(mode: number): Promise<this>;
|
|
258
|
+
/** Synchronously changes the permissions of the file or directory. */
|
|
259
|
+
chmodSync(mode: number): this;
|
|
260
|
+
/** Changes the ownership permissions of the file. */
|
|
261
|
+
chown(uid: number | null, gid: number | null): Promise<this>;
|
|
262
|
+
/** Synchronously changes the ownership permissions of the file. */
|
|
263
|
+
chownSync(uid: number | null, gid: number | null): this;
|
|
264
|
+
/** Creates a new file or opens the existing one. */
|
|
265
|
+
create(): Promise<FsFileWrapper>;
|
|
266
|
+
/** Synchronously creates a new file or opens the existing one. */
|
|
267
|
+
createSync(): FsFileWrapper;
|
|
268
|
+
/** Creates a file throwing if a file previously existed. */
|
|
269
|
+
createNew(): Promise<FsFileWrapper>;
|
|
270
|
+
/** Synchronously creates a file throwing if a file previously existed. */
|
|
271
|
+
createNewSync(): FsFileWrapper;
|
|
272
|
+
/** Opens a file. */
|
|
273
|
+
open(options?: _fs.OpenOptions): Promise<FsFileWrapper>;
|
|
274
|
+
/** Opens a file synchronously. */
|
|
275
|
+
openSync(options?: _fs.OpenOptions): FsFileWrapper;
|
|
276
|
+
/** Removes the file or directory from the file system. */
|
|
277
|
+
remove(options?: _fs.RemoveOptions): Promise<this>;
|
|
278
|
+
/** Removes the file or directory from the file system synchronously. */
|
|
279
|
+
removeSync(options?: _fs.RemoveOptions): this;
|
|
280
|
+
/** Removes the file or directory from the file system, but doesn't throw
|
|
281
|
+
* when the file doesn't exist.
|
|
282
|
+
*/
|
|
283
|
+
ensureRemove(options?: _fs.RemoveOptions): Promise<this>;
|
|
284
|
+
/** Removes the file or directory from the file system, but doesn't throw
|
|
285
|
+
* when the file doesn't exist.
|
|
286
|
+
*/
|
|
287
|
+
ensureRemoveSync(options?: _fs.RemoveOptions): this;
|
|
288
|
+
/**
|
|
289
|
+
* Ensures that a directory is empty.
|
|
290
|
+
* Deletes directory contents if the directory is not empty.
|
|
291
|
+
* If the directory does not exist, it is created.
|
|
292
|
+
* The directory itself is not deleted.
|
|
293
|
+
*/
|
|
294
|
+
emptyDir(): Promise<this>;
|
|
295
|
+
/** Synchronous version of `emptyDir()` */
|
|
296
|
+
emptyDirSync(): this;
|
|
297
|
+
/** Ensures that the directory exists.
|
|
298
|
+
* If the directory structure does not exist, it is created. Like mkdir -p.
|
|
299
|
+
*/
|
|
300
|
+
ensureDir(): Promise<this>;
|
|
301
|
+
/** Synchronously ensures that the directory exists.
|
|
302
|
+
* If the directory structure does not exist, it is created. Like mkdir -p.
|
|
303
|
+
*/
|
|
304
|
+
ensureDirSync(): this;
|
|
305
|
+
/**
|
|
306
|
+
* Ensures that the file exists.
|
|
307
|
+
* If the file that is requested to be created is in directories that do
|
|
308
|
+
* not exist these directories are created. If the file already exists,
|
|
309
|
+
* it is NOTMODIFIED.
|
|
310
|
+
*/
|
|
311
|
+
ensureFile(): Promise<this>;
|
|
312
|
+
/**
|
|
313
|
+
* Synchronously ensures that the file exists.
|
|
314
|
+
* If the file that is requested to be created is in directories that do
|
|
315
|
+
* not exist these directories are created. If the file already exists,
|
|
316
|
+
* it is NOTMODIFIED.
|
|
317
|
+
*/
|
|
318
|
+
ensureFileSync(): this;
|
|
319
|
+
/** Copies a file or directory to the provided destination.
|
|
320
|
+
* @returns The destination path.
|
|
321
|
+
*/
|
|
322
|
+
copy(destinationPath: string | URL | Path, options?: {
|
|
323
|
+
overwrite?: boolean;
|
|
324
|
+
}): Promise<Path>;
|
|
325
|
+
/** Copies a file or directory to the provided destination synchronously.
|
|
326
|
+
* @returns The destination path.
|
|
327
|
+
*/
|
|
328
|
+
copySync(destinationPath: string | URL | Path, options?: {
|
|
329
|
+
overwrite?: boolean;
|
|
330
|
+
}): Path;
|
|
331
|
+
/**
|
|
332
|
+
* Copies the file or directory to the specified directory.
|
|
333
|
+
* @returns The destination path.
|
|
334
|
+
*/
|
|
335
|
+
copyToDir(destinationDirPath: string | URL | Path, options?: {
|
|
336
|
+
overwrite?: boolean;
|
|
337
|
+
}): Promise<Path>;
|
|
338
|
+
/**
|
|
339
|
+
* Copies the file or directory to the specified directory synchronously.
|
|
340
|
+
* @returns The destination path.
|
|
341
|
+
*/
|
|
342
|
+
copyToDirSync(destinationDirPath: string | URL | Path, options?: {
|
|
343
|
+
overwrite?: boolean;
|
|
344
|
+
}): Path;
|
|
345
|
+
/**
|
|
346
|
+
* Copies the file to the specified destination path.
|
|
347
|
+
* @returns The destination path.
|
|
348
|
+
*/
|
|
349
|
+
copyFile(destinationPath: string | URL | Path): Promise<Path>;
|
|
350
|
+
/**
|
|
351
|
+
* Copies the file to the destination path synchronously.
|
|
352
|
+
* @returns The destination path.
|
|
353
|
+
*/
|
|
354
|
+
copyFileSync(destinationPath: string | URL | Path): Path;
|
|
355
|
+
/**
|
|
356
|
+
* Copies the file to the specified directory.
|
|
357
|
+
* @returns The destination path.
|
|
358
|
+
*/
|
|
359
|
+
copyFileToDir(destinationDirPath: string | URL | Path): Promise<Path>;
|
|
360
|
+
/**
|
|
361
|
+
* Copies the file to the specified directory synchronously.
|
|
362
|
+
* @returns The destination path.
|
|
363
|
+
*/
|
|
364
|
+
copyFileToDirSync(destinationDirPath: string | URL | Path): Path;
|
|
365
|
+
/**
|
|
366
|
+
* Moves the file or directory returning a promise that resolves to
|
|
367
|
+
* the renamed path.
|
|
368
|
+
* @returns The destination path.
|
|
369
|
+
*/
|
|
370
|
+
rename(newPath: string | URL | Path): Promise<Path>;
|
|
371
|
+
/**
|
|
372
|
+
* Moves the file or directory returning the renamed path synchronously.
|
|
373
|
+
* @returns The destination path.
|
|
374
|
+
*/
|
|
375
|
+
renameSync(newPath: string | URL | Path): Path;
|
|
376
|
+
/**
|
|
377
|
+
* Moves the file or directory to the specified directory.
|
|
378
|
+
* @returns The destination path.
|
|
379
|
+
*/
|
|
380
|
+
renameToDir(destinationDirPath: string | URL | Path): Promise<Path>;
|
|
381
|
+
/**
|
|
382
|
+
* Moves the file or directory to the specified directory synchronously.
|
|
383
|
+
* @returns The destination path.
|
|
384
|
+
*/
|
|
385
|
+
renameToDirSync(destinationDirPath: string | URL | Path): Path;
|
|
386
|
+
/** Opens the file and pipes it to the writable stream. */
|
|
387
|
+
pipeTo(dest: dntShim.WritableStream<Uint8Array>, options?: dntShim.StreamPipeOptions): Promise<this>;
|
|
388
|
+
}
|
|
389
|
+
/** A handle to an open file. */
|
|
390
|
+
export declare class FsFileWrapper extends _fs.FsFile {
|
|
391
|
+
/** Writes the provided text to this file, looping to handle partial writes. */
|
|
392
|
+
writeText(text: string): Promise<this>;
|
|
393
|
+
/** Synchronously writes the provided text to this file, looping to handle partial writes. */
|
|
394
|
+
writeTextSync(text: string): this;
|
|
395
|
+
/** Writes all the provided bytes to this file, looping to handle partial writes. */
|
|
396
|
+
writeBytes(bytes: Uint8Array): Promise<this>;
|
|
397
|
+
/** Synchronously writes all the provided bytes to this file, looping to handle partial writes. */
|
|
398
|
+
writeBytesSync(bytes: Uint8Array): this;
|
|
399
|
+
/** Writes all the provided data to this file, dispatching to `.writeText` or `.writeBytes` based on input type. */
|
|
400
|
+
writeAll(data: string | Uint8Array): Promise<this>;
|
|
401
|
+
/** Synchronously writes all the provided data to this file, dispatching to `.writeTextSync` or `.writeBytesSync` based on input type. */
|
|
402
|
+
writeAllSync(data: string | Uint8Array): this;
|
|
403
|
+
}
|
|
404
|
+
//# sourceMappingURL=mod.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mod.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@david/path/0.3.2/mod.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,OAAO,MAAM,8BAA8B,CAAC;AAaxD,OAAO,KAAK,GAAG,MAAM,UAAU,CAAC;AAEhC,YAAY,EACV,YAAY,EACZ,QAAQ,EACR,YAAY,EACZ,WAAW,EACX,eAAe,EACf,aAAa,EACb,gBAAgB,GACjB,MAAM,UAAU,CAAC;AAClB,OA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,GAAG,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC;IAKnD;;;OAGG;IACH,UAAU,CAAC,OAAO,EAAE,MAAM,GAAG,GAAG,GAAG,IAAI,GAAG,IAAI;IAM9C;;;OAGG;IACH,WAAW,CAAC,kBAAkB,EAAE,MAAM,GAAG,GAAG,GAAG,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC;IAMnE;;;OAGG;IACH,eAAe,CAAC,kBAAkB,EAAE,MAAM,GAAG,GAAG,GAAG,IAAI,GAAG,IAAI;IAM9D,0DAA0D;IACpD,MAAM,CACV,IAAI,EAAE,OAAO,CAAC,cAAc,CAAC,UAAU,CAAC,EACxC,OAAO,CAAC,EAAE,OAAO,CAAC,iBAAiB,GAClC,OAAO,CAAC,IAAI,CAAC;CAajB;AAWD,gCAAgC;AAChC,qBAAa,aAAc,SAAQ,GAAG,CAAC,MAAM;IAC3C,+EAA+E;IAC/E,SAAS,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAItC,6FAA6F;IAC7F,aAAa,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI;IAIjC,oFAAoF;IAC9E,UAAU,CAAC,KAAK,EAAE,UAAU,GAAG,OAAO,CAAC,IAAI,CAAC;IAQlD,kGAAkG;IAClG,cAAc,CAAC,KAAK,EAAE,UAAU,GAAG,IAAI;IAQvC,mHAAmH;IACnH,QAAQ,CAAC,IAAI,EAAE,MAAM,GAAG,UAAU,GAAG,OAAO,CAAC,IAAI,CAAC;IAMlD,yIAAyI;IACzI,YAAY,CAAC,IAAI,EAAE,MAAM,GAAG,UAAU,GAAG,IAAI;CAK9C"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
declare function basename3(path: any, suffix?: string): any;
|
|
2
|
+
declare function dirname3(path: any): any;
|
|
3
|
+
declare function extname3(path: any): any;
|
|
4
|
+
declare function fromFileUrl3(url: any): string;
|
|
5
|
+
declare function isAbsolute3(path: any): boolean;
|
|
6
|
+
declare function join3(path: any, ...paths: any[]): any;
|
|
7
|
+
declare function normalize3(path: any): any;
|
|
8
|
+
declare function relative3(from: any, to: any): any;
|
|
9
|
+
declare function resolve3(...pathSegments: any[]): string;
|
|
10
|
+
declare function toFileUrl3(path: any): import("url").URL;
|
|
11
|
+
export { basename3 as basename, dirname3 as dirname, extname3 as extname, fromFileUrl3 as fromFileUrl, isAbsolute3 as isAbsolute, join3 as join, normalize3 as normalize, relative3 as relative, resolve3 as resolve, toFileUrl3 as toFileUrl };
|
|
12
|
+
//# sourceMappingURL=path.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"path.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@david/path/0.3.2/path.js"],"names":[],"mappings":"AA8IA,4DAEC;AA6FD,0CAEC;AAsFD,0CAEC;AACD,gDAEC;AAmBD,iDAEC;AAyND,wDAEC;AACD,4CAEC;AAgRD,oDAEC;AACD,0DAEC;AAyCD,0DAEC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Internal plumbing used to build `$`-style wrappers on top of `CommandBuilder`
|
|
3
|
+
* (see `@david/dax`). Not part of the stable public API — types and behavior
|
|
4
|
+
* may change without a semver major.
|
|
5
|
+
*/
|
|
6
|
+
export { type CommandBuilderStateCommand, getRegisteredCommandNamesSymbol, setCommandTextStateSymbol, template, templateRaw, } from "./src/command.js";
|
|
7
|
+
export { Box, LoggerTreeBox, symbols, TreeBox } from "./src/common.js";
|
|
8
|
+
//# sourceMappingURL=internal.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"internal.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@david/shell/0.5.2/internal.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EACL,KAAK,0BAA0B,EAC/B,+BAA+B,EAC/B,yBAAyB,EACzB,QAAQ,EACR,WAAW,GACZ,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,GAAG,EAAE,aAAa,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export { type BeforeCommandCallback, type BeforeCommandSyncCallback, CommandBuilder, CommandChild, CommandResult, escapeArg, KillController, KillSignal, type KillSignalListener, type NonRedirectTemplateExpr, RawArg, rawArg, ShellError, type StreamKind, type TemplateExpr, } from "./src/command.js";
|
|
2
|
+
export type { CommandContext, CommandHandler, CommandPipeReader, CommandPipeWriter } from "./src/commandHandler.js";
|
|
3
|
+
export { type AwaitableReadable, type Closer, type ErrorTailOptions, type Reader, type ShellPipeReaderKind, type ShellPipeWriterKind, type TailDisplayOptions, type TailHeader, type TailHeaderContext, type TailMaxLines, type TailMaxLinesContext, type WriterSync, } from "./src/pipes.js";
|
|
4
|
+
export { type CdChange, type ContinueExecuteResult, type EnvChange, type ExecuteResult, type ExitExecuteResult, type SetEnvVarChange, type SetOptionChange, type SetShellVarChange, type ShellOption, type UnsetVarChange, } from "./src/result.js";
|
|
5
|
+
export { type ShellOptionsState, WhichEnv, whichRealEnv } from "./src/shell.js";
|
|
6
|
+
export { createExecutableCommand, type CreateExecutableCommandOptions } from "./src/commands/executable.js";
|
|
7
|
+
export { type Stderr, stderr, type Stdin, stdin, type Stdout, stdout } from "./src/streams.js";
|
|
8
|
+
export { $, type $Base, type $Type, build$, type Create$Options } from "./src/dollar.js";
|
|
9
|
+
import { $ } from "./src/dollar.js";
|
|
10
|
+
export default $;
|
|
11
|
+
export { create, FsFile, open, type OpenOptions, type WriteFileOptions } from "./src/fsFile.js";
|
|
12
|
+
export type { Signal } from "./src/signal.js";
|
|
13
|
+
export { type Delay, delayToMs } from "./src/common.js";
|
|
14
|
+
export type { ConsoleSize } from "../../console-static-text/0.3.4/mod.js";
|
|
15
|
+
export { FsFileWrapper, Path } from "../../path/0.3.2/mod.js";
|
|
16
|
+
//# sourceMappingURL=mod.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mod.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@david/shell/0.5.2/mod.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,qBAAqB,EAC1B,KAAK,yBAAyB,EAC9B,cAAc,EACd,YAAY,EACZ,aAAa,EACb,SAAS,EACT,cAAc,EACd,UAAU,EACV,KAAK,kBAAkB,EACvB,KAAK,uBAAuB,EAC5B,MAAM,EACN,MAAM,EACN,UAAU,EACV,KAAK,UAAU,EACf,KAAK,YAAY,GAClB,MAAM,kBAAkB,CAAC;AAC1B,YAAY,EAAE,cAAc,EAAE,cAAc,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AACpH,OAAO,EACL,KAAK,iBAAiB,EACtB,KAAK,MAAM,EACX,KAAK,gBAAgB,EACrB,KAAK,MAAM,EACX,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,kBAAkB,EACvB,KAAK,UAAU,EACf,KAAK,iBAAiB,EACtB,KAAK,YAAY,EACjB,KAAK,mBAAmB,EACxB,KAAK,UAAU,GAChB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EACL,KAAK,QAAQ,EACb,KAAK,qBAAqB,EAC1B,KAAK,SAAS,EACd,KAAK,aAAa,EAClB,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,eAAe,EACpB,KAAK,iBAAiB,EACtB,KAAK,WAAW,EAChB,KAAK,cAAc,GACpB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,KAAK,iBAAiB,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAChF,OAAO,EAAE,uBAAuB,EAAE,KAAK,8BAA8B,EAAE,MAAM,8BAA8B,CAAC;AAC5G,OAAO,EAAE,KAAK,MAAM,EAAE,MAAM,EAAE,KAAK,KAAK,EAAE,KAAK,EAAE,KAAK,MAAM,EAAE,MAAM,EAAE,MAAM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