Skip to content

Commit

Permalink
chore: temporary disable storybook-utils
Browse files Browse the repository at this point in the history
  • Loading branch information
bashmish committed Feb 4, 2025
1 parent eb31496 commit 2751eac
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 25 deletions.
3 changes: 0 additions & 3 deletions packages/mocks/storybook-addon/preview.js
Original file line number Diff line number Diff line change
@@ -1,3 +0,0 @@
import { withMocks } from '../storybook/addon/decorator.js';

export const decorators = [withMocks];
10 changes: 0 additions & 10 deletions packages/mocks/storybook/addon/decorator.js
Original file line number Diff line number Diff line change
@@ -1,10 +0,0 @@
// @ts-nocheck

import { addons, makeDecorator } from '@storybook/preview-api';
import { createDecorator } from './create-decorator.js';

// Storybook 7
/**
* @type {ReturnType<typeof makeDecorator>}
*/
export const withMocks = createDecorator(addons, makeDecorator);
9 changes: 0 additions & 9 deletions packages/mocks/storybook/addon/manager.js
Original file line number Diff line number Diff line change
@@ -1,9 +0,0 @@
// @ts-nocheck

import { createAddon } from '@web/storybook-utils';
import React from 'react';
import { addons } from '@storybook/manager-api';
import { registerAddon } from './register-addon.js';

// Storybook 7
registerAddon(addons, React, createAddon);
3 changes: 0 additions & 3 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,6 @@
{
"path": "./packages/storybook-framework-web-components/tsconfig.json"
},
{
"path": "./packages/storybook-utils/tsconfig.json"
},
{
"path": "./packages/test-runner-puppeteer/tsconfig.json"
},
Expand Down

0 comments on commit 2751eac

Please sign in to comment.