Skip to content

Commit

Permalink
perf(storybook): Disable Compodoc
Browse files Browse the repository at this point in the history
It wasn't used.
  • Loading branch information
MoritzWeber0 committed Dec 3, 2024
1 parent 5f230dd commit 18d3af1
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 9 deletions.
9 changes: 6 additions & 3 deletions frontend/.storybook/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,15 @@ const config: StorybookConfig = {
name: '@storybook/angular',
options: {},
},
docs: {
autodocs: 'tag',
},
core: {
disableTelemetry: true,
enableCrashReports: false,
builder: {
name: '@storybook/builder-webpack5',
options: {
lazyCompilation: false, // lazyCompilation breaks Storycap
},
},
},
};
export default config;
1 change: 0 additions & 1 deletion frontend/.storybook/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
"allowSyntheticDefaultImports": true,
"resolveJsonModule": true
},
"exclude": ["../src/test.ts", "../src/**/*.spec.ts"],
"include": ["./preview.ts", "../src/polyfills.ts", "../src/**/*.stories.ts"],
"files": ["./typings.d.ts"]
}
6 changes: 2 additions & 4 deletions frontend/angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,7 @@
"configDir": ".storybook",
"quiet": true,
"browserTarget": "capellacollab:build:development",
"compodoc": true,
"compodocArgs": ["-e", "json", "-d", "."],
"compodoc": false,
"port": 6006,
"styles": [
".storybook/styles.css",
Expand All @@ -148,8 +147,7 @@
"options": {
"configDir": ".storybook",
"browserTarget": "capellacollab:build:storybook",
"compodoc": true,
"compodocArgs": ["-e", "json", "-d", "."],
"compodoc": false,
"outputDir": "storybook-static",
"styles": [
".storybook/styles.css",
Expand Down
1 change: 0 additions & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@
"@angular/build": "^19.0.2",
"@angular/cli": "~19.0.2",
"@angular/compiler-cli": "~19.0.1",
"@compodoc/compodoc": "^1.1.26",
"@eslint/js": "^9.16.0",
"@storybook/addon-docs": "^8.4.6",
"@storybook/addon-essentials": "^8.4.6",
Expand Down

0 comments on commit 18d3af1

Please sign in to comment.