Skip to content
This repository has been archived by the owner on Jun 1, 2023. It is now read-only.

Improved extension build output #1737

Merged
merged 2 commits into from
Nov 17, 2021
Merged

Conversation

t6d
Copy link
Contributor

@t6d t6d commented Nov 10, 2021

WHY are these changes introduced?

To provide more information during shopify extension build. Instead of using generic messages to report the build status, we now output the messages returned from ESBuild.

WHAT is this pull request doing?

The new error and success messages look as follows.

Error case

Screen Shot 2021-11-16 at 10 21 41 AM

Success case

Screen Shot 2021-11-16 at 10 22 12 AM

How to test your changes?

  1. Enable the development server beta
    shopify config feature extension_server_beta --enable
    
  2. Create a new extension
    shopify extension create
    
  3. Run extension build and observe the new output
    shopify extension build
    

Update checklist

  • I've added a CHANGELOG entry for this PR (if the change is public-facing)
  • I've considered possible cross-platform impacts (Mac, Linux, Windows).
  • I've left the version number as is (we'll handle incrementing this when releasing).
  • I've included any post-release steps in the section above.

@t6d t6d force-pushed the feature/improved-extension-build-output branch 3 times, most recently from 834ea87 to 5d62a77 Compare November 16, 2021 15:48
@t6d t6d requested a review from cecyc November 16, 2021 15:54
@t6d t6d marked this pull request as ready for review November 16, 2021 15:54
@t6d t6d requested review from a team, pepicrft and gonzaloriestra and removed request for a team November 16, 2021 15:54
@t6d t6d force-pushed the feature/improved-extension-build-output branch from 5d62a77 to 2e2ddd5 Compare November 16, 2021 16:30
Copy link
Contributor

@cecyc cecyc left a comment

Choose a reason for hiding this comment

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

Looks good to ship after addressing @gonzaloriestra's comment 👍

t6d and others added 2 commits November 17, 2021 13:00
ESBuild status messages and errors are now directly presented to the
user rather than being obfuscated by a generic message.
Co-authored-by: Gonzalo Riestra <gonzalo.riestra@shopify.com>
@t6d t6d force-pushed the feature/improved-extension-build-output branch from 04bbc4f to 5d92c32 Compare November 17, 2021 18:00
@t6d t6d merged commit 5425fe5 into main Nov 17, 2021
@t6d t6d deleted the feature/improved-extension-build-output branch November 17, 2021 18:56
pepicrft pushed a commit that referenced this pull request Nov 23, 2021
ESBuild status messages and errors are now directly presented to the
user rather than being obfuscated by a generic message.

Co-authored-by: Gonzalo Riestra <gonzalo.riestra@shopify.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants