Skip to content

Commit

Permalink
build: replace lerna with npm workspaces
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristianMurphy committed Aug 25, 2021
1 parent b767382 commit 0bc5981
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
3 changes: 0 additions & 3 deletions lerna.json

This file was deleted.

12 changes: 8 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
"c8": "^7.0.0",
"camelcase": "^6.0.0",
"execa": "^5.0.0",
"lerna": "^4.0.0",
"mdast-util-assert": "^4.0.0",
"mdast-util-gfm": "^1.0.0",
"micromark-extension-gfm": "^1.0.0",
Expand All @@ -30,11 +29,16 @@
"unist-util-remove-position": "^4.0.0",
"xo": "^0.44.0"
},
"workspaces": [
"packages/remark",
"packages/remark-cli",
"packages/remark-parse",
"packages/remark-stringify"
],
"scripts": {
"postinstall": "lerna bootstrap --no-ci",
"build": "lerna run build && rimraf \"*.d.ts\" \"{test,script}/**/*.d.ts\" && tsc && type-coverage",
"build": "npm run build --workspaces && rimraf \"*.d.ts\" \"{test,script}/**/*.d.ts\" && tsc && type-coverage",
"format": "./packages/remark-cli/cli.js . -qfo && prettier . -w --loglevel warn && xo --fix",
"test-api": "lerna run test && node --conditions development test/index.js",
"test-api": "npm run test --workspaces && node --conditions development test/index.js",
"test-coverage": "c8 --check-coverage --branches 100 --functions 100 --lines 100 --statements 100 --reporter lcov npm run test-api",
"test": "npm run build && npm run format && npm run test-coverage"
},
Expand Down

0 comments on commit 0bc5981

Please sign in to comment.