create-blocklet 0.5.18 → 0.5.21

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.
Files changed (33) hide show
  1. package/common/.github/workflows/main.yml +1 -1
  2. package/package.json +8 -8
  3. package/templates/docsite/package.json +3 -3
  4. package/templates/express-api/package.json +6 -6
  5. package/templates/html-static/package.json +1 -1
  6. package/templates/monorepo/.github/workflows/main.yml +1 -1
  7. package/templates/monorepo/package.json +3 -3
  8. package/templates/nextjs-dapp/package.json +7 -7
  9. package/templates/react-dapp/package.json +11 -11
  10. package/templates/react-dapp/vite.config.js +1 -2
  11. package/templates/react-dapp-ts/package.json +13 -13
  12. package/templates/react-dapp-ts/vite.config.ts +2 -4
  13. package/templates/react-gun-dapp/package.json +11 -11
  14. package/templates/react-gun-dapp/vite.config.js +1 -2
  15. package/templates/react-static/package.json +5 -5
  16. package/templates/react-static/vite.config.js +1 -2
  17. package/templates/solidjs-dapp/package.json +13 -13
  18. package/templates/solidjs-dapp/vite.config.js +1 -2
  19. package/templates/solidjs-static/package.json +7 -7
  20. package/templates/solidjs-static/vite.config.js +1 -2
  21. package/templates/svelte-dapp/package.json +12 -12
  22. package/templates/svelte-dapp/vite.config.js +1 -2
  23. package/templates/svelte-static/package.json +6 -6
  24. package/templates/svelte-static/vite.config.js +1 -2
  25. package/templates/vue-dapp/package.json +12 -12
  26. package/templates/vue-dapp/vite.config.js +1 -5
  27. package/templates/vue-static/package.json +6 -6
  28. package/templates/vue-static/vite.config.js +1 -5
  29. package/templates/vue2-dapp/package.json +12 -12
  30. package/templates/vue2-dapp/vite.config.js +1 -5
  31. package/templates/vue2-static/package.json +6 -6
  32. package/templates/vue2-static/vite.config.js +1 -5
  33. package/templates/website/package.json +2 -2
@@ -9,7 +9,7 @@ jobs:
9
9
  Deploy:
10
10
  runs-on: ubuntu-latest
11
11
 
12
- if: "! contains(toJSON(github.event.commits.*.message), '[skip ci]')"
12
+ if: "! contains(github.event.head_commit.message, '[skip ci]')"
13
13
 
14
14
  steps:
15
15
  - name: Checkout repo
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-blocklet",
3
- "version": "0.5.18",
3
+ "version": "0.5.21",
4
4
  "exports": "./index.js",
5
5
  "type": "module",
6
6
  "repository": "git@github.com:blocklet/create-blocklet.git",
@@ -29,16 +29,16 @@
29
29
  "test:run": "vitest run"
30
30
  },
31
31
  "dependencies": {
32
- "@arcblock/did": "^1.18.50",
33
- "@ocap/mcrypto": "^1.18.50",
34
- "@ocap/util": "^1.18.50",
32
+ "@arcblock/did": "^1.18.65",
33
+ "@ocap/mcrypto": "^1.18.65",
34
+ "@ocap/util": "^1.18.65",
35
35
  "boxen": "^6.2.1",
36
- "ejs": "^3.1.8",
36
+ "ejs": "^3.1.9",
37
37
  "envfile": "^6.18.0",
38
38
  "figlet": "^1.5.2",
39
39
  "gradient-string": "^2.0.2",
40
40
  "jdenticon": "^3.2.0",
41
- "ora": "^6.1.2",
41
+ "ora": "^6.3.0",
42
42
  "prompts": "^2.4.2",
43
43
  "semver": "^7.3.8",
44
44
  "terminal-link": "^3.0.0",
@@ -46,8 +46,8 @@
46
46
  },
47
47
  "devDependencies": {
48
48
  "@arcblock/eslint-config-base": "0.2.2",
49
- "eslint": "^8.34.0",
50
- "prettier": "^2.8.4",
49
+ "eslint": "^8.37.0",
50
+ "prettier": "^2.8.7",
51
51
  "vitest": "^0.19.1"
52
52
  }
53
53
  }
@@ -15,10 +15,10 @@
15
15
  "bump-version": "zx scripts/bump-version.mjs"
16
16
  },
17
17
  "dependencies": {
18
- "@xmark/cli": "^2.4.90",
19
- "@xmark/theme-docs": "^2.4.90",
18
+ "@xmark/cli": "^2.5.2",
19
+ "@xmark/theme-docs": "^2.5.2",
20
20
  "bumpp": "^8.2.1",
21
21
  "rimraf": "^3.0.2",
22
- "zx": "^7.1.1"
22
+ "zx": "^7.2.1"
23
23
  }
24
24
  }
@@ -31,20 +31,20 @@
31
31
  "license": "ISC",
32
32
  "dependencies": {
33
33
  "@arcblock/did-auth-storage-nedb": "^1.7.1",
34
- "@blocklet/sdk": "^1.8.65",
35
- "@ocap/client": "^1.18.50",
34
+ "@blocklet/sdk": "^1.16.2",
35
+ "@ocap/client": "^1.18.65",
36
36
  "dotenv-flow": "^3.2.0",
37
37
  "express": "^4.18.2"
38
38
  },
