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

Skeleton CLI #552

Closed
endigo9740 opened this issue Nov 15, 2022 · 4 comments
Closed

Skeleton CLI #552

endigo9740 opened this issue Nov 15, 2022 · 4 comments
Assignees
Labels
feature request Request a feature or introduce and update to the project.
Milestone

Comments

@endigo9740
Copy link
Contributor

endigo9740 commented Nov 15, 2022

Describe what feature you'd like. Pseudo-code, mockups, or screenshots of similar solutions are encouraged!

This will be an interactive CLI application that allows you to scaffold and create a new Skeleton project.

@niktek has already made a lot of progress with this. The goal will be to get a version up and running that can be used by a set of beta tests. Perhaps as a public beta.

Nik has notified us that the first draft will most likely include support for SvelteKit only. But this is fine as this covers the wide majority of our users. Support for Vite and Astro can be investigated later.

What type of pull request would this be?

New Feature

Any links to similar examples or other references we should review?

@endigo9740 will be creating the initial welcome page(s):

This will build off the work of both Nik and Fig:

@endigo9740 endigo9740 added the feature request Request a feature or introduce and update to the project. label Nov 15, 2022
@endigo9740
Copy link
Contributor Author

@niktek Either subscribe or write a comment here so I can assign to you please.

@endigo9740 endigo9740 pinned this issue Nov 15, 2022
@endigo9740 endigo9740 added this to the v1.0 milestone Nov 15, 2022
@niktek
Copy link
Contributor

niktek commented Nov 15, 2022

  • Add support for Astro - deferred
  • Add support for Vite - deferred
  • Add help screen for all cli options
  • Add ora spinner for working portion - needs to be converted to async bullshit, or look at execa
  • Make the next steps portion more clear
create-svelte create-vite create-astro create-skeleton-app
Directory Name Directory
Svelte template Framework Astro template
Types (TS/JS/None) Variant (TS/JS/SK) Install deps ?
ESLint Init git ?
Prettier TS strictness
Playwright

Notes

create-svelte

  • no argv support
  • has entry point to call into
  • outputs links to add-ons like eslint-plugin-svelte3
  • happily blows away existing folders
  • Stuck? Visit us at {discord}

create-vite

  • no argv support
  • no entry point to call into
  • uses cross-spawn to launch pm install
  • has embedded templates for svelte
  • conventional-changelog-cli
  • simple-git-hooks lint-staged

create-astro

  • supports argv, but no help screen to show what the options are.
  • argv support only pre-selects, still forces display of prompts
  • no entry point to call into
  • execa instead of spawn
  • uses changeset
  • pnpm only
  • use astro-add for adding tailwind (if it can keep quiet)

@endigo9740
Copy link
Contributor Author

Mentioned this on Discord - but applying it here as well so it doesn't get lost in the shuffle. We'll need a get a version of the CLI repo moved to the new org asap. This is a hard requirement before the big announcement this upcoming week.

@niktek
Copy link
Contributor

niktek commented Nov 30, 2022

Beta is out, code is in the org repo. Other improvements will come with feedback, updates from upstream and migration back to TS

@niktek niktek closed this as completed Nov 30, 2022
@endigo9740 endigo9740 unpinned this issue Dec 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request Request a feature or introduce and update to the project.
Projects
None yet
Development

No branches or pull requests

2 participants