Skip to content

Commit

Permalink
Use shared tsc and rollup for building packages.
Browse files Browse the repository at this point in the history
  • Loading branch information
benjamn committed Mar 18, 2021
1 parent 10fcc22 commit 779869f
Show file tree
Hide file tree
Showing 5 changed files with 157 additions and 209 deletions.
149 changes: 149 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@
"@types/mocha": "^8.0.3",
"@types/node": "^14.14.31",
"lerna": "^3.13.4",
"rollup": "^2.41.5",
"rollup-plugin-typescript2": "^0.30.0",
"typescript": "^4.1.2"
},
"engines": {
Expand Down
3 changes: 2 additions & 1 deletion packages/rollup-plugin-invariant/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@
"url": "/~https://github.com/apollographql/invariant-packages/issues"
},
"scripts": {
"build": "tsc",
"build": "npm run tsc",
"tsc": "../../node_modules/.bin/tsc",
"mocha": "mocha --reporter spec --full-trace lib/tests.js",
"prepublish": "npm run build",
"test": "npm run build && npm run mocha"
Expand Down
Loading

0 comments on commit 779869f

Please sign in to comment.