-
Notifications
You must be signed in to change notification settings - Fork 5.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(add): only add npm deps to package.json if it's at least as close…
- Loading branch information
1 parent
826e42a
commit 2c8a0e7
Showing
5 changed files
with
61 additions
and
1 deletion.
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
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,4 @@ | ||
{ | ||
"name": "@test/subdir", | ||
"exports": "./mod.ts" | ||
} |
Empty file.
9 changes: 9 additions & 0 deletions
9
tests/specs/add/package_json_and_deno_json/subdir/prefer_if_closer_deno.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,9 @@ | ||
{ | ||
"name": "@test/subdir", | ||
"exports": "./mod.ts", | ||
"imports": { | ||
"@denotest/add": "jsr:@denotest/add@^1.0.0", | ||
"@denotest/esm-basic": "npm:@denotest/esm-basic@^1.0.0", | ||
"@denotest/say-hello": "npm:@denotest/say-hello@^1.0.0" | ||
} | ||
} |