-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: use mocked package in test (#9475)
### Description Use a mocked `@types` package instead of a real one in test so we don't hit the npm registry. ### Testing Instructions <!-- Give a quick description of steps to test your changes. -->
- Loading branch information
1 parent
ac4435a
commit 82ae03c
Showing
5 changed files
with
10 additions
and
8 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
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 |
---|---|---|
|
@@ -6,6 +6,6 @@ | |
}, | ||
"dependencies": { | ||
"utils": "*", | ||
"@types/d3-scale": "^4.0.2" | ||
"@types/ship": "*" | ||
} | ||
} |
1 change: 1 addition & 0 deletions
1
turborepo-tests/integration/fixtures/turbo_trace_monorepo/packages/ship-types/index.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 @@ | ||
export type Ship = "pirate" | "privateer" | "corvette"; |
4 changes: 4 additions & 0 deletions
4
turborepo-tests/integration/fixtures/turbo_trace_monorepo/packages/ship-types/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,4 @@ | ||
{ | ||
"name": "@types/ship", | ||
"types": "index.ts" | ||
} |