Reduced tserrors on building storybook

This commit is contained in:
VitoAlbano
2024-11-28 17:49:56 +00:00
committed by Vito Albano
parent c5f3b5639d
commit a789ed82eb
3 changed files with 15 additions and 6 deletions

View File

@@ -234,7 +234,7 @@ jobs:
- uses: ./.github/actions/setup
- uses: ./.github/actions/download-node-modules-and-artifacts
- run: NX_REJECT_UNKNOWN_LOCAL_CACHE=0 npx nx affected:build $NX_CALCULATION_FLAGS --prod
- run: NX_REJECT_UNKNOWN_LOCAL_CACHE=0 npx nx affected --target=build-storybook $NX_CALCULATION_FLAGS --configuration=ci --parallel=1
- run: NX_REJECT_UNKNOWN_LOCAL_CACHE=0 npx nx affected --target=build-storybook $NX_CALCULATION_FLAGS --configuration=ci
- uses: ./.github/actions/upload-node-modules-and-artifacts
PR-forbidden-labels:

View File

@@ -2,9 +2,7 @@
"extends": "../../../tsconfig.json",
"compilerOptions": {
"emitDecoratorMetadata": true
},
"exclude": ["../**/*.spec.ts" ],
"include": ["../src/**/*", "*.js", "../../core/feature-flags"]
"exclude": ["../**/*.spec.ts", "../**/*.mock.ts", "../**/test.ts", "../**/*.module.ts" ],
"include": ["../src/**/*", "*.js"]
}

View File

@@ -5,6 +5,17 @@
},
"exclude": ["../**/*.spec.ts", "../../core/**/*.spec.ts", "../../content-services/**/*.spec.ts", "../../process-services-cloud/**/*.spec.ts" ],
"exclude": ["../**/*.spec.ts",
"../../core/**/*.spec.ts",
"../../core/**/mocks/**/*.ts",
"../../core/**/mock/**/*",
"../../core/feature-flags/**/*.ts",
"../../content-services/**/*.spec.ts",
"../../content-services/**/mock/**/*",
"../../content-services/**/mocks/**/*",
"../../process-services-cloud/**/*.spec.ts",
"../../process-services-cloud/**/mocks/**/*",
"../../process-services-cloud/**/mock/**/*"
],
"include": ["../src/**/*", "*.js", "../../core/**/*", "../../content-services/**/*", "../../process-services-cloud/**/*"]
}