-
Notifications
You must be signed in to change notification settings - Fork 39
Conversation
…n package.json, to fix issue when running npm run test:a11y. Updated node engine version.
@jaredrethman can you add these to the plugin repo as well? Also, what's the benefit you see of moving |
Definitely, I'll get on that asap.
1.) Primary motivation: Babel >= 7 recommends More here - https://babeljs.io/docs/en/config-files |
@timwright12 have added this Code Review equivalent to the Plugin Scaffold - 10up/plugin-scaffold#102 and updated this pull. |
@jaredrethman looks like some conflicts popped up. We'll need these updates for the plugin as well 10up/plugin-scaffold#102 One last note for |
@timwright12 given the nature of these changes, I think we should try to get them merged posthaste since it is very likely that these types of merge conflicts will keep coming up. |
# Please enter a commit message to explain why this merge is necessary, # especially if it merges an updated upstream into a topic branch. # # Lines starting with '#' will be ignored, and an empty message aborts # the commit.
# Conflicts: # .eslintrc # package-lock.json # package.json
Hey @timwright12 , I have resolved those conflicts, updated 10up/plugin-scaffold#102 and added |
@jaredrethman looks good, just confirming the plugin repo before merge |
Description of the Change
module
andprocess
to.eslint
globals..babel
runtime config withbable.config.js
..npmrc
to enforceengine-strict
.engineStrict
via package.json property is deprecated and un-enforceable.local
property totesting.urls
in package.json, resolving an error when runningnpm run test:a11y
locally.Alternate Designs
N/A
Benefits
.babelrc
withbabel.config.js
:node_modules/
- https://babeljs.io/docs/en/configuration#whats-your-use-case.engineStrict|engine-strict
Node version requirements.npm run test:a11y
can now be run locally.Possible Drawbacks
Verification Process
npm run *
commands from package.jsonI was able to verify through running all commands, and ensured the command line stayed free from any warnings/errors.
.npmrc
to enforceengineStrict
.engineStrict
property viapackage.json
is deprecated, since NPM 3.Checklist:
Applicable Issues
Style Lint:
Not an issue to this update, but applicable to why stylelint package, and associated packages, haven't been updated.
stylelint*
config, is the only configuration, which produces no warnings/errors.Major version changes:
https://github.com/eslint/eslint/releases?after=v6.0.0
https://github.com/webpack-contrib/eslint-loader/releases/tag/v3.0.0
https://github.com/babel/babel-eslint/releases/tag/v10.0.0
https://github.com/johnagan/clean-webpack-plugin/releases/tag/v3.0.0
https://github.com/okonet/lint-staged/releases?after=v9.2.0
https://github.com/csstools/postcss-preset-env/releases
https://github.com/WordPress-Coding-Standards/stylelint-config-wordpress/releases
https://github.com/hudochenkov/stylelint-order/releases
https://github.com/terser/terser/blob/master/CHANGELOG.md#v400
https://github.com/nuxt/webpackbar/blob/master/CHANGELOG.md#400-2019-08-05
Changelog Entry
local
property totesting.urls
in package.json, resolving an error when runningnpm run test:a11y
locally..babelrc
withbabel.config.js
.npmrc
to enforceengineStrict
Associated Plugin Scaffold PR - 10up/plugin-scaffold#102