Skip to content

Commit

Permalink
Remove @storybook/core, framework options
Browse files Browse the repository at this point in the history
  • Loading branch information
shilman committed Apr 8, 2022
1 parent 330608e commit 9e7af63
Show file tree
Hide file tree
Showing 91 changed files with 49 additions and 868 deletions.
1 change: 0 additions & 1 deletion addons/storyshots/storyshots-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@
"@storybook/addons": "6.5.0-alpha.57",
"@storybook/babel-plugin-require-context-hook": "1.0.1",
"@storybook/client-api": "6.5.0-alpha.57",
"@storybook/core": "6.5.0-alpha.57",
"@storybook/core-client": "6.5.0-alpha.57",
"@storybook/core-common": "6.5.0-alpha.57",
"@storybook/csf": "0.0.2--canary.7c6c115.0",
Expand Down
2 changes: 1 addition & 1 deletion app/angular/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"@storybook/addons": "6.5.0-alpha.57",
"@storybook/api": "6.5.0-alpha.57",
"@storybook/client-logger": "6.5.0-alpha.57",
"@storybook/core": "6.5.0-alpha.57",
"@storybook/core-client": "6.5.0-alpha.57",
"@storybook/core-common": "6.5.0-alpha.57",
"@storybook/core-events": "6.5.0-alpha.57",
"@storybook/csf": "0.0.2--canary.7c6c115.0",
Expand Down
2 changes: 1 addition & 1 deletion app/angular/src/client/preview/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* eslint-disable prefer-destructuring */
import type { ClientStoryApi, Loadable } from '@storybook/addons';
import { start } from '@storybook/core/client';
import { start } from '@storybook/core-client';
import './globals';
import { renderToDOM, render } from './render';
import decorateStory from './decorateStory';
Expand Down
13 changes: 0 additions & 13 deletions app/angular/src/server/build.ts

This file was deleted.

4 changes: 0 additions & 4 deletions app/angular/src/server/index.ts

This file was deleted.

9 changes: 1 addition & 8 deletions app/angular/src/server/options.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { sync } from 'read-pkg-up';
import type { LoadOptions, Options as CoreOptions } from '@storybook/core-common';
import type { Options as CoreOptions } from '@storybook/core-common';

import { BuilderContext } from '@angular-devkit/architect';
import { ExtraEntryPoint, StylePreprocessorOptions } from '@angular-devkit/build-angular';
Expand All @@ -16,9 +15,3 @@ export type PresetOptions = CoreOptions & {
angularBuilderContext?: BuilderContext | null;
tsConfig?: string;
};

