File tree Expand file tree Collapse file tree 4 files changed +21
-19
lines changed
Expand file tree Collapse file tree 4 files changed +21
-19
lines changed Original file line number Diff line number Diff line change @@ -17,9 +17,8 @@ You can read documentation on the cli [here](http://aurelia.io/docs/build-system
17172 . Go into the cli directory: ` cd cli `
18183 . Run ` npm install `
19194 . 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
Original file line number Diff line number Diff line change 11var gulp = require ( 'gulp' ) ;
2- var runSequence = require ( 'run-sequence' ) ;
32var paths = require ( '../paths' ) ;
43var conventionalChangelog = require ( 'gulp-conventional-changelog' ) ;
54var fs = require ( 'fs' ) ;
65var bump = require ( 'gulp-bump' ) ;
76var args = require ( '../args' ) ;
87
98gulp . 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+ ) ) ;
Original file line number Diff line number Diff line change 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' ) ;
Original file line number Diff line number Diff line change 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" ,
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}
You can’t perform that action at this time.
0 commit comments