Comments (2)
My main inspiration for choosing that route is because it is similar to how the Ionic CLI works. As a user, it is pleasant because you can insert alternative starter templates (i.e. those listed in the @nestjs readme) without friction. As a developer on the CLI, I think it's a good idea because it allows us to version the starter template without versioning the CLI - anecdotally, I've noticed people tend to not upgrade the CLI very often.
Also, in regards to not needing an internet connection, an internet connection will be required to install all the node packages necessary to run the Nest application. I don't think requiring the CLI to sync the NPM packages with the Nest framework is ideal, nor do I think packaging all of the node_modules with the CLI is ideal.
As far as passing the language in as a param, we are currently going down the direction of using a nestconfig.json file. Otherwise, every CLI command must be parameterized with --ts or --es... and that just sounds exhausting :)
I'm open to changes, but in my experience using a git repo pattern has been very pleasant. @kamilmysliwiec, what are your thoughts on this?
from nest-cli.
Hey @KerryRitter,
Thanks a lot for your answers !
You right I missed a lot of things in my question about the Internet connection.
Let's try this pattern.
I didn't think about a remote templates added from @nestjs README.
It seems to be better actually !
We can close the issue.
from nest-cli.
Related Issues (20)
- The application won't reload after compiled OS X HOT 5
- Errors in default webpack config file (webpack.config.json) are silently ignored HOT 1
- Regression > Copying assets is broken on Windows devices
- Facing module unavailability error on changing the bundler to swc HOT 1
- odd behavior when the config file can't be read HOT 5
- Add remove command to delete a non-root project from monorepo and auto-update nest-cli.json HOT 2
- false-positive warning message for `@nestjs/schematics` HOT 1
- [Feature] - nestCLI option to generate Command and Events HOT 1
- Update gitignore to include more common files or folders HOT 5
- The `roodDir` compiler option not being respected when using SWC HOT 7
- add "compilerOptions.sourceMaps" option is nest-cli-json HOT 1
- Assets only works on top level project. HOT 1
- Clean up dependencies HOT 1
- Listing all the routes/endpoints with their types and middleware in project HOT 2
- Error cause is not logged in dev:watch mode HOT 1
- broken path in build output HOT 4
- CLI not work whit PowerShell HOT 3
- ERROR [I18nService] parsing translation error in 10.3.2 HOT 12
- Unable to upgrade to the latest version, node version is v16.20.2
- Add an option to skip testing and linting packages/configurations when creating a new project. HOT 2
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 nest-cli.