File tree Expand file tree Collapse file tree 15 files changed +12
-18
lines changed Expand file tree Collapse file tree 15 files changed +12
-18
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ import routes from './src/Routes';
5
5
import Root from './src/Root' ;
6
6
import fsp from 'fs-promise' ;
7
7
import { copy } from '../tools/fs-utils' ;
8
- import { exec , spawn } from 'child-process-promise' ;
8
+ import { exec } from 'child-process-promise' ;
9
9
10
10
const repoRoot = path . resolve ( __dirname , '../' ) ;
11
11
const docsBuilt = path . join ( repoRoot , 'docs-built' ) ;
Original file line number Diff line number Diff line change 1
1
import React from 'react' ;
2
2
import express from 'express' ;
3
3
import path from 'path' ;
4
- import url from 'url' ;
5
4
import webpack from 'webpack' ;
6
5
import webpackMiddleware from 'webpack-dev-middleware' ;
7
6
import webpackConfigBuilder from '../webpack/webpack.config' ;
Original file line number Diff line number Diff line change 1
1
import React from 'react' ;
2
- import Router , { Link } from 'react-router' ;
2
+ import { Link } from 'react-router' ;
3
3
import Navbar from '../../src/Navbar' ;
4
4
import Nav from '../../src/Nav' ;
5
5
Original file line number Diff line number Diff line change 1
- import React from 'react' ;
2
1
import express from 'express' ;
3
2
import path from 'path' ;
4
3
import webpack from 'webpack' ;
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ import _ from 'lodash';
2
2
import path from 'path' ;
3
3
import fsp from 'fs-promise' ;
4
4
import { copy } from '../fs-utils' ;
5
- import { exec , spawn } from 'child-process-promise' ;
5
+ import { exec } from 'child-process-promise' ;
6
6
7
7
const repoRoot = path . resolve ( __dirname , '../../' ) ;
8
8
const amd = path . join ( repoRoot , 'amd' ) ;
Original file line number Diff line number Diff line change @@ -7,7 +7,6 @@ import lib from './lib/build';
7
7
import docs from '../docs/build' ;
8
8
import dist from './dist/build' ;
9
9
import { copy } from './fs-utils' ;
10
- import { exec , spawn } from 'child-process-promise' ;
11
10
12
11
import yargs from 'yargs' ;
13
12
@@ -48,4 +47,3 @@ export default function Build(noExitOnFailure) {
48
47
return result ;
49
48
}
50
49
}
51
-
Original file line number Diff line number Diff line change 1
1
import path from 'path' ;
2
- import fsp from 'fs-promise' ;
3
- import { exec , spawn } from 'child-process-promise' ;
2
+ import { exec } from 'child-process-promise' ;
4
3
5
4
const repoRoot = path . resolve ( __dirname , '../../' ) ;
6
5
const dist = path . join ( repoRoot , 'dist' ) ;
Original file line number Diff line number Diff line change 1
1
import from 'colors' ;
2
2
import path from 'path' ;
3
- import fsp from 'fs-promise' ;
4
- import { exec , spawn } from 'child-process-promise' ;
3
+ import { exec } from 'child-process-promise' ;
5
4
6
5
const repoRoot = path . resolve ( __dirname , '../../' ) ;
7
6
const lib = path . join ( repoRoot , 'lib' ) ;
Original file line number Diff line number Diff line change 1
1
import from 'colors' ;
2
2
import path from 'path' ;
3
- import { exec , spawn } from 'child-process-promise' ;
3
+ import { exec } from 'child-process-promise' ;
4
4
5
5
export default ( repoRoot , version ) => {
6
6
return exec ( `node_modules/.bin/changelog -t v${ version } ` )
Original file line number Diff line number Diff line change 1
1
import from 'colors' ;
2
- import { exec , spawn } from 'child-process-promise' ;
2
+ import { exec } from 'child-process-promise' ;
3
3
4
4
function ensureClean ( ) {
5
5
return exec ( 'git diff-index --name-only HEAD --' )
You can’t perform that action at this time.
0 commit comments