Skip to content

Commit

Permalink
fix(package.json): added missing deps
Browse files Browse the repository at this point in the history
closes #801
supesedes #803
  • Loading branch information
JeroenVinke committed Jul 26, 2018
1 parent 4d9f026 commit 54f14be
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 19 deletions.
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,8 @@ You can read documentation on the cli [here](http://aurelia.io/docs/build-system
2. Go into the cli directory: `cd cli`
3. Run `npm install`
4. Link the cli with: `npm link`
5. Still in the cli directory, run `npm install gulp@^4.0.0 babel-polyfill babel-register typescript`
6. Create a new project with `au new` or use an existing project. The linked CLI will be used to create the project.
7. In the project directory, run `npm link aurelia-cli`. The linked CLI will then be used for `au` commands such as `au run`
7. Create a new project with `au new` or use an existing project. The linked CLI will be used to create the project.
8. In the project directory, run `npm link aurelia-cli`. The linked CLI will then be used for `au` commands such as `au run`

## Running the Tests

Expand Down
18 changes: 7 additions & 11 deletions build/tasks/prepare-release.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
var gulp = require('gulp');
var runSequence = require('run-sequence');
var paths = require('../paths');
var conventionalChangelog = require('gulp-conventional-changelog');
var fs = require('fs');
var bump = require('gulp-bump');
var args = require('../args');

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

gulp.task('prepare-release', function(callback){
return runSequence(
'lint',
'bump-version',
'changelog',
'update-cli-dependenciesjs',
callback
);
});
gulp.task('prepare-release', gulp.series(
'lint',
'bump-version',
'changelog',
'update-cli-dependenciesjs'
));
7 changes: 6 additions & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
@@ -1 +1,6 @@
require('require-dir')('build/tasks');
'use strict';
require('./build/tasks/generate-projects.js');
require('./build/tasks/lint.js');
require('./build/tasks/release-check.js');
require('./build/tasks/update-dependenciesjs.js');
require('./build/tasks/prepare-release.js');
10 changes: 6 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,16 +33,20 @@
"aurelia-polyfills": "^1.0.0",
"esprima": "^4.0.0",
"glob": "^7.1.1",
"gulp": "github:gulpjs/gulp#4.0",
"npm": "^6.1.0",
"npm-which": "^3.0.1",
"preprocess": "^3.1.0",
"rfc6902": "^1.2.2",
"semver": "^5.3.0"
"semver": "^5.3.0",
"typescript": "^2.0.0",
"opn": "^5.0.0",
"babel-register": "^6.0.0",
"babel-polyfill": "^6.0.0"
},
"devDependencies": {
"aurelia-tools": "^0.2.4",
"babel-eslint": "^7.1.1",
"gulp": "^3.9.1",
"gulp-bump": "^2.7.0",
"gulp-clean": "^0.4.0",
"gulp-conventional-changelog": "^1.1.3",
Expand All @@ -54,8 +58,6 @@
"mock-fs": "^4.2.0",
"nodemon": "^1.11.0",
"puppeteer": "^1.1.1",
"require-dir": "^0.3.1",
"run-sequence": "^1.2.2",
"yargs": "^7.0.2"
}
}

0 comments on commit 54f14be

Please sign in to comment.