@jesscss/jess-parser 2.0.0-alpha.11 → 2.0.0-alpha.12

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/package.json CHANGED
@@ -3,9 +3,9 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "2.0.0-alpha.11",
6
+ "version": "2.0.0-alpha.12",
7
7
  "engines": {
8
- "node": "^20.19.0 || >=22.12.0"
8
+ "node": "^20.19.0 || >=22.18.0"
9
9
  },
10
10
  "description": "Jess parser with direct canonical AST parsing and an explicit language-service CST entry",
11
11
  "main": "lib/index.cjs",
@@ -16,15 +16,45 @@
16
16
  "import": "./lib/index.js",
17
17
  "require": "./lib/index.cjs"
18
18
  },
19
+ "./positions": {
20
+ "types": "./lib/positions.d.ts",
21
+ "import": "./lib/positions.js",
22
+ "require": "./lib/positions.cjs"
23
+ },
19
24
  "./cst": {
20
25
  "types": "./lib/cst.d.ts",
21
26
  "import": "./lib/cst.js",
22
27
  "require": "./lib/cst.cjs"
23
28
  },
29
+ "./cst/positions": {
30
+ "types": "./lib/cst/positions.d.ts",
31
+ "import": "./lib/cst/positions.js",
32
+ "require": "./lib/cst/positions.cjs"
33
+ },
24
34
  "./grammar": {
25
- "types": "./lib/grammar.d.ts",
26
- "import": "./lib/grammar.js",
27
- "require": "./lib/grammar.cjs"
35
+ "types": "./lib/grammar/ast.d.ts",
36
+ "import": "./lib/grammar/ast.js",
37
+ "require": "./lib/grammar/ast.cjs"
38
+ },
39
+ "./grammar/ast": {
40
+ "types": "./lib/grammar/ast.d.ts",
41
+ "import": "./lib/grammar/ast.js",
42
+ "require": "./lib/grammar/ast.cjs"
43
+ },
44
+ "./grammar/ast/positions": {
45
+ "types": "./lib/grammar/ast/positions.d.ts",
46
+ "import": "./lib/grammar/ast/positions.js",
47
+ "require": "./lib/grammar/ast/positions.cjs"
48
+ },
49
+ "./grammar/cst": {
50
+ "types": "./lib/grammar/cst.d.ts",
51
+ "import": "./lib/grammar/cst.js",
52
+ "require": "./lib/grammar/cst.cjs"
53
+ },
54
+ "./grammar/cst/positions": {
55
+ "types": "./lib/grammar/cst/positions.d.ts",
56
+ "import": "./lib/grammar/cst/positions.js",
57
+ "require": "./lib/grammar/cst/positions.cjs"
28
58
  },
29
59
  "./package.json": "./package.json"
30
60
  },
@@ -35,11 +65,11 @@
35
65
  "license": "MIT",
36
66
  "dependencies": {
37
67
  "color-name": "~2.0.0",
38
- "@jesscss/css-parser": "2.0.0-alpha.11"
68
+ "@jesscss/css-parser": "2.0.0-alpha.12"
39
69
  },
40
70
  "peerDependencies": {
41
- "parseman": "^0.41.0",
42
- "@jesscss/core": "2.0.0-alpha.11"
71
+ "parseman": "^0.50.1",
72
+ "@jesscss/core": "2.0.0-alpha.12"
43
73
  },
44
74
  "peerDependenciesMeta": {
45
75
  "@jesscss/core": {
@@ -48,9 +78,9 @@
48
78
  },
49
79
  "devDependencies": {
50
80
  "@types/color-name": "^1.1.1",
51
- "parseman": "^0.41.0",
52
- "@jesscss/parser-shared": "0.0.0",
53
- "@jesscss/core": "2.0.0-alpha.11"
81
+ "parseman": "^0.50.1",
82
+ "@jesscss/parser-shared": "2.0.0-alpha.12",
83
+ "@jesscss/core": "2.0.0-alpha.12"
54
84
  },
55
85
  "type": "module",
56
86
  "module": "lib/index.js",
@@ -58,7 +88,7 @@
58
88
  "ci": "pnpm build && pnpm test",
59
89
  "build": "pnpm --filter @jesscss/parser-shared build && pnpm clean && pnpm compile",
60
90
  "clean": "shx rm -rf ./lib tsconfig.tsbuildinfo",
61
- "compile": "tsdown --tsconfig tsconfig.build.json --no-dts && tsc -p tsconfig.build.json --emitDeclarationOnly --noCheck",
91
+ "compile": "node -e \"require('node:fs').rmSync('lib',{recursive:true,force:true})\" && tsdown --tsconfig tsconfig.build.json --no-dts && tsc -p tsconfig.build.json --emitDeclarationOnly --noCheck",
62
92
  "test": "vitest --run --passWithNoTests",
63
93
  "lint:fix": "eslint --fix '**/*.{js,ts}'",
64
94
  "lint": "eslint '**/*.{js,ts}'"