mirror of
https://github.com/Unleash/unleash.git
synced 2024-12-22 19:07:54 +01:00
fix: allow null checker to not fail if it gets no output (#3779)
## What Patches the build scripts so that the null checker doesn't fail --------- Co-authored-by: Gastón Fournier <gaston@getunleash.io>
This commit is contained in:
parent
a7751dfbdd
commit
bd53193dc9
@ -31,13 +31,13 @@
|
||||
"main": "./dist/lib/server-impl.js",
|
||||
"scripts": {
|
||||
"start": "TZ=UTC node ./dist/server.js",
|
||||
"build:backend": "echo BUILD-BACKEND && copyfiles -u 1 src/mailtemplates/**/*.mustache dist/ && tsc --pretty --strictNullChecks false && echo DONE_BUILD_BACKEND",
|
||||
"build:frontend": "echo BUILD-FRONTEND && yarn --cwd ./frontend run build && echo DONE_BUILD_FRONTEND",
|
||||
"build": "echo BUILD && yarn run build:frontend && yarn run build:backend && echo DONE_BUILD",
|
||||
"build:backend": "copyfiles -u 1 src/mailtemplates/**/*.mustache dist/ && tsc --pretty --strictNullChecks false",
|
||||
"build:frontend": "yarn --cwd ./frontend run build",
|
||||
"build": "yarn run build:frontend && yarn run build:backend",
|
||||
"dev:backend": "TZ=UTC NODE_ENV=development tsc-watch --strictNullChecks false --onSuccess \"node dist/server-dev.js\"",
|
||||
"dev:frontend": "wait-on tcp:4242 && yarn --cwd ./frontend run dev",
|
||||
"dev": "concurrently \"yarn:dev:backend\" \"yarn:dev:frontend\"",
|
||||
"prepare": "echo PREPARE && node scripts/husky-install && yarn --cwd ./frontend install && if [ ! -d ./dist ]; then yarn build; fi && echo DONE_PREPARE",
|
||||
"prepare": "node scripts/husky-install && yarn --cwd ./frontend install && if [ ! -d ./dist ]; then yarn build; fi",
|
||||
"prestart:dev": "yarn run clean",
|
||||
"start:dev": "TZ=UTC NODE_ENV=development tsc-watch --strictNullChecks false --onSuccess \"node dist/server-dev.js\"",
|
||||
"copy-templates": "copyfiles -u 1 src/mailtemplates/**/*.mustache dist/",
|
||||
|
Loading…
Reference in New Issue
Block a user