@pactor-app/vite-plugin 1.50.0 → 1.51.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/README.md +2 -2
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @pactor-app/vite-plugin
|
|
2
2
|
|
|
3
|
-
[Pactor](https://github.com/
|
|
3
|
+
[Pactor](https://github.com/innospots/pactor) 的 Vite 插件:把 `.page.yaml` / `.fragment.yaml` DSL 文件在构建期转换为 JS 模块(Parse → Validate → Compile),支持 HMR。校验复用 @pactor-app/schema 的 `validatePageDsl`。
|
|
4
4
|
|
|
5
5
|
## 安装
|
|
6
6
|
|
|
@@ -90,7 +90,7 @@ const loader = new StaticDslLoader({
|
|
|
90
90
|
|
|
91
91
|
## 文档
|
|
92
92
|
|
|
93
|
-
完整文档见 <https://github.com/
|
|
93
|
+
完整文档见 <https://github.com/innospots/pactor/tree/main/docs>(`pnpm docs:dev` 本地启动文档站)。
|
|
94
94
|
|
|
95
95
|
## License
|
|
96
96
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pactor-app/vite-plugin",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.51.0",
|
|
4
4
|
"description": "Pactor Vite plugin: import .page.yaml / .fragment.yaml DSL files as JS modules with build-time validation and HMR",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pactor",
|
|
@@ -13,11 +13,11 @@
|
|
|
13
13
|
"license": "MIT",
|
|
14
14
|
"repository": {
|
|
15
15
|
"type": "git",
|
|
16
|
-
"url": "git+https://github.com/
|
|
16
|
+
"url": "git+https://github.com/innospots/pactor.git",
|
|
17
17
|
"directory": "packages/vite-plugin"
|
|
18
18
|
},
|
|
19
|
-
"homepage": "https://github.com/
|
|
20
|
-
"bugs": "https://github.com/
|
|
19
|
+
"homepage": "https://github.com/innospots/pactor/tree/main/packages/vite-plugin",
|
|
20
|
+
"bugs": "https://github.com/innospots/pactor/issues",
|
|
21
21
|
"type": "module",
|
|
22
22
|
"main": "./dist/index.cjs",
|
|
23
23
|
"module": "./dist/index.js",
|
|
@@ -46,8 +46,8 @@
|
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
48
|
"yaml": "^2.9.0",
|
|
49
|
-
"@pactor-app/core": "1.
|
|
50
|
-
"@pactor-app/schema": "1.
|
|
49
|
+
"@pactor-app/core": "1.51.0",
|
|
50
|
+
"@pactor-app/schema": "1.51.0"
|
|
51
51
|
},
|
|
52
52
|
"peerDependencies": {
|
|
53
53
|
"vite": ">=5"
|