diff options
| author | await-ovo <13152410380@163.com> | 2023-09-19 04:02:58 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-09-18 20:02:58 +0000 |
| commit | dc1da309274823c15ad8ade0545678f8a9b8e54d (patch) | |
| tree | 95514a8d53c3bcea02f07ac995946c68e5a37fa6 /cli/tests/testdata/npm/run_existing_npm_package_with_subpath | |
| parent | f5963b6a0595810c0e4b6da793ce0d50a9944796 (diff) | |
fix(cli): for main-module that exists in package.json, use the version defined in package.json directly (#20328)
Diffstat (limited to 'cli/tests/testdata/npm/run_existing_npm_package_with_subpath')
| -rw-r--r-- | cli/tests/testdata/npm/run_existing_npm_package_with_subpath/main.out | 5 | ||||
| -rw-r--r-- | cli/tests/testdata/npm/run_existing_npm_package_with_subpath/package.json | 6 |
2 files changed, 11 insertions, 0 deletions
diff --git a/cli/tests/testdata/npm/run_existing_npm_package_with_subpath/main.out b/cli/tests/testdata/npm/run_existing_npm_package_with_subpath/main.out new file mode 100644 index 000000000..bec78df94 --- /dev/null +++ b/cli/tests/testdata/npm/run_existing_npm_package_with_subpath/main.out @@ -0,0 +1,5 @@ +Download http://localhost:4545/npm/registry/@denotest/bin +Download http://localhost:4545/npm/registry/@denotest/bin/1.0.0.tgz +Initialize @denotest/bin@1.0.0 +dev +--help diff --git a/cli/tests/testdata/npm/run_existing_npm_package_with_subpath/package.json b/cli/tests/testdata/npm/run_existing_npm_package_with_subpath/package.json new file mode 100644 index 000000000..e9a7e84ce --- /dev/null +++ b/cli/tests/testdata/npm/run_existing_npm_package_with_subpath/package.json @@ -0,0 +1,6 @@ +{ + "name": "run-existing-npm-package", + "dependencies": { + "@denotest/bin": "1.0.0" + } +} |
