mirror of
https://github.com/denoland/deno.git
synced 2025-02-01 20:25:12 -05:00
chore(task): remove warning for npm "scripts" (#20880)
This commit is contained in:
parent
27a813daaa
commit
2fb9ddd2e6
9 changed files with 0 additions and 13 deletions
|
@ -1,6 +1,5 @@
|
||||||
Warning Ignoring dependency '@denotest/cjs-default-export' in package.json because its version requirement failed to parse: Invalid specifier version requirement. Unexpected character.
|
Warning Ignoring dependency '@denotest/cjs-default-export' in package.json because its version requirement failed to parse: Invalid specifier version requirement. Unexpected character.
|
||||||
invalid stuff that won't parse
|
invalid stuff that won't parse
|
||||||
~
|
~
|
||||||
Warning Currently only basic package.json `scripts` are supported. Programs like `rimraf` or `cross-env` will not work correctly. This will be fixed in an upcoming release.
|
|
||||||
Task test echo 1
|
Task test echo 1
|
||||||
1
|
1
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
Download http://localhost:4545/npm/registry/@denotest/bin
|
Download http://localhost:4545/npm/registry/@denotest/bin
|
||||||
Download http://localhost:4545/npm/registry/@denotest/bin/1.0.0.tgz
|
Download http://localhost:4545/npm/registry/@denotest/bin/1.0.0.tgz
|
||||||
Initialize @denotest/bin@1.0.0
|
Initialize @denotest/bin@1.0.0
|
||||||
Warning Currently only basic package.json `scripts` are supported. Programs like `rimraf` or `cross-env` will not work correctly. This will be fixed in an upcoming release.
|
|
||||||
Task bin cli-esm testing this out "asdf"
|
Task bin cli-esm testing this out "asdf"
|
||||||
testing
|
testing
|
||||||
this
|
this
|
||||||
|
|
1
cli/tests/testdata/task/npx/non_existent.out
vendored
1
cli/tests/testdata/task/npx/non_existent.out
vendored
|
@ -1,3 +1,2 @@
|
||||||
Warning Currently only basic package.json `scripts` are supported. Programs like `rimraf` or `cross-env` will not work correctly. This will be fixed in an upcoming release.
|
|
||||||
Task non-existent npx this-command-should-not-exist-for-you
|
Task non-existent npx this-command-should-not-exist-for-you
|
||||||
npx: could not resolve command 'this-command-should-not-exist-for-you'
|
npx: could not resolve command 'this-command-should-not-exist-for-you'
|
||||||
|
|
1
cli/tests/testdata/task/npx/on_own.out
vendored
1
cli/tests/testdata/task/npx/on_own.out
vendored
|
@ -1,3 +1,2 @@
|
||||||
Warning Currently only basic package.json `scripts` are supported. Programs like `rimraf` or `cross-env` will not work correctly. This will be fixed in an upcoming release.
|
|
||||||
Task on-own npx
|
Task on-own npx
|
||||||
npx: missing command
|
npx: missing command
|
||||||
|
|
1
cli/tests/testdata/task/package_json/bin.out
vendored
1
cli/tests/testdata/task/package_json/bin.out
vendored
|
@ -5,7 +5,6 @@ Initialize @denotest/bin@0.5.0
|
||||||
Download http://localhost:4545/npm/registry/@denotest/bin/1.0.0.tgz
|
Download http://localhost:4545/npm/registry/@denotest/bin/1.0.0.tgz
|
||||||
Initialize @denotest/bin@1.0.0
|
Initialize @denotest/bin@1.0.0
|
||||||
[UNORDERED_END]
|
[UNORDERED_END]
|
||||||
Warning Currently only basic package.json `scripts` are supported. Programs like `rimraf` or `cross-env` will not work correctly. This will be fixed in an upcoming release.
|
|
||||||
Task bin @denotest/bin hi && cli-esm testing this out && npx cli-cjs test "extra"
|
Task bin @denotest/bin hi && cli-esm testing this out && npx cli-cjs test "extra"
|
||||||
hi
|
hi
|
||||||
testing
|
testing
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
Warning Currently only basic package.json `scripts` are supported. Programs like `rimraf` or `cross-env` will not work correctly. This will be fixed in an upcoming release.
|
|
||||||
Task test echo 'test'
|
Task test echo 'test'
|
||||||
test
|
test
|
||||||
Task posttest echo 'posttest'
|
Task posttest echo 'posttest'
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
Warning Currently only basic package.json `scripts` are supported. Programs like `rimraf` or `cross-env` will not work correctly. This will be fixed in an upcoming release.
|
|
||||||
Task pretest echo 'pretest'
|
Task pretest echo 'pretest'
|
||||||
pretest
|
pretest
|
||||||
Task test echo 'test'
|
Task test echo 'test'
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
Warning Currently only basic package.json `scripts` are supported. Programs like `rimraf` or `cross-env` will not work correctly. This will be fixed in an upcoming release.
|
|
||||||
Task pretest echo 'pretest'
|
Task pretest echo 'pretest'
|
||||||
pretest
|
pretest
|
||||||
Task test echo 'test'
|
Task test echo 'test'
|
||||||
|
|
|
@ -90,11 +90,6 @@ pub async fn execute_script(
|
||||||
npm_resolver.resolve_pending().await?;
|
npm_resolver.resolve_pending().await?;
|
||||||
}
|
}
|
||||||
|
|
||||||
log::info!(
|
|
||||||
"{} Currently only basic package.json `scripts` are supported. Programs like `rimraf` or `cross-env` will not work correctly. This will be fixed in an upcoming release.",
|
|
||||||
colors::yellow("Warning"),
|
|
||||||
);
|
|
||||||
|
|
||||||
let cwd = match task_flags.cwd {
|
let cwd = match task_flags.cwd {
|
||||||
Some(path) => canonicalize_path(&PathBuf::from(path))?,
|
Some(path) => canonicalize_path(&PathBuf::from(path))?,
|
||||||
None => maybe_package_json
|
None => maybe_package_json
|
||||||
|
|
Loading…
Add table
Reference in a new issue