create-blocklet 0.4.63 → 0.4.64

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-blocklet",
3
- "version": "0.4.63",
3
+ "version": "0.4.64",
4
4
  "exports": "./index.js",
5
5
  "type": "module",
6
6
  "repository": "git@github.com:blocklet/create-blocklet.git",
@@ -29,9 +29,9 @@
29
29
  "test:run": "vitest run"
30
30
  },
31
31
  "dependencies": {
32
- "@arcblock/did": "^1.17.19",
33
- "@ocap/mcrypto": "^1.17.19",
34
- "@ocap/util": "^1.17.19",
32
+ "@arcblock/did": "^1.17.20",
33
+ "@ocap/mcrypto": "^1.17.20",
34
+ "@ocap/util": "^1.17.20",
35
35
  "boxen": "^6.2.1",
36
36
  "ejs": "^3.1.8",
37
37
  "envfile": "^6.18.0",
@@ -14,6 +14,6 @@
14
14
  "dev:child": "blocklet dev --component --app-did=<%= did %>"
15
15
  },
16
16
  "dependencies": {
17
- "@xmark/cli": "^2.4.72"
17
+ "@xmark/cli": "^2.4.73"
18
18
  }
19
19
  }
@@ -14,7 +14,7 @@
14
14
  "dev:child": "blocklet dev --component --app-did=<%= did %>"
15
15
  },
16
16
  "dependencies": {
17
- "@xmark/cli": "^2.4.72",
18
- "@xmark/theme-docs": "^2.4.72"
17
+ "@xmark/cli": "^2.4.73",
18
+ "@xmark/theme-docs": "^2.4.73"
19
19
  }
20
20
  }
@@ -1,11 +1,22 @@
1
1
  const express = require('express');
2
+ const env = require('./libs/env');
2
3
 
3
4
  const app = express();
4
5
 
5
6
  const port = process.env.BLOCKLET_PORT || process.env.PORT || 3030;
6
7
 
7
8
  app.get('/', (req, res) => {
8
- res.send('Hello World, Blocklet!');
9
+ res.send(`
10
+ <div style="display:flex;flex-direction:column;align-items:center;padding:64px 0;">
11
+ <h1 style="margin:64px 0;">
12
+ <span style="display:inline-block;padding:8px 24px;background:#1dc1c7;color:#fff;">Blocklet</span>
13
+ <span style="color:#777;">+ Express</span>
14
+ </h1>
15
+ <pre>
16
+ ${JSON.stringify(env, null, 2)}
17
+ </pre>
18
+ </div>
19
+ `);
9
20
  });
10
21
 
11
22
  app.listen(port, () => {
@@ -31,7 +31,7 @@
31
31
  "dependencies": {
32
32
  "@arcblock/did-auth-storage-nedb": "^1.7.1",
33
33
  "@blocklet/sdk": "^1.8.26",
34
- "@ocap/client": "^1.17.19",
34
+ "@ocap/client": "^1.17.20",
35
35
  "dotenv-flow": "^3.2.0",
36
36
  "express": "^4.18.1"
37
37
  },
@@ -27,12 +27,12 @@
27
27
  ]
28
28
  },
29
29
  "dependencies": {
30
- "@arcblock/did-auth": "^1.17.19",
30
+ "@arcblock/did-auth": "^1.17.20",
31
31
  "@arcblock/did-auth-storage-nedb": "^1.7.1",
32
32
  "@blocklet/sdk": "^1.8.26",
33
- "@ocap/client": "^1.17.19",
34
- "@ocap/mcrypto": "^1.17.19",
35
- "@ocap/wallet": "^1.17.19",
33
+ "@ocap/client": "^1.17.20",
34
+ "@ocap/mcrypto": "^1.17.20",
35
+ "@ocap/wallet": "^1.17.20",
36
36
  "dotenv-flow": "^3.2.0",
37
37
  "express": "^4.18.1",
38
38
  "next": "12.2.3",
@@ -41,12 +41,12 @@
41
41
  ]
