From bc51eca70000e809ef3b64f66e9482316768e02a Mon Sep 17 00:00:00 2001 From: Asher Gomez Date: Tue, 3 Sep 2024 01:27:37 +1000 Subject: BREAKING: remove `deno bundle` (#25339) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit `deno bundle` now produces: ``` error: ⚠️ `deno bundle` was removed in Deno 2. See the Deno 1.x to 2.x Migration Guide for migration instructions: https://docs.deno.com/runtime/manual/advanced/migrate_deprecations ``` `deno bundle --help` now produces: ``` ⚠️ `deno bundle` was removed in Deno 2. See the Deno 1.x to 2.x Migration Guide for migration instructions: https://docs.deno.com/runtime/manual/advanced/migrate_deprecations Usage: deno bundle [OPTIONS] Options: -q, --quiet Suppress diagnostic output --unstable Enable all unstable features and APIs. Instead of using this flag, consider enabling individual unstable features To view the list of individual unstable feature flags, run this command again with --help=unstable ``` --- tests/specs/bundle/removed/__test__.jsonc | 13 +++++++++++++ tests/specs/bundle/removed/bundle.out | 3 +++ tests/specs/bundle/removed/bundle_help.out | 10 ++++++++++ 3 files changed, 26 insertions(+) create mode 100644 tests/specs/bundle/removed/__test__.jsonc create mode 100644 tests/specs/bundle/removed/bundle.out create mode 100644 tests/specs/bundle/removed/bundle_help.out (limited to 'tests/specs/bundle/removed') diff --git a/tests/specs/bundle/removed/__test__.jsonc b/tests/specs/bundle/removed/__test__.jsonc new file mode 100644 index 000000000..b33842de2 --- /dev/null +++ b/tests/specs/bundle/removed/__test__.jsonc @@ -0,0 +1,13 @@ +{ + "steps": [ + { + "args": "bundle", + "output": "bundle.out", + "exitCode": 1 + }, + { + "args": "bundle --help", + "output": "bundle_help.out" + } + ] +} diff --git a/tests/specs/bundle/removed/bundle.out b/tests/specs/bundle/removed/bundle.out new file mode 100644 index 000000000..d1d8d00d6 --- /dev/null +++ b/tests/specs/bundle/removed/bundle.out @@ -0,0 +1,3 @@ +error: ⚠️ `deno bundle` was removed in Deno 2. + +See the Deno 1.x to 2.x Migration Guide for migration instructions: https://docs.deno.com/runtime/manual/advanced/migrate_deprecations diff --git a/tests/specs/bundle/removed/bundle_help.out b/tests/specs/bundle/removed/bundle_help.out new file mode 100644 index 000000000..d8e83b95d --- /dev/null +++ b/tests/specs/bundle/removed/bundle_help.out @@ -0,0 +1,10 @@ +⚠️ `deno bundle` was removed in Deno 2. + +See the Deno 1.x to 2.x Migration Guide for migration instructions: https://docs.deno.com/runtime/manual/advanced/migrate_deprecations + +Usage: deno bundle [OPTIONS] + +Options: + -q, --quiet Suppress diagnostic output + --unstable Enable all unstable features and APIs. Instead of using this flag, consider enabling individual unstable features + To view the list of individual unstable feature flags, run this command again with --help=unstable -- cgit v1.2.3