diff --git a/.npmignore b/.npmignore index 3bbae7404..d18d88d36 100644 --- a/.npmignore +++ b/.npmignore @@ -12,4 +12,5 @@ esdoc.json gulpfile.babel.js runTests.sh runTests.ps1 +buildDependencies.sh node_modules/ diff --git a/bolt-connection/package.json b/bolt-connection/package.json index d8425aa4f..0524ef7c7 100644 --- a/bolt-connection/package.json +++ b/bolt-connection/package.json @@ -1,6 +1,6 @@ { "name": "neo4j-driver-bolt-connection", - "version": "4.3.0", + "version": "4.3.0-dev", "description": "Implements the connection with the Neo4j Database using the Bolt Protocol", "main": "lib/index.js", "types": "types/index.d.ts", diff --git a/buildDependencies.sh b/buildDependencies.sh new file mode 100755 index 000000000..8279c75b2 --- /dev/null +++ b/buildDependencies.sh @@ -0,0 +1,6 @@ +#!/bin/bash + +npm --prefix core ci +npm --prefix core run build +npm --prefix bolt-connection ci +npm --prefix bolt-connection run build diff --git a/core/package.json b/core/package.json index c1222eaf1..daedb80ee 100644 --- a/core/package.json +++ b/core/package.json @@ -1,6 +1,6 @@ { "name": "neo4j-driver-core", - "version": "4.3.0", + "version": "4.3.0-dev", "description": "Internals of neo4j-driver", "main": "lib/index.js", "types": "types/index.d.ts", diff --git a/neo4j-driver-lite/package.json b/neo4j-driver-lite/package.json index 28325e898..d52738632 100644 --- a/neo4j-driver-lite/package.json +++ b/neo4j-driver-lite/package.json @@ -1,6 +1,6 @@ { "name": "neo4j-driver-lite", - "version": "4.3.0", + "version": "4.3.0-dev", "description": "Connect to Neo4j 3.5.0 and up from JavaScript", "main": "lib/index.js", "types": "types/index.d.ts", diff --git a/package.json b/package.json index 8a03e2973..419638db7 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "neo4j-driver", - "version": "4.0.0-dev", - "description": "Connect to Neo4j 3.4.0 and up from JavaScript", + "version": "4.3.0-dev", + "description": "Connect to Neo4j 3.5.0 and up from JavaScript", "author": "Neo4j", "license": "Apache-2.0", "repository": { @@ -20,8 +20,7 @@ "predocs": "cd core && npm run docs", "docs": "esdoc -c esdoc.json", "versionRelease": "gulp set --x $VERSION && npm version $VERSION --no-git-tag-version", - "browser": "gulp browser && gulp test-browser", - "prepack": "cd core && npm pack && cd .. && npm i ./core/neo4j-driver-core-4.3.0.tgz && cd bolt-connection && npm pack && cd .. && npm i ./bolt-connection/neo4j-driver-bolt-connection-4.3.0.tgz" + "browser": "gulp browser && gulp test-browser" }, "husky": { "hooks": { diff --git a/runTests.sh b/runTests.sh index e3bb4a813..c73fb27ea 100755 --- a/runTests.sh +++ b/runTests.sh @@ -7,10 +7,7 @@ trap finish EXIT npm install -g gulp typescript jest -npm --prefix ./core/ ci -npm --prefix ./core/ run build -npm --prefix ./bolt-connection/ ci -npm --prefix ./bolt-connection/ run build +./buildDependencies.sh npm ci