Skip to content

Commit

Permalink
fix(template): pnpm install use shamefully-hoist=true (#326)
Browse files Browse the repository at this point in the history
* fix(template): pnpm install use `shamefully-hoist=true`

* fix(template): fix lint error

* chore(release): v0.8.1
  • Loading branch information
LancelotLewis authored Jun 30, 2024
1 parent 37fa5f9 commit 447201a
Show file tree
Hide file tree
Showing 28 changed files with 33 additions and 20 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## 0.8.1 (2024-6-30)

- fix(template): fix lint error
- fix(template): pnpm install use `shamefully-hoist=true`

## 0.8.0 (2024-6-30)

- chore: update root bump-version script
Expand Down
2 changes: 1 addition & 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.8.0",
"version": "0.8.1",
"description": "",
"keywords": [],
"author": "",
Expand Down
2 changes: 2 additions & 0 deletions packages/create-app/common/_npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
## force pnpm to hoist
shamefully-hoist=true
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.8.0",
"version": "0.8.1",
"exports": "./index.js",
"type": "module",
"repository": "[email protected]:blocklet/create-blocklet.git",
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 @@ -79,7 +79,7 @@
"ts-node": "^10.9.2",
"typescript": "^5.5.2",
"vite": "^5.3.2",
"vite-plugin-blocklet": "^0.8.0",
"vite-plugin-blocklet": "^0.8.1",
"vite-plugin-svgr": "^4.2.0",
"zx": "^8.1.3"
},
Expand Down
1 change: 1 addition & 0 deletions packages/create-app/templates/react-dapp/api/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ app.use(cors());

const router = express.Router();
router.use('/api', require('./routes'));

app.use(router);

const isProduction = process.env.NODE_ENV === 'production' || process.env.ABT_NODE_SERVICE_ENV === 'production';
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 @@ -69,7 +69,7 @@
"react-router-dom": "^6.24.0",
"simple-git-hooks": "^2.11.1",
"vite": "^5.3.2",
"vite-plugin-blocklet": "^0.8.0",
"vite-plugin-blocklet": "^0.8.1",
"vite-plugin-svgr": "^4.2.0",
"zx": "^8.1.3"
},
Expand Down
1 change: 1 addition & 0 deletions packages/create-app/templates/react-gun-dapp/api/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ app.use(cors());

const router = express.Router();
router.use('/api', require('./routes'));

app.use(router);

const isProduction = process.env.NODE_ENV === 'production' || process.env.ABT_NODE_SERVICE_ENV === 'production';
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 @@ -69,7 +69,7 @@
"rimraf": "^5.0.7",
"simple-git-hooks": "^2.11.1",
"vite": "^5.3.2",
"vite-plugin-blocklet": "^0.8.0",
"vite-plugin-blocklet": "^0.8.1",
"vite-plugin-svgr": "^4.2.0",
"zx": "^8.1.3"
},
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 @@ -51,7 +51,7 @@
"rimraf": "^5.0.7",
"simple-git-hooks": "^2.11.1",
"vite": "^5.3.2",
"vite-plugin-blocklet": "^0.8.0",
"vite-plugin-blocklet": "^0.8.1",
"vite-plugin-svgr": "^4.2.0",
"zx": "^8.1.3"
},
Expand Down
1 change: 1 addition & 0 deletions packages/create-app/templates/solidjs-dapp/api/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ app.use(cors());

const router = express.Router();
router.use('/api', require('./routes'));

app.use(router);

const isProduction = process.env.NODE_ENV === 'production' || process.env.ABT_NODE_SERVICE_ENV === 'production';
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 @@ -34,7 +34,7 @@
"rimraf": "^5.0.7",
"simple-git-hooks": "^2.11.1",
"vite": "^5.3.2",
"vite-plugin-blocklet": "^0.8.0",
"vite-plugin-blocklet": "^0.8.1",
"vite-plugin-solid": "^2.10.2",
"zx": "^8.1.3"
},
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 @@ -30,7 +30,7 @@
"simple-git-hooks": "^2.11.1",
"solid-js": "^1.8.18",
"vite": "^5.3.2",
"vite-plugin-blocklet": "^0.8.0",
"vite-plugin-blocklet": "^0.8.1",
"vite-plugin-solid": "^2.10.2",
"zx": "^8.1.3"
},
Expand Down
1 change: 1 addition & 0 deletions packages/create-app/templates/svelte-dapp/api/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ app.use(cors());

