Skip to content

Commit

Permalink
update package
Browse files Browse the repository at this point in the history
  • Loading branch information
grantmacken committed Jun 2, 2023
1 parent 6499f3c commit a7e5c80
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 8 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ log.html
temp
tmp
.git
package-lock.json
5 changes: 1 addition & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -107,9 +107,6 @@ parse-qt3: ## parse all app examples
yarn parse -q examples/qt3/app/walmsley/*
yarn parse -q examples/qt3/app/XMark/*

# .PHONY: query-all
# query-all: hl # check captures

.PHONY: hl
hl: ## highlight query specific example nominated in .env
yarn highlight examples/spec/$(EXAMPLE).xq
Expand All @@ -136,7 +133,7 @@ install:
fi

.PHONY: pr-create
pr-create: parse-all test-all query-all
pr-create: parse-all test-all
@#gh pr create --help
@gh pr create --fill

Expand Down
6 changes: 6 additions & 0 deletions examples/spec/wildcards.xq
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
'3.3.5 Abbreviated Syntax',
'NameTest/WildCard',
*,
ncname:*,
*:ncname,
Q{http://example.com/ns}*
6 changes: 2 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "tree-sitter-xquery",
"description": "XQuery tree-sitter",
"version": "0.0.3",
"version": "0.1.0",
"author": "Grant Mackenzie <grantmacken@gmail.com>",
"license": "MIT",
"keywords": [
Expand All @@ -22,16 +22,14 @@
"build": "yarn generate && node-gyp build",
"build-wasm": "tree-sitter build-wasm",
"web": "tree-sitter web-ui",
"tags": "tree-sitter tags",
"snap": "tap --only test/foo.js"
"tags": "tree-sitter tags"
},
"dependencies": {
"nan": "^2.17.0",
"node-gyp": "^9.0.0"
},
"devDependencies": {
"prettier": "^2.8.7",
"tap": "^16.3.4",
"tree-sitter-cli": "^0.20.8",
"web-tree-sitter": "^0.20.5"
},
Expand Down

0 comments on commit a7e5c80

Please sign in to comment.