From dc1da309274823c15ad8ade0545678f8a9b8e54d Mon Sep 17 00:00:00 2001 From: await-ovo <13152410380@163.com> Date: Tue, 19 Sep 2023 04:02:58 +0800 Subject: fix(cli): for main-module that exists in package.json, use the version defined in package.json directly (#20328) --- cli/tests/testdata/npm/registry/@denotest/bin/0.5.0/package.json | 2 +- cli/tests/testdata/npm/registry/@denotest/bin/0.6.0/package.json | 2 +- cli/tests/testdata/npm/registry/@denotest/bin/1.0.0/package.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'cli/tests/testdata/npm/registry/@denotest/bin') diff --git a/cli/tests/testdata/npm/registry/@denotest/bin/0.5.0/package.json b/cli/tests/testdata/npm/registry/@denotest/bin/0.5.0/package.json index caa2ef538..1b077a52e 100644 --- a/cli/tests/testdata/npm/registry/@denotest/bin/0.5.0/package.json +++ b/cli/tests/testdata/npm/registry/@denotest/bin/0.5.0/package.json @@ -1,5 +1,5 @@ { - "name": "@deno/bin", + "name": "@denotest/bin", "version": "0.5.0", "bin": "./cli.mjs" } diff --git a/cli/tests/testdata/npm/registry/@denotest/bin/0.6.0/package.json b/cli/tests/testdata/npm/registry/@denotest/bin/0.6.0/package.json index db50464bc..a9ff2d946 100644 --- a/cli/tests/testdata/npm/registry/@denotest/bin/0.6.0/package.json +++ b/cli/tests/testdata/npm/registry/@denotest/bin/0.6.0/package.json @@ -1,4 +1,4 @@ { - "name": "@deno/bin", + "name": "@denotest/bin", "version": "0.6.0" } diff --git a/cli/tests/testdata/npm/registry/@denotest/bin/1.0.0/package.json b/cli/tests/testdata/npm/registry/@denotest/bin/1.0.0/package.json index 78a1abff2..27118c21a 100644 --- a/cli/tests/testdata/npm/registry/@denotest/bin/1.0.0/package.json +++ b/cli/tests/testdata/npm/registry/@denotest/bin/1.0.0/package.json @@ -1,5 +1,5 @@ { - "name": "@deno/bin", + "name": "@denotest/bin", "version": "1.0.0", "bin": { "cli-esm": "./cli.mjs", -- cgit v1.2.3