export default {
packageJson: sync({ cwd: __dirname }).packageJson,
framework: 'angular',
frameworkPresets: [require.resolve('./preset')],
} as LoadOptions;
2 changes: 1 addition & 1 deletion app/ember/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"prepare": "node ../../scripts/prepare.js"
},
"dependencies": {
"@storybook/core": "6.5.0-alpha.57",
"@storybook/core-client": "6.5.0-alpha.57",
"@storybook/core-common": "6.5.0-alpha.57",
"@storybook/docs-tools": "6.5.0-alpha.57",
"@storybook/store": "6.5.0-alpha.57",
Expand Down
2 changes: 1 addition & 1 deletion app/ember/src/client/preview/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { start } from '@storybook/core/client';
import { start } from '@storybook/core-client';

import './globals';
import { renderToDOM } from './render';
Expand Down
2 changes: 1 addition & 1 deletion app/ember/src/client/preview/types.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export type { RenderContext } from '@storybook/core';
export type { RenderContext } from '@storybook/core-client';

export interface ShowErrorArgs {
title: string;
Expand Down
4 changes: 0 additions & 4 deletions app/ember/src/server/build.ts

This file was deleted.

4 changes: 0 additions & 4 deletions app/ember/src/server/index.ts

This file was deleted.

8 changes: 0 additions & 8 deletions app/ember/src/server/options.ts

This file was deleted.

2 changes: 1 addition & 1 deletion app/html/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
},
"dependencies": {
"@storybook/addons": "6.5.0-alpha.57",
"@storybook/core": "6.5.0-alpha.57",
"@storybook/core-client": "6.5.0-alpha.57",
"@storybook/core-common": "6.5.0-alpha.57",
"@storybook/csf": "0.0.2--canary.7c6c115.0",
"@storybook/docs-tools": "6.5.0-alpha.57",
Expand Down
2 changes: 1 addition & 1 deletion app/html/src/client/preview/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* eslint-disable prefer-destructuring */
import { start } from '@storybook/core/client';
import { start } from '@storybook/core-client';
import type { ClientStoryApi, Loadable } from '@storybook/addons';
import { HtmlFramework } from './types-6-0';

Expand Down
2 changes: 1 addition & 1 deletion app/html/src/client/preview/types.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export type { RenderContext } from '@storybook/core';
export type { RenderContext } from '@storybook/core-client';

export type StoryFnHtmlReturnType = string | Node;

Expand Down
4 changes: 0 additions & 4 deletions app/html/src/server/build.ts

This file was deleted.

4 changes: 0 additions & 4 deletions app/html/src/server/index.ts

This file was deleted.

8 changes: 0 additions & 8 deletions app/html/src/server/options.ts

This file was deleted.

2 changes: 1 addition & 1 deletion app/preact/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"dependencies": {
"@babel/plugin-transform-react-jsx": "^7.12.12",
"@storybook/addons": "6.5.0-alpha.57",
"@storybook/core": "6.5.0-alpha.57",
"@storybook/core-client": "6.5.0-alpha.57",
"@storybook/core-common": "6.5.0-alpha.57",
"@storybook/csf": "0.0.2--canary.7c6c115.0",
"@storybook/store": "6.5.0-alpha.57",
Expand Down
2 changes: 1 addition & 1 deletion app/preact/src/client/preview/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* eslint-disable prefer-destructuring */
import { start } from '@storybook/core/client';
import { start } from '@storybook/core-client';
import type { ClientStoryApi, Loadable } from '@storybook/addons';

import './globals';
Expand Down
2 changes: 1 addition & 1 deletion app/preact/src/client/preview/types.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export type { RenderContext } from '@storybook/core';
export type { RenderContext } from '@storybook/core-client';

export type StoryFnPreactReturnType = string | Node | preact.JSX.Element;

Expand Down
4 changes: 0 additions & 4 deletions app/preact/src/server/build.ts

This file was deleted.

4 changes: 0 additions & 4 deletions app/preact/src/server/index.ts

This file was deleted.

8 changes: 0 additions & 8 deletions app/preact/src/server/options.ts

This file was deleted.

2 changes: 1 addition & 1 deletion app/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.3",
"@storybook/addons": "6.5.0-alpha.57",
"@storybook/client-logger": "6.5.0-alpha.57",
"@storybook/core": "6.5.0-alpha.57",
"@storybook/core-client": "6.5.0-alpha.57",
"@storybook/core-common": "6.5.0-alpha.57",
"@storybook/csf": "0.0.2--canary.7c6c115.0",
"@storybook/docs-tools": "6.5.0-alpha.57",
Expand Down
2 changes: 1 addition & 1 deletion app/react/src/client/preview/index.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* eslint-disable prefer-destructuring */
import { start } from '@storybook/core/client';
import { start } from '@storybook/core-client';
import { ClientStoryApi, Loadable } from '@storybook/addons';

import './globals';
Expand Down
4 changes: 0 additions & 4 deletions app/react/src/server/build.ts

This file was deleted.

4 changes: 0 additions & 4 deletions app/react/src/server/index.ts

This file was deleted.

8 changes: 0 additions & 8 deletions app/react/src/server/options.ts

This file was deleted.

2 changes: 1 addition & 1 deletion app/server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"@storybook/addons": "6.5.0-alpha.57",
"@storybook/api": "6.5.0-alpha.57",
"@storybook/client-api": "6.5.0-alpha.57",
"@storybook/core": "6.5.0-alpha.57",
"@storybook/core-client": "6.5.0-alpha.57",
"@storybook/core-common": "6.5.0-alpha.57",
"@storybook/csf": "0.0.2--canary.7c6c115.0",
"@storybook/node-logger": "6.5.0-alpha.57",
Expand Down
2 changes: 1 addition & 1 deletion app/server/src/client/preview/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { start } from '@storybook/core/client';
import { start } from '@storybook/core-client';
import type { ClientStoryApi, Loadable } from '@storybook/addons';

import './globals';
Expand Down
2 changes: 1 addition & 1 deletion app/server/src/client/preview/types.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type { StoryContext } from '@storybook/csf';

export type { RenderContext } from '@storybook/core';
export type { RenderContext } from '@storybook/core-client';

export type StoryFnServerReturnType = any;

Expand Down
4 changes: 0 additions & 4 deletions app/server/src/server/build.ts

This file was deleted.

4 changes: 0 additions & 4 deletions app/server/src/server/index.ts

This file was deleted.

8 changes: 0 additions & 8 deletions app/server/src/server/options.ts

This file was deleted.

2 changes: 1 addition & 1 deletion app/svelte/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"dependencies": {
"@storybook/addons": "6.5.0-alpha.57",
"@storybook/client-logger": "6.5.0-alpha.57",
"@storybook/core": "6.5.0-alpha.57",
"@storybook/core-client": "6.5.0-alpha.57",
"@storybook/core-common": "6.5.0-alpha.57",
"@storybook/csf": "0.0.2--canary.7c6c115.0",
"@storybook/docs-tools": "6.5.0-alpha.57",
Expand Down
2 changes: 1 addition & 1 deletion app/svelte/src/client/preview/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { start } from '@storybook/core/client';
import { start } from '@storybook/core-client';
import { decorateStory } from './decorators';

import './globals';
Expand Down
2 changes: 1 addition & 1 deletion app/svelte/src/client/preview/types.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export type { RenderContext } from '@storybook/core';
export type { RenderContext } from '@storybook/core-client';

export interface ShowErrorArgs {
title: string;
Expand Down
4 changes: 0 additions & 4 deletions app/svelte/src/server/build.ts

This file was deleted.

4 changes: 0 additions & 4 deletions app/svelte/src/server/index.ts

This file was deleted.

8 changes: 0 additions & 8 deletions app/svelte/src/server/options.ts

This file was deleted.

2 changes: 1 addition & 1 deletion app/vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"dependencies": {
"@storybook/addons": "6.5.0-alpha.57",
"@storybook/client-logger": "6.5.0-alpha.57",
"@storybook/core": "6.5.0-alpha.57",
"@storybook/core-client": "6.5.0-alpha.57",
"@storybook/core-common": "6.5.0-alpha.57",
"@storybook/csf": "0.0.2--canary.7c6c115.0",
"@storybook/docs-tools": "6.5.0-alpha.57",
Expand Down
2 changes: 1 addition & 1 deletion app/vue/src/client/preview/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* eslint-disable prefer-destructuring */
import { start } from '@storybook/core/client';
import { start } from '@storybook/core-client';
import type { ClientStoryApi, Loadable } from '@storybook/addons';

import './globals';
Expand Down
2 changes: 1 addition & 1 deletion app/vue/src/client/preview/types.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Component } from 'vue';

export type { RenderContext } from '@storybook/core';
export type { RenderContext } from '@storybook/core-client';

export interface ShowErrorArgs {
title: string;
Expand Down
4 changes: 0 additions & 4 deletions app/vue/src/server/build.ts

This file was deleted.

4 changes: 0 additions & 4 deletions app/vue/src/server/index.ts

This file was deleted.

8 changes: 0 additions & 8 deletions app/vue/src/server/options.ts

This file was deleted.

2 changes: 1 addition & 1 deletion app/vue3/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
},
"dependencies": {
"@storybook/addons": "6.5.0-alpha.57",
"@storybook/core": "6.5.0-alpha.57",
"@storybook/core-client": "6.5.0-alpha.57",
"@storybook/core-common": "6.5.0-alpha.57",
"@storybook/csf": "0.0.2--canary.7c6c115.0",
"@storybook/docs-tools": "6.5.0-alpha.57",
Expand Down
2 changes: 1 addition & 1 deletion app/vue3/src/client/preview/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import type { App } from 'vue';
import { start } from '@storybook/core/client';
import { start } from '@storybook/core-client';
import type { ClientStoryApi, Loadable } from '@storybook/addons';

import './globals';
Expand Down
2 changes: 1 addition & 1 deletion app/vue3/src/client/preview/types.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { ConcreteComponent } from 'vue';

export type { RenderContext } from '@storybook/core';
export type { RenderContext } from '@storybook/core-client';

export interface ShowErrorArgs {
title: string;
Expand Down
4 changes: 0 additions & 4 deletions app/vue3/src/server/build.ts

This file was deleted.

4 changes: 0 additions & 4 deletions app/vue3/src/server/index.ts

This file was deleted.

8 changes: 0 additions & 8 deletions app/vue3/src/server/options.ts

This file was deleted.

2 changes: 1 addition & 1 deletion app/web-components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"@storybook/addons": "6.5.0-alpha.57",
"@storybook/client-api": "6.5.0-alpha.57",
"@storybook/client-logger": "6.5.0-alpha.57",
"@storybook/core": "6.5.0-alpha.57",
"@storybook/core-client": "6.5.0-alpha.57",
"@storybook/core-common": "6.5.0-alpha.57",
"@storybook/csf": "0.0.2--canary.7c6c115.0",
"@storybook/docs-tools": "6.5.0-alpha.57",
Expand Down
Loading

0 comments on commit 9e7af63

Please sign in to comment.