diff --git a/frontend/.storybook/main.ts b/frontend/.storybook/main.ts index 0f2f946b44..4dd5664be4 100644 --- a/frontend/.storybook/main.ts +++ b/frontend/.storybook/main.ts @@ -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; diff --git a/frontend/.storybook/tsconfig.json b/frontend/.storybook/tsconfig.json index 7d2b6089ed..4a0f48cdf5 100644 --- a/frontend/.storybook/tsconfig.json +++ b/frontend/.storybook/tsconfig.json @@ -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"] } diff --git a/frontend/angular.json b/frontend/angular.json index 5c75c43bda..31cf32e2c1 100644 --- a/frontend/angular.json +++ b/frontend/angular.json @@ -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", @@ -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", diff --git a/frontend/package.json b/frontend/package.json index 1dc067a743..70aa50b3e9 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -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",