Skip to content

Commit

Permalink
chore: Bump storybook versions
Browse files Browse the repository at this point in the history
  • Loading branch information
Isaac Mann committed Aug 16, 2019
1 parent 903bc29 commit f98111b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions e2e/storybook.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import {
runCLI,
supportUi,
newProject,
runCommand
runYarnInstall
} from './utils';

forEachCli(() => {
Expand All @@ -19,7 +19,7 @@ forEachCli(() => {
runCLI(
`generate @nrwl/storybook:configuration ${mylib} --configureCypress --generateStories --generateCypressSpecs --noInteractive`
);
runCommand(`yarn`);
runYarnInstall();

expect(
runCLI(`run ${mylib}-e2e:e2e --configuration=headless`)
Expand Down
2 changes: 1 addition & 1 deletion e2e/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ function patchPackageJsonDeps(addWorkspace = true) {
writeFileSync(tmpProjPath('package.json'), JSON.stringify(p, null, 2));
}

function runYarnInstall(silent: boolean = true) {
export function runYarnInstall(silent: boolean = true) {
const install = execSync('yarn install', {
cwd: tmpProjPath(),
...(silent ? { stdio: ['ignore', 'ignore', 'ignore'] } : {})
Expand Down
4 changes: 2 additions & 2 deletions packages/storybook/src/utils/versions.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export const storybookAngularVersion = '5.1.9';
export const storybookAddonKnobsVersion = '5.0.3';
export const storybookAngularVersion = '5.1.11';
export const storybookAddonKnobsVersion = '5.1.11';
export const babelCoreVersion = '7.5.4';
export const babelLoaderVersion = '8.0.6';

0 comments on commit f98111b

Please sign in to comment.