-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #26214 from storybookjs/kasper/fix-angular-compodocs
Angular: Use dedicated tsconfig for compodocs
- Loading branch information
Showing
4 changed files
with
32 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
code/lib/cli/templates/angular/application/template-csf/.storybook/tsconfig.doc.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
// This tsconfig is used by Compodoc to generate the documentation for the project. | ||
// If Compodoc is not used, this file can be deleted. | ||
{ | ||
"extends": "./tsconfig.json", | ||
// Exclude all files that are not needed for documentation generation. | ||
"exclude": ["../src/test.ts", "../src/**/*.spec.ts", "../src/**/*.stories.ts"], | ||
// Please make sure to include all files from which Compodoc should generate documentation. | ||
"include": ["../src/**/*"], | ||
"files": ["./typings.d.ts"] | ||
} |