42
42
  },
43
43
  "dependencies": {
44
- "@arcblock/did-auth": "^1.17.19",
44
+ "@arcblock/did-auth": "^1.17.20",
45
45
  "@arcblock/did-auth-storage-nedb": "^1.7.1",
46
46
  "@blocklet/sdk": "^1.8.26",
47
- "@ocap/client": "^1.17.19",
48
- "@ocap/mcrypto": "^1.17.19",
49
- "@ocap/wallet": "^1.17.19",
47
+ "@ocap/client": "^1.17.20",
48
+ "@ocap/mcrypto": "^1.17.20",
49
+ "@ocap/wallet": "^1.17.20",
50
50
  "axios": "^0.27.2",
51
51
  "compression": "^1.7.4",
52
52
  "cookie-parser": "^1.4.6",
@@ -41,12 +41,12 @@
41
41
  ]
42
42
  },
43
43
  "dependencies": {
44
- "@arcblock/did-auth": "^1.17.19",
44
+ "@arcblock/did-auth": "^1.17.20",
45
45
  "@arcblock/did-auth-storage-nedb": "^1.7.1",
46
46
  "@blocklet/sdk": "^1.8.26",
47
- "@ocap/client": "^1.17.19",
48
- "@ocap/mcrypto": "^1.17.19",
49
- "@ocap/wallet": "^1.17.19",
47
+ "@ocap/client": "^1.17.20",
48
+ "@ocap/mcrypto": "^1.17.20",
49
+ "@ocap/wallet": "^1.17.20",
50
50
  "axios": "^0.27.2",
51
51
  "compression": "^1.7.4",
52
52
  "cookie-parser": "^1.4.6",
@@ -32,17 +32,17 @@
32
32
  "npm-run-all": "^4.1.5",
33
33
  "prettier": "^2.7.1",
34
34
  "vite": "^3.1.4",
35
- "vite-plugin-blocklet": "^0.4.63",
35
+ "vite-plugin-blocklet": "^0.4.64",
36
36
  "vite-plugin-html": "^3.2.0",
37
37
  "vite-plugin-solid": "^2.3.9"
38
38
  },
39
39
  "dependencies": {
40
- "@arcblock/did-auth": "^1.17.19",
40
+ "@arcblock/did-auth": "^1.17.20",
41
41
  "@arcblock/did-auth-storage-nedb": "^1.7.1",
42
42
  "@blocklet/sdk": "^1.8.26",
43
- "@ocap/client": "^1.17.19",
44
- "@ocap/mcrypto": "^1.17.19",
45
- "@ocap/wallet": "^1.17.19",
43
+ "@ocap/client": "^1.17.20",
44
+ "@ocap/mcrypto": "^1.17.20",
45
+ "@ocap/wallet": "^1.17.20",
46
46
  "axios": "^0.27.2",
47
47
  "compression": "^1.7.4",
48
48
  "cookie-parser": "^1.4.6",
@@ -26,7 +26,7 @@
26
26
  "lint-staged": "^12.5.0",
27
27
  "prettier": "^2.7.1",
28
28
  "vite": "^3.1.4",
29
- "vite-plugin-blocklet": "^0.4.63",
29
+ "vite-plugin-blocklet": "^0.4.64",
30
30
  "vite-plugin-html": "^3.2.0",
31
31
  "vite-plugin-solid": "^2.3.9"
32
32
  },
@@ -19,12 +19,12 @@
19
19
  "prepare": "husky install"
20
20
  },
