Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 0.14.6 (2026-1-7)

- chore: update deps

## 0.14.5 (2026-1-7)

- chore(deps): update deps
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "create-blocklet",
"private": true,
"version": "0.14.5",
"version": "0.14.6",
"description": "",
"keywords": [],
"author": "",
Expand All @@ -13,6 +13,7 @@
"test": "echo \"Error: no test specified\" && exit 1",
"bump-version": "zx --quiet scripts/bump-version.mjs",
"update:deps": "npx taze -r -n '/arcblock|ocap|abtnode|blocklet|did-connect|did-comment|nedb|aigne/' -w && pnpm i",
"verify": "npm run lint",
"preinstall": "npx only-allow pnpm",
"publish-plugins": "zx --quiet scripts/publish-plugins.mjs",
"e2e": "sh scripts/ensure-create-blocklet.sh"
Expand Down
2 changes: 1 addition & 1 deletion packages/create-app/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "create-blocklet",
"version": "0.14.5",
"version": "0.14.6",
"exports": "./index.js",
"type": "module",
"repository": "git@github.com:blocklet/create-blocklet.git",
Expand Down
4 changes: 2 additions & 2 deletions packages/create-app/templates/component-studio/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
"@blocklet/pages-kit-inner-components": "^0.7.37",
"@blocklet/pages-kit-runtime": "^0.7.37",
"@blocklet/sdk": "^1.17.7",
"@blocklet/studio-ui": "^0.7.12",
"@blocklet/studio-ui": "^0.7.13",
"@blocklet/ui-react": "^3.4.3",
"@ocap/client": "^1.28.3",
"@ocap/mcrypto": "^1.28.3",
Expand Down Expand Up @@ -97,7 +97,7 @@
"typescript": "^5.7.2",
"vite": "^7.0.0",
"vite-node": "^3.2.4",
"vite-plugin-blocklet": "^0.14.5",
"vite-plugin-blocklet": "^0.14.6",
"vite-plugin-require": "^1.2.14",
"vite-plugin-svgr": "^4.3.0",
"vite-tsconfig-paths": "^5.1.4",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
"simple-git-hooks": "^2.11.1",
"tsx": "^4.19.3",
"vite": "^7.0.0",
"vite-plugin-blocklet": "^0.14.5",
"vite-plugin-blocklet": "^0.14.6",
"vite-plugin-svgr": "^4.3.0",
"zx": "^8.3.2"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/create-app/templates/did-wallet-dapp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
"simple-git-hooks": "^2.11.1",
"vite": "^7.0.0",
"vite-node": "^3.2.4",
"vite-plugin-blocklet": "^0.14.5",
"vite-plugin-blocklet": "^0.14.6",
"vite-plugin-require": "^1.2.14",
"vite-plugin-svgr": "^4.3.0",
"zx": "^8.3.2"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@
"tsx": "^4.19.3",
"typescript": "^5.7.3",
"vite": "^7.0.0",
"vite-plugin-blocklet": "^0.14.5",
"vite-plugin-blocklet": "^0.14.6",
"vite-plugin-svgr": "^4.3.0",
"zx": "^8.3.2"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/create-app/templates/react-dapp-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
"tsx": "^4.19.3",
"typescript": "^5.7.3",
"vite": "^7.0.0",
"vite-plugin-blocklet": "^0.14.5",
"vite-plugin-blocklet": "^0.14.6",
"vite-plugin-svgr": "^4.3.0",
"zx": "^8.3.2"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/create-app/templates/react-dapp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
"simple-git-hooks": "^2.11.1",
"tsx": "^4.19.3",
"vite": "^7.0.0",
"vite-plugin-blocklet": "^0.14.5",
"vite-plugin-blocklet": "^0.14.6",
"vite-plugin-svgr": "^4.3.0",
"zx": "^8.3.2"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/create-app/templates/react-gun-dapp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
"simple-git-hooks": "^2.11.1",
"tsx": "^4.19.3",
"vite": "^7.0.0",
"vite-plugin-blocklet": "^0.14.5",
"vite-plugin-blocklet": "^0.14.6",
"vite-plugin-svgr": "^4.3.0",
"zx": "^8.3.2"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/create-app/templates/react-static/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
"rimraf": "^5.0.10",
"simple-git-hooks": "^2.11.1",
"vite": "^7.0.0",
"vite-plugin-blocklet": "^0.14.5",
"vite-plugin-blocklet": "^0.14.6",
"vite-plugin-svgr": "^4.3.0",
"zx": "^8.3.2"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/create-app/templates/solidjs-dapp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"simple-git-hooks": "^2.11.1",
"tsx": "^4.19.3",
"vite": "^7.0.0",
"vite-plugin-blocklet": "^0.14.5",
"vite-plugin-blocklet": "^0.14.6",
"vite-plugin-solid": "^2.11.7",
"zx": "^8.3.2"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/create-app/templates/solidjs-static/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"simple-git-hooks": "^2.11.1",
"solid-js": "^1.9.4",
"vite": "^7.0.0",
"vite-plugin-blocklet": "^0.14.5",
"vite-plugin-blocklet": "^0.14.6",
"vite-plugin-solid": "^2.11.7",
"zx": "^8.3.2"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/create-app/templates/svelte-dapp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"svelte": "^4.2.19",
"tsx": "^4.19.3",
"vite": "^7.0.0",
"vite-plugin-blocklet": "^0.14.5",
"vite-plugin-blocklet": "^0.14.6",
"zx": "^8.3.2"
},
"lint-staged": {
Expand Down
2 changes: 1 addition & 1 deletion packages/create-app/templates/svelte-static/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"simple-git-hooks": "^2.11.1",
"svelte": "^4.2.19",
"vite": "^7.0.0",
"vite-plugin-blocklet": "^0.14.5",
"vite-plugin-blocklet": "^0.14.6",
"zx": "^8.3.2"
},
"lint-staged": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@
"tsx": "^4.19.3",
"typescript": "^5.7.3",
"vite": "^7.0.0",
"vite-plugin-blocklet": "^0.14.5",
"vite-plugin-blocklet": "^0.14.6",
"vite-plugin-svgr": "^4.3.0",
"zx": "^8.3.2"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/create-app/templates/vue-dapp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
"simple-git-hooks": "^2.11.1",
"tsx": "^4.19.3",
"vite": "^7.0.0",
"vite-plugin-blocklet": "^0.14.5",
"vite-plugin-blocklet": "^0.14.6",
"vue": "^3.5.13",
"zx": "^8.3.2"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/create-app/templates/vue-static/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"rimraf": "^5.0.10",
"simple-git-hooks": "^2.11.1",
"vite": "^7.0.0",
"vite-plugin-blocklet": "^0.14.5",
"vite-plugin-blocklet": "^0.14.6",
"vue": "^3.5.13",
"zx": "^8.3.2"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/create-app/templates/vue-ts-static/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"taze": "^0.16.9",
"typescript": "^5.7.3",
"vite": "^7.0.0",
"vite-plugin-blocklet": "^0.14.5",
"vite-plugin-blocklet": "^0.14.6",
"vue-tsc": "^2.2.2",
"zx": "^8.3.2"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/create-app/templates/vue2-dapp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"simple-git-hooks": "^2.11.1",
"tsx": "^4.19.3",
"vite": "^7.0.0",
"vite-plugin-blocklet": "^0.14.5",
"vite-plugin-blocklet": "^0.14.6",
"vue": "^2.7.16",
"zx": "^8.3.2"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/create-app/templates/vue2-static/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"rimraf": "^5.0.10",
"simple-git-hooks": "^2.11.1",
"vite": "^7.0.0",
"vite-plugin-blocklet": "^0.14.5",
"vite-plugin-blocklet": "^0.14.6",
"vue": "^2.7.16",
"zx": "^8.3.2"
},
Expand Down
2 changes: 1 addition & 1 deletion plugins/vite-plugin-blocklet/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "vite-plugin-blocklet",
"type": "module",
"version": "0.14.5",
"version": "0.14.6",
"description": "",
"main": "index.js",
"files": [
Expand Down
2 changes: 1 addition & 1 deletion plugins/vite-plugin-wss-hmr/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "vite-plugin-wss-hmr",
"type": "module",
"version": "0.14.5",
"version": "0.14.6",
"description": "",
"main": "index.js",
"exports": {
Expand Down
6 changes: 3 additions & 3 deletions scripts/bump-version.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,6 @@ await fs.writeFile('CHANGELOG.md', changelog);

console.log(`\nNow you can make adjustments to ${chalk.cyan('CHANGELOG.md')}. Then press enter to continue.`);

process.stdin.setRawMode(true);
process.stdin.resume();
process.stdin.on('data', process.exit.bind(process, 0));
process?.stdin?.setRawMode(true);
process?.stdin?.resume();
process?.stdin?.on('data', process.exit.bind(process, 0));
22 changes: 18 additions & 4 deletions scripts/ensure-create-blocklet.sh
Original file line number Diff line number Diff line change
Expand Up @@ -111,11 +111,25 @@ test_template() {
done
echo ""

echo "等待服务稳定(30秒)..."
sleep 30

# 在90秒内不断提取 app_url,直到不为空
echo "等待服务稳定并提取应用URL(最多90秒)..."
local app_url=""
local timeout=90
local elapsed=0
local interval=2

while [ $elapsed -lt $timeout ]; do
app_url=$(grep -oE 'https://[a-zA-Z0-9]+\.did\.abtnet\.io' dev.log | uniq)
if [ -n "$app_url" ]; then
break
fi
sleep $interval
elapsed=$((elapsed + interval))
echo -n "."
done
echo ""

# 检查应用状态
local app_url=$(grep -aiE 'https?://.*\.did\.abtnet\.io' dev.log | sed 's/^- //')
if [ -n "$app_url" ]; then
echo "应用URL: $app_url"
echo "检查应用状态..."
Expand Down
2 changes: 1 addition & 1 deletion version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.14.5
0.14.6
2 changes: 1 addition & 1 deletion website/docs/blocklet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ repository:
type: git
url: git+https://github.com/blocklet/create-blocklet.git
specVersion: 1.2.8
version: 0.14.5
version: 0.14.6
logo: logo.png
files:
- logo.png
Expand Down
2 changes: 1 addition & 1 deletion website/pages/blocklet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ repository:
type: git
url: git+https://github.com/blocklet/create-blocklet.git
specVersion: 1.2.8
version: 0.14.5
version: 0.14.6
logo: logo.png
files:
- logo.png
Expand Down
Loading