-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Chore: Cleanup package-lock.json after Gutenberg Mobile migration #23550
Conversation
"@wordpress/react-native-bridge": "file:../react-native-bridge", | ||
"fast-average-color": "^4.3.0", | ||
"jed": "^1.1.1", | ||
"jsc-android": "^241213.1.0", |
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.
jsc-android
isn't explicitly used in the package. It's listed as a direct dependency of react-native
though.
"jsdom-jscore-rn": "git+https://github.com/iamcco/jsdom-jscore-rn.git#a562f3d57c27c13e5bfc8cf82d496e69a3ba2800", | ||
"metro-react-native-babel-preset": "0.57.0", | ||
"metro-react-native-babel-transformer": "0.56.0", | ||
"node-fetch": "^2.6.0", |
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.
I updated node-fetch
to the latest version here and in @wordpress/e2e-test-utils
.
@@ -1,123 +1,122 @@ | |||
{ | |||
"name": "@wordpress/react-native-editor", |
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.
Size Change: 0 B Total Size: 1.13 MB ℹ️ View Unchanged
|
There an issue with one of the development dependencies: It looks more like an issue with the In fact, it's licensed as Apache License, Version 2.0: https://github.com/dcporter/didyoumean.js/blob/master/LICENSE Now the question is, whether we should extend the list of allowed values: gutenberg/packages/scripts/scripts/check-licenses.js Lines 78 to 81 in e421896
or explicitly exclude this package from the check? We could also change the logic that scans LICENSE files and use that as fallback when the license is incorrect in
It probably would allow us also to remove all the variations people use to describe Apache v2.0 license since those packages most likely have this phrase there. It's the case for |
Changing the logic of |
d13ccec
to
96365c2
Compare
Updated the logic in |
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.
Tested Android and iOS demo apps and they work fine. Thank you for this!
b09bb39
to
7ea622f
Compare
Description
Follow-up for #22714.
This PR tries to hoist all dependencies used in the newly added React Native specific packages.
How has this been tested?
Continues integration – GitHub actions.
Types of changes
Checklist: