3017 Commits

Author SHA1 Message Date
Michael Shilman
5f95289521 Update yarn.lock 2020-05-20 10:39:37 +08:00
tooppaaa
9b41d91d75 fix yarn lock 2020-05-19 22:47:23 +02:00
tooppaaa
8a98ecf7e3 fix missing deps 2020-05-19 22:13:07 +02:00
Norbert de Langen
5949c37b3b
Merge branch 'next' into mrmckeb/issue10790
# Conflicts:
#	examples/angular-cli/jest.addon-config.js
#	examples/angular-cli/jest.config.js
#	lib/core/src/server/preview/babel-loader-preview.js
#	scripts/build-storybooks.js
#	yarn.lock
2020-05-19 16:26:26 +02:00
Michael Shilman
cb1a515228
Merge pull request #10821 from graup/graup/vue-cli-example
Vue: Add vue-cli example and remove babel-preset-vue
2020-05-19 20:42:48 +08:00
Clément DUNGLER
8fd3ca6e0c
Merge pull request #10702 from storybookjs/tech/ci-example-overhaul-clean
Tech/ci example overhaul clean
2020-05-19 12:57:36 +02:00
Brody McKee
1ea65954ca feat: update types and defaults 2020-05-19 10:36:36 +03:00
Gaëtan Maisse
52f7f4ebc6
fix(core): add some missing babel dependencies
All theses deps have been used in `@storybook/core` in https://github.com/storybookjs/storybook/pull/10725
But haven't been properly added as dependencies.
2020-05-18 22:24:17 +02:00
Gaëtan Maisse
a4de908691
fix: bump required version of @types/reach__router
When building `@storybook/api` we are generating types that are based on `@types/reach__router` (see in dist/index.d.ts: `location: import("@reach/router").WindowLocation<{}>`).
And as in the monorepo we have the latest version of `@types/reach__router` we are using generic version of `WindowLocation` added by 410945551d

So we need to update the required version of `@types/reach__router` in the dependency otherwise users can try to run SB with an old version of `@types/reach__router` and face the following error:
```
ERROR in /.../my-project/node_modules/@storybook/api/dist/index.d.ts(75,19):
TS2315: Type 'WindowLocation' is not generic.
```

I also updated the version in `@storybook/router` to be consistent across the different packages.
2020-05-18 21:41:13 +02:00
Norbert de Langen
30c42223fe
Merge branch 'next' into tech/ci-example-overhaul-clean
# Conflicts:
#	lib/cli/src/helpers.ts
#	yarn.lock
2020-05-18 20:14:04 +02:00
Paul Grau
ef2d51c3fc Add vue-cli example application 2020-05-19 00:09:35 +09:00
Norbert de Langen
f8d07d38b0
Merge branch 'tech/ci-example-overhaul-clean' of github.com:storybookjs/storybook into tech/ci-example-overhaul-clean
# Conflicts:
#	examples/angular-cli/jest.config.js
#	yarn.lock
2020-05-18 15:00:57 +02:00
Norbert de Langen
b78317c5f2
WIP 2020-05-18 14:58:55 +02:00
Norbert de Langen
448bdddd29
Merge branch 'next' into tech/ci-example-overhaul-clean
# Conflicts:
#	examples/angular-cli/jest.config.js
#	lib/cli/src/generators/HTML/index.js
#	lib/cli/src/generators/HTML/template-csf/stories/0-Welcome.stories.js
#	yarn.lock
2020-05-18 14:21:17 +02:00
tooppaaa
ea119b0dda Merge remote-tracking branch 'origin/next' into tech/ci-example-overhaul-clean 2020-05-18 13:26:54 +02:00
Brody McKee
8310948e3b feat: add root TypeScript support 2020-05-17 16:31:09 +03:00
Gaëtan Maisse
66e077b2bc
refactor(cli): migrate initiate file to TS 2020-05-15 21:49:30 +02:00
Gaëtan Maisse
d4d61499d5
refactor(cli): migrate React Native generator to TS 2020-05-15 21:49:25 +02:00
Gaëtan Maisse
ce1a49542c
refactor(cli): migrate extract file to TS 2020-05-15 21:49:18 +02:00
Gaëtan Maisse
211acb62be
refactor(cli): migrate Yarn and NPM related files to TS
- Add needed @types packages
 - remove `silent: true` option in `sync` calls as it looks like it's not a valid option
 - remove `encoding: 'utf-8'` option in `spawn` calls as it looks like it's not a valid option
