Skip to content

Conversation

@dratwas
Copy link
Contributor

@dratwas dratwas commented Nov 14, 2019

Description

This is a part of migration gutenberg-mobile to gutenberg repo. In this PR I split gutenberg-mobile to 3 packages.

@wordpress/react-native-editor - playground react-native app and bundle entrypoint
@wordpress/react-native-gutenberg-bridge - module which starts react-native inside the client app (WP-iOS/Android) (Name will be changed in the next PR to @wordpress/react-native-gutenberg-bridge since we don't want to have a package with the name that includes gutenberg in it)
@wordpress/react-native-aztec - react-native-aztec module

In this PR I also removed yarn.lock files

How has this been tested?

There is nothing to test at this stage.

Types of changes

Split gutenberg-mobile to 3 packages.

Checklist:

  • My code is tested.
  • My code follows the WordPress code style.
  • My code follows the accessibility standards.
  • 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. .

@dratwas dratwas added [Status] In Progress Tracking issues with work in progress [Type] Technical Prototype Offers a technical exploration into an idea as an example of what's possible labels Nov 14, 2019
@dratwas dratwas mentioned this pull request Nov 20, 2019
21 tasks
@dratwas dratwas removed the [Status] In Progress Tracking issues with work in progress label Nov 20, 2019
@dratwas dratwas marked this pull request as ready for review November 20, 2019 10:06
Copy link
Member

@gziolo gziolo left a comment

Choose a reason for hiding this comment

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

I would recommend going through all package.json files related to new packages and make sure that :

  • they don't contain devDependencies
  • peerDependencies aren't outdated or too strict
  • scripts sections should be removed unless they need to be executed for the package
  • they are public for npm publishing

In addition, they pass npm run lint-pkg-json command.

It all might turn out to be challenging :)

@gziolo gziolo added the Mobile App - i.e. Android or iOS Native mobile impl of the block editor. (Note: used in scripts, ping mobile folks to change) label Nov 26, 2019
@gziolo
Copy link
Member

gziolo commented Nov 26, 2019

Now I see that #18531 addresses most of the comments included here 🙃

@Tug
Copy link
Contributor

Tug commented Dec 12, 2019

This looks good so far, let's review it again after #18508 is merged and we rebase this one onto feat/import-gutenberg-mobile

@Tug Tug changed the base branch from rnmobile/import-mobile to feat/import-gutenberg-mobile January 6, 2020 15:27
@Tug Tug force-pushed the rnmobile/import-mobile-split-packages branch from 7412c47 to eb7cd47 Compare January 6, 2020 16:23
Copy link
Contributor

@Tug Tug left a comment

Choose a reason for hiding this comment

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

Just rebased it ontop of feat/import-gutenberg-mobile after #18508 was merged. This LGTM 👍

@Tug Tug merged commit 2c7269e into feat/import-gutenberg-mobile Jan 6, 2020
@Tug Tug deleted the rnmobile/import-mobile-split-packages branch January 6, 2020 16:36
Tug pushed a commit that referenced this pull request Jan 16, 2020
…ec (#18509)

* split to 3 packages bridge, editor, aztec

* rename gutenberg bridge to bridge and add @WordPress namespace
@ellatrix ellatrix added this to the Gutenberg 7.3 milestone Jan 20, 2020
@Tug Tug mentioned this pull request Jun 5, 2020
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Mobile App - i.e. Android or iOS Native mobile impl of the block editor. (Note: used in scripts, ping mobile folks to change) [Type] Technical Prototype Offers a technical exploration into an idea as an example of what's possible

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants