Skip to content
Merged
Show file tree
Hide file tree
Changes from 7 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
942 changes: 942 additions & 0 deletions .yarn/releases/yarn-4.12.0.cjs

Large diffs are not rendered by default.

934 changes: 0 additions & 934 deletions .yarn/releases/yarn-4.6.0.cjs

This file was deleted.

2 changes: 1 addition & 1 deletion .yarnrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ enableGlobalCache: true

nodeLinker: node-modules

yarnPath: .yarn/releases/yarn-4.6.0.cjs
yarnPath: .yarn/releases/yarn-4.12.0.cjs
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would you mind if I opened a PR and replaced it with npm or pnpm?
yarnpkg/berry#6999

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We already use yarn in the main repo. If you are blocked by that yarn issue, we can patch the yarn used in Babel repos.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! It's just a bit inconvenient, but I can work around this issue for now.
Let's talk about that when we want to upgrade to Yarn 6.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wow, thank you!

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh OK, I went ahead and patched the yarn version. Do you want to revert the patch or keep it?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's keep it in this repository, since the default preview command requires this patch. Other repositories rarely use yarn run.

Copy link
Copy Markdown
Contributor Author

@JLHwung JLHwung Feb 23, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah it is trivial to apply the patch, just search and replace @goto: If you prefer you can also open a similar PR to the main repo. As I remember it's not the first time we patch yarn. For the time being I will keep this patch as it may benefit other potential contributors using Windows.

2 changes: 1 addition & 1 deletion docs/eslint-parser.md
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ Additional configuration options can be set in your ESLint configuration under t
</TabItem>
</Tabs>

:::babel7
:::

#### use glob-based configuration

Expand Down
24 changes: 12 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,9 @@
"@docusaurus/preset-classic": "^3.9.2",
"@docusaurus/remark-plugin-npm2yarn": "^3.9.2",
"@eslint/js": "^9.35.0",
"@mdx-js/react": "^3.1.1",
"@types/node": "^24.0.4",
"@types/react": "^19.1.1",
"@types/react": "^19.2.14",
"eslint": "^9.35.0",
"eslint-formatter-codeframe": "^7.32.1",
"eslint-plugin-react": "^7.37.5",
Expand All @@ -62,22 +63,21 @@
},
"dependencies": {
"@emotion/css": "^11.10.6",
"@shikijs/engine-oniguruma": "^3.9.2",
"@shikijs/langs": "^3.9.2",
"@shikijs/monaco": "^3.9.2",
"@shikijs/themes": "^3.9.2",
"algoliasearch": "^5.23.3",
"@shikijs/engine-oniguruma": "^3.22.0",
"@shikijs/langs": "^3.22.0",
"@shikijs/monaco": "^3.22.0",
"@shikijs/themes": "^3.22.0",
"algoliasearch": "^5.49.0",
"clsx": "^2.1.1",
"core-js": "^3.43.0",
"lodash.camelcase": "^4.3.0",
"lodash.debounce": "^4.0.8",
"lz-string": "^1.5.0",
"monaco-editor": "^0.52.2",
"react": "^19.1.1",
"react-dom": "^19.1.1",
"react-instantsearch": "^7.16.2",
"react": "^19.2.4",
"react-dom": "^19.2.4",
"react-instantsearch": "^7.24.0",
"regenerator-runtime": "^0.14.0",
"shiki": "^3.9.2"
"shiki": "^3.22.0"
},
"workspaces": [
"./website"
Expand All @@ -89,5 +89,5 @@
"git add"
]
},
"packageManager": "yarn@4.6.0"
"packageManager": "yarn@4.12.0"
}
4 changes: 2 additions & 2 deletions website/src/components/repl/lib/pluginConfig.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import camelCase from "lodash.camelcase";
import type { PluginConfig, MultiPackagesConfig, ReplState } from "./types";
import { toCamelCase } from "./utils";

const normalizePluginName = (pluginName) =>
`_babel_${camelCase(`plugin-${pluginName}`)}`;
`_babel_${toCamelCase(`plugin-${pluginName}`)}`;

const babelConfig: PluginConfig = {
label: "Babel",
Expand Down
Loading