Skip to content

Commit 54f14be

Browse files
committed
fix(package.json): added missing deps
closes #801 supesedes #803
1 parent 4d9f026 commit 54f14be

File tree

4 files changed

+21
-19
lines changed

4 files changed

+21
-19
lines changed

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,8 @@ You can read documentation on the cli [here](http://aurelia.io/docs/build-system
1717
2. Go into the cli directory: `cd cli`
1818
3. Run `npm install`
1919
4. Link the cli with: `npm link`
20-
5. Still in the cli directory, run `npm install gulp@^4.0.0 babel-polyfill babel-register typescript`
21-
6. Create a new project with `au new` or use an existing project. The linked CLI will be used to create the project.
22-
7. In the project directory, run `npm link aurelia-cli`. The linked CLI will then be used for `au` commands such as `au run`
20+
7. Create a new project with `au new` or use an existing project. The linked CLI will be used to create the project.
21+
8. In the project directory, run `npm link aurelia-cli`. The linked CLI will then be used for `au` commands such as `au run`
2322

2423
## Running the Tests
2524

build/tasks/prepare-release.js

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
var gulp = require('gulp');
2-
var runSequence = require('run-sequence');
32
var paths = require('../paths');
43
var conventionalChangelog = require('gulp-conventional-changelog');
54
var fs = require('fs');
65
var bump = require('gulp-bump');
76
var args = require('../args');
87

98
gulp.task('bump-version', function(){
10-
return gulp.src(['./package.json', './bower.json'])
9+
return gulp.src(['./package.json'])
1110
.pipe(bump({type:args.bump })) //major|minor|patch|prerelease
1211
.pipe(gulp.dest('./'));
1312
});
@@ -21,12 +20,9 @@ gulp.task('changelog', function () {
2120
.pipe(gulp.dest(paths.doc));
2221
});
2322

24-
gulp.task('prepare-release', function(callback){
25-
return runSequence(
26-
'lint',
27-
'bump-version',
28-
'changelog',
29-
'update-cli-dependenciesjs',
30-
callback
31-
);
32-
});
23+
gulp.task('prepare-release', gulp.series(
24+
'lint',
25+
'bump-version',
26+
'changelog',
27+
'update-cli-dependenciesjs'
28+
));

gulpfile.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,6 @@
1-
require('require-dir')('build/tasks');
1+
'use strict';
2+
require('./build/tasks/generate-projects.js');
3+
require('./build/tasks/lint.js');
4+
require('./build/tasks/release-check.js');
5+
require('./build/tasks/update-dependenciesjs.js');
6+
require('./build/tasks/prepare-release.js');

package.json

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,16 +33,20 @@
3333
"aurelia-polyfills": "^1.0.0",
3434
"esprima": "^4.0.0",
3535
"glob": "^7.1.1",
36+
"gulp": "github:gulpjs/gulp#4.0",
3637
"npm": "^6.1.0",
3738
"npm-which": "^3.0.1",
3839
"preprocess": "^3.1.0",
3940
"rfc6902": "^1.2.2",
40-
"semver": "^5.3.0"
41+
"semver": "^5.3.0",
42+
"typescript": "^2.0.0",
43+
"opn": "^5.0.0",
44+
"babel-register": "^6.0.0",
45+
"babel-polyfill": "^6.0.0"
4146
},
4247
"devDependencies": {
4348
"aurelia-tools": "^0.2.4",
4449
"babel-eslint": "^7.1.1",
45-
"gulp": "^3.9.1",
4650
"gulp-bump": "^2.7.0",
4751
"gulp-clean": "^0.4.0",
4852
"gulp-conventional-changelog": "^1.1.3",
@@ -54,8 +58,6 @@
5458
"mock-fs": "^4.2.0",
5559
"nodemon": "^1.11.0",
5660
"puppeteer": "^1.1.1",
57-
"require-dir": "^0.3.1",
58-
"run-sequence": "^1.2.2",
5961
"yargs": "^7.0.2"
6062
}
6163
}

0 commit comments

Comments
 (0)