Skip to content

Commit

Permalink
fix: clean build directory before building
Browse files Browse the repository at this point in the history
  • Loading branch information
tangdrew committed May 11, 2019
1 parent 3485d50 commit 8915702
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 9 deletions.
10 changes: 6 additions & 4 deletions packages/fhir-ts-codegen/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,12 @@
"dist/**"
],
"scripts": {
"build": "tsc",
"lint": "tslint -c tslint.json 'lib/**/*.ts'",
"test": "jest",
"build": "yarn clean && tsc",
"clean": "rimraf dist",
"coverage": "jest --coverage",
"download-structure-definitions": "ts-node scripts/download.ts"
"download-structure-definitions": "ts-node scripts/download.ts",
"lint": "tslint -c tslint.json 'lib/**/*.ts'",
"test": "jest"
},
"keywords": [
"fhir"
Expand Down Expand Up @@ -50,6 +51,7 @@
"@types/node-fetch": "^2.1.4",
"@types/prettier": "^1.15.2",
"io-ts": "^1.8.1",
"rimraf": "^2.6.3",
"ts-node": "^8.0.2",
"tslint": "^5.12.1",
"typescript": "^3.3.3"
Expand Down
4 changes: 3 additions & 1 deletion packages/fhir-types/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@
"url": "git+https://github.com/tangdrew/fhir-ts.git"
},
"scripts": {
"build": "tsc"
"build": "yarn clean && tsc",
"clean": "rimraf dist"
},
"bugs": {
"url": "https://github.com/tangdrew/fhir-ts/issues"
Expand All @@ -31,6 +32,7 @@
},
"devDependencies": {
"@tangdrew/fhir-ts-codegen": "^0.5.2",
"rimraf": "^2.6.3",
"typescript": "^3.3.3"
}
}
4 changes: 3 additions & 1 deletion packages/primitives/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,14 @@
"dist"
],
"scripts": {
"build": "tsc",
"build": "yarn clean && tsc",
"clean": "rimraf dist",
"coverage": "jest --coverage",
"test": "jest"
},
"devDependencies": {
"@types/big.js": "^4.0.5",
"rimraf": "^2.6.3",
"typescript": "^3.3.3"
},
"dependencies": {
Expand Down
6 changes: 3 additions & 3 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2395,9 +2395,9 @@ fb-watchman@^2.0.0:
bser "^2.0.0"

"fhir-ts-codegen@file:packages/fhir-ts-codegen":
version "0.5.0"
version "0.5.2"
dependencies:
"@tangdrew/primitives" "^0.4.0"
"@tangdrew/primitives" "^0.4.2"
commander "^2.19.0"
glob "^7.1.3"
node-fetch "^2.3.0"
Expand Down Expand Up @@ -5614,7 +5614,7 @@ retry@^0.10.0:
resolved "https://registry.yarnpkg.com/retry/-/retry-0.10.1.tgz#e76388d217992c252750241d3d3956fed98d8ff4"
integrity sha1-52OI0heZLCUnUCQdPTlW/tmNj/Q=

rimraf@2, rimraf@^2.5.2, rimraf@^2.5.4, rimraf@^2.6.1, rimraf@^2.6.2:
rimraf@2, rimraf@^2.5.2, rimraf@^2.5.4, rimraf@^2.6.1, rimraf@^2.6.2, rimraf@^2.6.3:
version "2.6.3"
resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-2.6.3.tgz#b2d104fe0d8fb27cf9e0a1cda8262dd3833c6cab"
integrity sha512-mwqeW5XsA2qAejG46gYdENaxXjx9onRNCfn7L0duuP4hCuTIi/QO7PDK07KJfp1d+izWPrzEJDcSqBa0OZQriA==
Expand Down

0 comments on commit 8915702

Please sign in to comment.