-
Notifications
You must be signed in to change notification settings - Fork 5.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(outdated): support updating dependencies in external import maps (#…
…27339) Fixes #27331. The support for it was already in `outdated`, but forgot to wire up the updating part Needs #27337
- Loading branch information
1 parent
3946956
commit 9d315f2
Showing
9 changed files
with
137 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
{ | ||
"tempDir": true, | ||
"steps": [ | ||
{ | ||
"args": "i", | ||
"output": "[WILDCARD]" | ||
}, | ||
{ | ||
"args": "outdated", | ||
"output": "outdated.out" | ||
}, | ||
{ | ||
"args": "outdated --update --latest", | ||
"output": "update.out" | ||
}, | ||
{ | ||
"args": [ | ||
"eval", | ||
"console.log(Deno.readTextFileSync('import_map.json').trim())" | ||
], | ||
"output": "import_map.json.out" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"importMap": "import_map.json" | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"imports": { | ||
"@denotest/add": "jsr:@denotest/add@^0.2.0", | ||
"@denotest/subtract": "jsr:@denotest/subtract@^0.2.0", | ||
"@denotest/breaking-change-between-versions": "npm:@denotest/[email protected]", | ||
"@denotest/has-patch-versions": "npm:@denotest/has-patch-versions@^0.1.0" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"imports": { | ||
"@denotest/add": "jsr:@denotest/add@^1.0.0", | ||
"@denotest/subtract": "jsr:@denotest/subtract@^1.0.0", | ||
"@denotest/breaking-change-between-versions": "npm:@denotest/breaking-change-between-versions@^2.0.0", | ||
"@denotest/has-patch-versions": "npm:@denotest/has-patch-versions@^0.2.0" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
import { add } from "@denotest/add"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
┌────────────────────────────────────────────────┬─────────┬────────┬────────┐ | ||
│ Package │ Current │ Update │ Latest │ | ||
├────────────────────────────────────────────────┼─────────┼────────┼────────┤ | ||
│ jsr:@denotest/subtract │ 0.2.0 │ 0.2.0 │ 1.0.0 │ | ||
├────────────────────────────────────────────────┼─────────┼────────┼────────┤ | ||
│ jsr:@denotest/add │ 0.2.0 │ 0.2.1 │ 1.0.0 │ | ||
├────────────────────────────────────────────────┼─────────┼────────┼────────┤ | ||
│ npm:@denotest/has-patch-versions │ 0.1.0 │ 0.1.1 │ 0.2.0 │ | ||
├────────────────────────────────────────────────┼─────────┼────────┼────────┤ | ||
│ npm:@denotest/breaking-change-between-versions │ 1.0.0 │ 1.0.0 │ 2.0.0 │ | ||
└────────────────────────────────────────────────┴─────────┴────────┴────────┘ | ||
|
||
Run deno outdated --update --latest to update to the latest available versions, | ||
or deno outdated --help for more information. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
[UNORDERED_START] | ||
Download http://127.0.0.1:4250/@denotest/subtract/1.0.0/mod.ts | ||
Download http://127.0.0.1:4250/@denotest/add/1.0.0/mod.ts | ||
Download http://localhost:4260/@denotest/has-patch-versions/0.2.0.tgz | ||
Download http://localhost:4260/@denotest/breaking-change-between-versions/2.0.0.tgz | ||
[UNORDERED_END] | ||
Updated 4 dependencies: | ||
- jsr:@denotest/add 0.2.0 -> 1.0.0 | ||
- jsr:@denotest/subtract 0.2.0 -> 1.0.0 | ||
- npm:@denotest/breaking-change-between-versions 1.0.0 -> 2.0.0 | ||
- npm:@denotest/has-patch-versions 0.1.0 -> 0.2.0 |