Skip to content

Commit

Permalink
remove lerna, use npm workspace
Browse files Browse the repository at this point in the history
  • Loading branch information
yosuke-furukawa committed Mar 14, 2024
1 parent 8f2e028 commit 345ee8a
Show file tree
Hide file tree
Showing 14 changed files with 42,075 additions and 9,413 deletions.
6 changes: 0 additions & 6 deletions lerna.json

This file was deleted.

50,557 changes: 41,906 additions & 8,651 deletions package-lock.json

Large diffs are not rendered by default.

20 changes: 10 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"name": "root",
"private": true,
"scripts": {
"test": "lerna run test",
"lint": "lerna run lint",
"lint-fix": "lerna run lintfix",
"allinstall": "lerna bootstrap"
},
"devDependencies": {
"lerna": "6.5.1"
},
"version": "0.1.0"
"scripts": {},
"version": "0.1.0",
"workspaces": [
"packages/cli",
"packages/client",
"packages/core",
"packages/server",
"packages/typed",
"packages/ui"
]
}
306 changes: 0 additions & 306 deletions packages/cli/package-lock.json

This file was deleted.

12 changes: 7 additions & 5 deletions packages/cli/package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"name": "@agreed/cli",
"version": "5.3.2-alpha.0",
"version": "6.0.0",
"description": "Agreed is a tool for Consumer Driven Contract with JSON mock server",
"main": "index.js",
"bin": {
"agreed-server": "./bin/agreed-server.js",
"agreed-client": "./bin/agreed-client.js",
"agreed-ui": "./bin/agreed-ui.js"
"agreed-server": "bin/agreed-server.js",
"agreed-client": "bin/agreed-client.js",
"agreed-ui": "bin/agreed-ui.js"
},
"scripts": {
"test": "eater"
Expand Down Expand Up @@ -43,5 +43,7 @@
"publishConfig": {
"access": "public"
},
"gitHead": "a1e6d815d42f1fb49faba63e04cf1252b8cf5bc6"
"directories": {
"test": "test"
}
}
2 changes: 0 additions & 2 deletions packages/cli/test/bin/not_passed.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ plzPort().then((port) => {
const proc = cp.exec(`${process.cwd()}/bin/agreed-server.js --port ${port} --path ${not_pass}`);
setTimeout(() => {
const result = cp.execSync(`${process.cwd()}/bin/agreed-client.js --port ${port} --path ${pass}`).toString();

console.log(result);
assert(result.indexOf('✗ fail') >= 0);
proc.kill();

Expand Down
Loading

0 comments on commit 345ee8a

Please sign in to comment.