1
0
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:
Simon Hornby 2023-05-16 10:51:27 +02:00 committed by GitHub
parent a7751dfbdd
commit bd53193dc9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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