const router = express.Router();
router.use('/api', require('./routes'));

app.use(router);

const isProduction = process.env.NODE_ENV === 'production' || process.env.ABT_NODE_SERVICE_ENV === 'production';
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 @@ -43,7 +43,7 @@
"simple-git-hooks": "^2.11.1",
"svelte": "^4.2.18",
"vite": "^5.3.2",
"vite-plugin-blocklet": "^0.8.0",
"vite-plugin-blocklet": "^0.8.1",
"zx": "^8.1.3"
},
"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 @@ -24,7 +24,7 @@
"simple-git-hooks": "^2.11.1",
"svelte": "^4.2.18",
"vite": "^5.3.2",
"vite-plugin-blocklet": "^0.8.0",
"vite-plugin-blocklet": "^0.8.1",
"zx": "^8.1.3"
},
"lint-staged": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@
"ts-node": "^10.9.2",
"typescript": "^5.5.2",
"vite": "^5.3.2",
"vite-plugin-blocklet": "^0.8.0",
"vite-plugin-blocklet": "^0.8.1",
"vite-plugin-svgr": "^4.2.0",
"zx": "^8.1.3"
},
Expand Down
1 change: 1 addition & 0 deletions packages/create-app/templates/vue-dapp/api/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ app.use(cors());

const router = express.Router();
router.use('/api', require('./routes'));

app.use(router);

const isProduction = process.env.NODE_ENV === 'production' || process.env.ABT_NODE_SERVICE_ENV === 'production';
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 @@ -47,7 +47,7 @@
"rimraf": "^5.0.7",
"simple-git-hooks": "^2.11.1",
"vite": "^5.3.2",
"vite-plugin-blocklet": "^0.8.0",
"vite-plugin-blocklet": "^0.8.1",
"vue": "^3.4.31",
"zx": "^8.1.3"
},
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 @@ -28,7 +28,7 @@
"rimraf": "^5.0.7",
"simple-git-hooks": "^2.11.1",
"vite": "^5.3.2",
"vite-plugin-blocklet": "^0.8.0",
"vite-plugin-blocklet": "^0.8.1",
"vue": "^3.4.31",
"zx": "^8.1.3"
},
Expand Down
1 change: 1 addition & 0 deletions packages/create-app/templates/vue2-dapp/api/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ app.use(cors());

const router = express.Router();
router.use('/api', require('./routes'));

app.use(router);

const isProduction = process.env.NODE_ENV === 'production' || process.env.ABT_NODE_SERVICE_ENV === 'production';
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 @@ -46,7 +46,7 @@
"rimraf": "^5.0.7",
"simple-git-hooks": "^2.11.1",
"vite": "^5.3.2",
"vite-plugin-blocklet": "^0.8.0",
"vite-plugin-blocklet": "^0.8.1",
"vue": "^2.7.16",
"zx": "^8.1.3"
},
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 @@ -28,7 +28,7 @@
"rimraf": "^5.0.7",
"simple-git-hooks": "^2.11.1",
"vite": "^5.3.2",
"vite-plugin-blocklet": "^0.8.0",
"vite-plugin-blocklet": "^0.8.1",
"vue": "^2.7.16",
"zx": "^8.1.3"
},
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.8.0",
"version": "0.8.1",
"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.8.0",
"version": "0.8.1",
"description": "",
"main": "index.js",
"exports": {
Expand Down
2 changes: 1 addition & 1 deletion version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.8.0
0.8.1
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.8.0
version: 0.8.1
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.8.0
version: 0.8.1
logo: logo.png
files:
- logo.png
Expand Down

0 comments on commit 447201a

Please sign in to comment.