Skip to content

Move react-native-url-polyfill to devDep in @wordpress/url - #32207

Closed
blowery wants to merge 1 commit into
WordPress:trunkfrom
blowery:blowery/remove-url-dep-on-rn-url-poly
Closed

blowery wants to merge 1 commit into
WordPress:trunkfrom
blowery:blowery/remove-url-dep-on-rn-url-poly

Conversation

@blowery

@blowery blowery commented May 25, 2021 •

Copy link
Copy Markdown
Contributor

Description

Moved the runtime react-native-url-polyfill to a devDependency. No longer necessary as a runtime dependency after is-url.native.js was removed

How has this been tested?

Tests pass

Screenshots

Types of changes

Checklist:

  • My code is tested.
  • My code follows the WordPress code style.
  • My code follows the accessibility standards.
  • I've tested my changes with keyboard and screen readers.
  • My code has proper inline documentation.
  • I've included developer documentation if appropriate.
  • I've updated all React Native files affected by any refactorings/renamings in this PR (please manually search all *.native.js files for terms that need renaming or removal).

No longer necessary as a runtime dependency after is-url.native.js was removed
Comment thread packages/url/package.json
"lodash": "^4.17.21",
"lodash": "^4.17.21"
},
"devDependencies": {

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Development dependencies won't install from packages. They need to be listed in the main package.json file.

@gziolo

gziolo commented Jun 7, 2021

Copy link
Copy Markdown
Member

CI reports some issues, but most of them should be resolved with a rebase.

@ramonjd ramonjd added [Package] Url /packages/url [Type] Code Quality Issues or PRs that relate to code quality labels Aug 26, 2021
@gziolo

gziolo commented Sep 9, 2021 •

Copy link
Copy Markdown
Member

Closing in favor of #34687. Thank you for starting this PR. I addressed my own comment in a new branch since I couldn't apply them here.

@gziolo gziolo closed this Sep 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[Package] Url /packages/url [Type] Code Quality Issues or PRs that relate to code quality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants