@blocklet/component-studio-cli 0.5.41 → 0.5.42

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.
@@ -10,7 +10,7 @@ import { join, resolve, dirname, basename, relative } from 'node:path';
10
10
  import ora from 'ora';
11
11
  import os from 'os';
12
12
  import path from 'path';
13
- const workspaceVersion = '0.1.6';
13
+ const workspaceVersion = '0.1.7';
14
14
  const METADATA_FILE_NAME = '@metadata.json';
15
15
  // 获取CLI内置的workspace模板路径
16
16
  export function getWorkspaceTemplatePath() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blocklet/component-studio-cli",
3
- "version": "0.5.41",
3
+ "version": "0.5.42",
4
4
  "description": "CLI for Component Studio",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -0,0 +1 @@
1
+ @import "tailwindcss";
@@ -1,4 +1,6 @@
1
1
  // NOTICE: This file is very important, please do not change it!
2
2
  import BlockStudio from '@blocklet/pages-kit-block-studio/frontend';
3
3
 
4
+ import './_theme.css';
5
+
4
6
  export default BlockStudio;
@@ -27,3 +27,5 @@ yarn-debug.log*
27
27
  yarn-error.log*
28
28
  pnpm-debug.log*
29
29
  lerna-debug.log*
30
+
31
+ /lib
@@ -51,20 +51,20 @@
51
51
  ]
52
52
  },
53
53
  "dependencies": {
54
- "@arcblock/did-auth": "^1.20.2",
54
+ "@arcblock/did-auth": "^1.20.14",
55
55
  "@arcblock/did-auth-storage-nedb": "^1.7.1",
56
- "@arcblock/did-connect": "^2.13.12",
57
- "@arcblock/ux": "^2.13.12",
58
- "@blocklet/pages-kit": "^0.4.129",
59
- "@blocklet/pages-kit-block-studio": "^0.4.129",
60
- "@blocklet/pages-kit-inner-components": "^0.4.129",
61
- "@blocklet/pages-kit-runtime": "^0.4.129",
62
- "@blocklet/sdk": "^1.16.42",
63
- "@blocklet/studio-ui": "^0.4.258",
64
- "@blocklet/ui-react": "^2.13.12",
65
- "@ocap/client": "^1.20.2",
66
- "@ocap/mcrypto": "^1.20.2",
67
- "@ocap/wallet": "^1.20.2",
56
+ "@arcblock/did-connect": "^2.13.67",
57
+ "@arcblock/ux": "^2.13.67",
58
+ "@blocklet/pages-kit": "^0.5.41",
59
+ "@blocklet/pages-kit-block-studio": "^0.5.41",
60
+ "@blocklet/pages-kit-inner-components": "^0.5.41",
61
+ "@blocklet/pages-kit-runtime": "^0.5.41",
62
+ "@blocklet/sdk": "^1.16.44",
63
+ "@blocklet/studio-ui": "^0.4.274",
64
+ "@blocklet/ui-react": "^2.13.67",
65
+ "@ocap/client": "^1.20.14",
66
+ "@ocap/mcrypto": "^1.20.14",
67
+ "@ocap/wallet": "^1.20.14",
68
68
  "axios": "^1.7.9",
69
69
  "cookie-parser": "^1.4.7",
70
70
  "cors": "^2.8.5",
@@ -75,7 +75,8 @@
75
75
  },
76
76
  "devDependencies": {
77
77
  "@biomejs/biome": "^1.9.4",
78
- "@blocklet/js-sdk": "^1.16.42",
78
+ "@blocklet/js-sdk": "^1.16.44",
79
+ "@tailwindcss/vite": "^4.1.10",
79
80
  "@trivago/prettier-plugin-sort-imports": "^4.3.0",
80
81
  "@types/cookie-parser": "^1.4.8",
81
82
  "@types/cors": "^2.8.17",
@@ -85,6 +86,7 @@
85
86
  "@types/react": "^18.3.18",
86
87
  "@types/react-dom": "^18.3.5",
87
88
  "@vitejs/plugin-react": "^4.3.4",
89
+ "autoprefixer": "^10.4.21",
88
90
  "bumpp": "^9.9.3",
89
91
  "cross-env": "^7.0.3",
90
92
  "import-sort-style-module": "^6.0.0",
@@ -96,10 +98,11 @@
96
98
  "react-router-dom": "^6.26.1",
97
99
  "rimraf": "^5.0.10",
98
100
  "simple-git-hooks": "^2.11.1",
101
+ "tailwindcss": "^4.1.10",
99
102
  "typescript": "^5.7.2",
100
103
  "vite": "^5.4.11",
101
104
  "vite-node": "^2.1.8",
102
- "vite-plugin-blocklet": "^0.9.31",
105
+ "vite-plugin-blocklet": "^0.9.33",
103
106
  "vite-plugin-require": "^1.2.14",
104
107
  "vite-plugin-svgr": "^4.3.0",
105
108
  "vite-tsconfig-paths": "^4.3.2",
@@ -119,9 +122,9 @@
119
122
  "pre-commit": "npx lint-staged"
120
123
  },
121
124
  "resolutions": {
125
+ "@vitejs/plugin-react": "4.3.4",
122
126
  "react-dnd": "^16.0.1",
123
127
  "react-dnd-html5-backend": "^16.0.1",
124
- "@vitejs/plugin-react": "4.3.4",
125
128
  "vite": "5.4.11",
126
129
  "vite-node": "2.1.8",
127
130
  "vite-plugin-blocklet": "0.9.31",
@@ -7,7 +7,9 @@ import { createBlockletPlugin } from 'vite-plugin-blocklet';
7
7
  import svgr from 'vite-plugin-svgr';
8
8
 
9
9
  // https://vitejs.dev/config/
10
- export default defineConfig((mode) => {
10
+ export default defineConfig(async (mode) => {
11
+ const tailwindcss = await import('@tailwindcss/vite');
12
+
11
13
  return {
12
14
  plugins: [
13
15
  react({
@@ -18,6 +20,7 @@ export default defineConfig((mode) => {
18
20
  initBlockStudioPlugins({
19
21
  formats: ['es'],
20
22
  }),
23
+ tailwindcss.default(),
21
24
  ],
22
25
 
23
26
  resolve: {