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

Add create-widget CLI and basic react/vite widget template #996

Merged
merged 20 commits into from
Nov 26, 2024

Conversation

styu
Copy link
Contributor

@styu styu commented Nov 20, 2024

Adds a new @osdk/create-widget CLI that will generate from a react template (which only uses OSDK 2.x). Heavily cribbed from the existing @osdk/create-app CLI

image

@styu styu requested review from rosscourt and tzyl November 21, 2024 23:14
@styu styu marked this pull request as ready for review November 22, 2024 19:25
rosscourt
rosscourt previously approved these changes Nov 25, 2024

## Developing

Run the following command or equivalent with your preferred package manager to start a local development server on `http://localhost:8080`:

Choose a reason for hiding this comment

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

We'll need to update this once we know the instructions to start dev-mode

.help()
.command(
"$0 [project] [--<option>]",
"Create a new OSDK application based on framework templates. Information may be provided through options to skip interactive prompts.",

Choose a reason for hiding this comment

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

Suggested change
"Create a new OSDK application based on framework templates. Information may be provided through options to skip interactive prompts.",
"Create a new OSDK widget based on framework templates. Information may be provided through options to skip interactive prompts.",

@policy-bot policy-bot bot dismissed rosscourt’s stale review November 26, 2024 15:00

Invalidated by push of c08a6f7

@styu styu merged commit 776ae5d into main Nov 26, 2024
8 checks passed
@styu styu deleted the syu/create-widget-cli branch November 26, 2024 15:30
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