Skip to content

Commit

Permalink
fix: disallow typescript@4.8 peer dep
Browse files Browse the repository at this point in the history
remove typescript@4.8 from the peer dependency range
since typescript@4.8 is incompatible with parcel at this time.
make sure we use typescript 4.7 for development everywhere.
  • Loading branch information
levino committed Sep 5, 2022
1 parent 527e477 commit 16866de
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 14 deletions.
4 changes: 2 additions & 2 deletions packages/transformers/typescript-tsc/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@
"@parcel/ts-utils": "2.7.0"
},
"devDependencies": {
"typescript": ">=3.0.0"
"typescript": "~4.7"
},
"peerDependencies": {
"typescript": ">=3.0.0"
"typescript": "3.0.0 - 4.7"
}
}
4 changes: 2 additions & 2 deletions packages/transformers/typescript-types/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@
"nullthrows": "^1.1.1"
},
"devDependencies": {
"typescript": ">=3.0.0"
"typescript": "~4.7"
},
"peerDependencies": {
"typescript": ">=3.0.0"
"typescript": "3.0.0 - 4.7"
}
}
2 changes: 1 addition & 1 deletion packages/utils/parcel-lsp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,6 @@
"@typescript-eslint/parser": "^4.14.1",
"eslint": "^7.19.0",
"glob": "^7.1.6",
"typescript": "^4.6.4"
"typescript": "~4.7"
}
}
2 changes: 1 addition & 1 deletion packages/utils/parcelforvscode/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"eslint": "^7.19.0",
"glob": "^7.1.6",
"mocha": "^8.2.1",
"typescript": "^4.6.4",
"typescript": "~4.7",
"vscode-test": "^1.5.0"
},
"dependencies": {
Expand Down
4 changes: 2 additions & 2 deletions packages/utils/ts-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@
"nullthrows": "^1.1.1"
},
"devDependencies": {
"typescript": ">=3.0.0"
"typescript": "~4.7"
},
"peerDependencies": {
"typescript": ">=3.0.0"
"typescript": "3.0.0 - 4.7"
}
}
4 changes: 2 additions & 2 deletions packages/validators/typescript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@
"@parcel/utils": "2.7.0"
},
"devDependencies": {
"typescript": ">=3.0.0"
"typescript": "~4.7"
},
"peerDependencies": {
"typescript": ">=3.0.0"
"typescript": "3.0.0 - 4.7"
}
}
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -13256,10 +13256,10 @@ typedarray@^0.0.6:
resolved "https://registry.yarnpkg.com/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777"
integrity sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c=

typescript@>=3.0.0, typescript@^4.6.4:
version "4.6.4"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.6.4.tgz#caa78bbc3a59e6a5c510d35703f6a09877ce45e9"
integrity sha512-9ia/jWHIEbo49HfjrLGfKbZSuWo9iTMwXO+Ca3pRsSpbsMbc7/IU8NKdCZVRRBafVPGnoJeFL76ZOAA84I9fEg==
typescript@~4.7:
version "4.7.4"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.7.4.tgz#1a88596d1cf47d59507a1bcdfb5b9dfe4d488235"
integrity sha512-C0WQT0gezHuw6AdY1M2jxUO83Rjf0HP7Sk1DtXj6j1EwkQNZrHAg2XPWlq62oqEhYvONq5pkC2Y9oPljWToLmQ==

uglify-js@^3.1.4:
version "3.7.6"
Expand Down

0 comments on commit 16866de

Please sign in to comment.