@formulavize/lezer-fiz 0.3.1 → 0.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/workflows/ci.yml +14 -5
- package/.prettierignore +1 -0
- package/package.json +20 -14
package/.github/workflows/ci.yml
CHANGED
|
@@ -13,11 +13,20 @@ jobs:
|
|
|
13
13
|
runs-on: ubuntu-latest
|
|
14
14
|
|
|
15
15
|
steps:
|
|
16
|
-
-
|
|
17
|
-
|
|
16
|
+
- name: Checkout code
|
|
17
|
+
uses: actions/checkout@v4
|
|
18
|
+
|
|
19
|
+
- name: Install pnpm
|
|
20
|
+
uses: pnpm/action-setup@v4
|
|
21
|
+
with:
|
|
22
|
+
version: 9
|
|
23
|
+
|
|
24
|
+
- name: Set up Node.js
|
|
25
|
+
uses: actions/setup-node@v4
|
|
18
26
|
with:
|
|
19
27
|
node-version: 20
|
|
28
|
+
cache: pnpm
|
|
20
29
|
|
|
21
|
-
- run:
|
|
22
|
-
- run:
|
|
23
|
-
- run:
|
|
30
|
+
- run: pnpm install --frozen-lockfile
|
|
31
|
+
- run: pnpm build
|
|
32
|
+
- run: pnpm test
|
package/.prettierignore
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
pnpm-lock.yaml
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@formulavize/lezer-fiz",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.3",
|
|
4
4
|
"description": "fiz grammar for lezer",
|
|
5
5
|
"main": "dist/index.cjs",
|
|
6
6
|
"type": "module",
|
|
@@ -15,21 +15,17 @@
|
|
|
15
15
|
"@lezer/lr": "^1.4.2"
|
|
16
16
|
},
|
|
17
17
|
"devDependencies": {
|
|
18
|
-
"@lezer/generator": "^1.7.
|
|
18
|
+
"@lezer/generator": "^1.7.2",
|
|
19
19
|
"chokidar-cli": "^3.0.0",
|
|
20
20
|
"mocha": "^10.8.2",
|
|
21
21
|
"npm-run-all": "^4.1.5",
|
|
22
|
-
"
|
|
23
|
-
"
|
|
22
|
+
"only-allow": "^1.2.1",
|
|
23
|
+
"prettier": "^3.4.2",
|
|
24
|
+
"rollup": "^4.29.1"
|
|
24
25
|
},
|
|
25
|
-
"
|
|
26
|
-
"
|
|
27
|
-
"
|
|
28
|
-
"test": "mocha test/test-*.js",
|
|
29
|
-
"test:watch": "chokidar '{dist,test}/**/*.{js,txt}' -c 'npm test'",
|
|
30
|
-
"format": "prettier . --write",
|
|
31
|
-
"dev": "run-p *:watch",
|
|
32
|
-
"all": "run-s build test"
|
|
26
|
+
"engines": {
|
|
27
|
+
"node": ">=20",
|
|
28
|
+
"pnpm": ">=9"
|
|
33
29
|
},
|
|
34
30
|
"repository": {
|
|
35
31
|
"type": "git",
|
|
@@ -37,5 +33,15 @@
|
|
|
37
33
|
},
|
|
38
34
|
"author": "anthologen",
|
|
39
35
|
"license": "MIT",
|
|
40
|
-
"homepage": "https://github.com/formulavize/lezer-fiz#readme"
|
|
41
|
-
|
|
36
|
+
"homepage": "https://github.com/formulavize/lezer-fiz#readme",
|
|
37
|
+
"scripts": {
|
|
38
|
+
"preinstall": "npx only-allow pnpm",
|
|
39
|
+
"build": "rollup -c",
|
|
40
|
+
"build:watch": "chokidar 'src/**/*' -c 'pnpm build'",
|
|
41
|
+
"test": "mocha test/test-*.js",
|
|
42
|
+
"test:watch": "chokidar '{dist,test}/**/*.{js,txt}' -c 'pnpm test'",
|
|
43
|
+
"format": "prettier . --write",
|
|
44
|
+
"dev": "run-p *:watch",
|
|
45
|
+
"all": "run-s build test"
|
|
46
|
+
}
|
|
47
|
+
}
|