12 Commits

Author SHA1 Message Date
Thibaud Av
b9eaf4ba04
feat(angular): add getWebpackConfig for angular 12.2.x & 13.x.x
only work with angular storybook builder
2021-11-10 19:32:04 +01:00
gentoo90
82368bd8d7 Allow to set configuration in angularBrowserTarget 2021-10-03 02:03:47 +03:00
ThibaudAv
1604b617a9
feat: start and build storybook witout browser-target
only tsConfig is required and can be directly given to storybook using new Angular builder for SB

should allow project with only lib, without `@angular-devkit/build-angular:browser` to complete the configuration, to work more simply
2021-09-03 14:01:36 +02:00
ThibaudAv
d1fcb2458f
feat: angular preset work with only tsConfig
should allow project with only lib, without `@angular-devkit/build-angular:browser` to complete the configuration, to work more simply
2021-09-03 14:01:36 +02:00
ThibaudAv
6e932f6260
feat(angular): support workspace with only lib
Note: thow error if project (lib or not) does not have tsConfig options
2021-09-03 14:01:36 +02:00
ThibaudAv
6c6ea3d498 feat(angular): add angularBrowserTarget option in server 2021-05-17 12:35:05 +02:00
ThibaudAv
4f004183ea refactor(angular): rework angular-cli preset
Rework the code of angular-cli_config and angular-cli_utils to add future features
Improvement:
- Add test for NX
- Use angular core to read the workspace instead of doing it by hand
- Use angular-cli to read the tsconfig
- Redesigned the code to get out the main steps + added error handling
- Express more clearly the webpack config from angular-cli
- Clarification of the logs
- Improvement of the types with those of angular-cli
2021-04-18 23:08:35 +02:00
Kai Röder
8d34762fbc not needed since it's always true or an error has been thrown before 2019-09-28 13:34:33 +02:00
Kai Röder
ce20b51476 Fix lint errors 2019-05-31 15:24:21 +02:00
Kai Roeder
3811cd1bf8 Add types from webpack, ts-loader and typescript 2019-04-22 14:16:21 +02:00
Kai Roeder
e863b44ddb Fix tsc build errors 2019-04-21 15:19:07 +02:00
Kai Roeder
60a085065b WIP; Migrate @storybook/angular to typescript 2019-04-20 15:54:27 +02:00