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

[sitecore-jss-dev-tools] Fix line endings for component builder #1580

Merged
merged 6 commits into from
Aug 9, 2023

Conversation

addy-pathania
Copy link
Contributor

@addy-pathania addy-pathania commented Aug 7, 2023

Fixes the following issues:

  • Line ending to have ';' instead of ','

  • should start with new line

  • This PR follows the Contribution Guide

  • Changelog updated

Description / Motivation

Testing Details

  • Unit Test Added
  • Manual Test/Other (Please elaborate)

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

@addy-pathania addy-pathania requested a review from a team August 7, 2023 03:33
Copy link
Contributor

@ambrauer ambrauer 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, just a couple questions/suggestions. Was also thinking the spec might be simplified to a flattened defaultImport: boolean | string option. If string were provided it would represent the custom namespace/alias.

Also please check the pipeline, it looks as though unit tests might be failing.

@addy-pathania addy-pathania requested a review from ambrauer August 9, 2023 17:21
@addy-pathania addy-pathania changed the title [sitecore-jss-dev-tools] Add flexibility to use default imports in component builder [sitecore-jss-dev-tools] Fix line endings for component builder Aug 9, 2023
Copy link
Contributor

@ambrauer ambrauer 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!

@ambrauer ambrauer merged commit 7fbfed0 into dev Aug 9, 2023
@ambrauer ambrauer deleted the bug/jss-223-component-builder-default-import branch August 9, 2023 17:36
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.

2 participants