From a251321d46557019a86ecb290a2a2f97c27c524c Mon Sep 17 00:00:00 2001 From: Jack Date: Tue, 21 Nov 2023 13:57:41 +0800 Subject: [PATCH] Notify user the required node version for running neo4j-browser (#20) * Notify user the required node version for running neo4j-browser * Version bump * Self-review --- README.md | 9 ++++++--- src/neo4j-arc/package.json | 2 +- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 7b345dabbcd..9ebabbb5f6b 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Neo4j Browser +# Neo4j Browser ![Node Version Badge is Missing][node version badge] [![npm registry][npm registry]](https://img.shields.io/npm/v/neo4j-devtools-arc?logo=npm&style=for-the-badge) @@ -26,8 +26,10 @@ Browser has a subproject of re-usable components bundled together and exposed as ## Development -Running Neo4j Browser locally requires Node.js (^12.4.0) and for dependencies we use yarn (`npm install -g yarn`). -To install dependencies and then start the development server at `http://localhost:8080`: +Running Neo4j Browser locally requires Node.js (^12.4.0, below 18) and for dependencies we use yarn +(`npm install -g yarn`). To install dependencies and then start the development server at `http://localhost:8080`: + +> To switch node version with a version manager, please try [nvm](https://qubitpi.github.io/hashicorp-aws/blog/nvm) ```shell yarn install @@ -80,4 +82,5 @@ CYPRESS_BASE_URL= (default http://localhost:80 Example: `CYPRESS_E2E_TEST_ENV="local" CYPRESS_BASE_URL=http://localhost:30000 cypress open --env server=4.2` +[node version badge]: https://img.shields.io/badge/NODE-≥12.4.0%20<18.0.0-339933?logo=Node.js&logoColor=white&labelColor=66cc33&style=for-the-badge [npm registry]: https://img.shields.io/npm/v/neo4j-devtools-arc?logo=npm&style=for-the-badge diff --git a/src/neo4j-arc/package.json b/src/neo4j-arc/package.json index 4aa569b5a6c..dea5493dae0 100644 --- a/src/neo4j-arc/package.json +++ b/src/neo4j-arc/package.json @@ -1,6 +1,6 @@ { "name": "neo4j-devtools-arc", - "version": "0.0.51", + "version": "0.0.52", "main": "dist/neo4j-arc.js", "author": "Neo4j Inc.", "license": "GPL-3.0",