Skip to content

Commit

Permalink
feat(*): upgrade to angular 7
Browse files Browse the repository at this point in the history
  • Loading branch information
mbarbeau committed Feb 27, 2019
1 parent ddd3d72 commit 8a1b52d
Show file tree
Hide file tree
Showing 34 changed files with 5,790 additions and 2,985 deletions.
4 changes: 4 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"singleQuote": true,
"prettier.disableLanguages": ["html"]
}
5 changes: 4 additions & 1 deletion angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,10 @@
}
],
"styles": ["src/styles.scss"],
"scripts": []
"scripts": [],
"stylePreprocessorOptions": {
"includePaths": ["src/style/partial"]
}
},
"configurations": {
"production": {
Expand Down
14 changes: 10 additions & 4 deletions gulpfile.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,16 @@
/*jshint esversion: 6 */
const gulp = require('gulp');
const replace = require('gulp-replace');
const jeditor = require('gulp-json-editor');

gulp.task('geo:fixOL', () => {
gulp.task('geo:fixOL', done => {
gulp
.src(['./node_modules/ol/proj.js'])
.pipe(replace('@typedef {module:ol/proj/Projection', '@typedef {'))
.src(['./node_modules/ol/package.json'])
.pipe(
jeditor({
sideEffects: true
})
)
.pipe(gulp.dest('./node_modules/ol/'));

done();
});
Loading

0 comments on commit 8a1b52d

Please sign in to comment.