diff --git a/.gitpod.Dockerfile b/.gitpod.Dockerfile index a9af446..55d29bd 100644 --- a/.gitpod.Dockerfile +++ b/.gitpod.Dockerfile @@ -4,7 +4,7 @@ ENV ABT_NODE_TEST_DOCKER=1 ENV PATH=/home/linuxbrew/.linuxbrew/bin:$PATH ENV ABT_NODE_HTTP_PORT=8080 -RUN brew install nginx && npm install -g lerna @abtnode/cli +RUN brew install nginx && npm install -g lerna @blocklet/cli diff --git a/.gitpod.yml b/.gitpod.yml index f935716..97689f3 100644 --- a/.gitpod.yml +++ b/.gitpod.yml @@ -1,8 +1,8 @@ image: file: .gitpod.Dockerfile tasks: - - init: yarn && abtnode init -f --mode debug --no-https - command: abtnode start && blocklet dev + - init: yarn && blocklet server init -f --mode debug --no-https + command: blocklet server start && blocklet dev ports: - port: 8080 onOpen: ignore diff --git a/.makefiles/bump_version.sh b/.makefiles/bump_version.sh index 482046b..1e5d716 100755 --- a/.makefiles/bump_version.sh +++ b/.makefiles/bump_version.sh @@ -1,3 +1,5 @@ +#!/usr/bin/env bash + NOW="$(date +'%B %d, %Y')" # RED="\033[1;31m" # GREEN="\033[0;32m" diff --git a/CHANGELOG.md b/CHANGELOG.md index 024bd29..cbb6b19 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## 1.0.4 (十二月 28, 2021) + +- chore: update docs/scripts (abtnode rebranding) + ## 1.0.3 (十二月 08, 2021) - chore: upgrade blocklet.yml diff --git a/README.md b/README.md index 5ea8ac3..920f581 100644 --- a/README.md +++ b/README.md @@ -2,25 +2,21 @@ This project is a demo blocklet bootstrapped with [Express Generator](https://expressjs.com/en/starter/generator.html) -## Install on my ABT Node - -[![Install on my ABT Node](https://raw.githubusercontent.com/blocklet/development-guide/main/assets/install_on_abtnode.svg)](https://install.arcblock.io/?action=blocklet-install&meta_url=https%3A%2F%2Fgithub.com%2Fblocklet%2Fexpress-demo%2Freleases%2Fdownload%2Fv1.0.3%2Fblocklet.json) - ## Run and debug in the cloud with Gitpod -Click the "Open in Gitpod" button, Gitpod will start ABT Node and the blocklet. +Click the "Open in Gitpod" button, Gitpod will start Blocklet Server and the blocklet. [![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#https://github.com/blocklet/express-demo) ## Run and debug locally ```shell -yarn global add @abtnode/cli +yarn global add @blocklet/cli git clone git@github.com:blocklet/express-demo.git cd express-demo npm install -abtnode init --mode debug -abtnode start +blocklet server init --mode debug +blocklet server start blocklet dev ``` diff --git a/blocklet.yml b/blocklet.yml index 43776e1..acd3e1e 100644 --- a/blocklet.yml +++ b/blocklet.yml @@ -1,5 +1,5 @@ name: express-demo -version: 1.0.3 +version: 1.0.4 main: ./bin/www.js files: - blocklet.md diff --git a/package.json b/package.json index b90d121..b5ec285 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "express-demo", - "version": "1.0.3", + "version": "1.0.4", "private": true, "main": "./bin/www.js", "dependencies": { diff --git a/version b/version index 21e8796..ee90284 100644 --- a/version +++ b/version @@ -1 +1 @@ -1.0.3 +1.0.4