Skip to content

Commit

Permalink
[AAE-6162][AAE-6163] Add the storybook target to core and content (#7303
Browse files Browse the repository at this point in the history
)

* Add the storybook target to core and content

* Remove test story
  • Loading branch information
mauriziovitale committed Oct 22, 2021
1 parent d3f99a7 commit 6861e53
Show file tree
Hide file tree
Showing 3 changed files with 86 additions and 0 deletions.
66 changes: 66 additions & 0 deletions angular.json
Expand Up @@ -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
}
}
}
}
},
Expand Down Expand Up @@ -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
}
}
}
}
},
Expand Down
10 changes: 10 additions & 0 deletions lib/content-services/.storybook/tsconfig.json
@@ -0,0 +1,10 @@
{
"extends": "../../../tsconfig.base.json",
"compilerOptions": {
"emitDecoratorMetadata": true

},

"exclude": ["../**/*.spec.ts" ],
"include": ["../src/**/*", "*.js"]
}
10 changes: 10 additions & 0 deletions lib/core/.storybook/tsconfig.json
@@ -0,0 +1,10 @@
{
"extends": "../../../tsconfig.base.json",
"compilerOptions": {
"emitDecoratorMetadata": true

},

"exclude": ["../**/*.spec.ts" ],
"include": ["../**/*.ts", "*.js"]
}

0 comments on commit 6861e53

Please sign in to comment.