Skip to content

Commit

Permalink
Merge pull request #195 from MinnPost/112-try-action-scheduler
Browse files Browse the repository at this point in the history
112 replace WP Background Processing with Action Scheduler. This release fixes #112 and #40.
  • Loading branch information
jonathanstegall authored Aug 29, 2018
2 parents 91ebb20 + 7eeb8a3 commit b2cf01d
Show file tree
Hide file tree
Showing 369 changed files with 84,533 additions and 39,422 deletions.
1 change: 1 addition & 0 deletions .codeclimate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ exclude_paths:
- docs/**/*
- node_modules/**/*
- tests/**/*
- vendor/**/*
- "**.min.css"
- "**.min.js"
- "Gulpfile.js"
1 change: 0 additions & 1 deletion .eslintrc

This file was deleted.

3 changes: 3 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"extends": "wordpress"
}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
.sass-cache
phpdoc-cache-*
/node_modules/
/vendor/**/.git/
# generated
Expand Down
11 changes: 10 additions & 1 deletion .scrutinizer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,11 @@ filter:
- 'docs/*'
- '*.min.js'
- '*.min.css'
- tests/**/*
- 'assets/js/vendor/**/*.js'
- 'assets/js/vendor/**/*.css'
- 'node_modules/**/*'
- 'tests/**/*'
- 'vendor/**/*'
- 'Gulpfile.js'
dependency_paths:
- wordpress/
Expand All @@ -16,3 +20,8 @@ build:
environment:
node: 'v10.0.0'
php: '7.1.12'
nodes:
analysis:
dependencies:
before:
- composer require --dev johnpbloch/wordpress
7 changes: 4 additions & 3 deletions Gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ gulp.task( 'concat', () =>

// Convert ES6+ to ES2015.
.pipe( babel( {
presets: [ 'es2015' ]
presets: [ 'env' ]
} ) )

// Concatenate partials into a single script.
Expand Down Expand Up @@ -297,7 +297,8 @@ gulp.task( 'sass:lint', () =>
gulp.task( 'css:lint', () =>
gulp.src( [
'assets/css/**/*.css',
'!assets/css/**/*.min.css'
'!assets/css/**/*.min.css',
'!assets/css/vendor/**/*.css'
] )
.pipe( csslint() )
.pipe( csslint.formatter() )
Expand All @@ -313,7 +314,7 @@ gulp.task('js:lint', () => {
// So, it's best to have gulp ignore the directory as well.
// Also, Be sure to return the stream from the task;
// Otherwise, the task may end before the stream has finished.
return gulp.src(['**/*.js','!node_modules/**', '!**.min.js'])
return gulp.src(['assets/js/*.js','!assets/js/vendor/**/*.js','!assets/js/**/*.min.js'])
// eslint() attaches the lint output to the "eslint" property
// of the file object so it can be used by other modules.
.pipe(eslint({
Expand Down
13 changes: 0 additions & 13 deletions apigen.neon

This file was deleted.

File renamed without changes.
File renamed without changes.
Loading

0 comments on commit b2cf01d

Please sign in to comment.