Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@kieckhafer
Copy link
Member

@kieckhafer kieckhafer commented Oct 7, 2019

Impact: minor
Type: feature|style|refactor|chore

Various clean-up tasks related to our moving of files from their respective no-meteor folders to the node-app.

  • Make sure all mockContext imports are updated to be from the new api-utils package
  • Remove “icon” from all plugin registerPlugin options, as it's no longer used
  • Rename hashLoginToken to hashToken, move it to the api-utils package, and update all imports
  • Make sure all imports from @reactioncommerce/reaction-graphql-utils are now importing from @reactioncommerce/api-utils/graphql/*

Still to do (in other PRs)

Breaking changes

  • Any custom code using hashLoginToken will need to update to use hashToken from @reactioncommerce/api-utils/graphql/
  • Any custom code using imports from @reactioncommerce/reaction-graphql-utils will need to update to use the import from @reactioncommerce/api-utils/graphql/ instead

Testing

  1. Start the app, make sure it runs as expected.

@kieckhafer kieckhafer marked this pull request as ready for review October 7, 2019 16:47
@kieckhafer kieckhafer requested a review from aldeed October 7, 2019 16:50
Signed-off-by: Erik Kieckhafer <[email protected]>
Copy link
Contributor

@aldeed aldeed left a comment

Choose a reason for hiding this comment

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

Add back everything in graphql plugin utils and add back the @reactioncommerce/reaction-graphql-utils module resolution to there. That way we can avoid a breaking change until the 3.0 branch.

Signed-off-by: Erik Kieckhafer <[email protected]>
@kieckhafer
Copy link
Member Author

@aldeed util files and module resolver added back. Ready for another look.

@aldeed aldeed merged commit 7825479 into develop Oct 7, 2019
@aldeed aldeed deleted the refactor-kieckhafer-movePackageToNodeApp-cleanupTasks branch October 7, 2019 20:47
@willopez willopez mentioned this pull request Oct 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants