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