-
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.
- Loading branch information
1 parent
67ac35c
commit 4e2e212
Showing
24 changed files
with
88 additions
and
55 deletions.
There are no files selected for viewing
10 changes: 10 additions & 0 deletions
10
tests/specs/npm/workspace_version_wildcards/__test__.jsonc
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,10 @@ | ||
{ | ||
"tempDir": true, | ||
"steps": [{ | ||
"args": "install", | ||
"output": "[WILDCARD]" | ||
}, { | ||
"args": "run e/main.ts", | ||
"output": "main.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 @@ | ||
export function sayHello() { | ||
console.log("Hello from a!"); | ||
} |
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,7 @@ | ||
{ | ||
"name": "@denotest/a", | ||
"version": "1.0.0", | ||
"exports": { | ||
".": "./mod.ts" | ||
} | ||
} |
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 @@ | ||
export function sayHello() { | ||
console.log("Hello from b!"); | ||
} |
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,7 @@ | ||
{ | ||
"name": "@denotest/b", | ||
"version": "1.0.0", | ||
"exports": { | ||
".": "./mod.ts" | ||
} | ||
} |
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 @@ | ||
export function sayHello() { | ||
console.log("Hello from c!"); | ||
} |
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,7 @@ | ||
{ | ||
"name": "@denotest/c", | ||
"version": "1.0.0", | ||
"exports": { | ||
".": "./mod.ts" | ||
} | ||
} |
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 @@ | ||
export function sayHello() { | ||
console.log("Hello from d!"); | ||
} |
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,7 @@ | ||
{ | ||
"name": "@denotest/d", | ||
"version": "1.2.3", | ||
"exports": { | ||
".": "./mod.ts" | ||
} | ||
} |
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 @@ | ||
import * as a from "@denotest/a"; | ||
import * as b from "@denotest/b"; | ||
import * as c from "@denotest/c"; | ||
import * as d from "@denotest/d"; | ||
|
||
a.sayHello(); | ||
b.sayHello(); | ||
c.sayHello(); | ||
d.sayHello(); |
10 changes: 10 additions & 0 deletions
10
tests/specs/npm/workspace_version_wildcards/e/package.json
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,10 @@ | ||
{ | ||
"name": "@denotest/e", | ||
"version": "1.0.0", | ||
"dependencies": { | ||
"@denotest/a": "workspace:*", | ||
"@denotest/b": "workspace:~", | ||
"@denotest/c": "workspace:^", | ||
"@denotest/d": "workspace:1.2.3" | ||
} | ||
} |
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 @@ | ||
Hello from a! | ||
Hello from b! | ||
Hello from c! | ||
Hello from d! |
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,6 @@ | ||
// should resolve these as bare specifiers within the workspace | ||
import * as a from "@denotest/a"; | ||
import * as c from "@denotest/c"; | ||
|
||
a.sayHello(); | ||
c.sayHello(); |
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 @@ | ||
{ | ||
"workspaces": [ | ||
"./a", | ||
"./b", | ||
"./c", | ||
"./d", | ||
"./e" | ||
] | ||
} |
10 changes: 0 additions & 10 deletions
10
tests/specs/run/workspaces/package_json_wildcards/__test__.jsonc
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
8 changes: 0 additions & 8 deletions
8
tests/specs/run/workspaces/package_json_wildcards/package.json
This file was deleted.
Oops, something went wrong.
3 changes: 0 additions & 3 deletions
3
tests/specs/run/workspaces/package_json_wildcards/packages/bar/mod.js
This file was deleted.
Oops, something went wrong.
6 changes: 0 additions & 6 deletions
6
tests/specs/run/workspaces/package_json_wildcards/packages/bar/package.json
This file was deleted.
Oops, something went wrong.
3 changes: 0 additions & 3 deletions
3
tests/specs/run/workspaces/package_json_wildcards/packages/buzz/mod.js
This file was deleted.
Oops, something went wrong.
6 changes: 0 additions & 6 deletions
6
tests/specs/run/workspaces/package_json_wildcards/packages/buzz/package.json
This file was deleted.
Oops, something went wrong.
3 changes: 0 additions & 3 deletions
3
tests/specs/run/workspaces/package_json_wildcards/packages/fizz/mod.js
This file was deleted.
Oops, something went wrong.
6 changes: 0 additions & 6 deletions
6
tests/specs/run/workspaces/package_json_wildcards/packages/fizz/package.json
This file was deleted.
Oops, something went wrong.