32303 Commits

Author SHA1 Message Date
Gaëtan Maisse
4e90dffc5a
chore: rework test NPM script (--core option has been removed)
Previously the unit tests were run with a custom script `scripts/test.js`.
This script was a kind of wrapper around Jest, handling just a few options (skipping all the unknown ones) and spawning Jest programmatically.
To simplify this process:
 - I extracted the only non-classic case in its own NPM script: `yarn test-puppeteer`
 - Just call Jest directly when running `yarn test` so all the options are forwarded properly to Jest.

⚠️ `yarn test --core` doesn't work anymore as `--core` isn't a Jest option, it is now simply `yarn test`.
📝 To run the tests of a single workspace just use `--projects`, for instance: `yarn test --projects examples/angular-cli`
2021-02-11 08:33:59 +01:00
Michael Shilman
2fd216bdd8 6.2.0-alpha.25 next.json version file 2021-02-11 09:34:39 +08:00
Michael Shilman
8a6a42ea2d Update git head to 6.2.0-alpha.25 2021-02-11 09:30:57 +08:00
Michael Shilman
d4ff49b2de v6.2.0-alpha.25 v6.2.0-alpha.25 2021-02-11 09:24:46 +08:00
Michael Shilman
7df7ddc7ee Update root, peer deps, version.ts/json to 6.2.0-alpha.25 2021-02-11 08:08:11 +08:00
Michael Shilman
aad2ab0152 6.2.0-alpha.25 changelog 2021-02-11 08:03:01 +08:00
Michael Shilman
e5644e4f60
Merge pull request #13855 from phated/phated/vue3-improvements
Vue 3: Fix decorators and add more examples
2021-02-11 08:01:23 +08:00
Michael Shilman
5101dfb101
Merge pull request #13869 from yngvebn/configurable-syntax-language
Addon-docs: Configure syntax highlighter language by story parameter
2021-02-11 07:53:16 +08:00
Blaine Bublitz
d970cf1456
Update examples/vue-3-cli/src/stories/DynamicHeading.stories.ts
Co-authored-by: Michael Shilman <shilman@users.noreply.github.com>
2021-02-10 16:46:57 -07:00
Michael Shilman
932f747de6
Merge pull request #13785 from j3rem1e/svelte-decorators-ctxt
Svelte: Improved decorators
2021-02-11 07:42:20 +08:00
Yngve Bakken-Nilsen
b7c44a13a1 make source-language configurable 2021-02-10 23:08:36 +01:00
j3rem1e
038a20520c Simplify Svelte decorators 2021-02-10 21:13:23 +01:00
Michael Shilman
659bfa3a9f
Merge pull request #13853 from yngvebn/contributing-windows
add extra instructions for developing on windows
2021-02-10 23:21:59 +08:00
Michael Shilman
b76f5f781f
Merge pull request #13842 from storybookjs/7959-fix-storyshots-as-addon
Storyshots: Support main.js usage
2021-02-10 23:20:17 +08:00
Michael Shilman
33b4e30408
Merge pull request #13846 from storybookjs/tech/test-core-presets
Core: Add tests for the preset behavior of core
2021-02-10 23:19:40 +08:00
Michael Shilman
f1bd16968b fix deepscan 2021-02-10 23:18:34 +08:00
Michael Shilman
edb8b41d18
Merge pull request #13740 from yngvebn/docs-snippet-angular
Addon-docs/Angular: Add dynamic source snippets
2021-02-10 20:39:07 +08:00
Michael Shilman
0222e62c7a
Merge pull request #13858 from storybookjs/fix-angular-deprecation
Angular: Fix deprecation for consistency
2021-02-10 20:38:22 +08:00
Michael Shilman
85ece8afe0 Fix http mocking & specific-snapshotting 2021-02-10 18:22:16 +08:00
Michael Shilman
a13cab359c Angular: Fix deprecation for consistency 2021-02-10 16:29:19 +08:00
Michael Shilman
ffea0e975f
Merge pull request #13857 from storybookjs/build/update-danger
Upgrade to danger-js@main
2021-02-10 16:16:44 +08:00
Yngve Bakken-Nilsen
b4f62da0c4 Angular: implement dynamic snippet 2021-02-10 08:54:39 +01:00
Michael Shilman
e1f73e0f8e Update to danger-js@main 2021-02-10 15:49:04 +08:00
Michael Shilman
933ea9c176 Upgrade to danger-js@main 2021-02-10 15:32:20 +08:00
Michael Shilman
c54359d383 force hoisting of postcss-loader@4.2.0 2021-02-10 09:21:02 +08:00
Blaine Bublitz
ecb17c3120 chore: add meta & story decorators to Vue 3 TS example 2021-02-09 15:51:46 -07:00
Blaine Bublitz
349bb6d652 fix: loosen props type in Vue 3 Meta & add to TS example 2021-02-09 14:05:09 -07:00
Blaine Bublitz
5200223bf2 fix: handle Vue 3 decorators correctly & add simple div wrapper in example 2021-02-09 14:00:41 -07:00
Blaine Bublitz
54787effc5 chore: convert vue 3 example preview.js to TS 2021-02-09 13:49:10 -07:00
Blaine Bublitz
a006e0440b chore: add functional TS component/story to vue 3 example 2021-02-09 13:47:40 -07:00
Blaine Bublitz
46d7414329 fix: loosen types to accept any props in a Vue component returned from story 2021-02-09 13:39:02 -07:00
Yngve Bakken Nilsen
c2445c0e84
add extra instructions for developing on windows 2021-02-09 20:03:16 +01:00
Michael Shilman
9dcb1fc338 replace node_modules in snapshots 2021-02-09 22:42:41 +08:00
Michael Shilman
d73449dfb8 Tests for the preset behavior of core 2021-02-09 19:02:41 +08:00
Michael Shilman
c1627758d7 Allow storyshots to be added in main.js 2021-02-09 10:51:30 +08:00
Michael Shilman
013f2658e3 Merge branch 'next' of github.com:storybookjs/storybook into next 2021-02-08 09:45:17 +08:00
Michael Shilman
3fd8b6b397
Merge pull request #13813 from bodograumann/patch-1
docs(vue-kitchen-sink): improve punctuation
2021-02-07 17:06:37 +08:00
Michael Shilman
a5c5b2d2c3 6.2.0-alpha.24 next.json version file 2021-02-06 09:56:54 +08:00
Michael Shilman
e56f5d1cb6 Update git head to 6.2.0-alpha.24 2021-02-06 09:51:13 +08:00
Michael Shilman
8001ec00b1 v6.2.0-alpha.24 v6.2.0-alpha.24 2021-02-06 09:45:29 +08:00
Michael Shilman
d56c7aafc4 Update root, peer deps, version.ts/json to 6.2.0-alpha.24 2021-02-06 09:43:24 +08:00
Michael Shilman
f3ff1e3d0f 6.2.0-alpha.24 changelog 2021-02-06 09:38:48 +08:00
Michael Shilman
a559f59380
Merge pull request #13828 from phated/phated/vue3-addon-storyshots
Addon-storyshots: Add support for Vue 3
2021-02-06 09:35:30 +08:00
Blaine Bublitz
becbeee08e fix: get example building working in ci 2021-02-05 17:12:55 -07:00
Blaine Bublitz
222f44512c chore: copy type comment from addon-docs 2021-02-05 15:02:08 -07:00
Blaine Bublitz
a9de6ccc75 docs: document vue3 storyshots setup 2021-02-05 14:59:55 -07:00
Blaine Bublitz
eec939d9d7 feat: add storyshots to Vue 3 example but disable in suite 2021-02-05 14:50:51 -07:00
Blaine Bublitz
cb52b38a76 feat: add vue3 support to storyshots 2021-02-05 14:39:05 -07:00
Blaine Bublitz
35321169b1 chore: cleanup some Vue 3 example stories 2021-02-05 14:37:59 -07:00
Blaine Bublitz
0e607c6da1 feat: utilize typescript in Vue 3 example files 2021-02-05 14:37:14 -07:00