Merged in chore/check-types-before-build (pull request #3326)

chore: check types before build

* chore: check types before build

* remove unused package.json scripts

* merge


Approved-by: Linus Flood
This commit is contained in:
Joakim Jäderberg
2026-01-07 07:06:36 +00:00
parent 3d62c16899
commit 028c77c923
18 changed files with 37 additions and 36 deletions

View File

@@ -1,8 +1,8 @@
import {
bookingTerms,
customerService,
scandicFriends,
privacy,
scandicFriends,
} from "@scandic-hotels/common/constants/routes/customerService"
import { myStay } from "@scandic-hotels/common/constants/routes/myStay"

View File

@@ -1,14 +1,14 @@
[build]
command = "export NEXT_PUBLIC_RELEASE_TAG=$(git tag -l 'release-v*' | sort -V | tail -n 1) && yarn test --filter=@scandic-hotels/partner-sas && yarn build:sas"
command = "export NEXT_PUBLIC_RELEASE_TAG=$(git tag -l 'v*' | sort -V | tail -n 1) && yarn test --filter=@scandic-hotels/partner-sas && yarn build --filter=@scandic-hotels/partner-sas"
publish = "apps/partner-sas/.next"
ignore = "if [ -z ${CACHED_COMMIT_REF+x} ] ; then echo 'no CACHED_COMMIT_REF found' && false ; else git diff --quiet $CACHED_COMMIT_REF $COMMIT_REF apps/partner-sas packages/booking-flow packages/common packages/trpc packages/design-system packages/typescript-config ; fi"
[context.branch-deploy]
command = "export NEXT_PUBLIC_RELEASE_TAG=$(git tag -l 'release-v*' | sort -V | tail -n 1) && yarn test --filter=@scandic-hotels/partner-sas && yarn build:sas"
command = "export NEXT_PUBLIC_RELEASE_TAG=$(git tag -l 'v*' | sort -V | tail -n 1) && yarn test --filter=@scandic-hotels/partner-sas && yarn build --filter=@scandic-hotels/partner-sas"
[context.deploy-preview]
command = "export NEXT_PUBLIC_RELEASE_TAG=$(git tag -l 'release-v*' | sort -V | tail -n 1) && yarn test --filter=@scandic-hotels/partner-sas && yarn build:sas"
command = "export NEXT_PUBLIC_RELEASE_TAG=$(git tag -l 'v*' | sort -V | tail -n 1) && yarn test --filter=@scandic-hotels/partner-sas && yarn build --filter=@scandic-hotels/partner-sas"
[build.environment]
# set TERM variable for terminal output

View File

@@ -3,7 +3,7 @@
"extends": ["//"],
"tasks": {
"lint": { "dependsOn": [] },
"build": { "dependsOn": ["clean", "include:shared"] },
"build": { "dependsOn": ["clean", "include:shared", "check-types"] },
"dev": { "dependsOn": ["clean", "include:shared"] },
"test": {
"dependsOn": [