Skip to content

Commit

Permalink
fix(template): remove invalid vite eject command (#319)
Browse files Browse the repository at this point in the history
  • Loading branch information
pd4d10 authored Apr 5, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 3fe5f87 commit c6aeab3
Showing 23 changed files with 25 additions and 28 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 0.7.8 (2024-4-5)

- fix: remove invalid eject command

## 0.7.7 (2024-4-3)

- feat: add todo-list template
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.7.7",
"version": "0.7.8",
"description": "",
"scripts": {
"debug": "node packages/create-app/index.js",
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.7.7",
"version": "0.7.8",
"exports": "./index.js",
"type": "module",
"repository": "[email protected]:blocklet/create-blocklet.git",
3 changes: 1 addition & 2 deletions packages/create-app/templates/react-dapp-ts/package.json
Original file line number Diff line number Diff line change
@@ -3,7 +3,6 @@
"version": "0.1.0",
"scripts": {
"dev": "blocklet dev",
"eject": "vite eject",
"lint": "tsc --noEmit && eslint src api/src --ext .mjs,.js,.jsx,.ts,.tsx",
"lint:fix": "npm run lint -- --fix",
"start": "cross-env NODE_ENV=development nodemon api/dev.ts -w api",
@@ -79,7 +78,7 @@
"ts-node": "^10.9.2",
"typescript": "^5.3.3",
"vite": "^5.0.10",
"vite-plugin-blocklet": "^0.7.7",
"vite-plugin-blocklet": "^0.7.8",
"vite-plugin-svgr": "^4.2.0",
"zx": "^7.2.3"
},
3 changes: 1 addition & 2 deletions packages/create-app/templates/react-dapp/package.json
Original file line number Diff line number Diff line change
@@ -3,7 +3,6 @@
"version": "0.1.0",
"scripts": {
"dev": "blocklet dev",
"eject": "vite eject",
"lint": "eslint src api --ext .mjs,.js,.jsx,.ts,.tsx",
"lint:fix": "npm run lint -- --fix",
"start": "cross-env NODE_ENV=development nodemon api/dev.js -w api",
@@ -69,7 +68,7 @@
"npm-run-all": "^4.1.5",
"prettier": "^3.1.1",
"vite": "^5.0.10",
"vite-plugin-blocklet": "^0.7.7",
"vite-plugin-blocklet": "^0.7.8",
"vite-plugin-svgr": "^4.2.0",
"zx": "^7.2.3"
}
3 changes: 1 addition & 2 deletions packages/create-app/templates/react-gun-dapp/package.json
Original file line number Diff line number Diff line change
@@ -3,7 +3,6 @@
"version": "0.1.0",
"scripts": {
"dev": "blocklet dev",
"eject": "vite eject",
"lint": "eslint src api --ext .mjs,.js,.jsx,.ts,.tsx",
"lint:fix": "npm run lint -- --fix",
"start": "cross-env NODE_ENV=development nodemon api/dev.js -w api",
@@ -70,7 +69,7 @@
"prettier": "^3.1.1",
"rimraf": "^3.0.2",
"vite": "^5.0.10",
"vite-plugin-blocklet": "^0.7.7",
"vite-plugin-blocklet": "^0.7.8",
"vite-plugin-svgr": "^4.2.0",
"zx": "^7.2.3"
}
3 changes: 1 addition & 2 deletions packages/create-app/templates/react-static/package.json
Original file line number Diff line number Diff line change
@@ -3,7 +3,6 @@
"version": "0.1.0",
"scripts": {
"dev": "blocklet dev",
"eject": "vite eject",
"serve": "vite preview",
"lint": "eslint src --ext .mjs,.js,.jsx,.ts,.tsx",
"lint:fix": "npm run lint -- --fix",
@@ -53,7 +52,7 @@
"prettier": "^3.1.1",
"rimraf": "^3.0.2",
"vite": "^5.0.10",
"vite-plugin-blocklet": "^0.7.7",
"vite-plugin-blocklet": "^0.7.8",
"vite-plugin-svgr": "^4.2.0",
"zx": "^7.2.3"
}
2 changes: 1 addition & 1 deletion packages/create-app/templates/solidjs-dapp/package.json
Original file line number Diff line number Diff line change
@@ -33,7 +33,7 @@
"prettier": "^3.1.1",
"rimraf": "^3.0.2",
"vite": "^5.0.10",
"vite-plugin-blocklet": "^0.7.7",
"vite-plugin-blocklet": "^0.7.8",
"vite-plugin-solid": "^2.8.0",
"zx": "^7.2.3"
},
2 changes: 1 addition & 1 deletion packages/create-app/templates/solidjs-static/package.json
Original file line number Diff line number Diff line change
@@ -29,7 +29,7 @@
"prettier": "^3.1.1",
"rimraf": "^3.0.2",
"vite": "^5.0.10",
"vite-plugin-blocklet": "^0.7.7",
"vite-plugin-blocklet": "^0.7.8",
"vite-plugin-solid": "^2.8.0",
"zx": "^7.2.3"
},
2 changes: 1 addition & 1 deletion packages/create-app/templates/svelte-dapp/package.json
Original file line number Diff line number Diff line change
@@ -45,7 +45,7 @@
"rimraf": "^3.0.2",
"svelte": "^4.2.8",
"vite": "^5.0.10",
"vite-plugin-blocklet": "^0.7.7",
"vite-plugin-blocklet": "^0.7.8",
"zx": "^7.2.3"
},
"lint-staged": {
2 changes: 1 addition & 1 deletion packages/create-app/templates/svelte-static/package.json
Original file line number Diff line number Diff line change
@@ -30,7 +30,7 @@
"rimraf": "^3.0.2",
"svelte": "^4.2.8",
"vite": "^5.0.10",
"vite-plugin-blocklet": "^0.7.7",
"vite-plugin-blocklet": "^0.7.8",
"zx": "^7.2.3"
},
"lint-staged": {
5 changes: 2 additions & 3 deletions packages/create-app/templates/todo-list-example/package.json
Original file line number Diff line number Diff line change
@@ -3,7 +3,6 @@
"version": "0.1.0",
"scripts": {
"dev": "blocklet dev",
"eject": "vite eject",
"lint": "tsc --noEmit && eslint src api/src --ext .mjs,.js,.jsx,.ts,.tsx",
"lint:fix": "npm run lint -- --fix",
"start": "cross-env NODE_ENV=development nodemon api/dev.ts -w api",
@@ -92,7 +91,7 @@
"ts-node": "^10.9.2",
"typescript": "^5.4.3",
"vite": "^5.0.13",
"vite-plugin-blocklet": "^0.7.7",
"vite-plugin-blocklet": "^0.7.8",
"vite-plugin-svgr": "^4.2.0",
"zx": "^7.2.3"
},
@@ -106,4 +105,4 @@
"parser": "typescript"
}
}
}
}
2 changes: 1 addition & 1 deletion packages/create-app/templates/vue-dapp/package.json
Original file line number Diff line number Diff line change
@@ -47,7 +47,7 @@
"prettier": "^3.1.1",
"rimraf": "^3.0.2",
"vite": "^5.0.10",
"vite-plugin-blocklet": "^0.7.7",
"vite-plugin-blocklet": "^0.7.8",
"zx": "^7.2.3"
},
"lint-staged": {
2 changes: 1 addition & 1 deletion packages/create-app/templates/vue-static/package.json
Original file line number Diff line number Diff line change
@@ -31,7 +31,7 @@
"prettier": "^3.1.1",
"rimraf": "^3.0.2",
"vite": "^5.0.10",
"vite-plugin-blocklet": "^0.7.7",
"vite-plugin-blocklet": "^0.7.8",
"zx": "^7.2.3"
},
"lint-staged": {
2 changes: 1 addition & 1 deletion packages/create-app/templates/vue2-dapp/package.json
Original file line number Diff line number Diff line change
@@ -47,7 +47,7 @@
"prettier": "^3.1.1",
"rimraf": "^3.0.2",
"vite": "^5.0.10",
"vite-plugin-blocklet": "^0.7.7",
"vite-plugin-blocklet": "^0.7.8",
"zx": "^7.2.3"
},
"lint-staged": {
2 changes: 1 addition & 1 deletion packages/create-app/templates/vue2-static/package.json
Original file line number Diff line number Diff line change
@@ -31,7 +31,7 @@
"prettier": "^3.1.1",
"rimraf": "^3.0.2",
"vite": "^5.0.10",
"vite-plugin-blocklet": "^0.7.7",
"vite-plugin-blocklet": "^0.7.8",
"zx": "^7.2.3"
},
"lint-staged": {
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.7.7",
"version": "0.7.8",
"description": "",
"main": "index.js",
"files": [
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.7.7",
"version": "0.7.8",
"description": "",
"main": "index.js",
"exports": {
2 changes: 1 addition & 1 deletion version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.7.7
0.7.8
2 changes: 1 addition & 1 deletion website/docs/blocklet.yml
Original file line number Diff line number Diff line change
@@ -13,7 +13,7 @@ repository:
type: git
url: git+https://github.com/blocklet/create-blocklet.git
specVersion: 1.2.8
version: 0.7.7
version: 0.7.8
logo: logo.png
files:
- logo.png
1 change: 0 additions & 1 deletion website/docs/pages/how-to/create-single-blocklet/index.mdx
Original file line number Diff line number Diff line change
@@ -42,7 +42,6 @@ When development is complete, your `blocklet` can be packaged using the `blockle
```json
"scripts": {
"dev": "blocklet dev",
"eject": "vite eject",
"serve": "vite preview",
"lint": "eslint src --ext .mjs,.js,.jsx,.ts,.tsx",
"lint:fix": "npm run lint -- --fix",
Original file line number Diff line number Diff line change
@@ -42,7 +42,6 @@ blocklet dev
```json
"scripts": {
"dev": "blocklet dev",
"eject": "vite eject",
"serve": "vite preview",
"lint": "eslint src --ext .mjs,.js,.jsx,.ts,.tsx",
"lint:fix": "npm run lint -- --fix",
2 changes: 1 addition & 1 deletion website/pages/blocklet.yml
Original file line number Diff line number Diff line change
@@ -13,7 +13,7 @@ repository:
type: git
url: git+https://github.com/blocklet/create-blocklet.git
specVersion: 1.2.8
version: 0.7.7
version: 0.7.8
logo: logo.png
files:
- logo.png

0 comments on commit c6aeab3

Please sign in to comment.