Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit c06bc8d

Browse files
author
Jarosław Żołnowski
authored
chore(npm): update dependencies to the latest versions
* migrate gulp to v4 * update versions in the README
1 parent 21eef89 commit c06bc8d

File tree

4 files changed

+1907
-1131
lines changed

4 files changed

+1907
-1131
lines changed

‎README.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
# Demo of Ionic v1 with AngularJS 1.5
22

33
This project demonstrates an updated [Ionic v1](https://ionicframework.com/docs/v1/) project that uses the
4-
latest [XLTS for AngularJS 1.5.x](https://xlts.dev/angularjs) release (`1.5.13`) rather than the `1.5.3` version
4+
latest [XLTS for AngularJS 1.5.x](https://xlts.dev/angularjs) release (`1.5.17`) rather than the `1.5.3` version
55
that ships with the Ionic v1 SDK. It also makes use of
6-
[XLTS for AngularJS Material 1.1.x](https://material.angularjs.xlts.dev/1.1.28/) (`1.1.28`).
6+
[XLTS for AngularJS Material 1.1.x](https://material.angularjs.xlts.dev/1.1.30/) (`1.1.30`).
77

88
## Package Management
99

@@ -49,4 +49,4 @@ now.
4949
## Questions?
5050

5151
Check out our [GitHub Discussions](https://github.com/xlts-dev/angularjs-ionic-v1/discussions) section to
52-
ask questions or find answers.
52+
ask questions or find answers.

‎gulpfile.js‎

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,26 @@
1-
vargulp = require('gulp');
2-
varsass = require('gulp-sass')(require('sass'));
3-
var cleanCss = require('gulp-clean-css');
4-
var rename = require('gulp-rename');
1+
const{ src, dest, series, watch } = require('gulp');
2+
constgulpSass = require('gulp-sass')(require('sass'));
3+
const cleanCss = require('gulp-clean-css');
4+
const rename = require('gulp-rename');
55

6-
var paths = {
6+
const paths = {
77
sass: ['./scss/**/*.scss']
88
};
99

10-
gulp.task('default', ['sass']);
11-
12-
gulp.task('sass', function(done) {
13-
gulp.src('./scss/ionic.app.scss')
14-
.pipe(sass().on('error', sass.logError))
15-
.pipe(gulp.dest('./www/css/'))
10+
const sass = (done) => {
11+
return src('./scss/ionic.app.scss')
12+
.pipe(gulpSass().on('error', gulpSass.logError))
13+
.pipe(dest('./www/css/'))
1614
.pipe(cleanCss({
1715
keepSpecialComments: 0
1816
}))
1917
.pipe(rename({ extname: '.min.css' }))
20-
.pipe(gulp.dest('./www/css/'))
18+
.pipe(dest('./www/css/'))
2119
.on('end', done);
22-
});
20+
};
21+
22+
const watching = () => watch(paths.sass, series(sass));
2323

24-
gulp.task('watch',['sass'],function(){
25-
gulp.watch(paths.sass,['sass']);
26-
});
24+
exports.default=sass;
25+
exports.sass=sass;
26+
exports.watch=watching;

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /