create-blocklet 0.11.0 → 0.11.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/README.md CHANGED
@@ -40,7 +40,7 @@ yarn create blocklet my-blocklet
40
40
  ```
41
41
 
42
42
  > **Compatibility Note:**
43
- > Blocklet templates require [Node.js](https://nodejs.org/) version >=16.0.0.
43
+ > Blocklet templates require [Node.js](https://nodejs.org/) version >=20.0.0.
44
44
 
45
45
  ## 📋 Available Templates
46
46
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-blocklet",
3
- "version": "0.11.0",
3
+ "version": "0.11.2",
4
4
  "exports": "./index.js",
5
5
  "type": "module",
6
6
  "repository": "git@github.com:blocklet/create-blocklet.git",
@@ -16,7 +16,7 @@
16
16
  "templates"
17
17
  ],
18
18
  "engines": {
19
- "node": ">=16.0.0"
19
+ "node": ">=20.0.0"
20
20
  },
21
21
  "bugs": {
22
22
  "url": "https://github.com/blocklet/create-blocklet/issues"
@@ -6,7 +6,7 @@
6
6
  "engines": {
7
7
  "npm": "please-use-pnpm",
8
8
  "yarn": "please-use-pnpm",
9
- "node": ">=18",
9
+ "node": ">=20",
10
10
  "pnpm": ">=9"
11
11
  },
12
12
  "scripts": {
@@ -97,7 +97,7 @@
97
97
  "typescript": "^5.7.2",
98
98
  "vite": "^7.0.0",
99
99
  "vite-node": "^3.2.4",
100
- "vite-plugin-blocklet": "^0.11.0",
100
+ "vite-plugin-blocklet": "^0.11.2",
101
101
  "vite-plugin-require": "^1.2.14",
102
102
  "vite-plugin-svgr": "^4.3.0",
103
103
  "vite-tsconfig-paths": "^5.1.4",
@@ -77,7 +77,7 @@
77
77
  "simple-git-hooks": "^2.11.1",
78
78
  "tsx": "^4.19.3",
79
79
  "vite": "^7.0.0",
80
- "vite-plugin-blocklet": "^0.11.0",
80
+ "vite-plugin-blocklet": "^0.11.2",
81
81
  "vite-plugin-svgr": "^4.3.0",
82
82
  "zx": "^8.3.2"
83
83
  },
@@ -1,4 +1,5 @@
1
- import { Footer, Header } from '@blocklet/ui-react';
1
+ import Footer from '@blocklet/ui-react/lib/Footer';
2
+ import Header from '@blocklet/ui-react/lib/Header';
2
3
  import { Box, Container } from '@mui/material';
3
4
  import PropTypes from 'prop-types';
4
5
 
@@ -54,7 +54,7 @@
54
54
  "simple-git-hooks": "^2.11.1",
55
55
  "vite": "^7.0.0",
56
56
  "vite-node": "^3.2.4",
57
- "vite-plugin-blocklet": "^0.11.0",
57
+ "vite-plugin-blocklet": "^0.11.2",
58
58
  "vite-plugin-require": "^1.2.14",
59
59
  "vite-plugin-svgr": "^4.3.0",
60
60
  "zx": "^8.3.2"
@@ -1,4 +1,4 @@
1
- import { Header } from '@blocklet/ui-react';
1
+ import Header from '@blocklet/ui-react/lib/Header';
2
2
  import { useEffect } from 'react';
3
3
  import { Outlet } from 'react-router-dom';
4
4
  import { useSessionContext } from '../libs/session';
@@ -97,7 +97,7 @@
97
97
  "tsx": "^4.19.3",
98
98
  "typescript": "^5.7.3",
99
99
  "vite": "^7.0.0",
100
- "vite-plugin-blocklet": "^0.11.0",
100
+ "vite-plugin-blocklet": "^0.11.2",
101
101
  "vite-plugin-svgr": "^4.3.0",
102
102
  "zx": "^8.3.2"
103
103
  },
@@ -1,3 +1,5 @@
1
1
  declare var blocklet: { prefix: string } | undefined;
2
2
 
3
3
  declare module '*.svg';
4
+ declare module '@arcblock/ux/*';
5
+ declare module '@arcblock/did-connect-react/*';
@@ -71,7 +71,7 @@
71
71
  "simple-git-hooks": "^2.11.1",
72
72
  "tsx": "^4.19.3",
73
73
  "vite": "^7.0.0",
74
- "vite-plugin-blocklet": "^0.11.0",
74
+ "vite-plugin-blocklet": "^0.11.2",
75
75
  "vite-plugin-svgr": "^4.3.0",
76
76
  "zx": "^8.3.2"
77
77
  },
@@ -81,7 +81,7 @@
81
81
  "tsx": "^4.19.3",
82
82
  "typescript": "^5.7.3",
83
83
  "vite": "^7.0.0",
84
- "vite-plugin-blocklet": "^0.11.0",
84
+ "vite-plugin-blocklet": "^0.11.2",
85
85
  "vite-plugin-svgr": "^4.3.0",
86
86
  "zx": "^8.3.2"
87
87
  },
@@ -71,7 +71,7 @@
71
71
  "simple-git-hooks": "^2.11.1",
72
72
  "tsx": "^4.19.3",
73
73
  "vite": "^7.0.0",
74
- "vite-plugin-blocklet": "^0.11.0",
74
+ "vite-plugin-blocklet": "^0.11.2",
75
75
  "vite-plugin-svgr": "^4.3.0",
76
76
  "zx": "^8.3.2"
77
77
  },
@@ -52,7 +52,7 @@
52
52
  "rimraf": "^5.0.10",
53
53
  "simple-git-hooks": "^2.11.1",
54
54
  "vite": "^7.0.0",
55
- "vite-plugin-blocklet": "^0.11.0",
55
+ "vite-plugin-blocklet": "^0.11.2",
56
56
  "vite-plugin-svgr": "^4.3.0",
57
57
  "zx": "^8.3.2"
58
58
  },
@@ -37,7 +37,7 @@
37
37
  "simple-git-hooks": "^2.11.1",
38
38
  "tsx": "^4.19.3",
39
39
  "vite": "^7.0.0",
40
- "vite-plugin-blocklet": "^0.11.0",
40
+ "vite-plugin-blocklet": "^0.11.2",
41
41
  "vite-plugin-solid": "^2.11.7",
42
42
  "zx": "^8.3.2"
43
43
  },
@@ -32,7 +32,7 @@
32
32
  "simple-git-hooks": "^2.11.1",
33
33
  "solid-js": "^1.9.4",
34
34
  "vite": "^7.0.0",
35
- "vite-plugin-blocklet": "^0.11.0",
35
+ "vite-plugin-blocklet": "^0.11.2",
36
36
  "vite-plugin-solid": "^2.11.7",
37
37
  "zx": "^8.3.2"
38
38
  },
@@ -45,7 +45,7 @@
45
45
  "svelte": "^4.2.19",
46
46
  "tsx": "^4.19.3",
47
47
  "vite": "^7.0.0",
48
- "vite-plugin-blocklet": "^0.11.0",
48
+ "vite-plugin-blocklet": "^0.11.2",
49
49
  "zx": "^8.3.2"
50
50
  },
51
51
  "lint-staged": {
@@ -26,7 +26,7 @@
26
26
  "simple-git-hooks": "^2.11.1",
27
27
  "svelte": "^4.2.19",
28
28
  "vite": "^7.0.0",
29
- "vite-plugin-blocklet": "^0.11.0",
29
+ "vite-plugin-blocklet": "^0.11.2",
30
30
  "zx": "^8.3.2"
31
31
  },
32
32
  "lint-staged": {
@@ -96,7 +96,7 @@
96
96
  "tsx": "^4.19.3",
97
97
  "typescript": "^5.7.3",
98
98
  "vite": "^7.0.0",
99
- "vite-plugin-blocklet": "^0.11.0",
99
+ "vite-plugin-blocklet": "^0.11.2",
100
100
  "vite-plugin-svgr": "^4.3.0",
101
101
  "zx": "^8.3.2"
102
102
  },
@@ -1,4 +1,4 @@
1
- import { Header } from '@blocklet/ui-react';
1
+ import Header from '@blocklet/ui-react/lib/Header';
2
2
  import { Outlet } from 'react-router-dom';
3
3
 
4
4
  export default function Layout() {
@@ -49,7 +49,7 @@
49
49
  "simple-git-hooks": "^2.11.1",
50
50
  "tsx": "^4.19.3",
51
51
  "vite": "^7.0.0",
52
- "vite-plugin-blocklet": "^0.11.0",
52
+ "vite-plugin-blocklet": "^0.11.2",
53
53
  "vue": "^3.5.13",
54
54
  "zx": "^8.3.2"
55
55
  },
@@ -30,7 +30,7 @@
30
30
  "rimraf": "^5.0.10",
31
31
  "simple-git-hooks": "^2.11.1",
32
32
  "vite": "^7.0.0",
33
- "vite-plugin-blocklet": "^0.11.0",
33
+ "vite-plugin-blocklet": "^0.11.2",
34
34
  "vue": "^3.5.13",
35
35
  "zx": "^8.3.2"
36
36
  },
@@ -39,7 +39,7 @@
39
39
  "taze": "^0.16.9",
40
40
  "typescript": "^5.7.3",
41
41
  "vite": "^7.0.0",
42
- "vite-plugin-blocklet": "^0.11.0",
42
+ "vite-plugin-blocklet": "^0.11.2",
43
43
  "vue-tsc": "^2.2.2",
44
44
  "zx": "^8.3.2"
45
45
  },
@@ -48,7 +48,7 @@
48
48
  "simple-git-hooks": "^2.11.1",
49
49
  "tsx": "^4.19.3",
50
50
  "vite": "^7.0.0",
51
- "vite-plugin-blocklet": "^0.11.0",
51
+ "vite-plugin-blocklet": "^0.11.2",
52
52
  "vue": "^2.7.16",
53
53
  "zx": "^8.3.2"
54
54
  },
@@ -30,7 +30,7 @@
30
30
  "rimraf": "^5.0.10",
31
31
  "simple-git-hooks": "^2.11.1",
32
32
  "vite": "^7.0.0",
33
- "vite-plugin-blocklet": "^0.11.0",
33
+ "vite-plugin-blocklet": "^0.11.2",
34
34
  "vue": "^2.7.16",
35
35
  "zx": "^8.3.2"
36
36
  },