398 Commits

Author SHA1 Message Date
Michael Shilman
c24a19c0bb Fix angular csf type exports 2020-08-07 17:23:04 +08:00
tooppaaa
73407126fc cli: apply types for angular 2020-08-06 18:59:28 +02:00
Mark Berry
3fc2aedaec Fix lint error 2020-07-15 23:31:56 -05:00
Mark Berry
0d5a6c636c Fix lint error 2020-07-15 23:22:36 -05:00
Mark Berry
c4bafbff64 Use system path when checking if asset is a directory 2020-07-08 13:51:04 -05:00
Tom Coleman
acf156b278 Move framework to be the first argument to loadCsf
(So it is easier to have a trailing arg)
2020-07-06 17:08:33 +10:00
Michael Shilman
c509cc4d66 Merge branch 'next' into feat/addon-controls 2020-05-26 09:24:11 +08:00
Brody McKee
8310948e3b feat: add root TypeScript support 2020-05-17 16:31:09 +03:00
Norbert de Langen
74c1a7c0aa
REMOVE tslint instead
bye bye
2020-05-14 17:06:18 +02:00
Norbert de Langen
f9abc6a986
Merge branch 'next' into tech/remove-deprecations-6
# Conflicts:
#	addons/events/src/deprecated.js
#	addons/options/src/register.ts
#	examples/official-storybook/stories/core/decorators.stories.js
#	examples/official-storybook/stories/deprecated/addon-events.stories.js
#	lib/addons/src/make-decorator.test.ts
#	lib/api/src/modules/layout.ts
#	lib/cli/src/generate.js
#	lib/core/package.json
2020-03-31 09:40:58 +02:00
Norbert de Langen
341fc2d90d
FIX linting 2020-03-27 20:04:50 +01:00
Norbert de Langen
2d66c93253
REMOVE deprecated APIs from app/angular 2020-03-26 10:51:24 +01:00
Norbert de Langen
32db33302c
FIX deepscan issues 2020-02-13 12:33:09 +01:00
Kai Röder
6cba51fa3b chore(app/angular): update ts config test to match the new default config 2020-02-03 15:49:24 +01:00
Kai Roeder
85d5ce96cc Angular: add emitDecoratorMetadata true as default
This fixes dependency injection error SomeComponent(?, ?)
2020-02-02 01:13:47 +01:00
Michael Shilman
7aef75f435
Typescript: Export IStory in @storybook/angular (#9097)
Typescript: Export IStory in `@storybook/angular`
2020-01-21 23:52:19 +08:00
Gaëtan Maisse
36ee762ec7 fix: clean usage of @types/webpack-env dep in all packages
- `@types/webpack-env` must be defined as `dependencies` in packages that export a type/function using typings from `@types/webpack-env` (it is often `NodeModule`). In that case `/// <reference types="webpack-env" />` is present in some files of the `dist` folder of the lib. Example: `lib/client-api`.
 - `@types/webpack-env` must be defined as `devDependencies` in packages that use its typings internally but does not expose anything related to it. Many addons need the type because they use `module.hot` function. Example: `addons/a11y`
 - `webpack-env` should be removed from "compilerOptions.types" key of `tsconfig.json` of packages that don't need it.

 I also bump `@types/webpack-env` to ^1.15.0 to have the same version all across the monorepo
2020-01-20 08:41:44 +01:00
Kai Röder
f419b7fa21 fix(app/angular): add missing architect.build properties
previously angular-devkit has thrown an error if they were missing

fixes #9319
2020-01-11 10:03:58 +01:00
Kai Röder
7980eb656c chore(app/angular): add additional log outputs
this should help improving the error reporting when a user has trouble using app/angular
2020-01-11 09:56:11 +01:00
nikita.balakirev
5c8322a936 fix(storybook/angular): add defaults value to the budgets property
Closes #9206
2019-12-20 17:00:53 +03:00
atanasster
13c34c62ce export StoryFnAngularReturnType as IStory 2019-12-08 13:53:54 -05:00
Norbert de Langen
9691057dc7 FIX test 2019-11-16 21:06:54 +01:00
Norbert de Langen
d4abd319e0 FIX test 2019-11-16 20:40:34 +01:00
Norbert de Langen
abafdcdae2 Merge branch 'next' into pr/seokju-na/6737
# Conflicts:
#	app/angular/src/server/angular-cli_config.ts
2019-11-16 18:06:18 +01:00
Norbert de Langen
e018f67690 FIX linting 2019-11-15 21:48:31 +01:00
Michael Shilman
ab7f343e87 Presets: Add framework option 2019-11-10 19:01:40 +08:00
Kai Röder
923e9bdff7 fix regression and load sb baseConfig if no angular.json was found
this regression was introduced around v5.3.0-alpha.38
it prevents users from running sb without an angular.json
2019-11-05 19:03:59 +01:00
Kai Röder
1c9320e986 remove angular2-template-loader dep 2019-10-11 16:59:49 +02:00
Kai Röder
19e8024f6d Merge branch 'next' into fix-issue7877-webpack-styles-loader 2019-10-11 16:52:37 +02:00
Norbert de Langen
28fed37f0d ESlint upgrade 2019-10-03 11:08:40 +02:00
Kai Röder
334cc202d2 fix bug that causes an error when style files are empty 2019-10-02 17:05:21 +02:00
Kai Röder
bbed3b0bf3 fix lint issues; remove unused code 2019-10-02 16:48:23 +02:00
Kai Röder
56f2961e4f fix angular2-template-loader / raw-loader version conflicts 2019-10-02 12:10:34 +02:00
Kai Röder
bb864cb489 set @ViewChild static: true
this was introduced in angular 8
see https://angular.io/guide/static-query-migration
2019-09-28 13:50:10 +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
e187e79b93 simplify tests 2019-09-28 13:31:03 +02:00
Kai Röder
1fa78aa573 boy scouting in order to fix tests and improve testability 2019-09-28 13:29:03 +02:00
Norbert de Langen
d91386ed94 Merge branch 'next' into pr/hansottowirtz/7738 2019-09-24 02:02:12 +02:00
Michael Shilman
bc8250faba
Merge pull request #7791 from storybookjs/trigger-effects-after-render
Preview hooks: trigger effects after story render
2019-08-20 02:04:39 +08:00
Norbert de Langen
5257b5ec41
Merge pull request #7207 from baraalex/7161-raw-loader-module-not-found
7161 Fix error raw loader module not found in angular 8

Co-authored-by: Kai Röder <roeder.kai@gmail.com>
2019-08-19 17:28:09 +02:00
Hypnosphi
f0f68b4717 Fix tests 2019-08-17 22:21:24 +02:00
Hans Otto Wirtz
0014ba2b4f Fix mocks 2019-08-12 17:28:39 +02:00
Hans Otto Wirtz
411fe09111 Improve tests and error message 2019-08-12 13:40:54 +02:00
Hans Otto Wirtz
0525ed807d Strip comments of angular.json and tsconfig.json in @storybook/angular 2019-08-11 18:14:59 +02:00
lonyele
672bbb3dca chore: resolve merge conflicts 2019-07-30 09:44:02 +09:00
Michael Shilman
62c20e40fd Take two at fixing configure types 😅 2019-07-30 02:51:03 +08:00
Michael Shilman
905861da57 Fix configure typings in React/Angular/HTML 2019-07-30 02:00:33 +08:00
lonyele
071c58acc4 chore: resolve conflicts 2019-07-29 23:40:20 +09:00
Michael Shilman
1d6e58e74b
Core: rename load to configure (#7576)
Core: rename `load` to `configure`
2019-07-27 16:22:16 +08:00
lonyele
736cba1fa3 chore: resolve package.json conflict 2019-07-27 08:51:24 +09:00