Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: bump ink from 3.2.0 5.1.0, bump react from 17.0.2 to 18.3.1 #6648

Closed
wants to merge 2 commits into from
Closed
Changes from all 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
1,033 changes: 557 additions & 476 deletions .pnp.cjs

Large diffs are not rendered by default.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed .yarn/cache/ink-npm-3.2.0-2f1df5b094-cfbd8808cd.zip
Binary file not shown.
Binary file not shown.
Binary file removed .yarn/cache/ink-patch-68b5a63278-04dad338ca.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
31 changes: 0 additions & 31 deletions .yarn/patches/ink-npm-3.2.0-2f1df5b094.patch

This file was deleted.

12 changes: 12 additions & 0 deletions .yarn/versions/f5873988.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
releases:
"@yarnpkg/builder": minor
"@yarnpkg/cli": minor

declined:
- "@yarnpkg/plugin-constraints"
- "@yarnpkg/plugin-exec"
- "@yarnpkg/plugin-interactive-tools"
- "@yarnpkg/plugin-stage"
- "@yarnpkg/plugin-typescript"
- "@yarnpkg/plugin-version"
- "@yarnpkg/plugin-workspace-tools"
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -27,7 +27,6 @@
"typescript": "^5.5.2"
},
"resolutions": {
"ink@^3.2.0": "patch:ink@npm%3A3.2.0#~/.yarn/patches/ink-npm-3.2.0-2f1df5b094.patch",
"yoga-layout-prebuilt": "patch:[email protected]#./.yarn/patches/yoga-layout-prebuilt.patch"
},
"dependenciesMeta": {
4 changes: 2 additions & 2 deletions packages/docusaurus/package.json
Original file line number Diff line number Diff line change
@@ -50,7 +50,7 @@
"os-browserify": "^0.3.0",
"path-browserify": "^1.0.1",
"prism-react-renderer": "^2.3.1",
"react": "^18.2.0",
"react": "^18.3.1",
"react-dom": "^18.2.0",
"react-instantsearch-dom": "^6.36.0",
"react-instantsearch-hooks-web": "^6.36.0",
@@ -88,7 +88,7 @@
"@types/marked": "^5.0.0",
"@types/mdast": "^4.0.3",
"@types/node": "^18.19.15",
"@types/react": "^18.2.54",
"@types/react": "^18.3.18",
"@types/react-instantsearch-dom": "^6",
"@types/react-modal": "^3",
"@types/react-virtualized": "^9",
9 changes: 5 additions & 4 deletions packages/plugin-interactive-tools/package.json
Original file line number Diff line number Diff line change
@@ -12,9 +12,10 @@
"algoliasearch": "^4.2.0",
"clipanion": "^4.0.0-rc.2",
"diff": "^5.1.0",
"ink": "^3.2.0",
"ink-text-input": "^4.0.3",
"react": "^17.0.2",
"ink": "^5.1.0",
"ink-text-input": "^6.0.0",
"react": "^18.3.1",
"react-devtools-core": "^4.19.1",
"semver": "^7.1.2",
"tslib": "^2.4.0"
},
@@ -25,7 +26,7 @@
},
"devDependencies": {
"@types/diff": "^5.0.0",
"@types/react": "^16.8.0",
"@types/react": "^18.3.18",
"@types/semver": "^7.1.0",
"@yarnpkg/builder": "workspace:^",
"@yarnpkg/cli": "workspace:^",
7 changes: 4 additions & 3 deletions packages/plugin-version/package.json
Original file line number Diff line number Diff line change
@@ -12,9 +12,10 @@
"@yarnpkg/libui": "workspace:^",
"@yarnpkg/parsers": "workspace:^",
"clipanion": "^4.0.0-rc.2",
"ink": "^3.2.0",
"ink": "^5.1.0",
"lodash": "^4.17.15",
"react": "^17.0.2",
"react": "^18.3.1",
"react-devtools-core": "^4.19.1",
"semver": "^7.1.2",
"tslib": "^2.4.0"
},
@@ -25,7 +26,7 @@
},
"devDependencies": {
"@types/lodash": "^4.14.136",
"@types/react": "^16.8.0",
"@types/react": "^18.3.18",
"@types/semver": "^7.1.0",
"@yarnpkg/builder": "workspace:^",
"@yarnpkg/cli": "workspace:^",
2 changes: 1 addition & 1 deletion packages/yarnpkg-builder/sources/commands/build/bundle.ts
Original file line number Diff line number Diff line change
@@ -141,7 +141,7 @@ export default class BuildBundleCommand extends Command {
// Default extensions + .mjs
resolveExtensions: [`.tsx`, `.ts`, `.jsx`, `.mjs`, `.js`, `.css`, `.json`],
logLevel: `silent`,
format: `iife`,
format: `esm`,
platform: `node`,
plugins: [valLoader],
minify: !this.noMinify,
11 changes: 6 additions & 5 deletions packages/yarnpkg-libui/package.json
Original file line number Diff line number Diff line change
@@ -7,20 +7,21 @@
"sources"
],
"peerDependencies": {
"ink": "^3.0.8",
"react": "^17.0.2"
"ink": "^5.1.0",
"react": "^18.3.1"
},
"devDependencies": {
"@types/react": "^16.8.0",
"ink": "^3.2.0",
"react": "^17.0.2"
"@types/react": "^18.3.18",
"ink": "^5.1.0",
"react": "^18.3.1"
},
"repository": {
"type": "git",
"url": "ssh://[email protected]/yarnpkg/berry.git",
"directory": "packages/yarnpkg-libui"
},
"dependencies": {
"react-devtools-core": "^4.19.1",
"tslib": "^2.4.0"
},
"scripts": {
557 changes: 276 additions & 281 deletions yarn.lock

Large diffs are not rendered by default.


Unchanged files with check annotations Beta

const {useMinistore} = await import(`@yarnpkg/libui/sources/hooks/useMinistore`);
const {renderForm} = await import(`@yarnpkg/libui/sources/misc/renderForm`);
const {default: InkTextInput} = await import(`ink-text-input`);

Check failure on line 38 in packages/plugin-interactive-tools/sources/commands/search.tsx

GitHub Actions / Testing chores

Cannot find module 'ink-text-input' or its corresponding type declarations.
const {Box, Text} = await import(`ink`);

Check failure on line 39 in packages/plugin-interactive-tools/sources/commands/search.tsx

GitHub Actions / Testing chores

Cannot find module 'ink' or its corresponding type declarations.
const {default: React, useEffect, useState} = await import(`react`);
const configuration = await Configuration.find(this.context.cwd, this.context.plugins);
const {ScrollableItems} = await import(`@yarnpkg/libui/sources/components/ScrollableItems`);
const {useMinistore} = await import(`@yarnpkg/libui/sources/hooks/useMinistore`);
const {renderForm} = await import(`@yarnpkg/libui/sources/misc/renderForm`);
const {Box, Text} = await import(`ink`);

Check failure on line 49 in packages/plugin-interactive-tools/sources/commands/upgrade-interactive.tsx

GitHub Actions / Testing chores

Cannot find module 'ink' or its corresponding type declarations.
const {default: React, useEffect, useRef, useState} = await import(`react`);
const configuration = await Configuration.find(this.context.cwd, this.context.plugins);