diff --git a/.node-version b/.node-version index 18711d2..1117d41 100644 --- a/.node-version +++ b/.node-version @@ -1 +1 @@ -14.17.5 +18.20.5 diff --git a/.nodenv b/.nodenv index 18711d2..1117d41 100644 --- a/.nodenv +++ b/.nodenv @@ -1 +1 @@ -14.17.5 +18.20.5 diff --git a/.nvmrc b/.nvmrc new file mode 100644 index 0000000..1117d41 --- /dev/null +++ b/.nvmrc @@ -0,0 +1 @@ +18.20.5 diff --git a/README.md b/README.md old mode 100755 new mode 100644 index 0c90dc5..4de67b8 --- a/README.md +++ b/README.md @@ -1 +1,13 @@ -WIP WIP +# Using nvm + +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: + +```sh +nvm use +``` + +If you do not have the required Node.js version installed, you can install it using the following command: + +```sh +nvm install +``` diff --git a/package.json b/package.json index 892b16a..0700d93 100644 --- a/package.json +++ b/package.json @@ -20,6 +20,6 @@ "turbo": "^1.0.0" }, "engines": { - "node": ">=14.0.0" + "node": ">=18.20.5" } } diff --git a/packages/docs-react/.nvmrc b/packages/docs-react/.nvmrc new file mode 100644 index 0000000..1117d41 --- /dev/null +++ b/packages/docs-react/.nvmrc @@ -0,0 +1 @@ +18.20.5 diff --git a/packages/docs-react/package.json b/packages/docs-react/package.json index d3ec639..f5f67ed 100644 --- a/packages/docs-react/package.json +++ b/packages/docs-react/package.json @@ -42,7 +42,8 @@ "json-schema-ref-parser": "^7.0.1", "ts-jest": "^24.0.0", "tslint": "^5.14.0", - "typescript": "^3.9.7" + "typescript": "^3.9.7", + "react-scripts": "3.4.4" }, "files": [ "build" diff --git a/packages/inspector/.nvmrc b/packages/inspector/.nvmrc new file mode 100644 index 0000000..1117d41 --- /dev/null +++ b/packages/inspector/.nvmrc @@ -0,0 +1 @@ +18.20.5 diff --git a/packages/inspector/package.json b/packages/inspector/package.json index 36a5f25..cc8a0a9 100644 --- a/packages/inspector/package.json +++ b/packages/inspector/package.json @@ -22,15 +22,15 @@ "author": "", "license": "Apache-2.0", "devDependencies": { - "@rescripts/cli": "0.0.13", - "@rescripts/utilities": "0.0.6", + "@rescripts/cli": "latest", + "@rescripts/utilities": "0.0.7", "@types/jest": "^24.0.13", "@types/qs": "^6.5.3", "@types/react-dom": "^16.8.4", "@types/use-persisted-state": "^0.3.0", "jest": "24.9.0", "monaco-editor-webpack-plugin": "^1.7.0", - "react-scripts": "^3.3.0", + "react-scripts": "3.4.4", "ts-jest": "^24.0.2", "tslint": "^5.17.0", "typescript": "^3.7.3" diff --git a/packages/logs-react/.nvmrc b/packages/logs-react/.nvmrc new file mode 100644 index 0000000..1117d41 --- /dev/null +++ b/packages/logs-react/.nvmrc @@ -0,0 +1 @@ +18.20.5 diff --git a/packages/logs-react/package.json b/packages/logs-react/package.json index 626d115..900e432 100644 --- a/packages/logs-react/package.json +++ b/packages/logs-react/package.json @@ -9,7 +9,7 @@ ], "publishConfig": { "access": "public" - }, + ], "scripts": { "start": "rescripts start", "build": "rescripts build", @@ -20,12 +20,12 @@ "author": "", "license": "Apache-2.0", "devDependencies": { - "@rescripts/cli": "0.0.14", + "@rescripts/cli": "latest", "@rescripts/utilities": "0.0.7", "@types/jest": "^24.0.13", "@types/react-dom": "16.9.4", "monaco-editor-webpack-plugin": "1.7.0", - "react-scripts": "3.4.1", + "react-scripts": "3.4.4", "ts-jest": "^24.0.2", "tslint": "^5.17.0", "typescript": "^3.7.3" diff --git a/packages/playground/.nvmrc b/packages/playground/.nvmrc new file mode 100644 index 0000000..1117d41 --- /dev/null +++ b/packages/playground/.nvmrc @@ -0,0 +1 @@ +18.20.5 diff --git a/packages/playground/package.json b/packages/playground/package.json index feb7e16..932cd43 100644 --- a/packages/playground/package.json +++ b/packages/playground/package.json @@ -60,8 +60,8 @@ "not op_mini all" ], "devDependencies": { - "@rescripts/cli": "0.0.13", - "@rescripts/utilities": "0.0.6", + "@rescripts/cli": "latest", + "@rescripts/utilities": "0.0.7", "@types/classnames": "^2.2.9", "@types/css-mediaquery": "^0.1.0", "@types/jest": "^24.0.23", @@ -72,7 +72,7 @@ "@types/react-dom": "^16.8.4", "css-mediaquery": "^0.1.2", "monaco-editor-webpack-plugin": "^1.7.0", - "react-scripts": "^3.4.3", + "react-scripts": "3.4.4", "tslint": "^6.1.3", "typescript": "^3.7.3" },