Skip to content

Commit

Permalink
环境变量
Browse files Browse the repository at this point in the history
  • Loading branch information
Win102021DMMRWQ\Administrator committed Aug 9, 2023
1 parent 254a2b5 commit b05ca20
Show file tree
Hide file tree
Showing 11 changed files with 32 additions and 370 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"start:editor": "cd packages/editor && pnpm run dev"
"start:editor": "pnpm -r --filter=./packages/editor run dev"
},
"keywords": [],
"author": "",
Expand Down
130 changes: 0 additions & 130 deletions packages/common/network/WebSocketClient.ts

This file was deleted.

2 changes: 0 additions & 2 deletions packages/common/network/index.ts

This file was deleted.

55 changes: 0 additions & 55 deletions packages/common/network/request.ts

This file was deleted.

17 changes: 0 additions & 17 deletions packages/common/package.json

This file was deleted.

71 changes: 0 additions & 71 deletions packages/common/util/index.ts

This file was deleted.

69 changes: 0 additions & 69 deletions packages/common/util/typeis.ts

This file was deleted.

1 change: 1 addition & 0 deletions packages/editor/.env.development
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
VITE_HOST=http://127.0.0.1:3838
1 change: 1 addition & 0 deletions packages/editor/.env.production
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
VITE_HOST=http://mojito.drinkjs.com
3 changes: 2 additions & 1 deletion packages/editor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"version": "0.0.0",
"type": "module",
"scripts": {
"dev": "vite --force",
"dev": "vite --force --mode=development",
"dev:prod": "vite --force --mode=production",
"build": "tsc && vite build",
"lint": "eslint src --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
"preview": "vite preview"
Expand Down
Loading

0 comments on commit b05ca20

Please sign in to comment.