create-blocklet 0.6.16 → 0.7.1
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/api/dev.js +3 -2
- package/templates/react-dapp/package.json +15 -16
- package/templates/react-dapp-ts/api/dev.ts +3 -4
- package/templates/react-dapp-ts/package.json +24 -25
- package/templates/react-dapp-ts/tsconfig.json +5 -2
- package/templates/react-gun-dapp/api/dev.js +3 -2
- package/templates/react-gun-dapp/package.json +15 -16
- package/templates/react-static/package.json +7 -8
- package/templates/solidjs-dapp/api/dev.js +3 -2
- package/templates/solidjs-dapp/package.json +16 -17
- package/templates/solidjs-static/package.json +9 -10
- package/templates/svelte-dapp/api/dev.js +3 -2
- package/templates/svelte-dapp/package.json +14 -16
- package/templates/svelte-static/package.json +7 -8
- package/templates/vue-dapp/api/dev.js +3 -2
- package/templates/vue-dapp/package.json +16 -17
- package/templates/vue-static/package.json +9 -10
- package/templates/vue2-dapp/api/dev.js +3 -2
- 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/templates/react-dapp/{vite.config.js → vite.config.mjs} +0 -0
- /package/templates/react-dapp-ts/{vite.config.ts → vite.config.mts} +0 -0
- /package/templates/react-gun-dapp/{vite.config.js → vite.config.mjs} +0 -0
- /package/templates/react-static/{vite.config.js → vite.config.mjs} +0 -0
- /package/templates/solidjs-dapp/{vite.config.js → vite.config.mjs} +0 -0
- /package/templates/solidjs-static/{vite.config.js → vite.config.mjs} +0 -0
- /package/templates/svelte-dapp/{vite.config.js → vite.config.mjs} +0 -0
- /package/templates/svelte-static/{vite.config.js → vite.config.mjs} +0 -0
- /package/templates/vue-dapp/{vite.config.js → vite.config.mjs} +0 -0
- /package/templates/vue-static/{vite.config.js → vite.config.mjs} +0 -0
- /package/templates/vue2-dapp/{vite.config.js → vite.config.mjs} +0 -0
- /package/templates/vue2-static/{vite.config.js → vite.config.mjs} +0 -0
|
@@ -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.1",
|
|
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.1",
|
|
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.1",
|
|
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.1",
|
|
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.1",
|
|
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
|
-
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|