Build libraries with "build-lib"

This commit is contained in:
Kenneth Allen 2021-11-03 23:28:32 +11:00
parent 132995c051
commit 1888f28344
8 changed files with 8 additions and 6 deletions

View File

@ -22,6 +22,6 @@
"typescript": "^4.1.3"
},
"scripts": {
"build": "tsc --declaration"
"build-lib": "tsc --declaration"
}
}

View File

@ -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", "--"]

View File

@ -21,6 +21,6 @@
"typescript": "^4.1.3"
},
"scripts": {
"build": "tsc --declaration"
"build-lib": "tsc --declaration"
}
}

View File

@ -21,7 +21,7 @@
"typescript": "^4.1.3"
},
"scripts": {
"build": "tsc --declaration",
"build-lib": "tsc --declaration",
"test": "tsc --declaration && jest"
}
}

View File

@ -23,6 +23,6 @@
"typescript": "^4.1.3"
},
"scripts": {
"build": "tsc --declaration"
"build-lib": "tsc --declaration"
}
}

View File

@ -28,6 +28,6 @@
"utf-8-validate": "^5.0.4"
},
"scripts": {
"build": "tsc --declaration"
"build-lib": "tsc --declaration"
}
}

View File

@ -22,6 +22,6 @@
"typescript": "^4.1.3"
},
"scripts": {
"build": "tsc --declaration"
"build-lib": "tsc --declaration"
}
}

View File

@ -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", "--"]