diff options
Diffstat (limited to 'cli/tests/testdata/npm/registry/@denotest')
| -rw-r--r-- | cli/tests/testdata/npm/registry/@denotest/special-chars-in-bin-name/1.0.0/main.mjs | 5 | ||||
| -rw-r--r-- | cli/tests/testdata/npm/registry/@denotest/special-chars-in-bin-name/1.0.0/package.json | 10 |
2 files changed, 15 insertions, 0 deletions
diff --git a/cli/tests/testdata/npm/registry/@denotest/special-chars-in-bin-name/1.0.0/main.mjs b/cli/tests/testdata/npm/registry/@denotest/special-chars-in-bin-name/1.0.0/main.mjs new file mode 100644 index 000000000..0ae8e9190 --- /dev/null +++ b/cli/tests/testdata/npm/registry/@denotest/special-chars-in-bin-name/1.0.0/main.mjs @@ -0,0 +1,5 @@ +import process from "node:process"; + +for (const arg of process.argv.slice(2)) { + console.log(arg); +} diff --git a/cli/tests/testdata/npm/registry/@denotest/special-chars-in-bin-name/1.0.0/package.json b/cli/tests/testdata/npm/registry/@denotest/special-chars-in-bin-name/1.0.0/package.json new file mode 100644 index 000000000..2dce473b5 --- /dev/null +++ b/cli/tests/testdata/npm/registry/@denotest/special-chars-in-bin-name/1.0.0/package.json @@ -0,0 +1,10 @@ +{ + "name": "@denotest/special-chars-in-bin-name", + "version": "1.0.0", + "type": "module", + "main": "main.mjs", + "bin": { + "\\foo\"": "main.mjs" + } + } +
\ No newline at end of file |