39
39
  "devDependencies": {
40
40
  "@arcblock/eslint-config-base": "^0.2.3",
41
41
  "bumpp": "^8.2.1",
42
- "eslint": "^8.34.0",
42
+ "eslint": "^8.37.0",
43
43
  "husky": "^8.0.3",
44
44
  "lint-staged": "^12.5.0",
45
- "nodemon": "^2.0.20",
46
- "prettier": "^2.8.4",
45
+ "nodemon": "^2.0.22",
46
+ "prettier": "^2.8.7",
47
47
  "rimraf": "^3.0.2",
48
- "zx": "^7.1.1"
48
+ "zx": "^7.2.1"
49
49
  }
50
50
  }
@@ -17,6 +17,6 @@
17
17
  "devDependencies": {
18
18
  "bumpp": "^8.2.1",
19
19
  "rimraf": "^3.0.2",
20
- "zx": "^7.1.1"
20
+ "zx": "^7.2.1"
21
21
  }
22
22
  }
@@ -9,7 +9,7 @@ jobs:
9
9
  Deploy:
10
10
  runs-on: ubuntu-latest
11
11
 
12
- if: "! contains(toJSON(github.event.commits.*.message), '[skip ci]')"
12
+ if: "! contains(github.event.head_commit.message, '[skip ci]')"
13
13
 
14
14
  steps:
15
15
  - name: Checkout repo
@@ -25,9 +25,9 @@
25
25
  "devDependencies": {
26
26
  "@arcblock/eslint-config": "0.2.2",
27
27
  "bumpp": "^7.2.0",
28
- "eslint": "^8.34.0",
28
+ "eslint": "^8.37.0",
29
29
  "husky": "^4.3.8",
30
- "prettier": "^2.8.4",
31
- "zx": "^7.1.1"
30
+ "prettier": "^2.8.7",
31
+ "zx": "^7.2.1"
32
32
  }
33
33
  }
@@ -28,12 +28,12 @@
28
28
  ]
29
29
  },
30
30
  "dependencies": {
31
- "@arcblock/did-auth": "^1.18.50",
31
+ "@arcblock/did-auth": "^1.18.65",
32
32
  "@arcblock/did-auth-storage-nedb": "^1.7.1",
33
- "@blocklet/sdk": "^1.8.65",
34
- "@ocap/client": "^1.18.50",
35
- "@ocap/mcrypto": "^1.18.50",
36
- "@ocap/wallet": "^1.18.50",
33
+ "@blocklet/sdk": "^1.16.2",
34
+ "@ocap/client": "^1.18.65",
35
+ "@ocap/mcrypto": "^1.18.65",
36
+ "@ocap/wallet": "^1.18.65",
37
37
  "dotenv-flow": "^3.2.0",
38
38
  "express": "^4.18.2",
39
39
  "next": "12.2.3",
@@ -46,9 +46,9 @@
46
46
  "eslint-config-next": "12.2.3",
47
47
  "husky": "^8.0.3",
48
48
  "lint-staged": "^12.5.0",
49
- "nodemon": "^2.0.20",
49
+ "nodemon": "^2.0.22",
50
50
  "npm-run-all": "^4.1.5",
51
51
  "rimraf": "^3.0.2",
52
- "zx": "^7.1.1"
52
+ "zx": "^7.2.1"
53
53
  }
54
54
  }
@@ -40,12 +40,12 @@
40
40
  ]
41
41
  },
42
42
  "dependencies": {
43
- "@arcblock/did-auth": "^1.18.50",
43
+ "@arcblock/did-auth": "^1.18.65",
44
44
  "@arcblock/did-auth-storage-nedb": "^1.7.1",
45
- "@blocklet/sdk": "^1.8.65",
46
- "@ocap/client": "^1.18.50",
47
- "@ocap/mcrypto": "^1.18.50",
48
- "@ocap/wallet": "^1.18.50",
45
+ "@blocklet/sdk": "^1.16.2",
46
+ "@ocap/client": "^1.18.65",
47
+ "@ocap/mcrypto": "^1.18.65",
48
+ "@ocap/wallet": "^1.18.65",
49
49
  "axios": "^0.27.2",
50
50
  "compression": "^1.7.4",
51
51
  "cookie-parser": "^1.4.6",
@@ -56,7 +56,7 @@
56
56
  "express-history-api-fallback": "^2.2.1",
57
57
  "react": "^18.2.0",
58
58
  "react-dom": "^18.2.0",
59
- "react-router-dom": "^6.8.1",
59
+ "react-router-dom": "^6.10.0",
60
60
  "rimraf": "^3.0.2"
61
61
  },
62
62
  "devDependencies": {
@@ -64,16 +64,16 @@
64
64
  "@vitejs/plugin-react": "^2.2.0",
65
65
  "bumpp": "^8.2.1",
66
66
  "cross-env": "^7.0.3",
67
- "eslint": "^8.34.0",
67
+ "eslint": "^8.37.0",
68
68
  "husky": "^8.0.3",
69
69
  "lint-staged": "^12.5.0",
70
- "nodemon": "^2.0.20",
70
+ "nodemon": "^2.0.22",
71
71
  "npm-run-all": "^4.1.5",
72
- "prettier": "^2.8.4",
72
+ "prettier": "^2.8.7",
73
73
  "vite": "^3.2.5",
74
- "vite-plugin-blocklet": "^0.5.18",
74
+ "vite-plugin-blocklet": "^0.5.21",
75
75
  "vite-plugin-node-polyfills": "^0.7.0",
76
76
  "vite-plugin-svgr": "^2.4.0",
77
- "zx": "^7.1.1"
77
+ "zx": "^7.2.1"
78
78
  }
