3457 Commits

Author SHA1 Message Date
Norbert de Langen
a8c00039e6
Merge branch 'next' into tech/jest-swc-standalone 2022-12-23 16:13:16 +01:00
Norbert de Langen
25f412c6b5
Merge pull request #20331 from storybookjs/fix/manager-entry-with-exports
Core: Wrap manager entries to handle exports using a cache directory
2022-12-23 16:12:43 +01:00
Norbert de Langen
d6008c09ce
Merge pull request #20371 from timur-svoboda/fix-trim-vulnerability
Fix trim vulnerability
2022-12-23 16:10:29 +01:00
Norbert de Langen
a972797db5
fix types 2022-12-23 16:08:06 +01:00
Norbert de Langen
07867c8d4e
Merge branch 'next' into tech/jest-swc-standalone 2022-12-23 15:52:45 +01:00
Norbert de Langen
169ec46b0c
Merge branch 'next' into fix/manager-entry-with-exports 2022-12-23 15:44:44 +01:00
Norbert de Langen
a5b6711414
Merge branch 'next' into fix-trim-vulnerability 2022-12-23 15:39:06 +01:00
Norbert de Langen
103387fd50 fixes for unit tests 2022-12-23 22:56:13 +09:00
Norbert de Langen
3cd585704e make tests use SWC, not babel 2022-12-23 22:53:21 +09:00
Daniel Schmidt
0f293fa684
Merge branch 'storybookjs:next' into ui/fix-find-dom-node 2022-12-23 14:20:18 +01:00
Michael Shilman
d4beeb98c5 Update git head to 7.0.0-beta.14, update yarn.lock [ci skip] 2022-12-23 20:06:52 +08:00
Michael Shilman
c3b2e8fe25 v7.0.0-beta.14 2022-12-23 20:01:28 +08:00
Michael Shilman
29ae335995 Update root, peer deps, version.ts/json to 7.0.0-beta.14 [ci skip] 2022-12-23 19:58:03 +08:00
Norbert de Langen
4cd87a4c40
regen lockfiles 2022-12-22 20:48:24 +01:00
Daniel Schmidt
65653f6be5
Merge branch 'storybookjs:next' into ui/fix-find-dom-node 2022-12-22 17:04:46 +01:00
Ian VanSchooten
5a3bfc55dd Types: Add Addon_OptionsParameterV7 type 2022-12-22 10:17:30 -05:00
Michael Shilman
a181ae8fae
Merge pull request #20345 from storybookjs/norbert/no-strictmode-manager
UI: disable React.strictmode to prevent getting deprecation warnings about findNode
2022-12-22 19:00:09 +08:00
Tom Coleman
9f7314e8fa Merge branch 'rename-docspage-autodocs' into tom/sb-1032-warn-if-setting-tags-docspage-and-then 2022-12-22 15:04:53 +11:00
Tom Coleman
99b4ac394c Merge branch 'tom/sb-973-rename-docsenabled-to-docsdisable' into rename-docspage-autodocs 2022-12-22 15:04:34 +11:00
Tom Coleman
b05b9d37e2 Merge remote-tracking branch 'origin/next' into tom/sb-973-rename-docsenabled-to-docsdisable 2022-12-22 15:04:23 +11:00
Michael Shilman
996c9fb574
Merge pull request #20372 from storybookjs/shilman/upgrade-playwright-1-29-1
Build: Update Playwright to 1.29.1
2022-12-22 11:34:32 +08:00
Tom Coleman
cbb7995f0a Update error to be a little more helpful 2022-12-22 13:57:43 +11:00
Tom Coleman
2f713e5ce6 Throw error if using mdx of={} for autodocs-tagged CSF file 2022-12-22 13:50:24 +11:00
Tom Coleman
7dd16753e4 Refactored test stories a little bit 2022-12-22 13:41:57 +11:00
Michael Shilman
9027de36f8 Build: Update Playwright to 1.29.1 2022-12-22 10:38:19 +08:00
Tom Coleman
8ff272dd80 Merge branch 'tom/sb-973-rename-docsenabled-to-docsdisable' into rename-docspage-autodocs 2022-12-22 13:20:42 +11:00
Tom Coleman
b438b986de Fix incorrect default for disable 2022-12-22 13:19:17 +11:00
Daniel Schmidt
53da15685b ui: add ref to both nav and panel 2022-12-22 00:05:34 +01:00
Tom Coleman
7d87e818b0
Update code/lib/core-server/src/utils/StoryIndexGenerator.test.ts
Co-authored-by: Michael Shilman <shilman@users.noreply.github.com>
2022-12-22 08:32:34 +11:00
Timur Svoboda
ec95642720 Fix trim vulnerability
Upgrade `@storybook/linter-config` to the latest version (`3.1.2`) to
fix the `trim` vulnerability issue.

