Skip to content

Commit f96310b

Browse files
committed
Switch from PEG.js to Peggy
PEG.js is no longer maintained
1 parent be25133 commit f96310b

File tree

3 files changed

+20
-14
lines changed

3 files changed

+20
-14
lines changed

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ check:
99
@npx tsc --noEmit
1010

1111
lib/grammar.js: lib/grammar.pegjs
12-
@npx pegjs lib/grammar.pegjs ./lib/grammar.js
12+
@npx peggy lib/grammar.pegjs
1313

1414
test: all
1515
@node ./test/index.js

package-lock.json

+11-11
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+8-2
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,16 @@
1818
},
1919
"devDependencies": {
2020
"@types/node": "^16.11.0",
21-
"pegjs": "~0.7.0",
21+
"peggy": "^1.2.0",
2222
"prettier": "^2.4.1",
2323
"typescript": "^4.4.4"
2424
},
25-
"files": ["dist", "lib", "AUTHORS", "LICENSE", "README.md"],
25+
"files": [
26+
"dist",
27+
"lib",
28+
"AUTHORS",
29+
"LICENSE",
30+
"README.md"
31+
],
2632
"license": "MIT"
2733
}

0 commit comments

Comments
 (0)