Skip to content
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

feat: #1218 address confusing structure in web components #1305

Merged

Conversation

vuhuucuong
Copy link
Contributor

@vuhuucuong vuhuucuong commented May 20, 2020

Pull request checklist

Does this close any currently open issues?

fixes: #1218

Please check if your PR fulfills the following requirements:

  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been reviewed and added / updated if needed (for bug fixes / features)
  • Build (yarn build) was run locally and any changes were pushed
  • Lint (yarn lint) has passed locally and any fixes were made for failures
  • Test (yarn test) has passed locally and any fixes were made for failures

Pull request type

Please check the type of change your PR introduces:

  • Bugfix
  • Feature
  • Code style update (formatting, renaming)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • Documentation content changes
  • Other (please describe):

What is the current behavior?

Issue Number: #1218

What is the new behavior?

  • Move scripts folders out of ./src
  • Split appointment-planner into a separated folder
  • Each component has in own /server folder, and serverless.yml inside that folder
  • Add script to deploy/build serverless of multiple servers asynchronously

Does this introduce a breaking change?

  • Yes
  • No

Other information

NOTE

We will need to deploy the new server for search-widget with name web-components.search-widget behind this API Gateway to replace the old one, because the old search-widget server is named web-components (see here)
But it's actually just search-widget server, to avoid confusing, and to be able to deploy other web-components server later
After deploy, need to update config.json too

@vuhuucuong vuhuucuong force-pushed the feat/1218-address-confusing-structure-in-web-components branch from a7871fd to c3d6114 Compare May 20, 2020 17:17
"release:server:prod": "node ../../scripts/release/release-serverless.js web-components",
"release:npm:prod": "node ../../scripts/release/release-npm.js elements --skip-edit-release-note",
"release:npm:prod": "node ../../scripts/release/release-npm.js web-components --skip-edit-release-note",
Copy link
Contributor

Choose a reason for hiding this comment

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

@willmcvay I think this will solve deployment issue of web-component release prod pipeline... Seems like typos in my previous commit in this file. That's great @vuhuucuong, if release:npm:prod works ok this time, please help me comment on ticket: #1107

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@phmngocnghia got you 👍

Copy link
Contributor

@duong-se duong-se left a comment

Choose a reason for hiding this comment

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

LGTM

@github-actions github-actions bot requested review from phmngocnghia and duong-se May 21, 2020 06:13
@vuhuucuong vuhuucuong merged commit 1c5b0fe into master May 21, 2020
@vuhuucuong vuhuucuong deleted the feat/1218-address-confusing-structure-in-web-components branch May 21, 2020 06:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Address confusing structure in web components
3 participants