Skip to content

Extract buildDependencies script and update submodules versions #711

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 13, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,5 @@ esdoc.json
gulpfile.babel.js
runTests.sh
runTests.ps1
buildDependencies.sh
node_modules/
2 changes: 1 addition & 1 deletion bolt-connection/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
6 changes: 6 additions & 0 deletions buildDependencies.sh
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion core/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion neo4j-driver-lite/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
7 changes: 3 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand All @@ -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": {
Expand Down
5 changes: 1 addition & 4 deletions runTests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down