Skip to content

Commit

Permalink
fix(compat): update patch for [email protected] (#5391)
Browse files Browse the repository at this point in the history
* fix(compat): update patch for `[email protected]`

* ci: set lib
  • Loading branch information
merceyz committed Apr 24, 2023
1 parent 1c25b6b commit e1f7c52
Show file tree
Hide file tree
Showing 15 changed files with 2,474 additions and 39 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/e2e-typescript-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
yarn add ts-pnp left-pad @types/left-pad
echo '{"compilerOptions": {"baseUrl": ".", "strict": true, "esModuleInterop": true}}' > tsconfig.json
echo '{"compilerOptions": {"baseUrl": ".", "strict": true, "esModuleInterop": true, "lib": ["es2015"]}}' > tsconfig.json
echo "const foo: number = 42;" | tee file.ts
yarn tsc --noEmit
Expand Down
28 changes: 14 additions & 14 deletions .pnp.cjs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file not shown.
Binary file not shown.
2 changes: 1 addition & 1 deletion .yarn/sdks/typescript/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "typescript",
"version": "5.0.0-beta-sdk",
"version": "5.1.0-beta-sdk",
"main": "./lib/typescript.js",
"type": "commonjs"
}
23 changes: 23 additions & 0 deletions .yarn/versions/5fe011d9.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
releases:
"@yarnpkg/cli": patch
"@yarnpkg/plugin-compat": patch

declined:
- "@yarnpkg/plugin-constraints"
- "@yarnpkg/plugin-dlx"
- "@yarnpkg/plugin-essentials"
- "@yarnpkg/plugin-init"
- "@yarnpkg/plugin-interactive-tools"
- "@yarnpkg/plugin-nm"
- "@yarnpkg/plugin-npm-cli"
- "@yarnpkg/plugin-pack"
- "@yarnpkg/plugin-patch"
- "@yarnpkg/plugin-pnp"
- "@yarnpkg/plugin-pnpm"
- "@yarnpkg/plugin-stage"
- "@yarnpkg/plugin-typescript"
- "@yarnpkg/plugin-version"
- "@yarnpkg/plugin-workspace-tools"
- "@yarnpkg/builder"
- "@yarnpkg/core"
- "@yarnpkg/doctor"
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"jest-junit": "^10.0.0",
"micromatch": "^4.0.2",
"tslib": "^1.13.0",
"typescript": "5.0.1-rc"
"typescript": "5.1.0-beta"
},
"resolutions": {
"yoga-layout-prebuilt": "patch:[email protected]#./.yarn/patches/yoga-layout-prebuilt.patch"
Expand Down
2 changes: 1 addition & 1 deletion packages/gatsby/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
"typedoc": "next",
"typedoc-neo-theme": "^1.0.7",
"typedoc-plugin-yarn": "portal:./typedoc-plugin-yarn",
"typescript": "5.0.1-rc",
"typescript": "5.1.0-beta",
"unescape-html": "^1.1.0",
"unfetch": "^4.1.0",
"unified": "^7.1.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,14 @@ const SLICES = [
from: `2c85874875fdf1f1182733b99afe47604915bfec`,
to: `9a2c1c80b05a5fbd5bc6d2bfcbaa617793a236ab`,
onto: `89515ce7e31d0bfaef776ac25929a78015cceb82`,
range: `>=5.0.1-rc`,
range: `>=5.0.1-rc <5.1.0-beta`,
},
// https://github.com/merceyz/TypeScript/tree/merceyz/pnp-5.1
{
from: `a6ef895fb06014c416cce2f80969912ec5ea47d5`,
to: `a6ef895fb06014c416cce2f80969912ec5ea47d5`,
onto: `1c5cc6152322cd5b131b6e617e0947bcb068fc4a`,
range: `>=5.1.0-beta`,
},
];

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
diff --git a/lib/tsc.js b/lib/tsc.js
index 92bf3cf99..5df945acb 100644
semver exclusivity >=5.0.1-rc
semver exclusivity >=5.0.1-rc <5.1.0-beta
--- a/lib/tsc.js
+++ b/lib/tsc.js
@@ -5153,6 +5153,9 @@ var sys = (() => {
Expand Down Expand Up @@ -329,7 +329,7 @@ semver exclusivity >=5.0.1-rc
synchronizeProgram();
diff --git a/lib/tsserver.js b/lib/tsserver.js
index 20cb517f8..eeac46d44 100644
semver exclusivity >=5.0.1-rc
semver exclusivity >=5.0.1-rc <5.1.0-beta
--- a/lib/tsserver.js
+++ b/lib/tsserver.js
@@ -8601,6 +8601,9 @@ var sys = (() => {
Expand Down Expand Up @@ -966,7 +966,7 @@ semver exclusivity >=5.0.1-rc
this.installer.on("message", (m) => this.handleMessage(m));
diff --git a/lib/tsserverlibrary.js b/lib/tsserverlibrary.js
index a69e846e7..d1973b29c 100644
semver exclusivity >=5.0.1-rc
semver exclusivity >=5.0.1-rc <5.1.0-beta
--- a/lib/tsserverlibrary.js
+++ b/lib/tsserverlibrary.js
@@ -6412,6 +6412,9 @@ ${lanes.join("\n")}
Expand Down Expand Up @@ -1649,7 +1649,7 @@ semver exclusivity >=5.0.1-rc
if (!watchers.has(path)) {
diff --git a/lib/typescript.js b/lib/typescript.js
index 4b53c156e..54d44a8d6 100644
semver exclusivity >=5.0.1-rc
semver exclusivity >=5.0.1-rc <5.1.0-beta
--- a/lib/typescript.js
+++ b/lib/typescript.js
@@ -6412,6 +6412,9 @@ ${lanes.join("\n")}
Expand Down Expand Up @@ -2230,7 +2230,7 @@ semver exclusivity >=5.0.1-rc
kindPrecedence = {
diff --git a/lib/typingsInstaller.js b/lib/typingsInstaller.js
index 00afe537d..97a3bab6b 100644
semver exclusivity >=5.0.1-rc
semver exclusivity >=5.0.1-rc <5.1.0-beta
--- a/lib/typingsInstaller.js
+++ b/lib/typingsInstaller.js
@@ -4587,6 +4587,9 @@ var sys = (() => {
Expand Down
Loading

0 comments on commit e1f7c52

Please sign in to comment.