From 6dd0a82317742dadb3e661b8ea9cae8bf4fd3e88 Mon Sep 17 00:00:00 2001 From: hasundue Date: Tue, 7 May 2024 12:23:03 +0900 Subject: [PATCH] fix(cli): better error messages on unresolved deps This fix is introduced by @molt/core@0.18.2 --- cli/deno.json | 4 ++-- cli/deno.lock | 25 +------------------------ deno.lock | 2 ++ test/snapshots/cli_test.ts.snap | 2 +- 4 files changed, 6 insertions(+), 27 deletions(-) diff --git a/cli/deno.json b/cli/deno.json index 17b61b8e..1781356b 100644 --- a/cli/deno.json +++ b/cli/deno.json @@ -1,6 +1,6 @@ { "name": "@molt/cli", - "version": "0.18.1", + "version": "0.18.2", "exports": { ".": "./main.ts" }, @@ -16,7 +16,7 @@ "@core/unknownutil": "jsr:@core/unknownutil@3.18.0", "@david/dax": "jsr:@david/dax@0.40.0", "@molt/lib": "jsr:@molt/lib@^0.18.0", - "@molt/core": "jsr:@molt/core@^0.18.1", + "@molt/core": "jsr:@molt/core@^0.18.2", "@molt/integration": "jsr:@molt/integration@0.18.0", "@std/assert": "jsr:@std/assert@0.222.1", "@std/collections": "jsr:@std/collections@0.222.1", diff --git a/cli/deno.lock b/cli/deno.lock index 75d51959..411204fa 100644 --- a/cli/deno.lock +++ b/cli/deno.lock @@ -11,10 +11,7 @@ "jsr:@core/unknownutil@^3.18.0": "jsr:@core/unknownutil@3.18.0", "jsr:@david/dax@0.40.0": "jsr:@david/dax@0.40.0", "jsr:@david/which@0.3": "jsr:@david/which@0.3.0", - "jsr:@deno/graph@^0.73.1": "jsr:@deno/graph@0.73.1", - "jsr:@lambdalisue/async@^2.1.1": "jsr:@lambdalisue/async@2.1.1", "jsr:@molt/core@0.18.0": "jsr:@molt/core@0.18.0", - "jsr:@molt/core@^0.18.1": "jsr:@molt/core@0.18.1", "jsr:@molt/integration@0.18.0": "jsr:@molt/integration@0.18.0", "jsr:@molt/lib@^0.18.0": "jsr:@molt/lib@0.18.0", "jsr:@std/assert@0.222.1": "jsr:@std/assert@0.222.1", @@ -102,29 +99,9 @@ "@david/which@0.3.0": { "integrity": "6bdb62c40ac90edcf328e854fa8103a8db21e7c326089cbe3c3a1cf7887d3204" }, - "@deno/graph@0.73.1": { - "integrity": "cd69639d2709d479037d5ce191a422eabe8d71bb68b0098344f6b07411c84d41" - }, - "@lambdalisue/async@2.1.1": { - "integrity": "1fc9bc6f4ed50215cd2f7217842b18cea80f81c25744f88f8c5eb4be5a1c9ab4" - }, "@molt/core@0.18.0": { "integrity": "1476bda0c71b70a600ef237619ef33f53868d14196b417e50148061e9308ec59" }, - "@molt/core@0.18.1": { - "integrity": "d2aa5a9e5de08a72f011cc427bd9dec7d5339c588ef3812cf1813c5292686072", - "dependencies": [ - "jsr:@core/unknownutil@^3.18.0", - "jsr:@deno/graph@^0.73.1", - "jsr:@lambdalisue/async@^2.1.1", - "jsr:@std/assert@^0.222.1", - "jsr:@std/collections@^0.222.1", - "jsr:@std/fs@^0.222.1", - "jsr:@std/jsonc@^0.222.1", - "jsr:@std/path@^0.222.1", - "jsr:@std/semver@^0.222.1" - ] - }, "@molt/integration@0.18.0": { "integrity": "647ce52410725c305e75e2df18f07091f5ae99d6dcb6849da57dc1f2893d5c2c", "dependencies": [ @@ -517,7 +494,7 @@ "jsr:@cliffy/command@1.0.0-rc.4", "jsr:@core/unknownutil@3.18.0", "jsr:@david/dax@0.40.0", - "jsr:@molt/core@^0.18.1", + "jsr:@molt/core@^0.18.2", "jsr:@molt/integration@0.18.0", "jsr:@molt/lib@^0.18.0", "jsr:@std/assert@0.222.1", diff --git a/deno.lock b/deno.lock index 57bb964e..e1fc9c6e 100644 --- a/deno.lock +++ b/deno.lock @@ -352,6 +352,8 @@ }, "remote": { "https://deno.land/x/dir@1.5.1/data_local_dir/mod.ts": "91eb1c4bfadfbeda30171007bac6d85aadacd43224a5ed721bbe56bc64e9eb66", + "https://deno.land/x/import_map@v0.19.1/import_map.generated.js": "c46023bef881ccecc740740962331f98decbfe72d88644396bf674145c20dd1e", + "https://deno.land/x/import_map@v0.19.1/mod.ts": "dd4c4e20639dcfd720a6d41f47bea250db86137901a08988102094678c6b7859", "https://deno.land/x/wasmbuild@0.15.1/cache.ts": "9d01b5cb24e7f2a942bbd8d14b093751fa690a6cde8e21709ddc97667e6669ed", "https://deno.land/x/wasmbuild@0.15.1/loader.ts": "8c2fc10e21678e42f84c5135d8ab6ab7dc92424c3f05d2354896a29ccfd02a63" }, diff --git a/test/snapshots/cli_test.ts.snap b/test/snapshots/cli_test.ts.snap index 29b54eb1..ed15f4d6 100644 --- a/test/snapshots/cli_test.ts.snap +++ b/test/snapshots/cli_test.ts.snap @@ -65,7 +65,7 @@ Options: snapshot[`cli - "molt --help" 2`] = `""`; snapshot[`cli - "molt --version" 1`] = ` -"0.18.1 +"0.18.2 " `;