[AAE-6162][AAE-6163] Add the storybook target to core and content (#7303)

* Add the storybook target to core and content

* Remove test story
This commit is contained in:
Maurizio Vitale
2021-10-22 16:06:43 +01:00
committed by GitHub
parent d3f99a74b0
commit 6861e5320e
3 changed files with 86 additions and 0 deletions

View File

@@ -407,6 +407,39 @@
"**/node_modules/**" "**/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/**" "**/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
}
}
} }
} }
}, },

View File

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

View File

@@ -0,0 +1,10 @@
{
"extends": "../../../tsconfig.base.json",
"compilerOptions": {
"emitDecoratorMetadata": true
},
"exclude": ["../**/*.spec.ts" ],
"include": ["../**/*.ts", "*.js"]
}