@blocklet/pages-kit-block-studio 0.6.0 → 0.6.2
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/lib/cjs/middlewares/init-resource-router.js +35 -0
- package/lib/cjs/middlewares/init-uploader-router.js +0 -3
- package/lib/cjs/plugins/_theme.js +3 -2
- package/lib/cjs/plugins/vite-plugin-block-studio.js +5 -125
- package/lib/cjs/plugins/vite-plugin-code-splitter.js +594 -246
- package/lib/cjs/tsconfig.tsbuildinfo +1 -1
- package/lib/cjs/utils/helper.js +17 -3
- package/lib/esm/middlewares/init-resource-router.js +36 -1
- package/lib/esm/middlewares/init-uploader-router.js +0 -3
- package/lib/esm/plugins/_theme.js +5 -4
- package/lib/esm/plugins/vite-plugin-block-studio.js +6 -126
- package/lib/esm/plugins/vite-plugin-code-splitter.js +562 -247
- package/lib/esm/tsconfig.tsbuildinfo +1 -1
- package/lib/esm/utils/helper.js +13 -2
- package/lib/types/plugins/vite-plugin-block-studio.d.ts +0 -1
- package/lib/types/plugins/vite-plugin-code-splitter.d.ts +8 -4
- package/lib/types/tsconfig.tsbuildinfo +1 -1
- package/lib/types/utils/helper.d.ts +6 -1
- package/package.json +5 -5
|
@@ -31,5 +31,10 @@ export declare function getBlockStudioInfo(): import("@blocklet/sdk/lib/config")
|
|
|
31
31
|
export declare const getBlockCode: (filePath: string) => string;
|
|
32
32
|
export declare const safeParse: (text: string) => any;
|
|
33
33
|
export declare const EDIT_COMPONENT_NAME = "EditComponent";
|
|
34
|
-
export declare const EDIT_COMPONENT_BUNDLE_FLAG = "(EditComponent)";
|
|
35
34
|
export declare const getEditComponentBlockName: (blockName: string) => string;
|
|
35
|
+
export declare const PROPERTIES_SCHEMA_NAME = "PROPERTIES_SCHEMA";
|
|
36
|
+
export declare const getPropertiesSchemaBlockName: (blockName: string) => string;
|
|
37
|
+
export declare const AIGNE_OUTPUT_VALUE_SCHEMA_NAME = "aigneOutputValueSchema";
|
|
38
|
+
export declare const getAigneOutputValueSchemaBlockName: (blockName: string) => string;
|
|
39
|
+
export declare const GET_SERVER_SIDE_PROPS_NAME = "getServerSideProps";
|
|
40
|
+
export declare const getGetServerSidePropsBlockName: (blockName: string) => string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@blocklet/pages-kit-block-studio",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.2",
|
|
4
4
|
"description": "Pages Kit block studio for blocklet(s)",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -107,8 +107,8 @@
|
|
|
107
107
|
"url": "git+https://github.com/blocklet/pages-kit.git"
|
|
108
108
|
},
|
|
109
109
|
"dependencies": {
|
|
110
|
-
"@blocklet/sdk": "^1.16.
|
|
111
|
-
"@blocklet/ui-react": "^3.0.
|
|
110
|
+
"@blocklet/sdk": "^1.16.45",
|
|
111
|
+
"@blocklet/ui-react": "^3.0.14",
|
|
112
112
|
"@blocklet/uploader-server": "^0.2.0",
|
|
113
113
|
"@mdx-js/react": "^3.1.0",
|
|
114
114
|
"@mui/material": "^7.1.2",
|
|
@@ -141,7 +141,7 @@
|
|
|
141
141
|
"zod": "^3.24.2",
|
|
142
142
|
"zod-to-json-schema": "^3.24.4",
|
|
143
143
|
"zod-to-ts": "^1.2.0",
|
|
144
|
-
"@blocklet/pages-kit": "0.6.
|
|
144
|
+
"@blocklet/pages-kit": "0.6.2"
|
|
145
145
|
},
|
|
146
146
|
"devDependencies": {
|
|
147
147
|
"@rollup/plugin-typescript": "^11.1.6",
|
|
@@ -167,7 +167,7 @@
|
|
|
167
167
|
"zod": "^3.24.2",
|
|
168
168
|
"zod-to-json-schema": "^3.24.4",
|
|
169
169
|
"zod-to-ts": "^1.2.0",
|
|
170
|
-
"@blocklet/pages-kit": "0.6.
|
|
170
|
+
"@blocklet/pages-kit": "0.6.2"
|
|
171
171
|
},
|
|
172
172
|
"scripts": {
|
|
173
173
|
"lint": "eslint src --ext .mjs,.js,.jsx,.ts,.tsx",
|