create-blocklet 0.5.11 → 0.5.13
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/index.js +5 -0
- package/lib/server.js +12 -5
- package/package.json +6 -6
- package/templates/docsite/package.json +2 -2
- package/templates/express-api/package.json +5 -5
- package/templates/monorepo/package.json +2 -2
- package/templates/nextjs-dapp/package.json +6 -6
- package/templates/react-dapp/package.json +10 -10
- package/templates/react-dapp-ts/.eslintrc.js +7 -0
- package/templates/react-dapp-ts/README.md +157 -0
- package/templates/react-dapp-ts/api/dev.ts +6 -0
- package/templates/react-dapp-ts/api/hooks/pre-start.js +12 -0
- package/templates/react-dapp-ts/api/src/hooks/pre-start.ts +37 -0
- package/templates/react-dapp-ts/api/src/index.ts +50 -0
- package/templates/react-dapp-ts/api/src/libs/auth.ts +17 -0
- package/templates/react-dapp-ts/api/src/libs/env.ts +6 -0
- package/templates/react-dapp-ts/api/src/libs/logger.ts +3 -0
- package/templates/react-dapp-ts/api/src/routes/index.ts +8 -0
- package/templates/react-dapp-ts/api/third.d.ts +15 -0
- package/templates/react-dapp-ts/blocklet.md +3 -0
- package/templates/react-dapp-ts/blocklet.yml +50 -0
- package/templates/react-dapp-ts/index.html +14 -0
- package/templates/react-dapp-ts/package.json +95 -0
- package/templates/react-dapp-ts/src/app.css +30 -0
- package/templates/react-dapp-ts/src/app.tsx +28 -0
- package/templates/react-dapp-ts/src/env.d.ts +3 -0
- package/templates/react-dapp-ts/src/index.tsx +5 -0
- package/templates/react-dapp-ts/src/libs/api.ts +14 -0
- package/templates/react-dapp-ts/src/logo.svg +1 -0
- package/templates/react-dapp-ts/src/pages/about.tsx +16 -0
- package/templates/react-dapp-ts/src/pages/home.tsx +22 -0
- package/templates/react-dapp-ts/template-info.json +12 -0
- package/templates/react-dapp-ts/tsconfig.api.json +9 -0
- package/templates/react-dapp-ts/tsconfig.json +99 -0
- package/templates/react-dapp-ts/vite.config.ts +20 -0
- package/templates/react-gun-dapp/package.json +11 -11
- package/templates/react-static/package.json +5 -5
- package/templates/solidjs-dapp/package.json +11 -11
- package/templates/solidjs-static/package.json +6 -6
- package/templates/svelte-dapp/package.json +11 -11
- package/templates/svelte-static/package.json +6 -6
- package/templates/vue-dapp/package.json +11 -11
- package/templates/vue-static/package.json +6 -6
- package/templates/vue2-dapp/package.json +11 -11
- package/templates/vue2-static/package.json +6 -6
- package/templates/website/package.json +1 -1
|
@@ -22,16 +22,16 @@
|
|
|
22
22
|
"devDependencies": {
|
|
23
23
|
"@vitejs/plugin-vue": "^3.2.0",
|
|
24
24
|
"bumpp": "^8.2.1",
|
|
25
|
-
"eslint": "^8.
|
|
26
|
-
"eslint-config-prettier": "^8.
|
|
25
|
+
"eslint": "^8.33.0",
|
|
26
|
+
"eslint-config-prettier": "^8.6.0",
|
|
27
27
|
"eslint-plugin-prettier": "^4.2.1",
|
|
28
|
-
"eslint-plugin-vue": "^9.
|
|
29
|
-
"husky": "^8.0.
|
|
28
|
+
"eslint-plugin-vue": "^9.9.0",
|
|
29
|
+
"husky": "^8.0.3",
|
|
30
30
|
"lint-staged": "^12.5.0",
|
|
31
|
-
"prettier": "^2.8.
|
|
31
|
+
"prettier": "^2.8.3",
|
|
32
32
|
"rimraf": "^3.0.2",
|
|
33
33
|
"vite": "^3.2.5",
|
|
34
|
-
"vite-plugin-blocklet": "^0.5.
|
|
34
|
+
"vite-plugin-blocklet": "^0.5.13",
|
|
35
35
|
"zx": "^7.1.1"
|
|
36
36
|
},
|
|
37
37
|
"lint-staged": {
|
|
@@ -18,12 +18,12 @@
|
|
|
18
18
|
"bump-version": "zx scripts/bump-version.mjs"
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@arcblock/did-auth": "^1.18.
|
|
21
|
+
"@arcblock/did-auth": "^1.18.36",
|
|
22
22
|
"@arcblock/did-auth-storage-nedb": "^1.7.1",
|
|
23
|
-
"@blocklet/sdk": "^1.8.
|
|
24
|
-
"@ocap/client": "^1.18.
|
|
25
|
-
"@ocap/mcrypto": "^1.18.
|
|
26
|
-
"@ocap/wallet": "^1.18.
|
|
23
|
+
"@blocklet/sdk": "^1.8.62",
|
|
24
|
+
"@ocap/client": "^1.18.36",
|
|
25
|
+
"@ocap/mcrypto": "^1.18.36",
|
|
26
|
+
"@ocap/wallet": "^1.18.36",
|
|
27
27
|
"axios": "^0.27.2",
|
|
28
28
|
"compression": "^1.7.4",
|
|
29
29
|
"cookie-parser": "^1.4.6",
|
|
@@ -38,18 +38,18 @@
|
|
|
38
38
|
"@vitejs/plugin-vue2": "^2.2.0",
|
|
39
39
|
"bumpp": "^8.2.1",
|
|
40
40
|
"cross-env": "^7.0.3",
|
|
41
|
-
"eslint": "^8.
|
|
42
|
-
"eslint-config-prettier": "^8.
|
|
41
|
+
"eslint": "^8.33.0",
|
|
42
|
+
"eslint-config-prettier": "^8.6.0",
|
|
43
43
|
"eslint-plugin-prettier": "^4.2.1",
|
|
44
|
-
"eslint-plugin-vue": "^9.
|
|
45
|
-
"husky": "^8.0.
|
|
44
|
+
"eslint-plugin-vue": "^9.9.0",
|
|
45
|
+
"husky": "^8.0.3",
|
|
46
46
|
"lint-staged": "^12.5.0",
|
|
47
47
|
"nodemon": "^2.0.20",
|
|
48
48
|
"npm-run-all": "^4.1.5",
|
|
49
|
-
"prettier": "^2.8.
|
|
49
|
+
"prettier": "^2.8.3",
|
|
50
50
|
"rimraf": "^3.0.2",
|
|
51
51
|
"vite": "^3.2.5",
|
|
52
|
-
"vite-plugin-blocklet": "^0.5.
|
|
52
|
+
"vite-plugin-blocklet": "^0.5.13",
|
|
53
53
|
"zx": "^7.1.1"
|
|
54
54
|
},
|
|
55
55
|
"lint-staged": {
|
|
@@ -22,16 +22,16 @@
|
|
|
22
22
|
"devDependencies": {
|
|
23
23
|
"@vitejs/plugin-vue2": "^2.2.0",
|
|
24
24
|
"bumpp": "^8.2.1",
|
|
25
|
-
"eslint": "^8.
|
|
26
|
-
"eslint-config-prettier": "^8.
|
|
25
|
+
"eslint": "^8.33.0",
|
|
26
|
+
"eslint-config-prettier": "^8.6.0",
|
|
27
27
|
"eslint-plugin-prettier": "^4.2.1",
|
|
28
|
-
"eslint-plugin-vue": "^9.
|
|
29
|
-
"husky": "^8.0.
|
|
28
|
+
"eslint-plugin-vue": "^9.9.0",
|
|
29
|
+
"husky": "^8.0.3",
|
|
30
30
|
"lint-staged": "^12.5.0",
|
|
31
|
-
"prettier": "^2.8.
|
|
31
|
+
"prettier": "^2.8.3",
|
|
32
32
|
"rimraf": "^3.0.2",
|
|
33
33
|
"vite": "^3.2.5",
|
|
34
|
-
"vite-plugin-blocklet": "^0.5.
|
|
34
|
+
"vite-plugin-blocklet": "^0.5.13",
|
|
35
35
|
"zx": "^7.1.1"
|
|
36
36
|
},
|
|
37
37
|
"lint-staged": {
|