Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update project to modern cordova platforms, dependencies, yarn and Xcode versions #340

Open
wants to merge 15 commits into
base: master
Choose a base branch
from
Open
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,3 @@ node_modules/
# generated files
dist/
src/browser/plugin.min.js
www/www.min.js
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
registry=https://registry.npmjs.org/
1 change: 1 addition & 0 deletions .tool-versions
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
nodejs 14.15.4
34 changes: 34 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,37 @@
# Changelog

All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.

### [4.0.1](https://github.com/nosoloforks/cordova-plugin-qrscanner/compare/v4.0.0...v4.0.1) (2021-02-26)


### Bug Fixes

* **ios:** update UIApplication calling ([c33c74e](https://github.com/nosoloforks/cordova-plugin-qrscanner/commit/c33c74e9fd053f167e328f05046c45e149c27a1a))
* include js entrypoint in git ([31c6e43](https://github.com/nosoloforks/cordova-plugin-qrscanner/commit/31c6e43a0f5cc2c64469235a86b09c75015727b0))

<a name="4.0.0"></a>
# [4.0.0](https://github.com/nosoloforks/cordova-plugin-qrscanner/compare/2.6.0...4.0.0) (2021-02-24)


### Bug Fixes

* use new URLApplicationSetting calling in iOS plugin ([bf0419a](https://github.com/nosoloforks/cordova-plugin-qrscanner/commit/bf0419a))
* **syntax:** Swift 5 ([692c126](https://github.com/nosoloforks/cordova-plugin-qrscanner/commit/692c126))
* **tag:** removes invalid tag UseSwiftLanguageVersion ([3c368fe](https://github.com/nosoloforks/cordova-plugin-qrscanner/commit/3c368fe))


### Tests

* **deps:** upgrade cordova platforms to latest versions ([4252e3d](https://github.com/nosoloforks/cordova-plugin-qrscanner/commit/4252e3d))


### BREAKING CHANGES

* **deps:** Dropped support for iOS<11 and other older versions



<a name="3.0.1"></a>
## [3.0.1](https://github.com/bitpay/cordova-plugin-qrscanner/compare/2.6.0...3.0.1) (2019-03-29)

Expand Down
22 changes: 11 additions & 11 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,28 +19,28 @@ gulp.task('prepack', function(cb){
webpack('webpack.prepack.config.js', cb);
});

gulp.task('webpack-cordova', ['prepack'], function(cb){
gulp.task('webpack-cordova', gulp.series('prepack', function(cb){
webpack('webpack.cordova.config.js', cb);
});
}));

gulp.task('dist', ['prepack'], function(cb){
gulp.task('dist', gulp.series('prepack', function(cb){
webpack('webpack.library.config.js', cb);
});
}));

gulp.task('remap', ['webpack-cordova'], function () {
gulp.task('remap', gulp.series('webpack-cordova', function () {
return gulp.src(['dist/plugin.min.js', 'dist/www.min.js'])
.pipe(insert.prepend(remap))
.pipe(gulp.dest('dist'));
});
}));

gulp.task('plugin', ['remap'], function () {
gulp.task('plugin', gulp.series('remap', function () {
return gulp.src(['dist/plugin.min.js'])
.pipe(gulp.dest('src/browser'));
});
}));

gulp.task('www', ['remap'], function () {
gulp.task('www', gulp.series('remap', function () {
return gulp.src(['dist/www.min.js'])
.pipe(gulp.dest('www'));
});
}));

gulp.task('default', ['dist', 'plugin', 'www']);
gulp.task('default', gulp.series('dist', 'plugin', 'www'));
Loading