Skip to content

Commit

Permalink
fix(generators): Downgrade nx storybook
Browse files Browse the repository at this point in the history
  • Loading branch information
krzotki committed Nov 18, 2024
1 parent 5055aa8 commit b889fa0
Show file tree
Hide file tree
Showing 3 changed files with 3,014 additions and 521 deletions.
16 changes: 8 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@
"@nx/linter": "17.3.0",
"@nx/node": "17.3.0",
"@nx/plugin": "17.3.0",
"@nx/storybook": "17.3.0",
"@nx/storybook": "16.10.0",
"@nx/workspace": "17.3.0",
"@sentry/react": "7.77.0",
"@storybook/addon-actions": "7.6.9",
"@storybook/addon-actions": "6.5.16",
"@storybook/builder-webpack5": "6.5.4",
"@storybook/core-server": "7.6.9",
"@storybook/core-server": "6.5.16",
"@storybook/manager-webpack5": "6.5.4",
"@tanstack/react-query": "5.55.4",
"chalk": "2.4.2",
Expand Down Expand Up @@ -104,15 +104,15 @@
"@nx/webpack": "17.3.0",
"@paperist/types-remark": "0.1.3",
"@radix-ui/react-slot": "1.1.0",
"@storybook/addon-backgrounds": "7.6.9",
"@storybook/addon-backgrounds": "6.5.16",
"@storybook/addon-knobs": "6.3.1",
"@storybook/addon-links": "7.6.9",
"@storybook/addon-storysource": "7.6.9",
"@storybook/addon-viewport": "7.6.9",
"@storybook/addon-links": "6.5.16",
"@storybook/addon-storysource": "6.5.16",
"@storybook/addon-viewport": "6.5.16",
"@storybook/addons": "6.3.8",
"@storybook/builder-webpack5": "6.5.16",
"@storybook/manager-webpack5": "6.5.16",
"@storybook/react": "7.6.9",
"@storybook/react": "6.5.16",
"@storybook/theming": "6.5.16",
"@testing-library/cypress": "8.0.2",
"@testing-library/jest-dom": "6.2.1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ import { logger, readJson, readProjectConfiguration, Tree } from '@nx/devkit';
import { createTreeWithEmptyWorkspace } from '@nx/devkit/testing';
import appGenerator from './index';

jest.setTimeout(10000);

describe('NextJS App generator', () => {
let appTree: Tree;
let projectName: string;
Expand Down Expand Up @@ -53,7 +55,7 @@ describe('NextJS App generator', () => {
reactQuery: true,
rewrites: true,
});

const appConfig = readProjectConfiguration(appTree, 'example.com-my-app');

expect(appConfig?.targets?.['build']).toBeTruthy();
Expand Down
Loading

0 comments on commit b889fa0

Please sign in to comment.