2020-05-15 21:49:17 +02:00
Norbert de Langen
d98b5db734
FIX lockfile 2020-05-15 02:37:54 +02:00
Norbert de Langen
f4e85b9ec2
Merge branch 'fix/9072-jest-preset-angular-build-2' of github.com:adover/storybook into pr/adover/10778
# Conflicts:
#	examples/angular-cli/jest.config.js
#	yarn.lock
2020-05-15 01:17:06 +02:00
Norbert de Langen
3651eb16bc
FIX snapshots 2020-05-15 01:12:05 +02:00
Andy Dover
dec7ca87a3 Merge branch 'next' of https://github.com/storybookjs/storybook into fix/9072-jest-preset-angular-build-2 2020-05-15 10:47:17 +12:00
Norbert de Langen
4fb87c1e74 Merge branch 'next' into pr/adover/10778 2020-05-15 00:42:23 +02:00
Andy Dover
9af716b4f5 Merge branch 'fix/9072-jest-preset-angular-build-2' of github.com:adover/storybook into fix/9072-jest-preset-angular-build-2 2020-05-15 08:21:05 +12:00
Andy Dover
64e3090ba1 Update version in examples. Fix jest.config to use up to date jest preset angular settings 2020-05-15 08:19:07 +12:00
Norbert de Langen
605994b476
REGEN lockfile 2020-05-14 17:12:39 +02:00
Norbert de Langen
07eb4db0d2 Merge branch 'next' into dependabot/npm_and_yarn/tslint-6.1.2 2020-05-14 16:59:15 +02:00
Norbert de Langen
61e2e04c05
Merge pull request #10730 from storybookjs/dependabot/npm_and_yarn/lint-staged-10.2.2 2020-05-14 14:47:21 +02:00
Norbert de Langen
bc4104a3c5
Merge pull request #10732 from storybookjs/dependabot/npm_and_yarn/ts-jest-25.5.1 2020-05-14 14:46:34 +02:00
Norbert de Langen
528fd5b407
Merge pull request #10733 from storybookjs/dependabot/npm_and_yarn/jest-config-26.0.1 2020-05-14 14:45:55 +02:00
Norbert de Langen
9041e9c2bc
Merge pull request #10649 from storybookjs/dependabot/npm_and_yarn/mdx-js/mdx-1.6.1 2020-05-14 14:45:06 +02:00
Norbert de Langen
df7e9a306b Merge branch 'next' into pr/adover/10778 2020-05-14 14:00:00 +02:00
Andy Dover
e749f6fd67 Update jest-preset-angular to 8.2.0 2020-05-14 20:25:59 +12:00
dependabot-preview[bot]
609903dd3f
Bump eventemitter3 from 4.0.0 to 4.0.4
Bumps [eventemitter3](https://github.com/primus/eventemitter3) from 4.0.0 to 4.0.4.
- [Release notes](https://github.com/primus/eventemitter3/releases)
- [Commits](https://github.com/primus/eventemitter3/compare/4.0.0...4.0.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-12 13:37:54 +00:00
dependabot-preview[bot]
3bae549a8d
Bump @mdx-js/mdx from 1.6.0 to 1.6.1
Bumps [@mdx-js/mdx](https://github.com/mdx-js/mdx) from 1.6.0 to 1.6.1.
- [Release notes](https://github.com/mdx-js/mdx/releases)
- [Changelog](https://github.com/mdx-js/mdx/blob/master/changelog.md)
- [Commits](https://github.com/mdx-js/mdx/compare/v1.6.0...v1.6.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-12 13:30:38 +00:00
dependabot-preview[bot]
f4105bec79
build(deps-dev): bump jest-config from 26.0.0 to 26.0.1
Bumps [jest-config](https://github.com/facebook/jest/tree/HEAD/packages/jest-config) from 26.0.0 to 26.0.1.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/commits/v26.0.1/packages/jest-config)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-12 07:24:17 +00:00
dependabot-preview[bot]
a6a83d64ca
build(deps-dev): bump ts-jest from 25.4.0 to 25.5.1
Bumps [ts-jest](https://github.com/kulshekhar/ts-jest) from 25.4.0 to 25.5.1.
- [Release notes](https://github.com/kulshekhar/ts-jest/releases)
- [Changelog](https://github.com/kulshekhar/ts-jest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/kulshekhar/ts-jest/compare/v25.4.0...v25.5.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-12 07:23:42 +00:00
dependabot-preview[bot]
9b7617c6b1
build(deps-dev): bump lint-staged from 10.2.1 to 10.2.2
Bumps [lint-staged](https://github.com/okonet/lint-staged) from 10.2.1 to 10.2.2.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Commits](https://github.com/okonet/lint-staged/compare/v10.2.1...v10.2.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-12 07:16:11 +00:00
tooppaaa
057ab35ea9 Merge remote-tracking branch 'origin/next' into tech/ci-example-overhaul-clean 2020-05-11 17:32:50 +02:00
tooppaaa
072b774693 core: ci and examples generation 2020-05-09 11:34:50 +02:00
Norbert de Langen
4be9c94d74 Merge branch 'next' into fix/error-handling 2020-05-08 17:16:13 +02:00
Norbert de Langen
4c35a213b7
Merge pull request #10679 from BridgeAR/remove-corejs-upgrade-webpack-plugin 2020-05-08 09:57:11 +02:00
Ruben Bridgewater
ef0ec6d83c fix: remove corejs-upgrade-webpack-plugin dependency
The dependency caused multiple issues, since it's not possible to
just replace one dependency version with another if a specific
version is required.
Remove the dependency from storybook to fix the issue.
2020-05-08 03:21:52 +02:00
Norbert de Langen
5bcb88e0f0
Expand the globs given, and if they result in 0 files, log a warning to the user 2020-05-07 14:58:44 +02:00
Michael Shilman
3252d08079 Build: Upgrade jest to 26 2020-05-07 14:36:11 +08:00
Michael Shilman
7dfa77f866
Merge pull request #10642 from storybookjs/jest-26
Build: Upgrade to jest 26
2020-05-07 08:32:41 +08:00
dependabot-preview[bot]
25ce3890f8
Bump tslint from 5.20.1 to 6.1.2
Bumps [tslint](https://github.com/palantir/tslint) from 5.20.1 to 6.1.2.
- [Release notes](https://github.com/palantir/tslint/releases)
- [Changelog](https://github.com/palantir/tslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/palantir/tslint/compare/5.20.1...6.1.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-05 08:02:36 +00:00
dependabot-preview[bot]
c94a920112
Bump terser-webpack-plugin from 2.3.6 to 3.0.0
Bumps [terser-webpack-plugin](https://github.com/webpack-contrib/terser-webpack-plugin) from 2.3.6 to 3.0.0.
- [Release notes](https://github.com/webpack-contrib/terser-webpack-plugin/releases)
- [Changelog](https://github.com/webpack-contrib/terser-webpack-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/terser-webpack-plugin/compare/v2.3.6...v3.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-05 07:57:36 +00:00