Skip to content

Commit

Permalink
fix(compat): update patch for typescript@4.8.1-rc (#4738)
Browse files Browse the repository at this point in the history
* fix(compat): update patch for `typescript@4.8.1-rc`

* test: add Babel config to compat test
  • Loading branch information
merceyz committed Aug 18, 2022
1 parent cb7a677 commit 06929db
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
@@ -1,6 +1,6 @@
{
"name": "typescript",
"version": "4.8.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
@@ -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
Expand Up @@ -61,6 +61,10 @@ The following changes only affect people writing Yarn plugins:
- `yarn dlx` will no longer report false-positive `UNUSED_PACKAGE_EXTENSION` warnings
- 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
Expand Up @@ -24,7 +24,7 @@
"eslint": "^8.2.0",
"jest": "^28.1.3",
"tslib": "^2.4.0",
"typescript": "4.8.0-beta"
"typescript": "4.8.1-rc"
},
"resolutions": {
"ink": "patch:ink@npm%3A3.0.8#~/.yarn/patches/ink-npm-3.0.8-3a8005f59f.patch",
Expand Down
2 changes: 1 addition & 1 deletion packages/gatsby/package.json
Expand Up @@ -89,7 +89,7 @@
"typedoc": "0.17.0-3",
"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
@@ -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
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

0 comments on commit 06929db

Please sign in to comment.