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:
@@ -1,6 +1,5 @@
|
||||
import { cva } from 'class-variance-authority'
|
||||
|
||||
|
||||
import { deepmerge } from 'deepmerge-ts'
|
||||
import styles from './button.module.css'
|
||||
|
||||
|
||||
@@ -217,8 +217,6 @@
|
||||
"test": "vitest run --passWithNoTests",
|
||||
"test:s": "vitest --project=storybook",
|
||||
"test:watch": "vitest",
|
||||
"prepack": "yarn run build",
|
||||
"prepare": "husky && yarn run build",
|
||||
"check-types": "tsgo --noEmit",
|
||||
"test:browser": "vitest --config=vitest.browser.config.ts",
|
||||
"include:shared": "jiti ../../scripts/copyFiles.ts ../../shared public/_static/shared"
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
"extends": ["//"],
|
||||
"tasks": {
|
||||
"build": {
|
||||
"dependsOn": ["include:shared"],
|
||||
"dependsOn": ["include:shared", "check-types"],
|
||||
"outputs": ["dist/**"]
|
||||
},
|
||||
"dev": {
|
||||
|
||||
@@ -24,8 +24,9 @@ export interface TableBlock extends z.output<typeof tableSchema> {}
|
||||
export type TableData = TableBlock["table"]
|
||||
export interface TextCols extends z.output<typeof textColsSchema> {}
|
||||
export interface UspGrid extends z.output<typeof uspGridSchema> {}
|
||||
interface GetHotelListing
|
||||
extends z.output<typeof contentPageHotelListingSchema> {}
|
||||
interface GetHotelListing extends z.output<
|
||||
typeof contentPageHotelListingSchema
|
||||
> {}
|
||||
export type HotelListing = GetHotelListing["hotel_listing"]
|
||||
export interface CarouselCards extends z.output<typeof carouselCardsSchema> {}
|
||||
export interface CardGallery extends z.output<typeof cardGallerySchema> {}
|
||||
|
||||
@@ -6,14 +6,17 @@ import type {
|
||||
collectionPageSchema,
|
||||
} from "../routers/contentstack/collectionPage/output"
|
||||
|
||||
export interface GetCollectionPageRefsSchema
|
||||
extends z.input<typeof collectionPageRefsSchema> {}
|
||||
export interface GetCollectionPageRefsSchema extends z.input<
|
||||
typeof collectionPageRefsSchema
|
||||
> {}
|
||||
|
||||
export interface CollectionPageRefs
|
||||
extends z.output<typeof collectionPageRefsSchema> {}
|
||||
export interface CollectionPageRefs extends z.output<
|
||||
typeof collectionPageRefsSchema
|
||||
> {}
|
||||
|
||||
export interface GetCollectionPageSchema
|
||||
extends z.input<typeof collectionPageSchema> {}
|
||||
export interface GetCollectionPageSchema extends z.input<
|
||||
typeof collectionPageSchema
|
||||
> {}
|
||||
|
||||
export interface CollectionPage extends z.output<typeof collectionPageSchema> {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user