`trim@0.0.1` has a known vulnerability with high severity:
https://security.snyk.io/vuln/SNYK-JS-TRIM-1017038.

Here is the path to `trim` before this commit:

```
└─ @storybook/root@workspace:.
   └─ @storybook/linter-config@npm:2.5.0 [cfb4f] (via npm:^2.5.0 [cfb4f])
      └─ remark-cli@npm:8.0.1 (via npm:^8.0.0)
         └─ remark@npm:12.0.1 (via npm:^12.0.0)
            └─ remark-parse@npm:8.0.3 (via npm:^8.0.0)
               └─ trim@npm:0.0.1 (via npm:0.0.1)
```

I checked that there is no `trim` in the dependencies in the __./code__
folder after this commit. You can check it by running the following.

```sh
yarn why -R trim
```

The latest version of `@storybook/linter-config` is also used in the
__./scripts__ folder.
2022-12-21 22:41:35 +02:00
Yann Braga
c6f0236ada
Merge pull request #20365 from storybookjs/kasper/sb-1044-store-extra-sandbox-metadata-to-our
Build: store extra metadata for each sandbox test
2022-12-21 19:48:46 +01:00
Kasper Peulen
0fbf0adca6 Store extra sandbox metadata for status page 2022-12-21 16:27:52 +01:00
Daniel Schmidt
c91c03caaf ui: fix deprecated ReactDOM.findDOMNode calls 2022-12-21 15:11:33 +01:00
Norbert de Langen
b909242c8b
upgrade 2022-12-21 12:22:32 +01:00
Tom Coleman
427ec4433d Rename docsPage to autodocs
And change semantics: `docsPage:true` = `autodocs: 'tag'` and `docsPage: 'automatic'` = `autodocs: true`.
2022-12-21 21:49:57 +11:00
Tom Coleman
ed18a8dc6d Rename docsOptions.enabled to docsOptions.disable 2022-12-21 21:26:44 +11:00
Norbert de Langen
a096d3e58d
regen lockfile 2022-12-21 09:39:06 +01:00
Norbert de Langen
1c1b2fc83b
update 2022-12-21 08:57:26 +01:00
Norbert de Langen
bd6b9ba39f
Merge pull request #20354 from storybookjs/norbert/fix-deps
Build: sync issues of `next` packages
2022-12-21 08:52:11 +01:00
Tom Coleman
670d52aef9
Merge pull request #20118 from storybookjs/clean-up-inline-rendering
Angular: Switch to default to inlineStories=true
2022-12-21 12:17:00 +11:00
Norbert de Langen
f868c8b2e2
I noticed we were installing 6.x versions of packages in the monorepo 2022-12-20 23:09:29 +01:00
Norbert de Langen
d9987cebc3
no strictmode to prevent getting warnings about findNode 2022-12-20 16:49:33 +01:00
Norbert de Langen
aa9a5b0fbb
Merge pull request #20310 from storybookjs/feat/automigration-log-file
CLI: write into a log file if automigrations fail
2022-12-20 15:57:19 +01:00
Norbert de Langen
87d5db28cd
Merge pull request #20342 from storybookjs/feat/nodejs-automigration
CLI: add nodejs check in automigrations
2022-12-20 15:55:56 +01:00
Michael Shilman
8f8f30785b Update git head to 7.0.0-beta.13, update yarn.lock [ci skip] 2022-12-20 21:34:12 +08:00
Michael Shilman
ddf86bd126 v7.0.0-beta.13 2022-12-20 21:28:05 +08:00
Michael Shilman
3efd25b2d4 Update root, peer deps, version.ts/json to 7.0.0-beta.13 [ci skip] 2022-12-20 21:27:42 +08:00
Norbert de Langen
d772d382f8
Merge pull request #20184 from storybookjs/norbert/sb-1063-vite-in-dev-mode-with-storystorev6
Tech: improve global types
2022-12-20 13:44:00 +01:00
Yann Braga
ece3221bd2 add nodejs check in automigrations 2022-12-20 13:31:59 +01:00
Norbert de Langen
bb2e680cd7
change to use @storybook/global in modern entry 2022-12-20 13:17:15 +01:00