larkard 0.0.0 → 0.1.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/dist/cli-bin.cjs +0 -0
- package/dist/language-server/server.cjs +0 -0
- package/package.json +10 -10
package/dist/cli-bin.cjs
CHANGED
|
File without changes
|
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "larkard",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "飞书卡片 JSON 2.0 工具链:解析、校验、发送前检查、RAW ↔ DSL、渲染、TSX、CLI 与 LSP",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
@@ -87,12 +87,12 @@
|
|
|
87
87
|
"require": "./dist/optimize/index.cjs"
|
|
88
88
|
},
|
|
89
89
|
"./patch": {
|
|
90
|
-
"types": "./dist/patch/index.d.ts",
|
|
90
|
+
"types": "./dist/core/patch/index.d.ts",
|
|
91
91
|
"import": "./dist/patch/index.js",
|
|
92
92
|
"require": "./dist/patch/index.cjs"
|
|
93
93
|
},
|
|
94
94
|
"./state": {
|
|
95
|
-
"types": "./dist/state/index.d.ts",
|
|
95
|
+
"types": "./dist/core/state/index.d.ts",
|
|
96
96
|
"import": "./dist/state/index.js",
|
|
97
97
|
"require": "./dist/state/index.cjs"
|
|
98
98
|
},
|
|
@@ -123,12 +123,6 @@
|
|
|
123
123
|
"./dist/chunk-*.cjs",
|
|
124
124
|
"./dist/renderer/**"
|
|
125
125
|
],
|
|
126
|
-
"scripts": {
|
|
127
|
-
"build": "node scripts/gen-base-styles.mjs && tsup && tsc -p tsconfig.build.json && chmod +x dist/cli-bin.js dist/language-server/server.js",
|
|
128
|
-
"typecheck": "tsc --noEmit -p tsconfig.json && tsc --noEmit -p tsconfig.test.json",
|
|
129
|
-
"test": "tsx --tsconfig tsconfig.test.json --test test/*.test.ts test/*.test.tsx && node --test test/*.test.mjs",
|
|
130
|
-
"example": "tsx --tsconfig tsconfig.test.json examples/approval-card.tsx"
|
|
131
|
-
},
|
|
132
126
|
"dependencies": {
|
|
133
127
|
"zod": "^4.0.0"
|
|
134
128
|
},
|
|
@@ -153,5 +147,11 @@
|
|
|
153
147
|
"homepage": "https://github.com/ztxtxwd/larkard#readme",
|
|
154
148
|
"bugs": {
|
|
155
149
|
"url": "https://github.com/ztxtxwd/larkard/issues"
|
|
150
|
+
},
|
|
151
|
+
"scripts": {
|
|
152
|
+
"build": "node scripts/gen-base-styles.mjs && tsup && tsc -p tsconfig.build.json && chmod +x dist/cli-bin.js dist/language-server/server.js",
|
|
153
|
+
"typecheck": "tsc --noEmit -p tsconfig.json && tsc --noEmit -p tsconfig.test.json",
|
|
154
|
+
"test": "tsx --tsconfig tsconfig.test.json --test test/*.test.ts test/*.test.tsx && node --test test/*.test.mjs",
|
|
155
|
+
"example": "tsx --tsconfig tsconfig.test.json examples/approval-card.tsx"
|
|
156
156
|
}
|
|
157
|
-
}
|
|
157
|
+
}
|