diff --git a/angular.json b/angular.json index 717ed2eb851..714cc26bc24 100644 --- a/angular.json +++ b/angular.json @@ -407,6 +407,39 @@ "**/node_modules/**" ] } + }, + "storybook": { + "builder": "@nrwl/storybook:storybook", + "options": { + "uiFramework": "@storybook/angular", + "port": 4400, + "config": { + "configFolder": "lib/core/.storybook" + } + }, + "configurations": { + "ci": { + "quiet": true + } + } + }, + "build-storybook": { + "builder": "@nrwl/storybook:build", + "outputs": [ + "{options.outputPath}" + ], + "options": { + "uiFramework": "@storybook/angular", + "outputPath": "dist/storybook/core", + "config": { + "configFolder": "lib/core/.storybook" + } + }, + "configurations": { + "ci": { + "quiet": true + } + } } } }, @@ -455,6 +488,39 @@ "**/node_modules/**" ] } + }, + "storybook": { + "builder": "@nrwl/storybook:storybook", + "options": { + "uiFramework": "@storybook/angular", + "port": 4400, + "config": { + "configFolder": "lib/content-services/.storybook" + } + }, + "configurations": { + "ci": { + "quiet": true + } + } + }, + "build-storybook": { + "builder": "@nrwl/storybook:build", + "outputs": [ + "{options.outputPath}" + ], + "options": { + "uiFramework": "@storybook/angular", + "outputPath": "dist/storybook/content-services", + "config": { + "configFolder": "lib/content-services/.storybook" + } + }, + "configurations": { + "ci": { + "quiet": true + } + } } } }, diff --git a/lib/content-services/.storybook/tsconfig.json b/lib/content-services/.storybook/tsconfig.json new file mode 100644 index 00000000000..74829392d70 --- /dev/null +++ b/lib/content-services/.storybook/tsconfig.json @@ -0,0 +1,10 @@ +{ + "extends": "../../../tsconfig.base.json", + "compilerOptions": { + "emitDecoratorMetadata": true + + }, + + "exclude": ["../**/*.spec.ts" ], + "include": ["../src/**/*", "*.js"] +} diff --git a/lib/core/.storybook/tsconfig.json b/lib/core/.storybook/tsconfig.json new file mode 100644 index 00000000000..3f01515e9a8 --- /dev/null +++ b/lib/core/.storybook/tsconfig.json @@ -0,0 +1,10 @@ +{ + "extends": "../../../tsconfig.base.json", + "compilerOptions": { + "emitDecoratorMetadata": true + + }, + + "exclude": ["../**/*.spec.ts" ], + "include": ["../**/*.ts", "*.js"] +}