Skip to content

Commit

Permalink
fix(storybook): ignore addon-postcss from version update (nrwl#11801)
Browse files Browse the repository at this point in the history
ISSUES CLOSED: nrwl#11465
  • Loading branch information
mandarini authored Aug 31, 2022
1 parent 35744c1 commit 835d0ef
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ describe('migrate-defaults-5-to-6 Generator', () => {
'@storybook/addon-knobs': '^5.3.8',
'@storybook/angular': '^5.3.8',
'@storybook/addon-notes': '5.3.21',
'@storybook/addon-postcss': '2.0.0',
},
};
});
Expand Down Expand Up @@ -74,6 +75,9 @@ describe('migrate-defaults-5-to-6 Generator', () => {
expect(packageJson.devDependencies['@storybook/addon-notes']).toEqual(
'5.3.21'
);
expect(packageJson.devDependencies['@storybook/addon-postcss']).toEqual(
'2.0.0'
);
});

it('should update root config to version 6', async () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ function maybeUpdateVersion(tree: Tree): GeneratorCallback {
'@storybook/testing-vue',
'@storybook/testing-vue3',
'@storybook/addon-notes',
'@storybook/addon-postcss',
];

json.dependencies = json.dependencies || {};
Expand Down

0 comments on commit 835d0ef

Please sign in to comment.