79
79
  }
@@ -1,12 +1,11 @@
1
1
  import { defineConfig } from 'vite';
2
2
  import react from '@vitejs/plugin-react';
3
3
  import { createBlockletPlugin } from 'vite-plugin-blocklet';
4
- import { nodePolyfills } from 'vite-plugin-node-polyfills';
5
4
  import svgr from 'vite-plugin-svgr';
6
5
 
7
6
  // https://vitejs.dev/config/
8
7
  export default defineConfig(() => {
9
8
  return {
10
- plugins: [react(), createBlockletPlugin(), nodePolyfills({ protocolImports: true }), svgr()],
9
+ plugins: [react(), createBlockletPlugin(), svgr()],
11
10
  };
12
11
  });
@@ -38,12 +38,12 @@
38
38
  ]
39
39
  },
40
40
  "dependencies": {
41
- "@arcblock/did-auth": "^1.18.50",
41
+ "@arcblock/did-auth": "^1.18.65",
42
42
  "@arcblock/did-auth-storage-nedb": "^1.7.1",
43
- "@blocklet/sdk": "^1.8.65",
44
- "@ocap/client": "^1.18.50",
45
- "@ocap/mcrypto": "^1.18.50",
46
- "@ocap/wallet": "^1.18.50",
43
+ "@blocklet/sdk": "^1.16.2",
44
+ "@ocap/client": "^1.18.65",
45
+ "@ocap/mcrypto": "^1.18.65",
46
+ "@ocap/wallet": "^1.18.65",
47
47
  "axios": "^0.27.2",
48
48
  "compression": "^1.7.4",
49
49
  "cookie-parser": "^1.4.6",
@@ -54,7 +54,7 @@
54
54
  "express-history-api-fallback": "^2.2.1",
55
55
  "react": "^18.2.0",
56
56
  "react-dom": "^18.2.0",
57
- "react-router-dom": "^6.8.1",
57
+ "react-router-dom": "^6.10.0",
58
58
  "rimraf": "^3.0.2"
59
59
  },
60
60
  "devDependencies": {
@@ -65,27 +65,27 @@
65
65
  "@types/cors": "^2.8.13",
66
66
  "@types/dotenv-flow": "^3.2.0",
67
67
  "@types/express": "^4.17.17",
68
- "@types/node": "^18.14.1",
69
- "@types/react": "^18.0.28",
68
+ "@types/node": "^18.15.11",
69
+ "@types/react": "^18.0.32",
70
70
  "@types/react-dom": "^18.0.11",
71
71
  "@vitejs/plugin-react": "^2.2.0",
72
72
  "bumpp": "^8.2.1",
73
73
  "cross-env": "^7.0.3",
74
- "eslint": "^8.34.0",
74
+ "eslint": "^8.37.0",
75
75
  "husky": "^8.0.3",
76
76
  "import-sort-style-module": "^6.0.0",
77
77
  "lint-staged": "^12.5.0",
78
- "nodemon": "^2.0.20",
78
+ "nodemon": "^2.0.22",
79
79
  "npm-run-all": "^4.1.5",
80
- "prettier": "^2.8.4",
80
+ "prettier": "^2.8.7",
81
81
  "prettier-plugin-import-sort": "^0.0.7",
82
82
  "ts-node": "^10.9.1",
83
83
  "typescript": "^4.9.5",
84
84
  "vite": "^3.2.5",
85
- "vite-plugin-blocklet": "^0.5.18",
85
+ "vite-plugin-blocklet": "^0.5.21",
86
86
  "vite-plugin-node-polyfills": "^0.7.0",
87
87
  "vite-plugin-svgr": "^2.4.0",
88
- "zx": "^7.1.1"
88
+ "zx": "^7.2.1"
89
89
  },
