Skip to content

Commit b693e15

Browse files
authored
Merge pull request #2 from open-rpc/BelfordZ/fix-npm-install-error
Fix npm install error by removing monaco-vim and updating dependencies
2 parents 6869ccf + 0171460 commit b693e15

File tree

19 files changed

+32
-109
lines changed

19 files changed

+32
-109
lines changed

.node-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
14.17.5
1+
18.20.5

.nodenv

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
14.17.5
1+
18.20.5

.nvmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
18.20.5

README.md

100755100644
Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,13 @@
1-
WIP WIP
1+
# Using nvm
2+
3+
This project uses `nvm` to manage Node.js versions. To use the correct Node.js version, run the following command in the root of the repository and in each package directory:
4+
5+
```sh
6+
nvm use
7+
```
8+
9+
If you do not have the required Node.js version installed, you can install it using the following command:
10+
11+
```sh
12+
nvm install
13+
```

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@
2020
"turbo": "^1.0.0"
2121
},
2222
"engines": {
23-
"node": ">=14.0.0"
23+
"node": ">=18.20.5"
2424
}
2525
}

packages/docs-react/.nvmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
18.20.5

packages/docs-react/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,8 @@
4242
"json-schema-ref-parser": "^7.0.1",
4343
"ts-jest": "^24.0.0",
4444
"tslint": "^5.14.0",
45-
"typescript": "^3.9.7"
45+
"typescript": "^3.9.7",
46+
"react-scripts": "3.4.4"
4647
},
4748
"files": [
4849
"build"

packages/inspector/.nvmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
18.20.5

packages/inspector/package.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,15 @@
2222
"author": "",
2323
"license": "Apache-2.0",
2424
"devDependencies": {
25-
"@rescripts/cli": "0.0.13",
26-
"@rescripts/utilities": "0.0.6",
25+
"@rescripts/cli": "latest",
26+
"@rescripts/utilities": "0.0.7",
2727
"@types/jest": "^24.0.13",
2828
"@types/qs": "^6.5.3",
2929
"@types/react-dom": "^16.8.4",
3030
"@types/use-persisted-state": "^0.3.0",
3131
"jest": "24.9.0",
3232
"monaco-editor-webpack-plugin": "^1.7.0",
33-
"react-scripts": "^3.3.0",
33+
"react-scripts": "3.4.4",
3434
"ts-jest": "^24.0.2",
3535
"tslint": "^5.17.0",
3636
"typescript": "^3.7.3"
@@ -61,7 +61,6 @@
6161
"@rehooks/window-size": "^1.0.2",
6262
"acorn-dynamic-import": "^4.0.0",
6363
"monaco-editor": "^0.18.1",
64-
"monaco-vim": "0.0.14",
6564
"qs": "^6.8.0",
6665
"react": "^16.12.0",
6766
"react-dom": "^16.12.0",

packages/inspector/src/containers/JSONRPCRequestEditor.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ import { MethodObject, OpenrpcDocument } from "@open-rpc/meta-schema";
55
import useWindowSize from "@rehooks/window-size";
66
import { addDiagnostics } from "@etclabscore/monaco-add-json-schema-diagnostics";
77
import openrpcDocumentToJSONRPCSchema from "../helpers/openrpcDocumentToJSONRPCSchema";
8-
import useMonacoVimMode from "../hooks/useMonacoVimMode";
98

109
interface IProps {
1110
onChange?: (newValue: any) => void;
@@ -16,7 +15,6 @@ interface IProps {
1615

1716
const JSONRPCRequestEditor: React.FC<IProps> = (props) => {
1817
const [editor, setEditor] = useState();
19-
useMonacoVimMode(editor);
2018
const windowSize = useWindowSize();
2119
useEffect(() => {
2220
if (editor) {

0 commit comments

Comments
 (0)