create-blocklet 0.6.16 → 0.7.0
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 +1 -11
- package/package.json +11 -11
- package/templates/express-api/package.json +6 -6
- package/templates/monorepo/package.json +3 -3
- package/templates/nestjs-api/package.json +18 -18
- package/templates/nextjs-dapp/package.json +10 -10
- package/templates/react-dapp/package.json +15 -16
- package/templates/react-dapp-ts/package.json +24 -25
- package/templates/react-gun-dapp/package.json +15 -16
- package/templates/react-static/package.json +7 -8
- package/templates/solidjs-dapp/package.json +16 -17
- package/templates/solidjs-static/package.json +9 -10
- package/templates/svelte-dapp/package.json +14 -16
- package/templates/svelte-static/package.json +7 -8
- package/templates/vue-dapp/package.json +16 -17
- package/templates/vue-static/package.json +9 -10
- package/templates/vue2-dapp/package.json +16 -17
- package/templates/vue2-static/package.json +8 -9
- package/templates/docsite/.blocklet-pages/config.yml +0 -23
- package/templates/docsite/.blocklet-pages/layouts/Documentation.mdx +0 -7
- package/templates/docsite/.blocklet-pages/layouts/images/logo.png +0 -0
- package/templates/docsite/README.md +0 -0
- package/templates/docsite/blocklet.md +0 -3
- package/templates/docsite/blocklet.yml +0 -61
- package/templates/docsite/package.json +0 -24
- package/templates/docsite/pages/index.mdx +0 -6
- package/templates/docsite/pages/index.zh.mdx +0 -6
- package/templates/docsite/pages/intro/index.mdx +0 -28
- package/templates/docsite/pages/intro/index.zh.mdx +0 -28
- package/templates/docsite/template-info.json +0 -14
- package/templates/website/.blocklet-pages/config.yml +0 -7
- package/templates/website/.blocklet-pages/layouts/MyLayout.mdx +0 -11
- package/templates/website/.blocklet-pages/layouts/images/logo.png +0 -0
- package/templates/website/README.md +0 -1
- package/templates/website/blocklet.md +0 -3
- package/templates/website/blocklet.yml +0 -67
- package/templates/website/package.json +0 -23
- package/templates/website/pages/index.mdx +0 -29
- package/templates/website/pages/index.zh.mdx +0 -28
- package/templates/website/template-info.json +0 -14
package/index.js
CHANGED
|
@@ -98,16 +98,6 @@ const templates = [
|
|
|
98
98
|
display: '[static] svelte',
|
|
99
99
|
color: magenta,
|
|
100
100
|
},
|
|
101
|
-
{
|
|
102
|
-
name: 'website',
|
|
103
|
-
display: '[static] website powered by blocklet pages',
|
|
104
|
-
color: blue,
|
|
105
|
-
},
|
|
106
|
-
{
|
|
107
|
-
name: 'docsite',
|
|
108
|
-
display: '[static] documentation site powered by blocklet pages',
|
|
109
|
-
color: blue,
|
|
110
|
-
},
|
|
111
101
|
{
|
|
112
102
|
name: 'html-static',
|
|
113
103
|
display: '[static] html',
|
|
@@ -341,7 +331,7 @@ async function init() {
|
|
|
341
331
|
continue;
|
|
342
332
|
}
|
|
343
333
|
// html-staic 和 xmark 相关的模板不添加 .husky
|
|
344
|
-
if (fuzzyQuery(['html-static'
|
|
334
|
+
if (fuzzyQuery(['html-static'], templateName) && ['.husky'].includes(file)) {
|
|
345
335
|
// eslint-disable-next-line no-continue
|
|
346
336
|
continue;
|
|
347
337
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-blocklet",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.7.0",
|
|
4
4
|
"exports": "./index.js",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"repository": "git@github.com:blocklet/create-blocklet.git",
|
|
@@ -29,25 +29,25 @@
|
|
|
29
29
|
"test:run": "vitest run"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@arcblock/did": "^1.18.
|
|
33
|
-
"@ocap/mcrypto": "^1.18.
|
|
34
|
-
"@ocap/util": "^1.18.
|
|
32
|
+
"@arcblock/did": "^1.18.107",
|
|
33
|
+
"@ocap/mcrypto": "^1.18.107",
|
|
34
|
+
"@ocap/util": "^1.18.107",
|
|
35
35
|
"boxen": "^6.2.1",
|
|
36
36
|
"ejs": "^3.1.9",
|
|
37
|
-
"envfile": "^6.
|
|
38
|
-
"figlet": "^1.
|
|
37
|
+
"envfile": "^6.22.0",
|
|
38
|
+
"figlet": "^1.7.0",
|
|
39
39
|
"gradient-string": "^2.0.2",
|
|
40
40
|
"jdenticon": "^3.2.0",
|
|
41
41
|
"ora": "^6.3.1",
|
|
42
42
|
"prompts": "^2.4.2",
|
|
43
43
|
"semver": "^7.5.4",
|
|
44
44
|
"terminal-link": "^3.0.0",
|
|
45
|
-
"zx": "7.
|
|
45
|
+
"zx": "7.2.3"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
|
-
"@arcblock/eslint-config-base": "0.2.
|
|
49
|
-
"eslint": "^8.
|
|
50
|
-
"prettier": "^
|
|
51
|
-
"vitest": "^
|
|
48
|
+
"@arcblock/eslint-config-base": "0.2.4",
|
|
49
|
+
"eslint": "^8.56.0",
|
|
50
|
+
"prettier": "^3.1.1",
|
|
51
|
+
"vitest": "^1.1.0"
|
|
52
52
|
}
|
|
53
53
|
}
|
|
@@ -31,19 +31,19 @@
|
|
|
31
31
|
"license": "ISC",
|
|
32
32
|
"dependencies": {
|
|
33
33
|
"@arcblock/did-auth-storage-nedb": "^1.7.1",
|
|
34
|
-
"@blocklet/sdk": "^1.16.
|
|
35
|
-
"@ocap/client": "^1.18.
|
|
36
|
-
"dotenv-flow": "^3.
|
|
34
|
+
"@blocklet/sdk": "^1.16.20",
|
|
35
|
+
"@ocap/client": "^1.18.107",
|
|
36
|
+
"dotenv-flow": "^3.3.0",
|
|
37
37
|
"express": "^4.18.2"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"@arcblock/eslint-config-base": "^0.2.4",
|
|
41
41
|
"bumpp": "^8.2.1",
|
|
42
|
-
"eslint": "^8.
|
|
42
|
+
"eslint": "^8.56.0",
|
|
43
43
|
"husky": "^8.0.3",
|
|
44
44
|
"lint-staged": "^12.5.0",
|
|
45
|
-
"nodemon": "^
|
|
46
|
-
"prettier": "^
|
|
45
|
+
"nodemon": "^3.0.2",
|
|
46
|
+
"prettier": "^3.1.1",
|
|
47
47
|
"rimraf": "^3.0.2",
|
|
48
48
|
"zx": "^7.2.3"
|
|
49
49
|
}
|
|
@@ -23,11 +23,11 @@
|
|
|
23
23
|
"author": "",
|
|
24
24
|
"license": "ISC",
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
"@arcblock/eslint-config": "0.2.
|
|
26
|
+
"@arcblock/eslint-config": "0.2.4",
|
|
27
27
|
"bumpp": "^7.2.0",
|
|
28
|
-
"eslint": "^8.
|
|
28
|
+
"eslint": "^8.56.0",
|
|
29
29
|
"husky": "^4.3.8",
|
|
30
|
-
"prettier": "^
|
|
30
|
+
"prettier": "^3.1.1",
|
|
31
31
|
"zx": "^7.2.3"
|
|
32
32
|
}
|
|
33
33
|
}
|
|
@@ -32,35 +32,35 @@
|
|
|
32
32
|
"license": "ISC",
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"@arcblock/did-auth-storage-nedb": "^1.7.1",
|
|
35
|
-
"@blocklet/sdk": "^1.16.
|
|
36
|
-
"@nestjs/common": "^
|
|
37
|
-
"@nestjs/core": "^
|
|
38
|
-
"@nestjs/platform-express": "^
|
|
39
|
-
"@ocap/client": "^1.18.
|
|
40
|
-
"dotenv-flow": "^3.
|
|
35
|
+
"@blocklet/sdk": "^1.16.20",
|
|
36
|
+
"@nestjs/common": "^10.3.0",
|
|
37
|
+
"@nestjs/core": "^10.3.0",
|
|
38
|
+
"@nestjs/platform-express": "^10.3.0",
|
|
39
|
+
"@ocap/client": "^1.18.107",
|
|
40
|
+
"dotenv-flow": "^3.3.0",
|
|
41
41
|
"express": "^4.18.2",
|
|
42
|
-
"reflect-metadata": "^0.1.
|
|
42
|
+
"reflect-metadata": "^0.1.14",
|
|
43
43
|
"rxjs": "^7.8.1"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"@arcblock/eslint-config-base": "^0.2.4",
|
|
47
|
-
"@nestjs/cli": "^
|
|
48
|
-
"@nestjs/schematics": "^
|
|
49
|
-
"@types/express": "^4.17.
|
|
50
|
-
"@types/node": "^18.
|
|
51
|
-
"@typescript-eslint/eslint-plugin": "^
|
|
52
|
-
"@typescript-eslint/parser": "^
|
|
47
|
+
"@nestjs/cli": "^10.2.1",
|
|
48
|
+
"@nestjs/schematics": "^10.0.3",
|
|
49
|
+
"@types/express": "^4.17.21",
|
|
50
|
+
"@types/node": "^18.19.3",
|
|
51
|
+
"@typescript-eslint/eslint-plugin": "^6.15.0",
|
|
52
|
+
"@typescript-eslint/parser": "^6.15.0",
|
|
53
53
|
"bumpp": "^8.2.1",
|
|
54
|
-
"eslint": "^8.
|
|
54
|
+
"eslint": "^8.56.0",
|
|
55
55
|
"husky": "^8.0.3",
|
|
56
56
|
"lint-staged": "^12.5.0",
|
|
57
|
-
"nodemon": "^
|
|
58
|
-
"prettier": "^
|
|
57
|
+
"nodemon": "^3.0.2",
|
|
58
|
+
"prettier": "^3.1.1",
|
|
59
59
|
"rimraf": "^3.0.2",
|
|
60
60
|
"source-map-support": "^0.5.21",
|
|
61
|
-
"ts-node": "^10.9.
|
|
61
|
+
"ts-node": "^10.9.2",
|
|
62
62
|
"tsconfig-paths": "^4.2.0",
|
|
63
|
-
"typescript": "^
|
|
63
|
+
"typescript": "^5.3.3",
|
|
64
64
|
"zx": "^7.2.3"
|
|
65
65
|
}
|
|
66
66
|
}
|
|
@@ -28,25 +28,25 @@
|
|
|
28
28
|
]
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@arcblock/did-auth": "^1.18.
|
|
31
|
+
"@arcblock/did-auth": "^1.18.107",
|
|
32
32
|
"@arcblock/did-auth-storage-nedb": "^1.7.1",
|
|
33
|
-
"@blocklet/sdk": "^1.16.
|
|
34
|
-
"@ocap/client": "^1.18.
|
|
35
|
-
"@ocap/mcrypto": "^1.18.
|
|
36
|
-
"@ocap/wallet": "^1.18.
|
|
37
|
-
"dotenv-flow": "^3.
|
|
33
|
+
"@blocklet/sdk": "^1.16.20",
|
|
34
|
+
"@ocap/client": "^1.18.107",
|
|
35
|
+
"@ocap/mcrypto": "^1.18.107",
|
|
36
|
+
"@ocap/wallet": "^1.18.107",
|
|
37
|
+
"dotenv-flow": "^3.3.0",
|
|
38
38
|
"express": "^4.18.2",
|
|
39
|
-
"next": "
|
|
39
|
+
"next": "14.0.4",
|
|
40
40
|
"react": "18.2.0",
|
|
41
41
|
"react-dom": "18.2.0"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"bumpp": "^8.2.1",
|
|
45
|
-
"eslint": "8.
|
|
46
|
-
"eslint-config-next": "
|
|
45
|
+
"eslint": "8.56.0",
|
|
46
|
+
"eslint-config-next": "14.0.4",
|
|
47
47
|
"husky": "^8.0.3",
|
|
48
48
|
"lint-staged": "^12.5.0",
|
|
49
|
-
"nodemon": "^
|
|
49
|
+
"nodemon": "^3.0.2",
|
|
50
50
|
"npm-run-all": "^4.1.5",
|
|
51
51
|
"rimraf": "^3.0.2",
|
|
52
52
|
"zx": "^7.2.3"
|
|
@@ -40,38 +40,37 @@
|
|
|
40
40
|
]
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@arcblock/did-auth": "^1.18.
|
|
43
|
+
"@arcblock/did-auth": "^1.18.107",
|
|
44
44
|
"@arcblock/did-auth-storage-nedb": "^1.7.1",
|
|
45
|
-
"@blocklet/sdk": "^1.16.
|
|
46
|
-
"@ocap/client": "^1.18.
|
|
47
|
-
"@ocap/mcrypto": "^1.18.
|
|
48
|
-
"@ocap/wallet": "^1.18.
|
|
49
|
-
"axios": "^
|
|
45
|
+
"@blocklet/sdk": "^1.16.20",
|
|
46
|
+
"@ocap/client": "^1.18.107",
|
|
47
|
+
"@ocap/mcrypto": "^1.18.107",
|
|
48
|
+
"@ocap/wallet": "^1.18.107",
|
|
49
|
+
"axios": "^1.6.2",
|
|
50
50
|
"cookie-parser": "^1.4.6",
|
|
51
51
|
"cors": "^2.8.5",
|
|
52
|
-
"dotenv-flow": "^3.
|
|
52
|
+
"dotenv-flow": "^3.3.0",
|
|
53
53
|
"express": "^4.18.2",
|
|
54
54
|
"express-async-errors": "^3.1.1",
|
|
55
55
|
"react": "^18.2.0",
|
|
56
56
|
"react-dom": "^18.2.0",
|
|
57
|
-
"react-router-dom": "^6.
|
|
57
|
+
"react-router-dom": "^6.21.0",
|
|
58
58
|
"rimraf": "^3.0.2"
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|
|
61
61
|
"@arcblock/eslint-config": "^0.2.4",
|
|
62
|
-
"@vitejs/plugin-react": "^
|
|
62
|
+
"@vitejs/plugin-react": "^4.2.1",
|
|
63
63
|
"bumpp": "^8.2.1",
|
|
64
64
|
"cross-env": "^7.0.3",
|
|
65
|
-
"eslint": "^8.
|
|
65
|
+
"eslint": "^8.56.0",
|
|
66
66
|
"husky": "^8.0.3",
|
|
67
67
|
"lint-staged": "^12.5.0",
|
|
68
|
-
"nodemon": "^
|
|
68
|
+
"nodemon": "^3.0.2",
|
|
69
69
|
"npm-run-all": "^4.1.5",
|
|
70
|
-
"prettier": "^
|
|
71
|
-
"vite": "^
|
|
72
|
-
"vite-plugin-blocklet": "^0.
|
|
73
|
-
"vite-plugin-
|
|
74
|
-
"vite-plugin-svgr": "^2.4.0",
|
|
70
|
+
"prettier": "^3.1.1",
|
|
71
|
+
"vite": "^5.0.10",
|
|
72
|
+
"vite-plugin-blocklet": "^0.7.0",
|
|
73
|
+
"vite-plugin-svgr": "^4.2.0",
|
|
75
74
|
"zx": "^7.2.3"
|
|
76
75
|
}
|
|
77
76
|
}
|
|
@@ -38,50 +38,49 @@
|
|
|
38
38
|
]
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@arcblock/did-auth": "^1.18.
|
|
41
|
+
"@arcblock/did-auth": "^1.18.107",
|
|
42
42
|
"@arcblock/did-auth-storage-nedb": "^1.7.1",
|
|
43
|
-
"@blocklet/sdk": "^1.16.
|
|
44
|
-
"@ocap/client": "^1.18.
|
|
45
|
-
"@ocap/mcrypto": "^1.18.
|
|
46
|
-
"@ocap/wallet": "^1.18.
|
|
47
|
-
"axios": "^
|
|
43
|
+
"@blocklet/sdk": "^1.16.20",
|
|
44
|
+
"@ocap/client": "^1.18.107",
|
|
45
|
+
"@ocap/mcrypto": "^1.18.107",
|
|
46
|
+
"@ocap/wallet": "^1.18.107",
|
|
47
|
+
"axios": "^1.6.2",
|
|
48
48
|
"cookie-parser": "^1.4.6",
|
|
49
49
|
"cors": "^2.8.5",
|
|
50
|
-
"dotenv-flow": "^3.
|
|
50
|
+
"dotenv-flow": "^3.3.0",
|
|
51
51
|
"express": "^4.18.2",
|
|
52
52
|
"express-async-errors": "^3.1.1",
|
|
53
53
|
"react": "^18.2.0",
|
|
54
54
|
"react-dom": "^18.2.0",
|
|
55
|
-
"react-router-dom": "^6.
|
|
55
|
+
"react-router-dom": "^6.21.0",
|
|
56
56
|
"rimraf": "^3.0.2"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
59
|
"@arcblock/eslint-config": "^0.2.4",
|
|
60
60
|
"@arcblock/eslint-config-ts": "^0.2.4",
|
|
61
|
-
"@types/cookie-parser": "^1.4.
|
|
62
|
-
"@types/cors": "^2.8.
|
|
63
|
-
"@types/dotenv-flow": "^3.
|
|
64
|
-
"@types/express": "^4.17.
|
|
65
|
-
"@types/node": "^18.
|
|
66
|
-
"@types/react": "^18.2.
|
|
67
|
-
"@types/react-dom": "^18.2.
|
|
68
|
-
"@vitejs/plugin-react": "^
|
|
61
|
+
"@types/cookie-parser": "^1.4.6",
|
|
62
|
+
"@types/cors": "^2.8.17",
|
|
63
|
+
"@types/dotenv-flow": "^3.3.3",
|
|
64
|
+
"@types/express": "^4.17.21",
|
|
65
|
+
"@types/node": "^18.19.3",
|
|
66
|
+
"@types/react": "^18.2.45",
|
|
67
|
+
"@types/react-dom": "^18.2.18",
|
|
68
|
+
"@vitejs/plugin-react": "^4.2.1",
|
|
69
69
|
"bumpp": "^8.2.1",
|
|
70
70
|
"cross-env": "^7.0.3",
|
|
71
|
-
"eslint": "^8.
|
|
71
|
+
"eslint": "^8.56.0",
|
|
72
72
|
"husky": "^8.0.3",
|
|
73
73
|
"import-sort-style-module": "^6.0.0",
|
|
74
74
|
"lint-staged": "^12.5.0",
|
|
75
|
-
"nodemon": "^
|
|
75
|
+
"nodemon": "^3.0.2",
|
|
76
76
|
"npm-run-all": "^4.1.5",
|
|
77
|
-
"prettier": "^
|
|
77
|
+
"prettier": "^3.1.1",
|
|
78
78
|
"prettier-plugin-import-sort": "^0.0.7",
|
|
79
|
-
"ts-node": "^10.9.
|
|
80
|
-
"typescript": "^
|
|
81
|
-
"vite": "^
|
|
82
|
-
"vite-plugin-blocklet": "^0.
|
|
83
|
-
"vite-plugin-
|
|
84
|
-
"vite-plugin-svgr": "^2.4.0",
|
|
79
|
+
"ts-node": "^10.9.2",
|
|
80
|
+
"typescript": "^5.3.3",
|
|
81
|
+
"vite": "^5.0.10",
|
|
82
|
+
"vite-plugin-blocklet": "^0.7.0",
|
|
83
|
+
"vite-plugin-svgr": "^4.2.0",
|
|
85
84
|
"zx": "^7.2.3"
|
|
86
85
|
},
|
|
87
86
|
"importSort": {
|
|
@@ -40,39 +40,38 @@
|
|
|
40
40
|
]
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@arcblock/did-auth": "^1.18.
|
|
43
|
+
"@arcblock/did-auth": "^1.18.107",
|
|
44
44
|
"@arcblock/did-auth-storage-nedb": "^1.7.1",
|
|
45
|
-
"@blocklet/sdk": "^1.16.
|
|
46
|
-
"@ocap/client": "^1.18.
|
|
47
|
-
"@ocap/mcrypto": "^1.18.
|
|
48
|
-
"@ocap/wallet": "^1.18.
|
|
49
|
-
"axios": "^
|
|
45
|
+
"@blocklet/sdk": "^1.16.20",
|
|
46
|
+
"@ocap/client": "^1.18.107",
|
|
47
|
+
"@ocap/mcrypto": "^1.18.107",
|
|
48
|
+
"@ocap/wallet": "^1.18.107",
|
|
49
|
+
"axios": "^1.6.2",
|
|
50
50
|
"cookie-parser": "^1.4.6",
|
|
51
51
|
"cors": "^2.8.5",
|
|
52
|
-
"dotenv-flow": "^3.
|
|
52
|
+
"dotenv-flow": "^3.3.0",
|
|
53
53
|
"express": "^4.18.2",
|
|
54
54
|
"express-async-errors": "^3.1.1",
|
|
55
55
|
"gun": "^0.2020.1239",
|
|
56
56
|
"react": "^18.2.0",
|
|
57
57
|
"react-dom": "^18.2.0",
|
|
58
|
-
"react-router-dom": "^6.
|
|
58
|
+
"react-router-dom": "^6.21.0"
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|
|
61
61
|
"@arcblock/eslint-config": "^0.2.4",
|
|
62
|
-
"@vitejs/plugin-react": "^
|
|
62
|
+
"@vitejs/plugin-react": "^4.2.1",
|
|
63
63
|
"bumpp": "^8.2.1",
|
|
64
64
|
"cross-env": "^7.0.3",
|
|
65
|
-
"eslint": "^8.
|
|
65
|
+
"eslint": "^8.56.0",
|
|
66
66
|
"husky": "^8.0.3",
|
|
67
67
|
"lint-staged": "^12.5.0",
|
|
68
|
-
"nodemon": "^
|
|
68
|
+
"nodemon": "^3.0.2",
|
|
69
69
|
"npm-run-all": "^4.1.5",
|
|
70
|
-
"prettier": "^
|
|
70
|
+
"prettier": "^3.1.1",
|
|
71
71
|
"rimraf": "^3.0.2",
|
|
72
|
-
"vite": "^
|
|
73
|
-
"vite-plugin-blocklet": "^0.
|
|
74
|
-
"vite-plugin-
|
|
75
|
-
"vite-plugin-svgr": "^2.4.0",
|
|
72
|
+
"vite": "^5.0.10",
|
|
73
|
+
"vite-plugin-blocklet": "^0.7.0",
|
|
74
|
+
"vite-plugin-svgr": "^4.2.0",
|
|
76
75
|
"zx": "^7.2.3"
|
|
77
76
|
}
|
|
78
77
|
}
|
|
@@ -41,21 +41,20 @@
|
|
|
41
41
|
"dependencies": {
|
|
42
42
|
"react": "^18.2.0",
|
|
43
43
|
"react-dom": "^18.2.0",
|
|
44
|
-
"react-router-dom": "^6.
|
|
44
|
+
"react-router-dom": "^6.21.0"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
47
|
"@arcblock/eslint-config": "^0.2.4",
|
|
48
|
-
"@vitejs/plugin-react": "^
|
|
48
|
+
"@vitejs/plugin-react": "^4.2.1",
|
|
49
49
|
"bumpp": "^8.2.1",
|
|
50
|
-
"eslint": "^8.
|
|
50
|
+
"eslint": "^8.56.0",
|
|
51
51
|
"husky": "^8.0.3",
|
|
52
52
|
"lint-staged": "^12.5.0",
|
|
53
|
-
"prettier": "^
|
|
53
|
+
"prettier": "^3.1.1",
|
|
54
54
|
"rimraf": "^3.0.2",
|
|
55
|
-
"vite": "^
|
|
56
|
-
"vite-plugin-blocklet": "^0.
|
|
57
|
-
"vite-plugin-
|
|
58
|
-
"vite-plugin-svgr": "^2.4.0",
|
|
55
|
+
"vite": "^5.0.10",
|
|
56
|
+
"vite-plugin-blocklet": "^0.7.0",
|
|
57
|
+
"vite-plugin-svgr": "^4.2.0",
|
|
59
58
|
"zx": "^7.2.3"
|
|
60
59
|
}
|
|
61
60
|
}
|
|
@@ -22,36 +22,35 @@
|
|
|
22
22
|
"devDependencies": {
|
|
23
23
|
"bumpp": "^8.2.1",
|
|
24
24
|
"cross-env": "^7.0.3",
|
|
25
|
-
"eslint": "^8.
|
|
26
|
-
"eslint-config-prettier": "^8.
|
|
25
|
+
"eslint": "^8.56.0",
|
|
26
|
+
"eslint-config-prettier": "^8.10.0",
|
|
27
27
|
"eslint-plugin-prettier": "^4.2.1",
|
|
28
|
-
"eslint-plugin-solid": "0.
|
|
28
|
+
"eslint-plugin-solid": "0.13.0",
|
|
29
29
|
"husky": "^8.0.3",
|
|
30
30
|
"lint-staged": "^12.5.0",
|
|
31
|
-
"nodemon": "^
|
|
31
|
+
"nodemon": "^3.0.2",
|
|
32
32
|
"npm-run-all": "^4.1.5",
|
|
33
|
-
"prettier": "^
|
|
33
|
+
"prettier": "^3.1.1",
|
|
34
34
|
"rimraf": "^3.0.2",
|
|
35
|
-
"vite": "^
|
|
36
|
-
"vite-plugin-blocklet": "^0.
|
|
37
|
-
"vite-plugin-
|
|
38
|
-
"vite-plugin-solid": "^2.7.0",
|
|
35
|
+
"vite": "^5.0.10",
|
|
36
|
+
"vite-plugin-blocklet": "^0.7.0",
|
|
37
|
+
"vite-plugin-solid": "^2.8.0",
|
|
39
38
|
"zx": "^7.2.3"
|
|
40
39
|
},
|
|
41
40
|
"dependencies": {
|
|
42
|
-
"@arcblock/did-auth": "^1.18.
|
|
41
|
+
"@arcblock/did-auth": "^1.18.107",
|
|
43
42
|
"@arcblock/did-auth-storage-nedb": "^1.7.1",
|
|
44
|
-
"@blocklet/sdk": "^1.16.
|
|
45
|
-
"@ocap/client": "^1.18.
|
|
46
|
-
"@ocap/mcrypto": "^1.18.
|
|
47
|
-
"@ocap/wallet": "^1.18.
|
|
48
|
-
"axios": "^
|
|
43
|
+
"@blocklet/sdk": "^1.16.20",
|
|
44
|
+
"@ocap/client": "^1.18.107",
|
|
45
|
+
"@ocap/mcrypto": "^1.18.107",
|
|
46
|
+
"@ocap/wallet": "^1.18.107",
|
|
47
|
+
"axios": "^1.6.2",
|
|
49
48
|
"cookie-parser": "^1.4.6",
|
|
50
49
|
"cors": "^2.8.5",
|
|
51
|
-
"dotenv-flow": "^3.
|
|
50
|
+
"dotenv-flow": "^3.3.0",
|
|
52
51
|
"express": "^4.18.2",
|
|
53
52
|
"express-async-errors": "^3.1.1",
|
|
54
|
-
"solid-js": "^1.7
|
|
53
|
+
"solid-js": "^1.8.7"
|
|
55
54
|
},
|
|
56
55
|
"lint-staged": {
|
|
57
56
|
"*.{mjs,js,vue}": [
|
|
@@ -20,22 +20,21 @@
|
|
|
20
20
|
"license": "MIT",
|
|
21
21
|
"devDependencies": {
|
|
22
22
|
"bumpp": "^8.2.1",
|
|
23
|
-
"eslint": "^8.
|
|
24
|
-
"eslint-config-prettier": "^8.
|
|
25
|
-
"eslint-plugin-prettier": "^
|
|
26
|
-
"eslint-plugin-solid": "0.
|
|
23
|
+
"eslint": "^8.56.0",
|
|
24
|
+
"eslint-config-prettier": "^8.10.0",
|
|
25
|
+
"eslint-plugin-prettier": "^5.1.0",
|
|
26
|
+
"eslint-plugin-solid": "0.13.0",
|
|
27
27
|
"husky": "^8.0.3",
|
|
28
28
|
"lint-staged": "^12.5.0",
|
|
29
|
-
"prettier": "^
|
|
29
|
+
"prettier": "^3.1.1",
|
|
30
30
|
"rimraf": "^3.0.2",
|
|
31
|
-
"vite": "^
|
|
32
|
-
"vite-plugin-blocklet": "^0.
|
|
33
|
-
"vite-plugin-
|
|
34
|
-
"vite-plugin-solid": "^2.7.0",
|
|
31
|
+
"vite": "^5.0.10",
|
|
32
|
+
"vite-plugin-blocklet": "^0.7.0",
|
|
33
|
+
"vite-plugin-solid": "^2.8.0",
|
|
35
34
|
"zx": "^7.2.3"
|
|
36
35
|
},
|
|
37
36
|
"dependencies": {
|
|
38
|
-
"solid-js": "^1.7
|
|
37
|
+
"solid-js": "^1.8.7"
|
|
39
38
|
},
|
|
40
39
|
"lint-staged": {
|
|
41
40
|
"*.{mjs,js,vue}": [
|
|
@@ -17,37 +17,35 @@
|
|
|
17
17
|
"bump-version": "zx --quiet scripts/bump-version.mjs"
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@arcblock/did-auth": "^1.18.
|
|
20
|
+
"@arcblock/did-auth": "^1.18.107",
|
|
21
21
|
"@arcblock/did-auth-storage-nedb": "^1.7.1",
|
|
22
|
-
"@blocklet/sdk": "^1.16.
|
|
23
|
-
"@ocap/client": "^1.18.
|
|
24
|
-
"@ocap/mcrypto": "^1.18.
|
|
25
|
-
"@ocap/wallet": "^1.18.
|
|
26
|
-
"axios": "^
|
|
22
|
+
"@blocklet/sdk": "^1.16.20",
|
|
23
|
+
"@ocap/client": "^1.18.107",
|
|
24
|
+
"@ocap/mcrypto": "^1.18.107",
|
|
25
|
+
"@ocap/wallet": "^1.18.107",
|
|
26
|
+
"axios": "^1.6.2",
|
|
27
27
|
"cookie-parser": "^1.4.6",
|
|
28
28
|
"cors": "^2.8.5",
|
|
29
|
-
"dotenv-flow": "^3.
|
|
29
|
+
"dotenv-flow": "^3.3.0",
|
|
30
30
|
"express": "^4.18.2",
|
|
31
31
|
"express-async-errors": "^3.1.1"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
|
-
"@sveltejs/vite-plugin-svelte": "
|
|
34
|
+
"@sveltejs/vite-plugin-svelte": "3.0.1",
|
|
35
35
|
"bumpp": "^8.2.1",
|
|
36
36
|
"cross-env": "^7.0.3",
|
|
37
|
-
"eslint": "^8.
|
|
38
|
-
"eslint-config-prettier": "^8.
|
|
37
|
+
"eslint": "^8.56.0",
|
|
38
|
+
"eslint-config-prettier": "^8.10.0",
|
|
39
39
|
"eslint-plugin-prettier": "^4.2.1",
|
|
40
40
|
"eslint-plugin-svelte3": "^4.0.0",
|
|
41
41
|
"husky": "^8.0.3",
|
|
42
42
|
"lint-staged": "^12.5.0",
|
|
43
43
|
"npm-run-all": "^4.1.5",
|
|
44
|
-
"prettier": "^
|
|
44
|
+
"prettier": "^3.1.1",
|
|
45
45
|
"rimraf": "^3.0.2",
|
|
46
|
-
"svelte": "^
|
|
47
|
-
"vite": "^
|
|
48
|
-
"vite-plugin-blocklet": "^0.
|
|
49
|
-
"vite-plugin-html": "^3.2.0",
|
|
50
|
-
"vite-plugin-node-polyfills": "^0.7.0",
|
|
46
|
+
"svelte": "^4.2.8",
|
|
47
|
+
"vite": "^5.0.10",
|
|
48
|
+
"vite-plugin-blocklet": "^0.7.0",
|
|
51
49
|
"zx": "^7.2.3"
|
|
52
50
|
},
|
|
53
51
|
"lint-staged": {
|
|
@@ -18,20 +18,19 @@
|
|
|
18
18
|
"bump-version": "zx --quiet scripts/bump-version.mjs"
|
|
19
19
|
},
|
|
20
20
|
"devDependencies": {
|
|
21
|
-
"@sveltejs/vite-plugin-svelte": "
|
|
21
|
+
"@sveltejs/vite-plugin-svelte": "3.0.1",
|
|
22
22
|
"bumpp": "^8.2.1",
|
|
23
|
-
"eslint": "^8.
|
|
24
|
-
"eslint-config-prettier": "^8.
|
|
23
|
+
"eslint": "^8.56.0",
|
|
24
|
+
"eslint-config-prettier": "^8.10.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": "^
|
|
29
|
+
"prettier": "^3.1.1",
|
|
30
30
|
"rimraf": "^3.0.2",
|
|
31
|
-
"svelte": "^
|
|
32
|
-
"vite": "^
|
|
33
|
-
"vite-plugin-blocklet": "^0.
|
|
34
|
-
"vite-plugin-node-polyfills": "^0.7.0",
|
|
31
|
+
"svelte": "^4.2.8",
|
|
32
|
+
"vite": "^5.0.10",
|
|
33
|
+
"vite-plugin-blocklet": "^0.7.0",
|
|
35
34
|
"zx": "^7.2.3"
|
|
36
35
|
},
|
|
37
36
|
"lint-staged": {
|
|
@@ -18,37 +18,36 @@
|
|
|
18
18
|
"bump-version": "zx --quiet scripts/bump-version.mjs"
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@arcblock/did-auth": "^1.18.
|
|
21
|
+
"@arcblock/did-auth": "^1.18.107",
|
|
22
22
|
"@arcblock/did-auth-storage-nedb": "^1.7.1",
|
|
23
|
-
"@blocklet/sdk": "^1.16.
|
|
24
|
-
"@ocap/client": "^1.18.
|
|
25
|
-
"@ocap/mcrypto": "^1.18.
|
|
26
|
-
"@ocap/wallet": "^1.18.
|
|
27
|
-
"axios": "^
|
|
23
|
+
"@blocklet/sdk": "^1.16.20",
|
|
24
|
+
"@ocap/client": "^1.18.107",
|
|
25
|
+
"@ocap/mcrypto": "^1.18.107",
|
|
26
|
+
"@ocap/wallet": "^1.18.107",
|
|
27
|
+
"axios": "^1.6.2",
|
|
28
28
|
"cookie-parser": "^1.4.6",
|
|
29
29
|
"cors": "^2.8.5",
|
|
30
|
-
"dotenv-flow": "^3.
|
|
30
|
+
"dotenv-flow": "^3.3.0",
|
|
31
31
|
"express": "^4.18.2",
|
|
32
32
|
"express-async-errors": "^3.1.1",
|
|
33
|
-
"vue": "^3.3.
|
|
33
|
+
"vue": "^3.3.13"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
|
-
"@vitejs/plugin-vue": "^
|
|
36
|
+
"@vitejs/plugin-vue": "^4.5.2",
|
|
37
37
|
"bumpp": "^8.2.1",
|
|
38
38
|
"cross-env": "^7.0.3",
|
|
39
|
-
"eslint": "^8.
|
|
40
|
-
"eslint-config-prettier": "^8.
|
|
39
|
+
"eslint": "^8.56.0",
|
|
40
|
+
"eslint-config-prettier": "^8.10.0",
|
|
41
41
|
"eslint-plugin-prettier": "^4.2.1",
|
|
42
|
-
"eslint-plugin-vue": "^9.
|
|
42
|
+
"eslint-plugin-vue": "^9.19.2",
|
|
43
43
|
"husky": "^8.0.3",
|
|
44
44
|
"lint-staged": "^12.5.0",
|
|
45
|
-
"nodemon": "^
|
|
45
|
+
"nodemon": "^3.0.2",
|
|
46
46
|
"npm-run-all": "^4.1.5",
|
|
47
|
-
"prettier": "^
|
|
47
|
+
"prettier": "^3.1.1",
|
|
48
48
|
"rimraf": "^3.0.2",
|
|
49
|
-
"vite": "^
|
|
50
|
-
"vite-plugin-blocklet": "^0.
|
|
51
|
-
"vite-plugin-node-polyfills": "^0.7.0",
|
|
49
|
+
"vite": "^5.0.10",
|
|
50
|
+
"vite-plugin-blocklet": "^0.7.0",
|
|
52
51
|
"zx": "^7.2.3"
|
|
53
52
|
},
|
|
54
53
|
"lint-staged": {
|
|
@@ -17,22 +17,21 @@
|
|
|
17
17
|
"bump-version": "zx --quiet scripts/bump-version.mjs"
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"vue": "^3.3.
|
|
20
|
+
"vue": "^3.3.13"
|
|
21
21
|
},
|
|
22
22
|
"devDependencies": {
|
|
23
|
-
"@vitejs/plugin-vue": "^
|
|
23
|
+
"@vitejs/plugin-vue": "^4.5.2",
|
|
24
24
|
"bumpp": "^8.2.1",
|
|
25
|
-
"eslint": "^8.
|
|
26
|
-
"eslint-config-prettier": "^8.
|
|
27
|
-
"eslint-plugin-prettier": "^
|
|
28
|
-
"eslint-plugin-vue": "^9.
|
|
25
|
+
"eslint": "^8.56.0",
|
|
26
|
+
"eslint-config-prettier": "^8.10.0",
|
|
27
|
+
"eslint-plugin-prettier": "^5.1.0",
|
|
28
|
+
"eslint-plugin-vue": "^9.19.2",
|
|
29
29
|
"husky": "^8.0.3",
|
|
30
30
|
"lint-staged": "^12.5.0",
|
|
31
|
-
"prettier": "^
|
|
31
|
+
"prettier": "^3.1.1",
|
|
32
32
|
"rimraf": "^3.0.2",
|
|
33
|
-
"vite": "^
|
|
34
|
-
"vite-plugin-blocklet": "^0.
|
|
35
|
-
"vite-plugin-node-polyfills": "^0.7.0",
|
|
33
|
+
"vite": "^5.0.10",
|
|
34
|
+
"vite-plugin-blocklet": "^0.7.0",
|
|
36
35
|
"zx": "^7.2.3"
|
|
37
36
|
},
|
|
38
37
|
"lint-staged": {
|
|
@@ -18,37 +18,36 @@
|
|
|
18
18
|
"bump-version": "zx --quiet scripts/bump-version.mjs"
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@arcblock/did-auth": "^1.18.
|
|
21
|
+
"@arcblock/did-auth": "^1.18.107",
|
|
22
22
|
"@arcblock/did-auth-storage-nedb": "^1.7.1",
|
|
23
|
-
"@blocklet/sdk": "^1.16.
|
|
24
|
-
"@ocap/client": "^1.18.
|
|
25
|
-
"@ocap/mcrypto": "^1.18.
|
|
26
|
-
"@ocap/wallet": "^1.18.
|
|
27
|
-
"axios": "^
|
|
23
|
+
"@blocklet/sdk": "^1.16.20",
|
|
24
|
+
"@ocap/client": "^1.18.107",
|
|
25
|
+
"@ocap/mcrypto": "^1.18.107",
|
|
26
|
+
"@ocap/wallet": "^1.18.107",
|
|
27
|
+
"axios": "^1.6.2",
|
|
28
28
|
"cookie-parser": "^1.4.6",
|
|
29
29
|
"cors": "^2.8.5",
|
|
30
|
-
"dotenv-flow": "^3.
|
|
30
|
+
"dotenv-flow": "^3.3.0",
|
|
31
31
|
"express": "^4.18.2",
|
|
32
32
|
"express-async-errors": "^3.1.1",
|
|
33
|
-
"vue": "^2.7.
|
|
33
|
+
"vue": "^2.7.15"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
|
-
"@vitejs/plugin-vue2": "^2.
|
|
36
|
+
"@vitejs/plugin-vue2": "^2.3.1",
|
|
37
37
|
"bumpp": "^8.2.1",
|
|
38
38
|
"cross-env": "^7.0.3",
|
|
39
|
-
"eslint": "^8.
|
|
40
|
-
"eslint-config-prettier": "^8.
|
|
39
|
+
"eslint": "^8.56.0",
|
|
40
|
+
"eslint-config-prettier": "^8.10.0",
|
|
41
41
|
"eslint-plugin-prettier": "^4.2.1",
|
|
42
|
-
"eslint-plugin-vue": "^9.
|
|
42
|
+
"eslint-plugin-vue": "^9.19.2",
|
|
43
43
|
"husky": "^8.0.3",
|
|
44
44
|
"lint-staged": "^12.5.0",
|
|
45
|
-
"nodemon": "^
|
|
45
|
+
"nodemon": "^3.0.2",
|
|
46
46
|
"npm-run-all": "^4.1.5",
|
|
47
|
-
"prettier": "^
|
|
47
|
+
"prettier": "^3.1.1",
|
|
48
48
|
"rimraf": "^3.0.2",
|
|
49
|
-
"vite": "^
|
|
50
|
-
"vite-plugin-blocklet": "^0.
|
|
51
|
-
"vite-plugin-node-polyfills": "^0.7.0",
|
|
49
|
+
"vite": "^5.0.10",
|
|
50
|
+
"vite-plugin-blocklet": "^0.7.0",
|
|
52
51
|
"zx": "^7.2.3"
|
|
53
52
|
},
|
|
54
53
|
"lint-staged": {
|
|
@@ -17,22 +17,21 @@
|
|
|
17
17
|
"bump-version": "zx --quiet scripts/bump-version.mjs"
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"vue": "^2.7.
|
|
20
|
+
"vue": "^2.7.15"
|
|
21
21
|
},
|
|
22
22
|
"devDependencies": {
|
|
23
|
-
"@vitejs/plugin-vue2": "^2.
|
|
23
|
+
"@vitejs/plugin-vue2": "^2.3.1",
|
|
24
24
|
"bumpp": "^8.2.1",
|
|
25
|
-
"eslint": "^8.
|
|
26
|
-
"eslint-config-prettier": "^8.
|
|
25
|
+
"eslint": "^8.56.0",
|
|
26
|
+
"eslint-config-prettier": "^8.10.0",
|
|
27
27
|
"eslint-plugin-prettier": "^4.2.1",
|
|
28
|
-
"eslint-plugin-vue": "^9.
|
|
28
|
+
"eslint-plugin-vue": "^9.19.2",
|
|
29
29
|
"husky": "^8.0.3",
|
|
30
30
|
"lint-staged": "^12.5.0",
|
|
31
|
-
"prettier": "^
|
|
31
|
+
"prettier": "^3.1.1",
|
|
32
32
|
"rimraf": "^3.0.2",
|
|
33
|
-
"vite": "^
|
|
34
|
-
"vite-plugin-blocklet": "^0.
|
|
35
|
-
"vite-plugin-node-polyfills": "^0.7.0",
|
|
33
|
+
"vite": "^5.0.10",
|
|
34
|
+
"vite-plugin-blocklet": "^0.7.0",
|
|
36
35
|
"zx": "^7.2.3"
|
|
37
36
|
},
|
|
38
37
|
"lint-staged": {
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
name: Create Blocklet
|
|
2
|
-
title: Create Blocklet
|
|
3
|
-
description: Bootstrap a blocklet within seconds
|
|
4
|
-
theme: docs
|
|
5
|
-
github: https://github.com/blocklet/create-blocklet
|
|
6
|
-
themeConfig:
|
|
7
|
-
colors:
|
|
8
|
-
primary: '#25C99B'
|
|
9
|
-
sidebar:
|
|
10
|
-
en:
|
|
11
|
-
- text: Getting Started
|
|
12
|
-
items:
|
|
13
|
-
- text: Introduction
|
|
14
|
-
link: /intro
|
|
15
|
-
- text: Markdown Reference
|
|
16
|
-
link: /markdown
|
|
17
|
-
zh:
|
|
18
|
-
- text: 快速上手
|
|
19
|
-
items:
|
|
20
|
-
- text: 介绍
|
|
21
|
-
link: /intro
|
|
22
|
-
- text: Markdown 参考
|
|
23
|
-
link: /markdown
|
|
Binary file
|
|
File without changes
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
name: template-docsite
|
|
2
|
-
title: Doc Site Template
|
|
3
|
-
description: A Blocklet Server blocklet
|
|
4
|
-
keywords:
|
|
5
|
-
- blocklet
|
|
6
|
-
- docsite
|
|
7
|
-
- xmark
|
|
8
|
-
group: static
|
|
9
|
-
did: ''
|
|
10
|
-
main: dist
|
|
11
|
-
author:
|
|
12
|
-
name: Arcblock
|
|
13
|
-
email: blocklet@arcblock.io
|
|
14
|
-
repository:
|
|
15
|
-
type: git
|
|
16
|
-
url: 'git+https://github.com/blocklet/create-blocklet.git'
|
|
17
|
-
specVersion: 1.1.1
|
|
18
|
-
version: 0.1.0
|
|
19
|
-
logo: logo.png
|
|
20
|
-
files:
|
|
21
|
-
- logo.png
|
|
22
|
-
- screenshots
|
|
23
|
-
interfaces:
|
|
24
|
-
- type: web
|
|
25
|
-
name: publicUrl
|
|
26
|
-
path: /
|
|
27
|
-
prefix: '*'
|
|
28
|
-
port: BLOCKLET_PORT
|
|
29
|
-
protocol: http
|
|
30
|
-
community: ''
|
|
31
|
-
documentation: ''
|
|
32
|
-
homepage: ''
|
|
33
|
-
license: ''
|
|
34
|
-
payment:
|
|
35
|
-
price: []
|
|
36
|
-
share: []
|
|
37
|
-
timeout:
|
|
38
|
-
start: 60
|
|
39
|
-
requirements:
|
|
40
|
-
abtnode: '>=1.6.22'
|
|
41
|
-
os: '*'
|
|
42
|
-
cpu: '*'
|
|
43
|
-
scripts:
|
|
44
|
-
dev: npm run start
|
|
45
|
-
environments: []
|
|
46
|
-
capabilities: {}
|
|
47
|
-
screenshots: []
|
|
48
|
-
components: []
|
|
49
|
-
navigation:
|
|
50
|
-
- title:
|
|
51
|
-
en: Doc Site
|
|
52
|
-
zh: 文档站点模板
|
|
53
|
-
link:
|
|
54
|
-
en: /en
|
|
55
|
-
zh: /zh
|
|
56
|
-
- title:
|
|
57
|
-
en: ArcBlock
|
|
58
|
-
zh: ArcBlock
|
|
59
|
-
link:
|
|
60
|
-
en: https://www.arcblock.io/en/
|
|
61
|
-
zh: https://www.arcblock.io/zh/
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "docsite",
|
|
3
|
-
"version": "0.1.0",
|
|
4
|
-
"private": true,
|
|
5
|
-
"scripts": {
|
|
6
|
-
"dev": "blocklet dev",
|
|
7
|
-
"start": "xmark start",
|
|
8
|
-
"clean": "node scripts/build-clean.js",
|
|
9
|
-
"build": "xmark build",
|
|
10
|
-
"bundle": "npm run clean && xmark build && blocklet bundle --zip --create-release",
|
|
11
|
-
"deploy": "npm run bundle && blocklet deploy .blocklet/bundle",
|
|
12
|
-
"upload": "npm run bundle && blocklet upload .blocklet/release/blocklet.json",
|
|
13
|
-
"deploy:child": "npm run bundle && blocklet deploy .blocklet/bundle --app-did=<%= did %>",
|
|
14
|
-
"dev:child": "blocklet dev --component --app-did=<%= did %>",
|
|
15
|
-
"bump-version": "zx --quiet scripts/bump-version.mjs"
|
|
16
|
-
},
|
|
17
|
-
"dependencies": {
|
|
18
|
-
"@xmark/cli": "^2.5.6",
|
|
19
|
-
"@xmark/theme-docs": "^2.5.6",
|
|
20
|
-
"bumpp": "^8.2.1",
|
|
21
|
-
"rimraf": "^3.0.2",
|
|
22
|
-
"zx": "^7.2.3"
|
|
23
|
-
}
|
|
24
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
layout: 'documentation'
|
|
3
|
-
title: Introduction
|
|
4
|
-
priority: 1
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
## What is this?
|
|
8
|
-
|
|
9
|
-
This is a documentation site powered by [Blocklet Pages](https://pages.blocklet.io), a flexible content authoring system that supports both product pages and documentation pages.
|
|
10
|
-
|
|
11
|
-
## How to make changes?
|
|
12
|
-
|
|
13
|
-
- Edit `.blocklet-pages/config.yml` to update the following sections:
|
|
14
|
-
- the `sidebar` navigation
|
|
15
|
-
- the github link for this documentation
|
|
16
|
-
- the `color` palette for this documentation
|
|
17
|
-
- the title and description for this documentation
|
|
18
|
-
- Replace `.website/composes/images/logo.png` to update the logo
|
|
19
|
-
- Edit `pages/intro/index.mdx` to update this page, valid markdown syntax are supported.
|
|
20
|
-
- Create a file under `pages` directory that shares the same structure with `pages/intro/index.mdx` to add a new page, you can also put new page into nested directory.
|
|
21
|
-
|
|
22
|
-
## More about Blocklet Pages?
|
|
23
|
-
|
|
24
|
-
You can learn more about Blocklet Pages from its official website: https://pages.blocklet.io/, which includes a lot of samples and examples.
|
|
25
|
-
|
|
26
|
-
## Submit Feedback
|
|
27
|
-
|
|
28
|
-
- Issues related to this template: https://github.com/blocklet/create-blocklet/issues
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
layout: 'documentation'
|
|
3
|
-
title: 关于 Doc Site 模板
|
|
4
|
-
priority: 1
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
## 这是什么?
|
|
8
|
-
|
|
9
|
-
这是一个由[Blocklet Pages](https://pages.blocklet.io)驱动的文档网站,这是一个灵活的内容创作系统,支持产品页面和文档页面。
|
|
10
|
-
|
|
11
|
-
## 如何进行修改?
|
|
12
|
-
|
|
13
|
-
- 编辑`.blocklet-pages/config.yml`以更新以下部分。
|
|
14
|
-
- 侧边栏 "导航
|
|
15
|
-
- 该文档的 github 链接
|
|
16
|
-
- 该文档的 "颜色 "调色板
|
|
17
|
-
- 本文档的标题和描述
|
|
18
|
-
- 替换`.website/composes/images/logo.png`以更新标识。
|
|
19
|
-
- 编辑`pages/intro/index.zh.mdx`来更新这个页面,支持有效的 markdown 语法。
|
|
20
|
-
- 在`pages`目录下创建一个与`pages/intro/index.mdx`结构相同的文件来添加一个新的页面,你也可以把新的页面放到嵌套目录中。
|
|
21
|
-
|
|
22
|
-
## 更多关于 Blocklet 页面的信息?
|
|
23
|
-
|
|
24
|
-
你可以从它的官方网站上了解更多关于 Blocklet Pages 的信息:https://pages.blocklet.io/,其中包括大量的样本和例子。
|
|
25
|
-
|
|
26
|
-
## 提交反馈
|
|
27
|
-
|
|
28
|
-
欢迎[提交反馈](https://github.com/blocklet/create-blocklet/issues),我们将尽快处理。
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "docsite",
|
|
3
|
-
"desc": {
|
|
4
|
-
"en": "A documentation site skeleton driven by Blocklet Pages that can be used to build project documentation sites",
|
|
5
|
-
"zh": "一个由 Blocklet Pages 驱动的文档站骨架,可以用于构建项目文档站点"
|
|
6
|
-
},
|
|
7
|
-
"displayName": "Documentation Site",
|
|
8
|
-
"blockletType": "static",
|
|
9
|
-
"composable": true,
|
|
10
|
-
"framework": "Blocklet Pages",
|
|
11
|
-
"languages": "JavaScript",
|
|
12
|
-
"useCase": "Documentation / Website",
|
|
13
|
-
"author": "ZhangHan"
|
|
14
|
-
}
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
# Blocklet Pages Site
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
name: template-website
|
|
2
|
-
title: Blocklet Page Template
|
|
3
|
-
description: A Blocklet Server blocklet
|
|
4
|
-
keywords:
|
|
5
|
-
- blocklet
|
|
6
|
-
- website
|
|
7
|
-
- xmark
|
|
8
|
-
group: static
|
|
9
|
-
did: ''
|
|
10
|
-
main: dist
|
|
11
|
-
author:
|
|
12
|
-
name: Arcblock
|
|
13
|
-
email: blocklet@arcblock.io
|
|
14
|
-
repository:
|
|
15
|
-
type: git
|
|
16
|
-
url: 'git+https://github.com/blocklet/create-blocklet.git'
|
|
17
|
-
specVersion: 1.1.1
|
|
18
|
-
version: 0.1.0
|
|
19
|
-
logo: logo.png
|
|
20
|
-
files:
|
|
21
|
-
- logo.png
|
|
22
|
-
- screenshots
|
|
23
|
-
interfaces:
|
|
24
|
-
- type: web
|
|
25
|
-
name: publicUrl
|
|
26
|
-
path: /
|
|
27
|
-
prefix: '*'
|
|
28
|
-
port: BLOCKLET_PORT
|
|
29
|
-
protocol: http
|
|
30
|
-
community: ''
|
|
31
|
-
documentation: ''
|
|
32
|
-
homepage: ''
|
|
33
|
-
license: ''
|
|
34
|
-
payment:
|
|
35
|
-
price: []
|
|
36
|
-
share: []
|
|
37
|
-
timeout:
|
|
38
|
-
start: 60
|
|
39
|
-
requirements:
|
|
40
|
-
abtnode: '>=1.6.22'
|
|
41
|
-
os: '*'
|
|
42
|
-
cpu: '*'
|
|
43
|
-
scripts:
|
|
44
|
-
dev: npm run start
|
|
45
|
-
environments: []
|
|
46
|
-
capabilities: {}
|
|
47
|
-
screenshots: []
|
|
48
|
-
components: []
|
|
49
|
-
navigation:
|
|
50
|
-
- title:
|
|
51
|
-
en: ArcBlock
|
|
52
|
-
zh: ArcBlock
|
|
53
|
-
link:
|
|
54
|
-
en: https://www.arcblock.io/en/
|
|
55
|
-
zh: https://www.arcblock.io/zh/
|
|
56
|
-
- title:
|
|
57
|
-
en: Resources
|
|
58
|
-
zh: 资源
|
|
59
|
-
items:
|
|
60
|
-
- title:
|
|
61
|
-
en: Blocklet Platform
|
|
62
|
-
zh: Blocklet 平台
|
|
63
|
-
link: https://www.blocklet.io
|
|
64
|
-
- title:
|
|
65
|
-
en: Blocklet Developer
|
|
66
|
-
zh: Blocklet 开发者
|
|
67
|
-
link: https://developer.blocklet.io
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "website",
|
|
3
|
-
"version": "0.1.0",
|
|
4
|
-
"private": true,
|
|
5
|
-
"scripts": {
|
|
6
|
-
"dev": "blocklet dev",
|
|
7
|
-
"start": "xmark start",
|
|
8
|
-
"clean": "node scripts/build-clean.js",
|
|
9
|
-
"build": "xmark build",
|
|
10
|
-
"bundle": "npm run clean && xmark build && blocklet bundle --zip --create-release",
|
|
11
|
-
"deploy": "npm run bundle && blocklet deploy .blocklet/bundle",
|
|
12
|
-
"upload": "npm run bundle && blocklet upload .blocklet/release/blocklet.json",
|
|
13
|
-
"deploy:child": "npm run bundle && blocklet deploy .blocklet/bundle --app-did=<%= did %>",
|
|
14
|
-
"dev:child": "blocklet dev --component --app-did=<%= did %>",
|
|
15
|
-
"bump-version": "zx --quiet scripts/bump-version.mjs"
|
|
16
|
-
},
|
|
17
|
-
"dependencies": {
|
|
18
|
-
"@xmark/cli": "^2.5.6",
|
|
19
|
-
"bumpp": "^8.2.1",
|
|
20
|
-
"rimraf": "^3.0.2",
|
|
21
|
-
"zx": "^7.2.3"
|
|
22
|
-
}
|
|
23
|
-
}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
layout: 'my-layout'
|
|
3
|
-
blocks:
|
|
4
|
-
- name: SectionHero
|
|
5
|
-
title: What is this?
|
|
6
|
-
description: !md
|
|
7
|
-
This is a web site powered by [Blocklet Pages](https://pages.blocklet.io), a flexible content authoring system that supports both product pages and documentation pages.
|
|
8
|
-
actions:
|
|
9
|
-
- name: Button
|
|
10
|
-
children: Learn More
|
|
11
|
-
variant: contained
|
|
12
|
-
href: https://pages.blocklet.io
|
|
13
|
-
- name: SectionAccordionList
|
|
14
|
-
title: How to update this site?
|
|
15
|
-
description: You can quickly update this site by tweaking files or replacing images.
|
|
16
|
-
list:
|
|
17
|
-
- title: Update website config
|
|
18
|
-
description: You can update `.blocklet-pages/config.yml` by changing the name and description of this website.
|
|
19
|
-
- title: Update website logo
|
|
20
|
-
description: You can replace `.website/composes/images/logo.png` to update the logo for this website.
|
|
21
|
-
- title: Update this page
|
|
22
|
-
description: You can edit `pages/index.mdx` to update this page.
|
|
23
|
-
- title: Add new page
|
|
24
|
-
description: You can create a file under `pages` folder that shares the same structure as `pages/index.mdx` to add new page to this site.
|
|
25
|
-
- title: Enable/Disable i18n pages
|
|
26
|
-
description: You can set `enableLocale` to `true/false` in `.website/composes/MyLayout.mdx` to enable/disable i18n.
|
|
27
|
-
- title: Enable/Disable DID Connect
|
|
28
|
-
description: You can set `enableConnect` to `true/false` in `.website/composes/MyLayout.mdx` to enable/disable DID Connect, which requires this website run as a blocklet.
|
|
29
|
-
---
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
layout: 'my-layout'
|
|
3
|
-
blocks:
|
|
4
|
-
- name: SectionHero
|
|
5
|
-
title: 这是什么?
|
|
6
|
-
description: !md 这是一个由[Blocklet Pages](https://pages.blocklet.io)驱动的网站,这是一个灵活的内容创作系统,支持产品页面和文档页面。
|
|
7
|
-
actions:
|
|
8
|
-
- name: Button
|
|
9
|
-
children: 了解更多
|
|
10
|
-
variant: contained
|
|
11
|
-
href: https://pages.blocklet.io
|
|
12
|
-
- name: SectionAccordionList
|
|
13
|
-
title: 如何更新本网站?
|
|
14
|
-
description: 你可以通过调整文件或更换图片来快速更新这个网站。
|
|
15
|
-
list:
|
|
16
|
-
- title: 更新网站配置
|
|
17
|
-
description: 你可以通过改变这个网站的名称和描述来更新`.blocklet-pages/config.yml`。
|
|
18
|
-
- title: 更新网站标识
|
|
19
|
-
description: 你可以替换`.website/composes/images/logo.png`来更新这个网站的标志。
|
|
20
|
-
- title: 更新此页面
|
|
21
|
-
description: 你可以编辑`pages/index.zh.mdx`来更新这个页面。
|
|
22
|
-
- title: 如何添加新页面?
|
|
23
|
-
description: 你可以参考 `pages/index.zh.mdx` 在 pages 目录下新建 mdx 文件来添加新页面
|
|
24
|
-
- title: 启用/禁用i18n页面
|
|
25
|
-
description: 你可以在`.website/composes/MyLayout.mdx`中设置`enableLocale`为`true/false`来启用/禁用i18n。
|
|
26
|
-
- title: 启用/禁用 DID Connect
|
|
27
|
-
description: 你可以在`.website/composes/MyLayout.mdx`中设置`enableConnect`为`true/false`,以启用/禁用 DID Connect,这需要本网站以 blocklet 形式运行。
|
|
28
|
-
---
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "website",
|
|
3
|
-
"desc": {
|
|
4
|
-
"en": "A website skeleton driven by Blocklet Pages that can be used to build personal sites or project sites",
|
|
5
|
-
"zh": "一个由 Blocklet Pages 驱动的网站骨架,可用于构建个人站点或项目站点"
|
|
6
|
-
},
|
|
7
|
-
"displayName": "Product Website",
|
|
8
|
-
"blockletType": "static",
|
|
9
|
-
"composable": true,
|
|
10
|
-
"framework": "Blocklet Pages",
|
|
11
|
-
"languages": "JavaScript",
|
|
12
|
-
"useCase": "Documentation / Website",
|
|
13
|
-
"author": "ZhangHan"
|
|
14
|
-
}
|