Skip to content

Commit

Permalink
Mocking @storybook/angular version for the time being
Browse files Browse the repository at this point in the history
Signed-off-by: Carlos Vega <clmvega@gmail.com>
  • Loading branch information
alterx committed Oct 14, 2017
1 parent a554bc9 commit 9becf40
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/cli/generators/ANGULAR/index.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
import mergeDirs from 'merge-dirs';
import path from 'path';
import { getVersion, getPackageJson, writePackageJson } from '../../lib/helpers';
import { /* getVersion, */ getPackageJson, writePackageJson } from '../../lib/helpers';

export default async () => {
const version = await getVersion('@storybook/angular');
// Mocking @storybook/angular version for the time being
const version = await Promise.resolve('3.3.0-alpha.2'); // getVersion('@storybook/angular');
mergeDirs(path.resolve(__dirname, 'template'), '.', 'overwrite');

const packageJson = getPackageJson();
Expand Down

0 comments on commit 9becf40

Please sign in to comment.