-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move to official Storybook 7 release (#1147)
# Pull Request ## 🤨 Rationale Right after I submitted the upgrade to a release candidate of Storybook 7 in #1134, I noticed they [released the official 7.0.0](https://github.com/storybookjs/storybook/releases). Adopting the latest patch addresses some of the issues in #1146. ## 👩💻 Implementation 1. Update to latest non-RC build in package.json and regenerate package-lock.json 2. Regenerate one patch file since the file it was patching has a new name 3. Add another patch file since they introduced another instance of storybookjs/storybook#21820 4. Move off deprecated API for specifying `sourceTransform` as described in [migration guide](https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#source-block) 5. Delete `storybook-declarations.ts` since this bug was closed storybookjs/storybook#21887 ## 🧪 Testing Explored Storybook. ## ✅ Checklist - [x] I have updated the project documentation to reflect my changes or determined no changes are needed.
- Loading branch information
Showing
8 changed files
with
1,687 additions
and
1,611 deletions.
There are no files selected for viewing
7 changes: 7 additions & 0 deletions
7
change/@ni-nimble-components-672785c8-ca80-4797-ba17-59c0bab476df.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"type": "none", | ||
"comment": "Move to official Storybook 7 release", | ||
"packageName": "@ni/nimble-components", | ||
"email": "jattasNI@users.noreply.github.com", | ||
"dependentChangeType": "none" | ||
} |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 0 additions & 3 deletions
3
packages/nimble-components/src/utilities/tests/storybook-declarations.d.ts
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
diff --git a/node_modules/@storybook/addon-actions/dist/decorator.d.ts b/node_modules/@storybook/addon-actions/dist/decorator.d.ts | ||
index 0497cfe..3b84204 100644 | ||
--- a/node_modules/@storybook/addon-actions/dist/decorator.d.ts | ||
+++ b/node_modules/@storybook/addon-actions/dist/decorator.d.ts | ||
@@ -1,4 +1,4 @@ | ||
-import * as lib_preview_api_dist_storybook_channel_mock_a19cd233 from 'lib/preview-api/dist/storybook-channel-mock-a19cd233'; | ||
+import * as lib_preview_api_dist_storybook_channel_mock_a19cd233 from '@storybook/preview-api/dist/storybook-channel-mock-a19cd233'; | ||
|
||
declare const withActions: lib_preview_api_dist_storybook_channel_mock_a19cd233.M; | ||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/node_modules/@storybook/html/dist/types-ccac9448.d.ts b/node_modules/@storybook/html/dist/types-ccac9448.d.ts | ||
index a973f71..558cacb 100644 | ||
--- a/node_modules/@storybook/html/dist/types-ccac9448.d.ts | ||
+++ b/node_modules/@storybook/html/dist/types-ccac9448.d.ts | ||
@@ -1,6 +1,6 @@ | ||
import { PartialStoryFn, ArgsStoryFn, RenderContext, WebRenderer, StoryContext as StoryContext$1 } from '@storybook/types'; | ||
-import * as lib_docs_tools_dist from 'lib/docs-tools/dist'; | ||
-import * as lib_types_dist from 'lib/types/dist'; | ||
+import * as lib_docs_tools_dist from '@storybook/docs-tools/dist'; | ||
+import * as lib_types_dist from '@storybook/types/dist'; | ||
|
||
declare function sourceDecorator(storyFn: PartialStoryFn<HtmlRenderer>, context: StoryContext): StoryFnHtmlReturnType; | ||
|