-
-
Notifications
You must be signed in to change notification settings - Fork 187
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrade to TypeScript v5.0 and set module{,Resolution}
option to Node16
#3645
Changes from 60 commits
bf479b4
5084b8f
1d77aa8
dd45b15
6e73a35
cad9be5
a014d03
1d8944a
c509fb4
94ddd59
c21f3f9
1b6fec9
8a5c556
853340d
aceb333
fc9c89f
6af5113
dc29903
ac77a7b
a8b8a0d
b35692d
4cfe39a
468f6d3
cbf9e38
55a507e
90962b5
7760b3d
cbbd428
a67c547
864ec65
9bbd37d
bf5d240
2ca4265
cb032c2
07fbffc
d9160c6
1a1b497
9ddd7e6
261638a
e0ff883
9226a38
555ec31
6defd76
99abde6
0910cea
f28ecd5
67f1484
f37057c
b0fd3b8
b8f8c52
87af678
f2f7d1f
6f69db3
27ba6c5
b0c81fb
09b29ca
de15ab3
59fe394
6b0075d
f50b209
5f0b948
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -312,19 +312,19 @@ gen_enforced_field(WorkspaceCwd, 'scripts.changelog:update', CorrectChangelogUpd | |
\+ atom_concat(ExpectedPrefix, _, ChangelogUpdateCommand). | ||
|
||
% All non-root packages must have the same "test" script. | ||
gen_enforced_field(WorkspaceCwd, 'scripts.test', 'jest --reporters=jest-silent-reporter') :- | ||
gen_enforced_field(WorkspaceCwd, 'scripts.test', 'NODE_OPTIONS=--experimental-vm-modules jest --reporters=jest-silent-reporter') :- | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The |
||
WorkspaceCwd \= '.'. | ||
|
||
% All non-root packages must have the same "test:clean" script. | ||
gen_enforced_field(WorkspaceCwd, 'scripts.test:clean', 'jest --clearCache') :- | ||
gen_enforced_field(WorkspaceCwd, 'scripts.test:clean', 'NODE_OPTIONS=--experimental-vm-modules jest --clearCache') :- | ||
WorkspaceCwd \= '.'. | ||
|
||
% All non-root packages must have the same "test:verbose" script. | ||
gen_enforced_field(WorkspaceCwd, 'scripts.test:verbose', 'jest --verbose') :- | ||
gen_enforced_field(WorkspaceCwd, 'scripts.test:verbose', 'NODE_OPTIONS=--experimental-vm-modules jest --verbose') :- | ||
WorkspaceCwd \= '.'. | ||
|
||
% All non-root packages must have the same "test:watch" script. | ||
gen_enforced_field(WorkspaceCwd, 'scripts.test:watch', 'jest --watch') :- | ||
gen_enforced_field(WorkspaceCwd, 'scripts.test:watch', 'NODE_OPTIONS=--experimental-vm-modules jest --watch') :- | ||
WorkspaceCwd \= '.'. | ||
|
||
% All dependency ranges must be recognizable (this makes it possible to apply | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -43,6 +43,7 @@ | |
"pre-push": "yarn lint" | ||
}, | ||
"resolutions": { | ||
"@metamask/[email protected]/@metamask/providers": "17.1.1", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
"tsup@^8.0.2": "patch:tsup@npm%3A8.0.2#./.yarn/patches/tsup-npm-8.0.2-86e40f68a7.patch" | ||
}, | ||
"devDependencies": { | ||
|
@@ -82,10 +83,11 @@ | |
"nock": "^13.3.1", | ||
"prettier": "^2.7.1", | ||
"prettier-plugin-packagejson": "^2.4.5", | ||
"rimraf": "^5.0.5", | ||
"simple-git-hooks": "^2.8.0", | ||
"ts-node": "^10.9.1", | ||
"tsup": "^8.0.2", | ||
"typescript": "~4.9.5", | ||
"typescript": "~5.0.4", | ||
"yargs": "^17.7.2" | ||
}, | ||
"packageManager": "[email protected]", | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,6 +7,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 | |
|
||
## [Unreleased] | ||
|
||
### Uncategorized | ||
|
||
- Please hold off on new releases of this package until the yarn resolution for `@metamask/providers` is removed. | ||
- This is blocked by a `@metamask/snaps-sdk` release with `@metamask/providers` bumped to `>=17.1.1`. | ||
- See: [Fix regressions introduced by @metamask/[email protected]](https://github.com/MetaMask/snaps/pull/2579) | ||
- Build error fixed by yarn resolution: [MetaMask/core/actions/runs/10011688901/job/27675682526?pr=3645](https://github.com/MetaMask/core/actions/runs/10011688901/job/27675682526?pr=3645) | ||
|
||
Comment on lines
+10
to
+16
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The packages affected by the yarn resolution are In any case, these three packages will be excluded from the core releases that follow this PR, since they are blocked by a |
||
## [17.2.0] | ||
|
||
### Added | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Only listed as a devDep in the root package.json, where it's used in a build script but not in any modules.