Skip to content

Commit

Permalink
Reduced tserrors on building storybook
Browse files Browse the repository at this point in the history
  • Loading branch information
VitoAlbano committed Nov 28, 2024
1 parent 193df7b commit 57424ca
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 1 addition & 3 deletions lib/process-services-cloud/.storybook/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@
"extends": "../../../tsconfig.json",
"compilerOptions": {
"emitDecoratorMetadata": true

},

"exclude": ["../**/*.spec.ts" ],
"exclude": ["../**/*.spec.ts", "../**/*.mock.ts", "../**/test.ts", "../**/*.module.ts" ],
"include": ["../src/**/*", "*.js"]
}
13 changes: 12 additions & 1 deletion lib/stories/.storybook/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -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/**/*"]
}

0 comments on commit 57424ca

Please sign in to comment.