Comments (7)
@chrisdholt @hawkticehurst given this feedback, we will use a templated approach which will give you options, similar to how makes works.
For our MVP we will leave the current defaults listed above in place, we might consider one or two options if they seem critical. If you have any other feedback @hawkticehurst please feel free to add more suggestions here, we will consider them for our future phases of work.
from fast-cli.
Closed by #6
from fast-cli.
@janechu curious about prescribing webpack here for the most simple implementation. Another question that comes up here is if we plan on adding additional templates as separate packages? It seems like that may get out of hand if that's the case.
from fast-cli.
We won't support additional packages, similar to create-react-app, there will be one template (technically they have two, js and ts) and any other templates will be community driven, or separate repositories.
from fast-cli.
We won't support additional packages, similar to create-react-app, there will be one template (technically they have two, js and ts) and any other templates will be community driven, or separate repositories.
Gotcha - So is the idea that the app is the default with options for ts/js and the others will be community maintained? IE, the design system / framework instance and the "simple component" instance? For reference, I think another good example is create-vite which has a few "templates" as part of it.
from fast-cli.
Happened to bump into this issue as I was looking for something else, but if I can chime in with my 2 cents, as a FAST user I would strongly prefer if there were some options given for official templates using different build tooling (i.e. like the create-vite templates/CLI that @chrisdholt mentioned). It doesn't have to be exhaustive by any stretch, but even just 2-3 templates using other common build tools would be really appreciated.
I generally avoid webpack at all costs these days and much prefer the simpler configurations/ergonomics that build tools like vite or rollup provide. These tools are such a time saver for me that I would probably end up mostly avoiding the FAST CLI if it only provides an official webpack-based starter template.
from fast-cli.
Nice, excited to try this all out once it's ready! Also yeah, of course, I would be happy to add to this thread as I think of things!
Off the top of my head, another thing that would be nice is templates that demonstrate using FAST Foundation for creating a design system. In particular, having a template that includes a lot of the scaffolding/boilerplate for configuring component styles, custom behavior, design tokens, and so on would be great.
from fast-cli.
Related Issues (20)
- [Feature]: Add `--help` and `--version` commands
- [Bug]: can't add component: fast add-component
- Refactor for ambiguous pathing
- Update the `@microsoft/cfp-template-files` to new dependencies for config version `1.0.0-alpha.2`
- Update the components in the CLI for the new `1.0.0-alpha.2` config version
- Add a spec to determine how FAST components will be integrated into the CLI
- Include FAST components into the FAST CLI
- Update CFP template and CLI initialization based on the specification
- Add a configuration command
- Add a design system command
- Document a list of available foundation components
- Add the add component command
- Add foundation components option
- Add a migrate command
- [Bug]: npm ERR! code E404 HOT 1
- Add --all to add-foundation-component command
- Add multiple foundation components at once
- [Bug]: Package not available in NPM HOT 1
- Abstract the CLI logic for testing
- Ensure the components are installed in sequence
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fast-cli.