Skip to content

feat: scaffolding for single component preview command @W-17803218 #336

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

Merged
merged 6 commits into from
Feb 12, 2025

Conversation

nrkruk
Copy link
Collaborator

@nrkruk nrkruk commented Feb 12, 2025

What does this PR do?

  • add initial scaffolding for sf lightning dev component command
  • Adopt lwr 0.16.6 with new cmpDev() api

What issues does this PR fix or reference?

@W-17803218@

@nrkruk nrkruk self-assigned this Feb 12, 2025
@nrkruk nrkruk requested review from a team as code owners February 12, 2025 16:46
@nrkruk nrkruk requested a review from bpbuch February 12, 2025 16:46
@nrkruk nrkruk changed the title feat: initial scaffolding for single component preview command @W-17803218 feat: scaffolding for single component preview command @W-17803218 Feb 12, 2025
Comment on lines +9 to +18
# flags.name.summary

Description of a flag.

# flags.name.description

More information about a flag. Don't repeat the summary.

# examples

Choose a reason for hiding this comment

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

is this supposed to be filled out?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

yeah, will be done by doc team

@@ -0,0 +1,30 @@
/*

Choose a reason for hiding this comment

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

are these test files necessary? they don't do anything

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Brian will add these tests. Just created the initial file structure

char: 'n',
required: false,
}),
// TODO should this be required or optional?

Choose a reason for hiding this comment

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

i vote optional

Copy link
Collaborator Author

@nrkruk nrkruk Feb 12, 2025

Choose a reason for hiding this comment

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

Will let Brian decide based off what he has time to implement. If we don't make it required, will need to do some code scanning of the component u are attempting to preview, then error out if it needs data and you don't supply an authenticated org. Just added todo comment as a reminder

@nrkruk nrkruk merged commit 41155bf into main Feb 12, 2025
16 checks passed
@nrkruk nrkruk deleted the nrkruk/addComponentPreviewCommand branch February 12, 2025 18:46
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