90
90
  "importSort": {
91
91
  ".js, .jsx, .mjs": {
@@ -2,16 +2,14 @@
2
2
  import react from '@vitejs/plugin-react';
3
3
  import { defineConfig } from 'vite';
4
4
  import { createBlockletPlugin } from 'vite-plugin-blocklet';
5
- import { nodePolyfills } from 'vite-plugin-node-polyfills';
6
5
  import svgr from 'vite-plugin-svgr';
7
6
 
8
7
  // https://vitejs.dev/config/
9
8
  export default defineConfig(() => {
10
9
  return {
11
- plugins: [react(), createBlockletPlugin(), nodePolyfills({ protocolImports: true }), svgr()],
10
+ plugins: [react(), createBlockletPlugin(), svgr()],
12
11
  build: {
13
- // 禁止 preload 可以解决 js 的请求没有 refferer 的问题
14
- modulePreload: false,
12
+ // 禁止 preload 可以解决 js 的请求没有 referer 的问题
15
13
  cssCodeSplit: false,
16
14
  commonjsOptions: {
17
15
  transformMixedEsModules: true,
@@ -40,12 +40,12 @@
40
40
  ]
41
41
  },
42
42
  "dependencies": {
43
- "@arcblock/did-auth": "^1.18.50",
43
+ "@arcblock/did-auth": "^1.18.65",
44
44
  "@arcblock/did-auth-storage-nedb": "^1.7.1",
45
- "@blocklet/sdk": "^1.8.65",
46
- "@ocap/client": "^1.18.50",
47
- "@ocap/mcrypto": "^1.18.50",
48
- "@ocap/wallet": "^1.18.50",
45
+ "@blocklet/sdk": "^1.16.2",
46
+ "@ocap/client": "^1.18.65",
47
+ "@ocap/mcrypto": "^1.18.65",
48
+ "@ocap/wallet": "^1.18.65",
49
49
  "axios": "^0.27.2",
50
50
  "compression": "^1.7.4",
51
51
  "cookie-parser": "^1.4.6",
@@ -57,24 +57,24 @@
57
57
  "gun": "^0.2020.1239",
58
58
  "react": "^18.2.0",
59
59
  "react-dom": "^18.2.0",
60
- "react-router-dom": "^6.8.1"
60
+ "react-router-dom": "^6.10.0"
61
61
  },
62
62
  "devDependencies": {
63
63
  "@arcblock/eslint-config": "^0.2.3",
64
64
  "@vitejs/plugin-react": "^2.2.0",
65
65
  "bumpp": "^8.2.1",
66
66
  "cross-env": "^7.0.3",
67
- "eslint": "^8.34.0",
67
+ "eslint": "^8.37.0",
68
68
  "husky": "^8.0.3",
69
69
  "lint-staged": "^12.5.0",
70
- "nodemon": "^2.0.20",
70
+ "nodemon": "^2.0.22",
71
71
  "npm-run-all": "^4.1.5",
72
- "prettier": "^2.8.4",
72
+ "prettier": "^2.8.7",
73
73
  "rimraf": "^3.0.2",
74
74
  "vite": "^3.2.5",
75
- "vite-plugin-blocklet": "^0.5.18",
75
+ "vite-plugin-blocklet": "^0.5.21",
76
76
  "vite-plugin-node-polyfills": "^0.7.0",
77
77
  "vite-plugin-svgr": "^2.4.0",
78
- "zx": "^7.1.1"
78
+ "zx": "^7.2.1"
79
79
  }
80
80
  }
@@ -1,12 +1,11 @@
1
1
  import { defineConfig } from 'vite';
2
2
  import react from '@vitejs/plugin-react';
3
3
  import { createBlockletPlugin } from 'vite-plugin-blocklet';
4
- import { nodePolyfills } from 'vite-plugin-node-polyfills';
5
4
  import svgr from 'vite-plugin-svgr';
6
5
 
7
6
  // https://vitejs.dev/config/
8
7
  export default defineConfig(() => {
9
8
  return {
10
- plugins: [react(), createBlockletPlugin(), nodePolyfills({ protocolImports: true }), svgr()],
9
+ plugins: [react(), createBlockletPlugin(), svgr()],
11
10
  };
12
11
  });
@@ -41,21 +41,21 @@
41
41
  "dependencies": {
42
42
  "react": "^18.2.0",
43
43
  "react-dom": "^18.2.0",
44
- "react-router-dom": "^6.8.1"
44
+ "react-router-dom": "^6.10.0"
45
45
  },
46
46
  "devDependencies": {
47
47
  "@arcblock/eslint-config": "^0.2.3",
48
48
  "@vitejs/plugin-react": "^2.2.0",
49
49
  "bumpp": "^8.2.1",
50
- "eslint": "^8.34.0",
50
+ "eslint": "^8.37.0",
51
51
  "husky": "^8.0.3",
52
52
  "lint-staged": "^12.5.0",
53
- "prettier": "^2.8.4",
53
+ "prettier": "^2.8.7",
54
54
  "rimraf": "^3.0.2",
55
55
  "vite": "^3.2.5",
56
- "vite-plugin-blocklet": "^0.5.18",
56
+ "vite-plugin-blocklet": "^0.5.21",
57
57
  "vite-plugin-node-polyfills": "^0.7.0",
58
58
  "vite-plugin-svgr": "^2.4.0",
59
- "zx": "^7.1.1"
59
+ "zx": "^7.2.1"
60
60
  }
61
61
  }
@@ -1,12 +1,11 @@
1
1
  import { defineConfig } from 'vite';
2
2
  import react from '@vitejs/plugin-react';
3
3
  import { createBlockletPlugin } from 'vite-plugin-blocklet';
4
- import { nodePolyfills } from 'vite-plugin-node-polyfills';
5
4
  import svgr from 'vite-plugin-svgr';
6
5
 
7
6
  // https://vitejs.dev/config/
8
7
  export default defineConfig(() => {
9
8
  return {
10
- plugins: [react(), createBlockletPlugin(), nodePolyfills({ protocolImports: true }), svgr()],
9
+ plugins: [react(), createBlockletPlugin(), svgr()],
11
10
  };
12
11
  });
@@ -22,29 +22,29 @@
22
22
  "devDependencies": {
23
23
  "bumpp": "^8.2.1",
24
24
  "cross-env": "^7.0.3",
25
- "eslint": "^8.34.0",
26
- "eslint-config-prettier": "^8.6.0",
25
+ "eslint": "^8.37.0",
26
+ "eslint-config-prettier": "^8.8.0",
27
27
  "eslint-plugin-prettier": "^4.2.1",
28
28
  "eslint-plugin-solid": "0.7.1",
29
29
  "husky": "^8.0.3",
30
30
  "lint-staged": "^12.5.0",
31
- "nodemon": "^2.0.20",
31
+ "nodemon": "^2.0.22",
32
32
  "npm-run-all": "^4.1.5",
33
- "prettier": "^2.8.4",
33
+ "prettier": "^2.8.7",
34
34
  "rimraf": "^3.0.2",
35
35
  "vite": "^3.2.5",
36
- "vite-plugin-blocklet": "^0.5.18",
36
+ "vite-plugin-blocklet": "^0.5.21",
37
37
  "vite-plugin-node-polyfills": "^0.7.0",
38
- "vite-plugin-solid": "^2.5.0",
39
- "zx": "^7.1.1"
38
+ "vite-plugin-solid": "^2.6.1",
39
+ "zx": "^7.2.1"
40
40
  },
41
41
  "dependencies": {
42
- "@arcblock/did-auth": "^1.18.50",
42
+ "@arcblock/did-auth": "^1.18.65",
43
43
  "@arcblock/did-auth-storage-nedb": "^1.7.1",
44
- "@blocklet/sdk": "^1.8.65",
45
- "@ocap/client": "^1.18.50",
46
- "@ocap/mcrypto": "^1.18.50",
47
- "@ocap/wallet": "^1.18.50",
44
+ "@blocklet/sdk": "^1.16.2",
45
+ "@ocap/client": "^1.18.65",
46
+ "@ocap/mcrypto": "^1.18.65",
47
+ "@ocap/wallet": "^1.18.65",
48
48
  "axios": "^0.27.2",
49
49
  "compression": "^1.7.4",
50
50
  "cookie-parser": "^1.4.6",
@@ -53,7 +53,7 @@
53
53
  "express": "^4.18.2",
54
54
  "express-async-errors": "^3.1.1",
55
55
  "express-history-api-fallback": "^2.2.1",
56
- "solid-js": "^1.6.11"
56
+ "solid-js": "^1.7.1"
57
57
  },
58
58
  "lint-staged": {
59
59
  "*.{mjs,js,vue}": [
@@ -1,11 +1,10 @@
1
1
  import { defineConfig } from 'vite';
2
2
  import solidPlugin from 'vite-plugin-solid';
3
3
  import { createBlockletPlugin } from 'vite-plugin-blocklet';
4
- import { nodePolyfills } from 'vite-plugin-node-polyfills';
5
4
 
6
5
  export default defineConfig(() => {
7
6
  return {
8
- plugins: [solidPlugin(), createBlockletPlugin(), nodePolyfills({ protocolImports: true })],
7
+ plugins: [solidPlugin(), createBlockletPlugin()],
9
8
  build: {
10
9
  target: 'esnext',
11
10
  polyfillDynamicImport: false,
@@ -20,22 +20,22 @@
20
20
  "license": "MIT",
21
21
  "devDependencies": {
22
22
  "bumpp": "^8.2.1",
23
- "eslint": "^8.34.0",
24
- "eslint-config-prettier": "^8.6.0",
23
+ "eslint": "^8.37.0",
24
+ "eslint-config-prettier": "^8.8.0",
25
25
  "eslint-plugin-prettier": "^4.2.1",
26
26
  "eslint-plugin-solid": "0.7.1",
27
27
  "husky": "^8.0.3",
28
28
  "lint-staged": "^12.5.0",
29
- "prettier": "^2.8.4",
29
+ "prettier": "^2.8.7",
30
30
  "rimraf": "^3.0.2",
31
31
  "vite": "^3.2.5",
32
- "vite-plugin-blocklet": "^0.5.18",
32
+ "vite-plugin-blocklet": "^0.5.21",
33
33
  "vite-plugin-node-polyfills": "^0.7.0",
34
- "vite-plugin-solid": "^2.5.0",
35
- "zx": "^7.1.1"
34
+ "vite-plugin-solid": "^2.6.1",
35
+ "zx": "^7.2.1"
36
36
  },
37
37
  "dependencies": {
38
- "solid-js": "^1.6.11"
38
+ "solid-js": "^1.7.1"
39
39
  },
40
40
  "lint-staged": {
41
41
  "*.{mjs,js,vue}": [
@@ -1,11 +1,10 @@
1
1
  import { defineConfig } from 'vite';
2
2
  import solidPlugin from 'vite-plugin-solid';
3
3
  import { createBlockletPlugin } from 'vite-plugin-blocklet';
4
- import { nodePolyfills } from 'vite-plugin-node-polyfills';
5
4
 
6
5
  export default defineConfig(() => {
7
6
  return {
8
- plugins: [solidPlugin(), createBlockletPlugin(), nodePolyfills({ protocolImports: true })],
7
+ plugins: [solidPlugin(), createBlockletPlugin()],
9
8
  build: {
10
9
  target: 'esnext',
11
10
  polyfillDynamicImport: false,
@@ -17,12 +17,12 @@
17
17
  "bump-version": "zx scripts/bump-version.mjs"
18
18
  },
19
19
  "dependencies": {
20
- "@arcblock/did-auth": "^1.18.50",
20
+ "@arcblock/did-auth": "^1.18.65",
21
21
  "@arcblock/did-auth-storage-nedb": "^1.7.1",
22
- "@blocklet/sdk": "^1.8.65",
23
- "@ocap/client": "^1.18.50",
24
- "@ocap/mcrypto": "^1.18.50",
25
- "@ocap/wallet": "^1.18.50",
22
+ "@blocklet/sdk": "^1.16.2",
23
+ "@ocap/client": "^1.18.65",
24
+ "@ocap/mcrypto": "^1.18.65",
25
+ "@ocap/wallet": "^1.18.65",
26
26
  "axios": "^0.27.2",
27
27
  "compression": "^1.7.4",
28
28
  "cookie-parser": "^1.4.6",
@@ -36,21 +36,21 @@
36
36
  "@sveltejs/vite-plugin-svelte": "1.0.1",
37
37
  "bumpp": "^8.2.1",
38
38
  "cross-env": "^7.0.3",
39
- "eslint": "^8.34.0",
40
- "eslint-config-prettier": "^8.6.0",
39
+ "eslint": "^8.37.0",
40
+ "eslint-config-prettier": "^8.8.0",
41
41
  "eslint-plugin-prettier": "^4.2.1",
42
42
  "eslint-plugin-svelte3": "^4.0.0",
43
43
  "husky": "^8.0.3",
44
44
  "lint-staged": "^12.5.0",
45
45
  "npm-run-all": "^4.1.5",
46
- "prettier": "^2.8.4",
46
+ "prettier": "^2.8.7",
47
47
  "rimraf": "^3.0.2",
48
- "svelte": "^3.55.1",
48
+ "svelte": "^3.58.0",
49
49
  "vite": "^3.2.5",
50
- "vite-plugin-blocklet": "^0.5.18",
51
- "vite-plugin-node-polyfills": "^0.7.0",
50
+ "vite-plugin-blocklet": "^0.5.21",
52
51
  "vite-plugin-html": "^3.2.0",
53
- "zx": "^7.1.1"
52
+ "vite-plugin-node-polyfills": "^0.7.0",
53
+ "zx": "^7.2.1"
54
54
  },
55
55
  "lint-staged": {
56
56
  "*.{mjs,js,vue}": [
@@ -1,11 +1,10 @@
1
1
  import { defineConfig } from 'vite';
2
2
  import { svelte } from '@sveltejs/vite-plugin-svelte';
3
3
  import { createBlockletPlugin } from 'vite-plugin-blocklet';
4
- import { nodePolyfills } from 'vite-plugin-node-polyfills';
5
4
 
6
5
  // https://vitejs.dev/config/
7
6
  export default defineConfig(() => {
8
7
  return {
9
- plugins: [svelte(), createBlockletPlugin(), nodePolyfills({ protocolImports: true })],
8
+ plugins: [svelte(), createBlockletPlugin()],
10
9
  };
11
10
  });
@@ -20,19 +20,19 @@
20
20
  "devDependencies": {
21
21
  "@sveltejs/vite-plugin-svelte": "1.0.1",
22
22
  "bumpp": "^8.2.1",
23
- "eslint": "^8.34.0",
24
- "eslint-config-prettier": "^8.6.0",
23
+ "eslint": "^8.37.0",
24
+ "eslint-config-prettier": "^8.8.0",
25
25
  "eslint-plugin-prettier": "^4.2.1",
26
26
  "eslint-plugin-svelte3": "^4.0.0",
27
27
  "husky": "^8.0.3",
28
28
  "lint-staged": "^12.5.0",
29
- "prettier": "^2.8.4",
29
+ "prettier": "^2.8.7",
30
30
  "rimraf": "^3.0.2",
31
- "svelte": "^3.55.1",
31
+ "svelte": "^3.58.0",
32
32
  "vite": "^3.2.5",
33
- "vite-plugin-blocklet": "^0.5.18",
33
+ "vite-plugin-blocklet": "^0.5.21",
34
34
  "vite-plugin-node-polyfills": "^0.7.0",
35
- "zx": "^7.1.1"
35
+ "zx": "^7.2.1"
36
36
  },
37
37
  "lint-staged": {
38
38
  "*.{mjs,js,vue}": [
@@ -1,11 +1,10 @@
1
1
  import { defineConfig } from 'vite';
2
2
  import { svelte } from '@sveltejs/vite-plugin-svelte';
3
3
  import { createBlockletPlugin } from 'vite-plugin-blocklet';
4
- import { nodePolyfills } from 'vite-plugin-node-polyfills';
5
4
 
6
5
  // https://vitejs.dev/config/
7
6
  export default defineConfig(() => {
8
7
  return {
9
- plugins: [svelte(), createBlockletPlugin(), nodePolyfills({ protocolImports: true })],
8
+ plugins: [svelte(), createBlockletPlugin()],
10
9
  };
11
10
  });
@@ -18,12 +18,12 @@
18
18
  "bump-version": "zx scripts/bump-version.mjs"
19
19
  },
20
20
  "dependencies": {
21
- "@arcblock/did-auth": "^1.18.50",
21
+ "@arcblock/did-auth": "^1.18.65",
22
22
  "@arcblock/did-auth-storage-nedb": "^1.7.1",
23
- "@blocklet/sdk": "^1.8.65",
24
- "@ocap/client": "^1.18.50",
25
- "@ocap/mcrypto": "^1.18.50",
26
- "@ocap/wallet": "^1.18.50",
23
+ "@blocklet/sdk": "^1.16.2",
24
+ "@ocap/client": "^1.18.65",
25
+ "@ocap/mcrypto": "^1.18.65",
26
+ "@ocap/wallet": "^1.18.65",
27
27
  "axios": "^0.27.2",
28
28
  "compression": "^1.7.4",
29
29
  "cookie-parser": "^1.4.6",
@@ -38,20 +38,20 @@
38
38
  "@vitejs/plugin-vue": "^3.2.0",
39
39
  "bumpp": "^8.2.1",
40
40
  "cross-env": "^7.0.3",
41
- "eslint": "^8.34.0",
42
- "eslint-config-prettier": "^8.6.0",
41
+ "eslint": "^8.37.0",
42
+ "eslint-config-prettier": "^8.8.0",
43
43
  "eslint-plugin-prettier": "^4.2.1",
44
- "eslint-plugin-vue": "^9.9.0",
44
+ "eslint-plugin-vue": "^9.10.0",
45
45
  "husky": "^8.0.3",
46
46
  "lint-staged": "^12.5.0",
47
- "nodemon": "^2.0.20",
47
+ "nodemon": "^2.0.22",
48
48
  "npm-run-all": "^4.1.5",
49
- "prettier": "^2.8.4",
49
+ "prettier": "^2.8.7",
50
50
  "rimraf": "^3.0.2",
51
51
  "vite": "^3.2.5",
52
- "vite-plugin-blocklet": "^0.5.18",
52
+ "vite-plugin-blocklet": "^0.5.21",
53
53
  "vite-plugin-node-polyfills": "^0.7.0",
54
- "zx": "^7.1.1"
54
+ "zx": "^7.2.1"
55
55
  },
56
56
  "lint-staged": {
57
57
  "*.{mjs,js,vue}": [
@@ -1,14 +1,10 @@
1
1
  import { defineConfig } from 'vite';
2
2
  import vue from '@vitejs/plugin-vue';
3
3
  import { createBlockletPlugin } from 'vite-plugin-blocklet';
4
- import { nodePolyfills } from 'vite-plugin-node-polyfills';
5
4
 
6
5
  // https://vitejs.dev/config/
7
6
  export default defineConfig(() => {
8
7
  return {
9
- plugins: [vue(), createBlockletPlugin(), nodePolyfills({ protocolImports: true })],
10
- define: {
11
- global: 'window',
12
- },
8
+ plugins: [vue(), createBlockletPlugin()],
13
9
  };
14
10
  });
@@ -22,18 +22,18 @@
22
22
  "devDependencies": {
23
23
  "@vitejs/plugin-vue": "^3.2.0",
24
24
  "bumpp": "^8.2.1",
25
- "eslint": "^8.34.0",
26
- "eslint-config-prettier": "^8.6.0",
25
+ "eslint": "^8.37.0",
26
+ "eslint-config-prettier": "^8.8.0",
27
27
  "eslint-plugin-prettier": "^4.2.1",
28
- "eslint-plugin-vue": "^9.9.0",
28
+ "eslint-plugin-vue": "^9.10.0",
29
29
  "husky": "^8.0.3",
30
30
  "lint-staged": "^12.5.0",
31
- "prettier": "^2.8.4",
31
+ "prettier": "^2.8.7",
32
32
  "rimraf": "^3.0.2",
33
33
  "vite": "^3.2.5",
34
- "vite-plugin-blocklet": "^0.5.18",
34
+ "vite-plugin-blocklet": "^0.5.21",
35
35
  "vite-plugin-node-polyfills": "^0.7.0",
36
- "zx": "^7.1.1"
36
+ "zx": "^7.2.1"
37
37
  },
38
38
  "lint-staged": {
39
39
  "*.{mjs,js,vue}": [
@@ -1,14 +1,10 @@
1
1
  import { defineConfig } from 'vite';
2
2
  import vue from '@vitejs/plugin-vue';
3
3
  import { createBlockletPlugin } from 'vite-plugin-blocklet';
4
- import { nodePolyfills } from 'vite-plugin-node-polyfills';
5
4
 
6
5
  // https://vitejs.dev/config/
7
6
  export default defineConfig(() => {
8
7
  return {
9
- plugins: [vue(), createBlockletPlugin(), nodePolyfills({ protocolImports: true })],
10
- define: {
11
- global: 'window',
12
- },
8
+ plugins: [vue(), createBlockletPlugin()],
13
9
  };
14
10
  });
@@ -18,12 +18,12 @@
18
18
  "bump-version": "zx scripts/bump-version.mjs"
19
19
  },
20
20
  "dependencies": {
21
- "@arcblock/did-auth": "^1.18.50",
21
+ "@arcblock/did-auth": "^1.18.65",
22
22
  "@arcblock/did-auth-storage-nedb": "^1.7.1",
23
- "@blocklet/sdk": "^1.8.65",
24
- "@ocap/client": "^1.18.50",
25
- "@ocap/mcrypto": "^1.18.50",
26
- "@ocap/wallet": "^1.18.50",
23
+ "@blocklet/sdk": "^1.16.2",
24
+ "@ocap/client": "^1.18.65",
25
+ "@ocap/mcrypto": "^1.18.65",
26
+ "@ocap/wallet": "^1.18.65",
27
27
  "axios": "^0.27.2",
28
28
  "compression": "^1.7.4",
29
29
  "cookie-parser": "^1.4.6",
@@ -38,20 +38,20 @@
38
38
  "@vitejs/plugin-vue2": "^2.2.0",
39
39
  "bumpp": "^8.2.1",
40
40
  "cross-env": "^7.0.3",
41
- "eslint": "^8.34.0",
42
- "eslint-config-prettier": "^8.6.0",
41
+ "eslint": "^8.37.0",
42
+ "eslint-config-prettier": "^8.8.0",
43
43
  "eslint-plugin-prettier": "^4.2.1",
44
- "eslint-plugin-vue": "^9.9.0",
44
+ "eslint-plugin-vue": "^9.10.0",
45
45
  "husky": "^8.0.3",
46
46
  "lint-staged": "^12.5.0",
47
- "nodemon": "^2.0.20",
47
+ "nodemon": "^2.0.22",
48
48
  "npm-run-all": "^4.1.5",
49
- "prettier": "^2.8.4",
49
+ "prettier": "^2.8.7",
50
50
  "rimraf": "^3.0.2",
51
51
  "vite": "^3.2.5",
52
- "vite-plugin-blocklet": "^0.5.18",
52
+ "vite-plugin-blocklet": "^0.5.21",
53
53
  "vite-plugin-node-polyfills": "^0.7.0",
54
- "zx": "^7.1.1"
54
+ "zx": "^7.2.1"
55
55
  },
56
56
  "lint-staged": {
57
57
  "*.{mjs,js,vue}": [
@@ -1,14 +1,10 @@
1
1
  import { defineConfig } from 'vite';
2
2
  import vue from '@vitejs/plugin-vue2';
3
3
  import { createBlockletPlugin } from 'vite-plugin-blocklet';
4
- import { nodePolyfills } from 'vite-plugin-node-polyfills';
5
4
 
6
5
  // https://vitejs.dev/config/
7
6
  export default defineConfig(() => {
8
7
  return {
9
- plugins: [vue(), createBlockletPlugin(), nodePolyfills({ protocolImports: true })],
10
- define: {
11
- global: 'window',
12
- },
8
+ plugins: [vue(), createBlockletPlugin()],
13
9
  };
14
10
  });
@@ -22,18 +22,18 @@
22
22
  "devDependencies": {
23
23
  "@vitejs/plugin-vue2": "^2.2.0",
24
24
  "bumpp": "^8.2.1",
25
- "eslint": "^8.34.0",
26
- "eslint-config-prettier": "^8.6.0",
25
+ "eslint": "^8.37.0",
26
+ "eslint-config-prettier": "^8.8.0",
27
27
  "eslint-plugin-prettier": "^4.2.1",
28
- "eslint-plugin-vue": "^9.9.0",
28
+ "eslint-plugin-vue": "^9.10.0",
29
29
  "husky": "^8.0.3",
30
30
  "lint-staged": "^12.5.0",
31
- "prettier": "^2.8.4",
31
+ "prettier": "^2.8.7",
32
32
  "rimraf": "^3.0.2",
33
33
  "vite": "^3.2.5",
34
- "vite-plugin-blocklet": "^0.5.18",
34
+ "vite-plugin-blocklet": "^0.5.21",
35
35
  "vite-plugin-node-polyfills": "^0.7.0",
36
- "zx": "^7.1.1"
36
+ "zx": "^7.2.1"
37
37
  },
38
38
  "lint-staged": {
39
39
  "*.{mjs,js,vue}": [
@@ -1,14 +1,10 @@
1
1
  import { defineConfig } from 'vite';
2
2
  import vue from '@vitejs/plugin-vue2';
3
3
  import { createBlockletPlugin } from 'vite-plugin-blocklet';
4
- import { nodePolyfills } from 'vite-plugin-node-polyfills';
5
4
 
6
5
  // https://vitejs.dev/config/
7
6
  export default defineConfig(() => {
8
7
  return {
9
- plugins: [vue(), createBlockletPlugin(), nodePolyfills({ protocolImports: true })],
10
- define: {
11
- global: 'window',
12
- },
8
+ plugins: [vue(), createBlockletPlugin()],
13
9
  };
14
10
  });
@@ -15,9 +15,9 @@
15
15
  "bump-version": "zx scripts/bump-version.mjs"
16
16
  },
17
17
  "dependencies": {
18
- "@xmark/cli": "^2.4.90",
18
+ "@xmark/cli": "^2.5.2",
19
19
  "bumpp": "^8.2.1",
20
20
  "rimraf": "^3.0.2",
21
- "zx": "^7.1.1"
21
+ "zx": "^7.2.1"
22
22
  }
23
23
  }