Merged in fix/update-build-scripts (pull request #2488)
Update build scripts for apps * Update build scripts for apps Approved-by: Joakim Jäderberg
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
[build]
|
||||
command = "yarn build"
|
||||
command = "yarn build:sas"
|
||||
publish = "apps/partner-sas/.next"
|
||||
ignore = "git diff --quiet $CACHED_COMMIT_REF $COMMIT_REF apps/partner-sas packages/common packages/trpc packages/design-system packages/typescript-config"
|
||||
|
||||
[context.branch-deploy]
|
||||
command = "yarn build"
|
||||
command = "yarn build:sas"
|
||||
|
||||
[context.deploy-preview]
|
||||
command = "yarn build"
|
||||
command = "yarn build:sas"
|
||||
|
||||
[build.environment]
|
||||
# set TERM variable for terminal output
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
[build]
|
||||
command = "yarn test && yarn build"
|
||||
command = "yarn test && yarn build:web"
|
||||
publish = "apps/scandic-web/.next"
|
||||
ignore = "git diff --quiet $CACHED_COMMIT_REF $COMMIT_REF apps/scandic-web packages/common packages/trpc packages/design-system packages/typescript-config"
|
||||
|
||||
[context.branch-deploy]
|
||||
command = "yarn test && yarn build"
|
||||
command = "yarn test && yarn build:web"
|
||||
|
||||
[context.deploy-preview]
|
||||
command = "yarn test && yarn build"
|
||||
command = "yarn test && yarn build:web"
|
||||
|
||||
# [[plugins]]
|
||||
# package = "netlify-plugin-cypress"
|
||||
|
||||
@@ -3,6 +3,8 @@
|
||||
"packageManager": "yarn@4.6.0",
|
||||
"scripts": {
|
||||
"build": "turbo run build --env-mode=loose",
|
||||
"build:web": "turbo run build --filter=@scandic-hotels/scandic-web --env-mode=loose",
|
||||
"build:sas": "turbo run build --filter=@scandic-hotels/partner-sas --env-mode=loose",
|
||||
"lint": "turbo run lint",
|
||||
"dev": "turbo run dev --output-logs new-only",
|
||||
"dev:web": "turbo run dev --filter=@scandic-hotels/scandic-web --output-logs new-only",
|
||||
|
||||
Reference in New Issue
Block a user