solidjs-community / solid-cli Goto Github PK
View Code? Open in Web Editor NEWA custom CLI built for Solid.
Home Page: https://solid-cli.netlify.app/
License: MIT License
A custom CLI built for Solid.
Home Page: https://solid-cli.netlify.app/
License: MIT License
This is a forwarded issue from solidjs/solid-start#1345.
Should have commands for updating the config from the cli itself, particularly for commonly updated config options
If I press ctrl+c in create-solid, it just skips to the next question, all other create-[x] tools exit if i press ctrl+c.
When creating boilerplate using bun create solid
or bunx create-solid
, the command runs forever if node is not installed. However everything runs file if the node is already installed.
Since bun is a competing javascript runtime I assumed the bun create command must not depend on node.
npx create-solid my-scalper-app
bun create solid ./my-solid-app
yarn create solid ./my-solid-app
Select Is this a Solid-Start project? — YES
Apple M1 Pro, macOS Sonoma, MBP 2021
Makes edge cases easier to deal with, and means we can test with a virtual file system
Add documentation further outlining the contribution process to the repo
Just forwarding this issue along. It might just be documentation etc.. but thought I'd link it here: solidjs/solid-start#1404
Sort out tests for the core package
I tried to create my first solidstart project today and was surprised that to supply a project name as a cli argument I need to use a -p flag.
With any other create-[x] tool, you can just pass a name as the first parameter without any flags, and I use that every time I start a new project.
This should just be a simple change, and I'd be happy to contribute it.
Currently this package is huge as it brings in SWC even though it doesn't need it. The solution is likely either to split commands
into core_commands
, and commands
. Another option is making @solid-cli/core
the place for the core commands, and creating a new package for the main build of the cli, such as @solid-cli/cli
. This also might make the naming scheme a little easier to understand
Add commands which automatically update the readme with cli information generated from the code, such as the possible command tree
Will be able to use system environment variables to change certain functionality.
Useful for cases where a single project needs specific options configured in the CLI, such that it doesn't make sense to update the global config each time just for that project.
I have tried multiple package managers and configurations but the commands listed under https://www.npmjs.com/package/create-solid failed everytime.
┌
Create-Solid v0.5.2
│
◇ Project Name
│ test
│
◇ Is this a Solid-Start project?
│ Yes
│
◇ Which template would you like to use?
│ basic
│
◇ Use Typescript?
│ Yes
│
▲ Something went wrong
solid build
Still unsure on whether this is a good idea
Convert TS into JS if user doesn't want to use TS
The current Start CLI has this feature (linked below) and should be an easy addition
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.