@pactor-app/cli 1.0.0 → 1.2.0
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
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pactor-app/cli",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.2.0",
|
|
4
4
|
"description": "Pactor CLI: local DSL toolchain (validate / inspect / lint / schema / build / create)",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pactor",
|
|
@@ -35,9 +35,9 @@
|
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
37
|
"yaml": "^2.9.0",
|
|
38
|
-
"@pactor-app/core": "1.
|
|
39
|
-
"@pactor-app/expression": "1.
|
|
40
|
-
"@pactor-app/schema": "1.
|
|
38
|
+
"@pactor-app/core": "1.2.0",
|
|
39
|
+
"@pactor-app/expression": "1.2.0",
|
|
40
|
+
"@pactor-app/schema": "1.2.0"
|
|
41
41
|
},
|
|
42
42
|
"scripts": {
|
|
43
43
|
"build": "tsup",
|
package/templates/app/README.md
CHANGED
|
@@ -9,7 +9,7 @@ pnpm dev
|
|
|
9
9
|
|
|
10
10
|
- `src/pages/home.page.yaml`:示例 Page DSL,经 @pactor-app/vite-plugin 在构建期转换为 JS 模块
|
|
11
11
|
- `src/main.tsx`:`createPactorApplication` + `StaticDslLoader`(本地 DSL 开发);接入服务端后改用 `api: { baseURL: '/api/runtime' }`
|
|
12
|
-
- 默认 UI
|
|
12
|
+
- 默认 UI 为 @pactor-app/ui 内置实现,`@pactor-app/ui/styles.css` 样式导入为必需步骤
|
|
13
13
|
|
|
14
14
|
## 说明
|
|
15
15
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createPactorApplication } from '@pactor-app/app';
|
|
2
2
|
import { StaticDslLoader } from '@pactor-app/resource';
|
|
3
|
-
// 默认 UI
|
|
3
|
+
// 默认 UI 为 @pactor-app/ui 内置实现,样式表导入为必需步骤
|
|
4
4
|
import '@pactor-app/ui/styles.css';
|
|
5
5
|
|
|
6
6
|
import homePage from './pages/home.page.yaml';
|