Skip to content

Commit

Permalink
Adds last nits
Browse files Browse the repository at this point in the history
  • Loading branch information
ncordon committed Oct 23, 2023
1 parent a5f34e2 commit 0ef0883
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 15 deletions.
2 changes: 1 addition & 1 deletion jest.config.base.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
module.exports = {
preset: 'ts-jest/presets/js-with-ts',
testEnvironment: 'node',
modulePathIgnorePatterns: ['out', 'e2e_tests', 'dist', 'esm'],
modulePathIgnorePatterns: ['out', 'e2e_tests', 'dist'],
};
2 changes: 1 addition & 1 deletion packages/language-server/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ A language server wrapper for the `@neo4j-cypher/language-support` package.
## Bundle the server and run with node

To package the language server into a single javascript bundle, go to the root of the project and
do `npm run prepublish`.
do `npm run bundle`.
After that a file `./packages/language-server/dist/cypher-language-server.js` will be generated.

You can run the language server with `node ./cypher-language-server.js --stdio`.
Expand Down
5 changes: 1 addition & 4 deletions packages/react-codemirror/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@
"include": ["src"],
"compilerOptions": {
"jsx": "react-jsx",
"allowJs": true,
"paths": {
"language-support": ["../language-support/src/index.ts"]
}
"allowJs": true
}
}
2 changes: 1 addition & 1 deletion packages/vscode-extension/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "neo4j-cypher-vscode-extension",
"description": "Enables support for Neo4j and its query language Cypher VSCode extension",
"description": "Enables support for Neo4j and its query language Cypher",
"author": "Neo4j",
"license": "Apache-2.0",
"version": "2.0.0-next.0",
Expand Down
2 changes: 1 addition & 1 deletion vendor/antlr4-c3/jest.config.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
const config = {
preset: 'ts-jest',
testEnvironment: 'node',
modulePathIgnorePatterns: ['dist', 'esm', 'out']
modulePathIgnorePatterns: ['dist', 'out']
};

module.exports = config;
14 changes: 7 additions & 7 deletions vendor/antlr4-c3/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,17 @@
"parser"
],
"type": "module",
"main": "./build/cjs/index.js",
"types": "./build/cjs/index.d.ts",
"module": "./build/esm/index.js",
"main": "./dist/cjs/index.js",
"types": "./dist/cjs/index.d.ts",
"module": "./dist/esm/index.js",
"exports": {
"import": "./build/esm/index.js",
"require": "./build/cjs/index.js"
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js"
},
"scripts": {
"build": "npm run generate && npm run build-esm && npm run build-commonjs",
"build-esm": "tsc --module esnext --outDir build/esm",
"build-commonjs": "tsc --module commonjs --outDir build/cjs",
"build-esm": "tsc --module esnext --outDir dist/esm",
"build-commonjs": "tsc --module commonjs --outDir dist/cjs",
"prepublishOnly": "npm run generate && npm run test",
"test": "jest",
"generate": "tests/generate.sh",
Expand Down

0 comments on commit 0ef0883

Please sign in to comment.