From 59f9cd2f1ba87acec2ca3e982cb7aab0349275d5 Mon Sep 17 00:00:00 2001 From: Rongjian Zhang Date: Fri, 5 Apr 2024 15:18:53 +0800 Subject: [PATCH] fix: remove invalid eject command --- packages/create-app/templates/react-dapp-ts/package.json | 1 - packages/create-app/templates/react-dapp/package.json | 1 - packages/create-app/templates/react-gun-dapp/package.json | 1 - packages/create-app/templates/react-static/package.json | 1 - packages/create-app/templates/todo-list-example/package.json | 3 +-- website/docs/pages/how-to/create-single-blocklet/index.mdx | 1 - website/docs/pages/how-to/create-single-blocklet/index.zh.mdx | 1 - 7 files changed, 1 insertion(+), 8 deletions(-) diff --git a/packages/create-app/templates/react-dapp-ts/package.json b/packages/create-app/templates/react-dapp-ts/package.json index 39f890f4..e551c7a6 100644 --- a/packages/create-app/templates/react-dapp-ts/package.json +++ b/packages/create-app/templates/react-dapp-ts/package.json @@ -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", diff --git a/packages/create-app/templates/react-dapp/package.json b/packages/create-app/templates/react-dapp/package.json index 38d16093..0ff9d480 100644 --- a/packages/create-app/templates/react-dapp/package.json +++ b/packages/create-app/templates/react-dapp/package.json @@ -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", diff --git a/packages/create-app/templates/react-gun-dapp/package.json b/packages/create-app/templates/react-gun-dapp/package.json index 751b8d99..cae18bdd 100644 --- a/packages/create-app/templates/react-gun-dapp/package.json +++ b/packages/create-app/templates/react-gun-dapp/package.json @@ -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", diff --git a/packages/create-app/templates/react-static/package.json b/packages/create-app/templates/react-static/package.json index 12fae35a..31a3e6c9 100644 --- a/packages/create-app/templates/react-static/package.json +++ b/packages/create-app/templates/react-static/package.json @@ -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", diff --git a/packages/create-app/templates/todo-list-example/package.json b/packages/create-app/templates/todo-list-example/package.json index fbf140d0..b72cb303 100644 --- a/packages/create-app/templates/todo-list-example/package.json +++ b/packages/create-app/templates/todo-list-example/package.json @@ -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", @@ -106,4 +105,4 @@ "parser": "typescript" } } -} \ No newline at end of file +} diff --git a/website/docs/pages/how-to/create-single-blocklet/index.mdx b/website/docs/pages/how-to/create-single-blocklet/index.mdx index 64e1da2f..6c95c865 100644 --- a/website/docs/pages/how-to/create-single-blocklet/index.mdx +++ b/website/docs/pages/how-to/create-single-blocklet/index.mdx @@ -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", diff --git a/website/docs/pages/how-to/create-single-blocklet/index.zh.mdx b/website/docs/pages/how-to/create-single-blocklet/index.zh.mdx index 9b334bdf..c43250d9 100644 --- a/website/docs/pages/how-to/create-single-blocklet/index.zh.mdx +++ b/website/docs/pages/how-to/create-single-blocklet/index.zh.mdx @@ -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",