Skip to content

Commit

Permalink
chore: check CI with gulp4 (#96)
Browse files Browse the repository at this point in the history
* chore: check CI with gulp4

* chore: update tasks

* chore: update kendo-package-tasks version

* chore: update gulp file
  • Loading branch information
Siyka Marinova authored Apr 14, 2020
1 parent 395e705 commit 74ed07d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const cleanupCurrencies = (locale) => {
return locale;
};

gulp.task("build-default-data", ["build-npm-package"], () => {
gulp.task("build-default-data", gulp.series("build-npm-package", () => {
const cldr = require("./dist/npm/js/cldr");
cldr.load(likelySubtags, currencyData, weekData, numbers, currencies, timeZoneNames, calendar);

Expand Down Expand Up @@ -60,17 +60,17 @@ gulp.task("build-default-data", ["build-npm-package"], () => {
}
};
fs.writeFileSync('src/cldr/default-data.js', `const defaultData = ${ toJSObject(defaultData) };\nexport default defaultData;`);
});
}));

gulp.task('clean-locales', (done) => {
exec(`rm -rf locales`, () => {
done();
});
});

gulp.task("build-locales", ["build-npm-package", 'clean-locales'], () => {
gulp.task("build-locales", gulp.series("build-npm-package", 'clean-locales', () => {
const intl = require('./dist/npm/js/main');

buildLocales(intl, { destFolder: './locale-tests/locales' });
});
}));

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@
"dependencies": {},
"devDependencies": {
"@telerik/eslint-config": "^1.0.0",
"@progress/kendo-package-tasks": "^3.0.19",
"@progress/kendo-package-tasks": "^4.0.1",
"@telerik/semantic-prerelease": "^1.3.3",
"cldr-data": "latest",
"cz-conventional-changelog": "^1.1.5",
"ghooks": "^1.0.3",
"gulp": "3.9.1",
"gulp": "^4.0.0",
"semantic-release": "^6.3.6",
"validate-commit-msg": "^1.1.1"
},
Expand Down

0 comments on commit 74ed07d

Please sign in to comment.