@patternfly/react-code-editor 5.4.0-prerelease.8 → 5.4.0-prerelease.9
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.
- package/CHANGELOG.md +4 -0
- package/README.md +4 -19
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,10 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [5.4.0-prerelease.9](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@5.4.0-prerelease.8...@patternfly/react-code-editor@5.4.0-prerelease.9) (2024-05-10)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @patternfly/react-code-editor
|
|
9
|
+
|
|
6
10
|
# [5.4.0-prerelease.8](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@5.4.0-prerelease.7...@patternfly/react-code-editor@5.4.0-prerelease.8) (2024-04-30)
|
|
7
11
|
|
|
8
12
|
**Note:** Version bump only for package @patternfly/react-code-editor
|
package/README.md
CHANGED
|
@@ -2,42 +2,27 @@
|
|
|
2
2
|
|
|
3
3
|
This package provides a PatternFly wrapper for the Monaco code editor, using the `@monaco-editor/react` package.
|
|
4
4
|
|
|
5
|
-
### Prerequisite
|
|
6
|
-
|
|
7
|
-
#### Node Environment
|
|
8
|
-
|
|
9
|
-
This project currently supports Node [Active LTS](https://github.com/nodejs/Release#release-schedule) releases. Please stay current with Node Active LTS when developing patternfly-react.
|
|
10
|
-
|
|
11
|
-
For example, to develop with Node 18, use the following:
|
|
12
|
-
|
|
13
|
-
```
|
|
14
|
-
nvm install 18
|
|
15
|
-
nvm use 18
|
|
16
|
-
```
|
|
17
|
-
|
|
18
|
-
This project also requires a Yarn version of >=1.6.0. The latest version can be installed [here](https://yarnpkg.com/).
|
|
19
|
-
|
|
20
5
|
### Installing
|
|
21
6
|
|
|
22
|
-
```
|
|
7
|
+
```sh
|
|
23
8
|
yarn add @patternfly/react-code-editor
|
|
24
9
|
```
|
|
25
10
|
|
|
26
11
|
or
|
|
27
12
|
|
|
28
|
-
```
|
|
13
|
+
```sh
|
|
29
14
|
npm install @patternfly/react-code-editor
|
|
30
15
|
```
|
|
31
16
|
|
|
32
17
|
[!NOTE] For TypeScript type definitions, this package uses the `monaco-editor` package as a peer dependency. So, if you need types and don't already have the `monaco-editor package` installed, you will need to do so:
|
|
33
18
|
|
|
34
|
-
```
|
|
19
|
+
```sh
|
|
35
20
|
yarn add --dev monaco-editor
|
|
36
21
|
```
|
|
37
22
|
|
|
38
23
|
or
|
|
39
24
|
|
|
40
|
-
```
|
|
25
|
+
```sh
|
|
41
26
|
npm install --dev monaco-editor
|
|
42
27
|
```
|
|
43
28
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@patternfly/react-code-editor",
|
|
3
|
-
"version": "5.4.0-prerelease.
|
|
3
|
+
"version": "5.4.0-prerelease.9",
|
|
4
4
|
"description": "This package provides a PatternFly wrapper for the Monaco code editor\n",
|
|
5
5
|
"main": "dist/js/index.js",
|
|
6
6
|
"module": "dist/esm/index.js",
|
|
@@ -30,9 +30,9 @@
|
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
32
|
"@monaco-editor/react": "^4.6.0",
|
|
33
|
-
"@patternfly/react-core": "^5.4.0-prerelease.
|
|
34
|
-
"@patternfly/react-icons": "^5.4.0-prerelease.
|
|
35
|
-
"@patternfly/react-styles": "^5.4.0-prerelease.
|
|
33
|
+
"@patternfly/react-core": "^5.4.0-prerelease.9",
|
|
34
|
+
"@patternfly/react-icons": "^5.4.0-prerelease.3",
|
|
35
|
+
"@patternfly/react-styles": "^5.4.0-prerelease.3",
|
|
36
36
|
"react-dropzone": "14.2.3",
|
|
37
37
|
"tslib": "^2.5.0"
|
|
38
38
|
},
|
|
@@ -44,5 +44,5 @@
|
|
|
44
44
|
"monaco-editor": "^0.47.0",
|
|
45
45
|
"typescript": "^4.7.4"
|
|
46
46
|
},
|
|
47
|
-
"gitHead": "
|
|
47
|
+
"gitHead": "0e2f36ea2290eeb5ba2c3514d7b9b40c069817d7"
|
|
48
48
|
}
|