Skip to content

Commit

Permalink
Fixes windows setup (#291)
Browse files Browse the repository at this point in the history
---------

Co-authored-by: Nacho Cordon <[email protected]>
  • Loading branch information
anderson4j and ncordon authored Nov 14, 2024
1 parent dd41bf6 commit 36e421b
Show file tree
Hide file tree
Showing 8 changed files with 103,032 additions and 12 deletions.
3 changes: 2 additions & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@
*.gif filter=lfs diff=lfs merge=lfs -text


semanticAnalysis.js linguist-vendored
semanticAnalysis.js linguist-vendored
ndl.css linguist-vendored
6 changes: 3 additions & 3 deletions packages/language-support/src/antlr-grammar/Cypher5Lexer.g4
Original file line number Diff line number Diff line change
Expand Up @@ -1295,15 +1295,15 @@ IDENTIFIER
;
ARROW_LINE
: [\-\u00AD‐‑‒–—―﹘﹣-]
: [\-\u00AD\u2010\u2011\u2012\u2013\u2014\u2015\ufe58\ufe63\uff0d]
;
ARROW_LEFT_HEAD
: [⟨〈﹤<]
: [\u27e8\u3008\ufe64\uff1c\u003c]
;
ARROW_RIGHT_HEAD
: [⟩〉﹥>]
: [\u27e9\u3009\ufe65\uff1e]
;
fragment LETTER
Expand Down
3 changes: 1 addition & 2 deletions packages/vscode-extension/.gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
tests/fixtures/.env.test
webview_tests/fixtures/.env.test
.wdio-vscode-service
resources/styles/ndl.css
.wdio-vscode-service
File renamed without changes.
8 changes: 4 additions & 4 deletions packages/vscode-extension/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -298,11 +298,11 @@
"gen-textmate": "node ./genTextMate.js",
"vscode:prepublish": "npm run build",
"bundle-language-server": "cd ../language-server && npm run bundle && cp dist/cypher-language-server.js ../vscode-extension/dist/ && npm run bundle-worker && cp dist/lintWorker.js ../vscode-extension/dist/",
"bundle-extension": "node ./esbuild.js --production",
"bundle-ndl": "esbuild src/ndl.ts --outfile=resources/styles/ndl.js --bundle --loader:.woff2=dataurl && rm resources/styles/ndl.js",
"bundle-extension:dev": "node ./esbuild.js",
"bundle-extension": "node ./esbuild-extension.js --production",
"update-ndl-css": "esbuild src/ndl.ts --outfile=resources/styles/ndl.js --bundle --loader:.woff2=dataurl && rm resources/styles/ndl.js",
"bundle-extension:dev": "node ./esbuild-extension.js",
"bundle-webview-controllers": "esbuild ./src/webviews/controllers/* --bundle --outdir=dist/webviews/ --platform=browser",
"build": "tsc -b && npm run gen-textmate && npm run bundle-extension && npm run bundle-language-server && npm run bundle-webview-controllers && npm run bundle-ndl",
"build": "tsc -b && npm run gen-textmate && npm run bundle-extension && npm run bundle-language-server && npm run bundle-webview-controllers",
"build:dev": "tsc -b && npm run gen-textmate && npm run bundle-extension:dev && npm run bundle-language-server && npm run bundle-webview-controllers",
"clean": "rm -rf dist",
"test:e2e": "npm run build && npm run test:apiAndUnit && npm run test:webviews",
Expand Down
103,020 changes: 103,020 additions & 0 deletions packages/vscode-extension/resources/styles/ndl.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion vendor/antlr4-c3/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"build-commonjs": "tsc --module commonjs --outDir dist/cjs",
"prepublishOnly": "npm run generate && npm run test",
"test": "vitest run",
"generate": "tests/generate.sh",
"generate": "cd tests && sh generate.sh",
"eslint": "eslint .",
"clean": "rm -rf dist"
},
Expand Down
2 changes: 1 addition & 1 deletion vendor/antlr4-c3/tests/generate.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
GRAMMAR_DIR=${PWD}/tests
GRAMMAR_DIR=${PWD}

antlr4 -Dlanguage=TypeScript \
-no-listener -no-visitor \
Expand Down

0 comments on commit 36e421b

Please sign in to comment.