Build libraries with "build-lib"
This commit is contained in:
parent
132995c051
commit
1888f28344
@ -22,6 +22,6 @@
|
||||
"typescript": "^4.1.3"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "tsc --declaration"
|
||||
"build-lib": "tsc --declaration"
|
||||
}
|
||||
}
|
||||
@ -13,6 +13,7 @@ COPY package.json yarn.lock lerna.json ./
|
||||
RUN lerna bootstrap
|
||||
|
||||
COPY . ./
|
||||
RUN lerna run build-lib
|
||||
RUN lerna run build
|
||||
|
||||
ENTRYPOINT ["tini", "--"]
|
||||
|
||||
@ -21,6 +21,6 @@
|
||||
"typescript": "^4.1.3"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "tsc --declaration"
|
||||
"build-lib": "tsc --declaration"
|
||||
}
|
||||
}
|
||||
@ -21,7 +21,7 @@
|
||||
"typescript": "^4.1.3"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "tsc --declaration",
|
||||
"build-lib": "tsc --declaration",
|
||||
"test": "tsc --declaration && jest"
|
||||
}
|
||||
}
|
||||
@ -23,6 +23,6 @@
|
||||
"typescript": "^4.1.3"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "tsc --declaration"
|
||||
"build-lib": "tsc --declaration"
|
||||
}
|
||||
}
|
||||
@ -28,6 +28,6 @@
|
||||
"utf-8-validate": "^5.0.4"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "tsc --declaration"
|
||||
"build-lib": "tsc --declaration"
|
||||
}
|
||||
}
|
||||
@ -22,6 +22,6 @@
|
||||
"typescript": "^4.1.3"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "tsc --declaration"
|
||||
"build-lib": "tsc --declaration"
|
||||
}
|
||||
}
|
||||
@ -13,6 +13,7 @@ COPY package.json yarn.lock lerna.json ./
|
||||
RUN lerna bootstrap
|
||||
|
||||
COPY . ./
|
||||
RUN lerna run build-lib
|
||||
RUN lerna run build
|
||||
|
||||
ENTRYPOINT ["tini", "--"]
|
||||
|
||||
Loading…
Reference in New Issue
Block a user