Skip to content

Update api docs generation scripts #806

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
Nov 4, 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 package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"scripts": {
"clean": "lerna clean -y && lerna run clean",
"build": "lerna bootstrap --ci",
"docs": "lerna run docs --stream --concurrency 1",
"test::unit": "lerna run test::unit --stream",
"test::integration": "lerna run test::integration --stream",
"test::browser": "lerna run test::browser --stream",
Expand Down
4 changes: 3 additions & 1 deletion packages/core/src/session.ts
Original file line number Diff line number Diff line change
Expand Up @@ -358,10 +358,12 @@ class Session {
}

/**
* Sets the resolved database name in the session context.
* @private
* @param {string|undefined} database The resolved database name
* @returns {void}
*/
_onDatabaseNameResolved(database?: string): void{
_onDatabaseNameResolved(database?: string): void {
if (!this._databaseNameResolved) {
const normalizedDatabase = database || ''
this._database = normalizedDatabase
Expand Down
4 changes: 2 additions & 2 deletions packages/neo4j-driver-lite/esdoc.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,13 @@
"enable": false
},
"brand": {
"title": "Neo4j Bolt Driver 4.3 for JavaScript",
"title": "Neo4j Bolt Driver 4.4 for JavaScript",
"repository": "https://github.com/neo4j/neo4j-javascript-driver"
}
}
},
{
"name": "../docs/embed-docs.plugin.js",
"name": "../neo4j-driver/docs/embed-docs.plugin.js",
"option": {
"enabled": true,
"path": "../core/docs"
Expand Down
2 changes: 1 addition & 1 deletion packages/neo4j-driver-lite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"version::set_version.ts": "sed 's/0.0.0-dev/'$VERSION'/g' src/version.ts > src/version.tmp && mv src/version.tmp src/version.ts",
"versionRelease": "npm version $VERSION --no-git-tag-version && npm run version::set_version.ts",
"build::es6": "tsc --target ES6 --outdir lib6",
"predocs": "cd ../core && npm run docs && cd ../neo4j-driver-lite && npm run build && npm run build::es6",
"predocs": "npm run build && npm run build::es6",
"docs": "esdoc -c esdoc.json",
"prepare": "npm run build && npm run build:browser",
"clean": "rm -fr node_modules lib types"
Expand Down
4 changes: 2 additions & 2 deletions packages/neo4j-driver/esdoc.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"enable": true
},
"brand": {
"title": "Neo4j Bolt Driver 4.3 for JavaScript",
"title": "Neo4j Bolt Driver 4.4 for JavaScript",
"repository": "https://github.com/neo4j/neo4j-javascript-driver"
}
}
Expand All @@ -45,7 +45,7 @@
"name": "./docs/embed-docs.plugin.js",
"option": {
"enabled": true,
"path": "./core/docs"
"path": "../core/docs"
}
}
]
Expand Down
1 change: 0 additions & 1 deletion packages/neo4j-driver/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
"stop-neo4j": "gulp stop-neo4j",
"run-stress-tests": "gulp run-stress-tests-without-jasmine",
"run-ts-declaration-tests": "gulp run-ts-declaration-tests",
"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",
Expand Down