21
21
  "dependencies": {
22
- "@arcblock/did-auth": "^1.17.19",
22
+ "@arcblock/did-auth": "^1.17.20",
23
23
  "@arcblock/did-auth-storage-nedb": "^1.7.1",
24
24
  "@blocklet/sdk": "^1.8.26",
25
- "@ocap/client": "^1.17.19",
26
- "@ocap/mcrypto": "^1.17.19",
27
- "@ocap/wallet": "^1.17.19",
25
+ "@ocap/client": "^1.17.20",
26
+ "@ocap/mcrypto": "^1.17.20",
27
+ "@ocap/wallet": "^1.17.20",
28
28
  "axios": "^0.27.2",
29
29
  "compression": "^1.7.4",
30
30
  "cookie-parser": "^1.4.6",
@@ -46,7 +46,7 @@
46
46
  "prettier": "^2.7.1",
47
47
  "svelte": "^3.50.1",
48
48
  "vite": "^3.1.4",
49
- "vite-plugin-blocklet": "^0.4.63",
49
+ "vite-plugin-blocklet": "^0.4.64",
50
50
  "vite-plugin-html": "^3.2.0"
51
51
  },
52
52
  "lint-staged": {
@@ -27,7 +27,7 @@
27
27
  "prettier": "^2.7.1",
28
28
  "svelte": "^3.50.1",
29
29
  "vite": "^3.1.4",
30
- "vite-plugin-blocklet": "^0.4.63",
30
+ "vite-plugin-blocklet": "^0.4.64",
31
31
  "vite-plugin-html": "^3.2.0"
32
32
  },
33
33
  "lint-staged": {
@@ -20,12 +20,12 @@
20
20
  "prepare": "husky install"
21
21
  },
22
22
  "dependencies": {
23
- "@arcblock/did-auth": "^1.17.19",
23
+ "@arcblock/did-auth": "^1.17.20",
24
24
  "@arcblock/did-auth-storage-nedb": "^1.7.1",
25
25
  "@blocklet/sdk": "^1.8.26",
26
- "@ocap/client": "^1.17.19",
27
- "@ocap/mcrypto": "^1.17.19",
28
- "@ocap/wallet": "^1.17.19",
26
+ "@ocap/client": "^1.17.20",
27
+ "@ocap/mcrypto": "^1.17.20",
28
+ "@ocap/wallet": "^1.17.20",
29
29
  "axios": "^0.27.2",
30
30
  "compression": "^1.7.4",
31
31
  "cookie-parser": "^1.4.6",
@@ -49,7 +49,7 @@
49
49
  "npm-run-all": "^4.1.5",
50
50
  "prettier": "^2.7.1",
51
51
  "vite": "^3.1.4",
52
- "vite-plugin-blocklet": "^0.4.63"
52
+ "vite-plugin-blocklet": "^0.4.64"
53
53
  },
54
54
  "lint-staged": {
55
55
  "*.{mjs,js,vue}": [
@@ -28,7 +28,7 @@
28
28
  "lint-staged": "^12.5.0",
29
29
  "prettier": "^2.7.1",
30
30
  "vite": "^3.1.4",
31
- "vite-plugin-blocklet": "^0.4.63",
31
+ "vite-plugin-blocklet": "^0.4.64",
32
32
  "vite-plugin-html": "^3.2.0"
33
33
  },
34
34
  "lint-staged": {
@@ -20,12 +20,12 @@
20
20
  "prepare": "husky install"
21
21
  },
22
22
  "dependencies": {
23
- "@arcblock/did-auth": "^1.17.19",
23
+ "@arcblock/did-auth": "^1.17.20",
24
24
  "@arcblock/did-auth-storage-nedb": "^1.7.1",
25
25
  "@blocklet/sdk": "^1.8.26",
26
- "@ocap/client": "^1.17.19",
27
- "@ocap/mcrypto": "^1.17.19",
28
- "@ocap/wallet": "^1.17.19",
26
+ "@ocap/client": "^1.17.20",
27
+ "@ocap/mcrypto": "^1.17.20",
28
+ "@ocap/wallet": "^1.17.20",
29
29
  "axios": "^0.27.2",
30
30
  "compression": "^1.7.4",
31
31
  "cookie-parser": "^1.4.6",