-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove reactOptions & angularOptions
- Loading branch information
Showing
12 changed files
with
100 additions
and
78 deletions.
There are no files selected for viewing
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
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 |
---|---|---|
@@ -1,7 +1,17 @@ | ||
import type { StorybookConfig as BaseConfig } from '@storybook/core-common'; | ||
|
||
export interface AngularOptions { | ||
enableIvy: boolean; | ||
} | ||
|
||
/** | ||
* The interface for Storybook configuration in `main.ts` files. | ||
*/ | ||
export interface StorybookConfig extends BaseConfig { | ||
angularOptions?: { | ||
enableIvy: boolean; | ||
}; | ||
framework: | ||
| string | ||
| { | ||
name: '@storybook/angular'; | ||
options: AngularOptions; | ||
}; | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
import type { StorybookConfig as BaseConfig } from '@storybook/core-common'; | ||
|
||
export interface ReactOptions { | ||
fastRefresh?: boolean; | ||
strictMode?: boolean; | ||
/** | ||
* Use React's legacy root API to mount components | ||
* @description | ||
* React has introduced a new root API with React 18.x to enable a whole set of new features (e.g. concurrent features) | ||
* If this flag is true, the legacy Root API is used to mount components to make it easier to migrate step by step to React 18. | ||
* @default false | ||
*/ | ||
legacyRootApi?: boolean; | ||
} | ||
|
||
/** | ||
* The interface for Storybook configuration in `main.ts` files. | ||
*/ | ||
export interface StorybookConfig extends BaseConfig { | ||
framework: | ||
| string | ||
| { | ||
name: '@storybook/react'; | ||
options: ReactOptions; | ||
}; | ||
} |
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 @@ | ||
export * from './dist/ts3.9/types/index.d'; |
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 |
---|---|---|
|
@@ -30,7 +30,6 @@ | |
} | ||
}, | ||
"files": [ | ||
"bin/**/*", | ||
"dist/**/*", | ||
"README.md", | ||
"*.js", | ||
|
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
Oops, something went wrong.