Skip to content

Commit 92274c6

Browse files
committed
chore: no workspace
1 parent 740f16d commit 92274c6

5 files changed

Lines changed: 9 additions & 27 deletions

File tree

bin/test.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ test() {
77
cd "$1"
88
pwd
99
rm -rf node_modules package-lock.json
10-
npmupdate -c
11-
npm run ci
10+
ut
11+
ut ci
1212
cd ..
1313
}
1414

body-parser-example/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
},
88
"devDependencies": {
99
"@eggjs/bin": "beta",
10-
"@eggjs/mock": "beta"
10+
"@eggjs/mock": "beta",
11+
"koa-compose": "4.1.0"
1112
},
1213
"scripts": {
1314
"dev": "egg-bin dev",

hello-tegg/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@
3737
"@eggjs/mock": "beta",
3838
"eslint": "8",
3939
"eslint-config-egg": "14",
40-
"typescript": "5"
40+
"typescript": "5",
41+
"koa-compose": "4.1.0"
4142
},
4243
"repository": "git@github.com:eggjs/examples.git",
4344
"engines": {

helloworld/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@
1414
"@types/node": "22",
1515
"eslint": "8",
1616
"eslint-config-egg": "14",
17-
"typescript": "5"
17+
"typescript": "5",
18+
"koa-compose": "4.1.0"
1819
},
1920
"scripts": {
2021
"start": "eggctl start --daemon",

package.json

Lines changed: 1 addition & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -2,27 +2,6 @@
22
"name": "egg-examples",
33
"version": "1.0.0",
44
"description": "Application examples for egg",
5-
"workspaces": [
6-
"./body-parser-example",
7-
"./cookie",
8-
"./cookie-session",
9-
"./custom-env",
10-
"./download",
11-
"./framework",
12-
"./hackernews",
13-
"./hackernews-async",
14-
"./httpclient",
15-
"./ipc",
16-
"./middleware",
17-
"./multipart",
18-
"./multipart-file-mode",
19-
"./passport",
20-
"./progressive",
21-
"./redefine-controller",
22-
"./schedule",
23-
"./static",
24-
"./todomvc"
25-
],
265
"keywords": [
276
"application",
287
"egg"
@@ -39,7 +18,7 @@
3918
"lint": "echo 'ignore'",
4019
"test": "./bin/test.sh",
4120
"test-cn": "./example.js test -c",
42-
"ci": "ut ci --workspaces",
21+
"ci": "npm run test",
4322
"list": "./example.js list"
4423
},
4524
"homepage": "https://github.com/eggjs/examples",

0 commit comments

Comments
 (0)