Skip to content

Commit 08544de

Browse files
authored
#10287 – Upgrade miew-react to 0.12.0 (#10288)
* Initial plan * chore: upgrade miew-react from 0.11.0 to 0.12.0 miew-react 0.12.0 adds official React 19 support. The package was accidentally published with a `workspace:^` protocol for its `miew` dependency (a yarn monorepo artifact that npm cannot resolve). To work around this, package-lock.json files pre-resolve `miew` to 0.12.0 from the npm registry, bypassing the unsupported protocol. This workaround should be removed once miew-react publishes a corrected version. Closes #10287 * Fix Playwright workflow workspace install --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
1 parent d42938a commit 08544de

7 files changed

Lines changed: 24 additions & 34 deletions

File tree

.github/workflows/run-tests-popup.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,6 @@ jobs:
8181
run: |
8282
cd example/ && nohup npm run serve:standalone > /dev/null 2>&1 &
8383
cd ketcher-autotests/
84-
npm i
8584
npx playwright install chromium
8685
npx playwright test --project=chromium-popup --shard=${{ matrix.shardIndex }}/${{ matrix.shardTotal }}
8786
- uses: actions/upload-artifact@v4

.github/workflows/run-tests.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,6 @@ jobs:
8181
run: |
8282
cd example/ && nohup npm run serve:standalone > /dev/null 2>&1 &
8383
cd ketcher-autotests/
84-
npm i
8584
npx playwright install chromium
8685
npx playwright test --project=chromium --shard=${{ matrix.shardIndex }}/${{ matrix.shardTotal }}
8786
- uses: actions/upload-artifact@v4

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ You can find the instruction for service installation
9292
Ketcher uses Miew-React for viewing and editing data in 3D.
9393

9494
You can find the latest version of Miew-React [here](https://github.com/epam/miew/tree/master/packages/miew-react).
95-
The last checked version - [1.0.0](https://www.npmjs.com/package/miew-react).
95+
The last checked version - [0.12.0](https://www.npmjs.com/package/miew-react).
9696

9797
## Macromolecules mode
9898
Starting with version 3.0, Ketcher supports a new control in the top toolbar that allows switching to macromolecules editing mode. If you prefer having only small molecules editing mode available, you can remove the mode switcher from the toolbar by passing `disableMacromoleculesEditor` property to the `Editor` component.

example-ssr/package-lock.json

Lines changed: 10 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package-lock.json

Lines changed: 11 additions & 19 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/ketcher-react/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,4 +80,4 @@ const MyComponent = () => {
8080
```
8181

8282
You can find the latest version of Miew-React [here](https://github.com/epam/miew/tree/master/packages/miew-react).
83-
The last checked version - [1.0.0](https://www.npmjs.com/package/miew-react).
83+
The last checked version - [0.12.0](https://www.npmjs.com/package/miew-react).

packages/ketcher-react/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
"ketcher-core": "*",
6767
"lexical": "^0.40.0",
6868
"lodash": "^4.18.1",
69-
"miew-react": "0.11.0",
69+
"miew-react": "0.12.0",
7070
"paper": "^0.12.18",
7171
"react-colorful": "^5.4.0",
7272
"react-contexify": "^6.0.0",

0 commit comments

Comments
 (0)