You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/bolt-connection/README.md
+13-3
Original file line number
Diff line number
Diff line change
@@ -6,18 +6,28 @@ This is an internal package shared by the [neo4j-driver](https://www.npmjs.com/p
6
6
7
7
## Building
8
8
9
-
It's required to first build the `neo4j-driver-core` under the `../core` (see instruction on its folder). Then,
9
+
The build of this package is handled by the root package of this repository.
10
+
11
+
First it is needed to install the mono-repo dependencies by running `npm ci` in the root of the repository. Then:
12
+
13
+
* Build all could be performed with
14
+
10
15
11
16
```
12
-
npm install
13
17
npm run build
18
+
```
19
+
* Build only the Core could be performed with
20
+
Builind only Core:
21
+
```
22
+
npm run build -- --scope=neo4j-driver-bolt-connection
23
+
14
24
```
15
25
16
26
This produces a Node.js module version under `lib/`.
17
27
18
28
## Testing
19
29
20
-
The tests can be executed by running `npm test`. For development, you can have the build tool rerun the tests each time you change the source code:
30
+
The tests could be executed by running `npm test` in this package folder. For development, you can have the build tool rerun the tests each time you change the source code:
Copy file name to clipboardExpand all lines: packages/core/README.md
+14-2
Original file line number
Diff line number
Diff line change
@@ -6,16 +6,28 @@ This is a internal package shared by the [neo4j-driver](https://www.npmjs.com/pa
6
6
7
7
## Building
8
8
9
+
The build of this package is handled by the root package of this repository.
10
+
11
+
First it is needed to install the mono-repo dependencies by running `npm ci` in the root of the repository. Then:
12
+
13
+
* Build all could be performed with
14
+
15
+
9
16
```
10
-
npm install
11
17
npm run build
18
+
```
19
+
* Build only the Core could be performed with
20
+
Builind only Core:
21
+
```
22
+
npm run build -- --scope=neo4j-driver-core
23
+
12
24
```
13
25
14
26
This produces a Node.js module version under `lib/`.
15
27
16
28
## Testing
17
29
18
-
The tests could be executed by running `npm test`. For development, you can have the build tool rerun the tests each time you change the source code:
30
+
The tests could be executed by running `npm test` in this package folder. For development, you can have the build tool rerun the tests each time you change the source code:
0 commit comments