-
Notifications
You must be signed in to change notification settings - Fork 14
Get out of dependency 'heck' #145
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
Conversation
| "plugin:import/recommended", | ||
| "plugin:eslint-comments/recommended", | ||
| "plugin:jsx-a11y/recommended", | ||
| "plugin:jest-dom/recommended", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was for Jest unit tests of React components, which I deleted
| "license": "GPL-2.0", | ||
| "require": { | ||
| "php": "^5.6 || ^7 || ^8" | ||
| "php": "^7 || ^8" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Core 6.3 doesn't support PHP 5.6 anymore.
That's a good excuse to remove our support, as it's really hard to make composer install work for PHP 5.6-8.2.
|
|
||
| const testImagePath = path.join( __dirname, '..', 'assets', fileName ); | ||
| const newFileName = uuid(); | ||
| const newFileName = Math.floor( Math.random( 100000 ) * 100000 ); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No need to import uuid, we can do this in 1 line of JS.
|
Hi @dreamwhisper, |
Ease of release: Replace `gulp` with `wp-svn` orb
Before
Every time I updated npm packages, that caused errors with Jest unit tests or
npm run build.And
composer installfailed on PHP8.2, as the packages weren't compatible with8.2.After
The npm package versions don't matter much anymore.
And it'll be easier to update package versions, without a Jest or PHPUnit error.
Changes
Reactversions being out of sync.--webpack-no-externals. This should make npm package updates less necessary. The block editor will alias them to whatever packages it's using.Testing instructions
Not needed