Comments (11)
With all init options available?
ember new folderName [app-name] [--skip-npm-install]
Where app-name
defaults to folder name, but Pascal Cased? Should --dry-run
be included, doesn't seem to make sense in this context.
from ember-cli.
ya, no dry-run
app-name
dasherized as well I think
from ember-cli.
So something like: ember new folderName [--app-name] [--skip-npm-install]
from ember-cli.
just ember new <app-name>
i think the folder name being different then the app is so uncommon, people can just rename after.
from ember-cli.
I disagree, and if that was my only option, I'd do ember new App
every time, and then rename the folder:
ember new App
mv App/ my-blog/
So now virtually the shortcut of the new
command has become a 'longcut' ๐
from ember-cli.
@knownasilya although that may be your path, I do not feel that is the common scenario.
I am quite nervous adding many flags and options to handle every possible permutation.
from ember-cli.
@stefanpenner I guess we can close that issue
from ember-cli.
@stefanpenner Auto-dasherizing the folder name does seem a bit odd. I ran bin/ember new TestApp
today in my projects folder (which has ~ 200 folders in it). It took me a minute to realize what had happened and that the created directory was test-app
.
I think dasherizing the app name in package.json, app.js, for module prefixes, etc. is great. But the root directory? My 2ยข is that it will confuse more than it helps.
from ember-cli.
@Blackshawk ya, I agree. Will accept PR + test :)
from ember-cli.
@stefanpenner Will oblige when I get back home. Its late. :) Good talk today, btw.
from ember-cli.
I for one am not opposed to not dasherizing the folder name. Only the package name is a must. But I think you agree with me on that. Let's see what the others think.
from ember-cli.
Related Issues (20)
- ember build --watch fails with '[NodeWrapper:4 /path/to/some/folder] is not a SourceNode' when the app name contains 'ember-data' anywhere HOT 10
- incompatible with bun (or bun is incompatible)
- `test` script should not run `lint:*` scripts HOT 1
- Drop Node 16 in ember-cli 5.4 HOT 4
- Fails to fingerprint in production mode HOT 3
- set `declaration: false` in tsconfig.json for the app blueprint.
- TypeScript error on new project: 'SetupTestOptions' is a type and must be imported using a type-only import when 'verbatimModuleSyntax' is enabled. HOT 2
- Run Prettier standalone HOT 2
- fingerprint.prepend not working for the chunk js files HOT 3
- [email protected] has security vulnerability HOT 2
- Setup ESLint for gjs/gts
- You passed the '--typescript' flag but there is no TypeScript blueprint available. A JavaScript blueprint will be generated instead. HOT 7
- new typescript component blueprint gives eslint warning HOT 3
- Fresh app 404's on missing assets/test-support.css HOT 8
- Could it be possible to use `--directory` to output to an already existing directory? HOT 1
- Add a `--no-ci-provider` flag for `ember new`
- App blueprint has invalid ESLint config HOT 4
- Add bun support for Ember CLI projects HOT 1
- --port=4200 not working HOT 7
- Environment file is not loading accurately in CircleCI HOT 4
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 ember-cli.