Skip to content

Commit

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

* test: add Babel config to compat test
  • Loading branch information
merceyz committed Aug 18, 2022
1 parent 5de0763 commit 184ff64
Show file tree
Hide file tree
Showing 19 changed files with 3,121 additions and 54 deletions.
48 changes: 24 additions & 24 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": "4.7.0-beta-sdk",
"version": "4.8.1-rc-sdk",
"main": "./lib/typescript.js",
"type": "commonjs"
}
23 changes: 23 additions & 0 deletions .yarn/versions/c3941e8c.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"
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ Yarn now accepts sponsorships! Please give a look at our [OpenCollective](https:

- When Corepack is enabled Yarn will now use the current CLI to prepare external Yarn classic projects, matching the behaviour of when Corepack is disabled.

### Compatibility

- Updates the PnP compatibility layer for TypeScript 4.8.1-rc

## 3.2.2

### Compatibility
Expand Down
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": "4.8.0-beta"
"typescript": "4.8.1-rc"
},
"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": "4.8.0-beta",
"typescript": "4.8.1-rc",
"unescape-html": "^1.1.0",
"unfetch": "^4.1.0",
"unified": "^7.1.0",
Expand Down
3 changes: 3 additions & 0 deletions packages/plugin-compat/babel.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module.exports = {
extends: require.resolve(`@yarnpkg/monorepo/babel.config.js`),
};
11 changes: 9 additions & 2 deletions packages/plugin-compat/extra/typescript/gen-typescript-patch.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,12 +104,19 @@ const SLICES = [
onto: `6e62273fa1e7469b89b589667c2c233789c62176`,
range: `>=4.7.0-beta <4.8`,
},
// https://github.com/merceyz/TypeScript/tree/merceyz/pnp-4.8
// https://github.com/merceyz/TypeScript/tree/merceyz/pnp-4.8.0-beta
{
from: `3287098f4785fd652112beadf3b33a960fcd19aa`,
to: `3287098f4785fd652112beadf3b33a960fcd19aa`,
onto: `9a09c37878a45b06994485fdb510eb4d24587dcb`,
range: `>=4.8.0-beta`,
range: `>=4.8.0-beta <4.8.1-rc`,
},
// https://github.com/merceyz/TypeScript/tree/merceyz/pnp-4.8
{
from: `623a7ac5aa49250155d39e604b09b4d015468a9c`,
to: `623a7ac5aa49250155d39e604b09b4d015468a9c`,
onto: `60b5167a2a7015759d048cdd4655d1f66a8416a2`,
range: `>=4.8.1-rc`,
},
];

Expand Down
Loading

0 comments on commit 184ff64

Please sign in to comment.