@willbooster/monaco-react 1.0.2 → 1.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +3 -2
  2. package/package.json +7 -13
package/README.md CHANGED
@@ -1,8 +1,9 @@
1
1
  # @willbooster/monaco-react
2
2
 
3
+ [![Test](https://github.com/WillBooster/monaco-react/actions/workflows/test.yml/badge.svg)](https://github.com/WillBooster/monaco-react/actions/workflows/test.yml)
4
+ [![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)
3
5
  [![monthly downloads](https://img.shields.io/npm/dm/@willbooster/monaco-react)](https://www.npmjs.com/package/@willbooster/monaco-react)
4
6
  [![npm version](https://img.shields.io/npm/v/@willbooster/monaco-react.svg?style=flat)](https://www.npmjs.com/package/@willbooster/monaco-react)
5
- [![Test](https://github.com/WillBooster/monaco-react/actions/workflows/test.yml/badge.svg)](https://github.com/WillBooster/monaco-react/actions/workflows/test.yml)
6
7
 
7
8
  React components for [Monaco Editor](https://microsoft.github.io/monaco-editor/), powered by [`@willbooster/monaco-loader`](https://github.com/WillBooster/monaco-loader).
8
9
 
@@ -14,7 +15,7 @@ This package is a maintained fork of [`suren-atoyan/monaco-react`](https://githu
14
15
  yarn add @willbooster/monaco-react monaco-editor
15
16
  ```
16
17
 
17
- `react`, `react-dom`, and `monaco-editor` are peer dependencies. React 16.8 through 19 are supported.
18
+ `react`, `react-dom`, and `monaco-editor` are peer dependencies. This package supports React 19.x, Node.js 24 or newer, and is tested with Next.js 16.
18
19
 
19
20
  ## Usage
20
21
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@willbooster/monaco-react",
3
- "version": "1.0.2",
3
+ "version": "1.0.4",
4
4
  "description": "Monaco Editor for React - use the monaco-editor in any React application without needing to use webpack (or rollup/parcel/etc) configuration files / plugins",
5
5
  "keywords": [
6
6
  "code",
@@ -42,12 +42,11 @@
42
42
  "check-all-for-ai": "yarn check-for-ai && yarn test",
43
43
  "check-for-ai": "yarn install > /dev/null && yarn format > /dev/null 2> /dev/null || true && yarn lint-fix --quiet",
44
44
  "cleanup": "yarn format && yarn lint-fix",
45
- "format": "sort-package-json && yarn format-code && yarn prettify",
45
+ "format": "sort-package-json && yarn format-code",
46
46
  "format-code": "oxfmt --write --no-error-on-unmatched-pattern .",
47
47
  "lint": "oxlint --no-error-on-unmatched-pattern .",
48
48
  "lint-fix": "yarn lint --fix",
49
49
  "prepare": "lefthook install || true",
50
- "prettify": "prettier --cache --color --no-error-on-unmatched-pattern --write \"**/{.*/,}*.{java}\" \"!**/test{-,/}fixtures/**\" || true",
51
50
  "test": "yarn test:unit && yarn test:e2e:next",
52
51
  "test:e2e:next": "yarn build && next build e2e/next-app && playwright test --config e2e/next-app/playwright.config.ts",
53
52
  "test:unit": "vitest",
@@ -55,7 +54,8 @@
55
54
  "typecheck": "tsgo --noEmit"
56
55
  },
57
56
  "dependencies": {
58
- "@willbooster/monaco-loader": "1.0.1"
57
+ "@willbooster/monaco-loader": "1.1.1",
58
+ "monaco-editor": "0.55.1"
59
59
  },
60
60
  "devDependencies": {
61
61
  "@playwright/test": "1.59.1",
@@ -67,20 +67,16 @@
67
67
  "@types/node": "25.6.0",
68
68
  "@types/react": "19.2.14",
69
69
  "@types/react-dom": "19.2.3",
70
- "@typescript/native-preview": "7.0.0-dev.20260417.1",
70
+ "@typescript/native-preview": "7.0.0-dev.20260418.1",
71
71
  "@willbooster/oxfmt-config": "1.2.1",
72
72
  "@willbooster/oxlint-config": "1.4.4",
73
- "@willbooster/prettier-config": "10.4.0",
74
73
  "conventional-changelog-conventionalcommits": "9.3.1",
75
74
  "jsdom": "29.0.2",
76
75
  "lefthook": "2.1.5",
77
- "monaco-editor": "0.55.1",
78
76
  "next": "16.2.4",
79
77
  "oxfmt": "0.45.0",
80
78
  "oxlint": "1.60.0",
81
79
  "oxlint-tsgolint": "0.21.0",
82
- "prettier": "3.8.2",
83
- "prettier-plugin-java": "2.8.1",
84
80
  "react": "19.2.5",
85
81
  "react-dom": "19.2.5",
86
82
  "semantic-release": "25.0.3",
@@ -90,11 +86,9 @@
90
86
  "vitest": "4.1.4"
91
87
  },
92
88
  "peerDependencies": {
93
- "monaco-editor": "^0.55.1",
94
- "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
95
- "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0"
89
+ "react": "^19.0.0",
90
+ "react-dom": "^19.0.0"
96
91
  },
97
- "prettier": "@willbooster/prettier-config",
98
92
  "engines": {
99
93
  "node": ">=24"
100
94
  },