Skip to content

Commit 257c80d

Browse files
committed
Extract buildDependencies script and update submodules versions
1 parent 1172140 commit 257c80d

File tree

7 files changed

+14
-11
lines changed

7 files changed

+14
-11
lines changed

.npmignore

+1
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,5 @@ esdoc.json
1212
gulpfile.babel.js
1313
runTests.sh
1414
runTests.ps1
15+
buildDependencies.sh
1516
node_modules/

bolt-connection/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "neo4j-driver-bolt-connection",
3-
"version": "4.3.0",
3+
"version": "4.3.0-dev",
44
"description": "Implements the connection with the Neo4j Database using the Bolt Protocol",
55
"main": "lib/index.js",
66
"types": "types/index.d.ts",

buildDependencies.sh

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#!/bin/bash
2+
3+
npm --prefix core ci
4+
npm --prefix core run build
5+
npm --prefix bolt-connection ci
6+
npm --prefix bolt-connection run build

core/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "neo4j-driver-core",
3-
"version": "4.3.0",
3+
"version": "4.3.0-dev",
44
"description": "Internals of neo4j-driver",
55
"main": "lib/index.js",
66
"types": "types/index.d.ts",

neo4j-driver-lite/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "neo4j-driver-lite",
3-
"version": "4.3.0",
3+
"version": "4.3.0-dev",
44
"description": "Connect to Neo4j 3.5.0 and up from JavaScript",
55
"main": "lib/index.js",
66
"types": "types/index.d.ts",

package.json

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "neo4j-driver",
3-
"version": "4.0.0-dev",
4-
"description": "Connect to Neo4j 3.4.0 and up from JavaScript",
3+
"version": "4.3.0-dev",
4+
"description": "Connect to Neo4j 3.5.0 and up from JavaScript",
55
"author": "Neo4j",
66
"license": "Apache-2.0",
77
"repository": {
@@ -20,8 +20,7 @@
2020
"predocs": "cd core && npm run docs",
2121
"docs": "esdoc -c esdoc.json",
2222
"versionRelease": "gulp set --x $VERSION && npm version $VERSION --no-git-tag-version",
23-
"browser": "gulp browser && gulp test-browser",
24-
"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"
23+
"browser": "gulp browser && gulp test-browser"
2524
},
2625
"husky": {
2726
"hooks": {

runTests.sh

+1-4
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,7 @@ trap finish EXIT
77

88
npm install -g gulp typescript jest
99

10-
npm --prefix ./core/ ci
11-
npm --prefix ./core/ run build
12-
npm --prefix ./bolt-connection/ ci
13-
npm --prefix ./bolt-connection/ run build
10+
./buildDependencies.sh
1411

1512
npm ci
1613

0 commit comments

Comments
 (0)