@wireweave/core 3.0.0 → 3.0.1
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/README.md +75 -428
- package/dist/index.cjs +13680 -13568
- package/dist/index.js +13680 -13568
- package/dist/parser.cjs +96 -28
- package/dist/parser.js +96 -28
- package/dist/renderer.cjs +13196 -13245
- package/dist/renderer.d.cts +1 -1
- package/dist/renderer.d.ts +1 -1
- package/dist/renderer.js +13196 -13245
- package/package.json +75 -35
package/package.json
CHANGED
|
@@ -1,55 +1,67 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wireweave/core",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.1",
|
|
4
4
|
"description": "Core parser and renderer for wireweave",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
|
-
"module": "dist/index.
|
|
7
|
+
"module": "dist/index.js",
|
|
8
8
|
"types": "dist/index.d.ts",
|
|
9
9
|
"exports": {
|
|
10
10
|
".": {
|
|
11
|
-
"
|
|
12
|
-
|
|
13
|
-
|
|
11
|
+
"import": {
|
|
12
|
+
"types": "./dist/index.d.ts",
|
|
13
|
+
"default": "./dist/index.js"
|
|
14
|
+
},
|
|
15
|
+
"require": {
|
|
16
|
+
"types": "./dist/index.d.cts",
|
|
17
|
+
"default": "./dist/index.cjs"
|
|
18
|
+
}
|
|
14
19
|
},
|
|
15
20
|
"./parser": {
|
|
16
|
-
"
|
|
17
|
-
|
|
18
|
-
|
|
21
|
+
"import": {
|
|
22
|
+
"types": "./dist/parser.d.ts",
|
|
23
|
+
"default": "./dist/parser.js"
|
|
24
|
+
},
|
|
25
|
+
"require": {
|
|
26
|
+
"types": "./dist/parser.d.cts",
|
|
27
|
+
"default": "./dist/parser.cjs"
|
|
28
|
+
}
|
|
19
29
|
},
|
|
20
30
|
"./renderer": {
|
|
21
|
-
"
|
|
22
|
-
|
|
23
|
-
|
|
31
|
+
"import": {
|
|
32
|
+
"types": "./dist/renderer.d.ts",
|
|
33
|
+
"default": "./dist/renderer.js"
|
|
34
|
+
},
|
|
35
|
+
"require": {
|
|
36
|
+
"types": "./dist/renderer.d.cts",
|
|
37
|
+
"default": "./dist/renderer.cjs"
|
|
38
|
+
}
|
|
24
39
|
}
|
|
25
40
|
},
|
|
26
41
|
"files": [
|
|
27
42
|
"dist"
|
|
28
43
|
],
|
|
29
|
-
"scripts": {
|
|
30
|
-
"build:grammar": "peggy --format es -o src/parser/generated-parser.js src/grammar/wireframe.peggy",
|
|
31
|
-
"build:ts": "tsup",
|
|
32
|
-
"build": "pnpm build:grammar && pnpm build:ts",
|
|
33
|
-
"test": "vitest run",
|
|
34
|
-
"test:watch": "vitest",
|
|
35
|
-
"storybook": "storybook dev -p 6006",
|
|
36
|
-
"build-storybook": "storybook build",
|
|
37
|
-
"clean": "rm -rf dist",
|
|
38
|
-
"release": "release-it"
|
|
39
|
-
},
|
|
40
44
|
"devDependencies": {
|
|
41
|
-
"@
|
|
42
|
-
"@
|
|
43
|
-
"@
|
|
44
|
-
"@
|
|
45
|
-
"@
|
|
45
|
+
"@commitlint/cli": "^21.2.2",
|
|
46
|
+
"@commitlint/config-conventional": "^21.2.2",
|
|
47
|
+
"@eslint/js": "^10.0.1",
|
|
48
|
+
"@storybook/html": "^10.6.0",
|
|
49
|
+
"@storybook/html-vite": "^10.6.0",
|
|
50
|
+
"@types/node": "^25.9.6",
|
|
51
|
+
"@vitest/coverage-v8": "^4.1.11",
|
|
52
|
+
"eslint": "^10.10.0",
|
|
53
|
+
"husky": "^9.1.7",
|
|
54
|
+
"knip": "^6.35.1",
|
|
55
|
+
"lint-staged": "^16.4.0",
|
|
46
56
|
"lucide": "^0.562.0",
|
|
47
|
-
"peggy": "^5.
|
|
48
|
-
"
|
|
49
|
-
"storybook": "^10.
|
|
50
|
-
"tsup": "^8.
|
|
51
|
-
"typescript": "^5.
|
|
52
|
-
"
|
|
57
|
+
"peggy": "^5.1.0",
|
|
58
|
+
"prettier": "^3.9.6",
|
|
59
|
+
"storybook": "^10.6.0",
|
|
60
|
+
"tsup": "^8.5.1",
|
|
61
|
+
"typescript": "^5.9.3",
|
|
62
|
+
"typescript-eslint": "^8.70.0",
|
|
63
|
+
"vitest": "^4.1.11",
|
|
64
|
+
"publint": "^0.3.24"
|
|
53
65
|
},
|
|
54
66
|
"keywords": [
|
|
55
67
|
"wireframe",
|
|
@@ -63,6 +75,34 @@
|
|
|
63
75
|
"license": "MIT",
|
|
64
76
|
"repository": {
|
|
65
77
|
"type": "git",
|
|
66
|
-
"url": "https://github.com/wireweave/
|
|
78
|
+
"url": "git+https://github.com/wireweave/wireweave.git",
|
|
79
|
+
"directory": "packages/core"
|
|
80
|
+
},
|
|
81
|
+
"engines": {
|
|
82
|
+
"node": ">=22.13.0"
|
|
83
|
+
},
|
|
84
|
+
"sideEffects": false,
|
|
85
|
+
"scripts": {
|
|
86
|
+
"build:grammar": "peggy --format es -o src/parser/generated-parser.js src/grammar/wireframe.peggy",
|
|
87
|
+
"postbuild:grammar": "node scripts/format-generated.mjs src/parser/generated-parser.js",
|
|
88
|
+
"build:icons": "node scripts/generate-icons.cjs",
|
|
89
|
+
"build:ts": "tsup",
|
|
90
|
+
"build": "pnpm build:grammar && pnpm build:icons && pnpm build:ts",
|
|
91
|
+
"test": "pnpm test:generators && vitest run",
|
|
92
|
+
"test:generators": "node --test scripts/*.test.mjs",
|
|
93
|
+
"test:watch": "vitest",
|
|
94
|
+
"storybook": "storybook dev -p 6006",
|
|
95
|
+
"build-storybook": "storybook build",
|
|
96
|
+
"clean": "rm -rf dist",
|
|
97
|
+
"typecheck": "tsc --noEmit",
|
|
98
|
+
"lint": "eslint .",
|
|
99
|
+
"lint:fix": "eslint . --fix",
|
|
100
|
+
"format": "prettier --write .",
|
|
101
|
+
"format:check": "prettier --check .",
|
|
102
|
+
"knip": "knip",
|
|
103
|
+
"postbuild": "node ../../scripts/dist-freshness-gate.mjs --write .",
|
|
104
|
+
"publint": "publint --strict",
|
|
105
|
+
"check:parser-sync": "node scripts/check-generated-parser.mjs",
|
|
106
|
+
"check:icons-sync": "node scripts/generate-icons.cjs --check"
|
|
67
107
|
}
|
|
68
|
-
}
|
|
108
|
+
}
|