Comments (12)
Yes, that isn't implemented yet.
What are we going to use for generators btw? I know we were talking about loom, but Tyler Kellen also suggested that yeoman is good at generating stuff.
from ember-cli.
https://github.com/yeoman/generator-ember. The little yeoman is holding an ember box! ;-) They actually have a issue in there worth a look. https://github.com/yeoman/generator-ember/issues/102 It does seem a little silly to generate the entire build stuff all over. Seems like cli could delegate to the generator, for anything in "new".
One of the most annoying things I find with "non-official" build tools is the lack of consistency in commands. This even annoys me with rails to some extent. having to remember when to use "rake" and when to use "rails", coming from a mostly java shop we use grails/gradle, and all commands run through the "grails" or "gradle" commands, and it is nice. So the (long winded point) is I think the yeoman looks good, but at the very least should be wrapped under an "ember" command.
from ember-cli.
I have been playing around with that yo generator. It is pretty complete but it was pretty touchy for me. Requiring some pre-requisites like ruby and compass gem. I would consider multiple languages a minus. I will keep looking around and maybe throw up a rough pull-request for discussion.
from ember-cli.
I think the goal is to avoid using Yeoman. While it's a great library, it comes with a ton of dependencies and asks a lot of questions that we don't really need.
I was just giving this some thought and I think an initial implementation could just copy files/folders from a default skeleton to cwd
. The only option would be the app name, which could get interpolated into the package.json
and a couple other places where 'appkit' is currently hard-coded.
I think eventually it'd be cool to support additional skeletons that can be included in plugins. The primary use case for this is to allow ember-cli to be used as a build tool in server-side environments that don't already have a better option (eg. Django, ASP.NET MVC, etc). @stefanpenner what do you think of skeletons in plugins?
from ember-cli.
After looking into yo. I would agree in agree in avoiding it.
Sent from my iPhone
On Feb 8, 2014, at 1:03 PM, Joe Fiorini [email protected] wrote:
I think the goal is to avoid using Yeoman. While it's a great library, it comes with a ton of dependencies and asks a lot of questions that we don't really need.
I was just giving this some thought and I think an initial implementation could just copy files/folders from a default skeleton to cwd. The only option would be the app name, which could get interpolated into the package.json and a couple other places where 'appkit' is currently hard-coded.
I think eventually it'd be cool to support additional skeletons that can be included in plugins. The primary use case for this is to allow ember-cli to be used as a build tool in server-side environments that don't already have a better option (eg. Django, ASP.NET MVC, etc). @stefanpenner what do you think of skeletons in plugins?
—
Reply to this email directly or view it on GitHub.
from ember-cli.
@joefiorini I share your concern.
I am unsure what value the skeleton projects provide, other then example/tutorial/mindshare sharding. I would prefer to see us pave the other paths, without needing to generate different structures.
One thing that may make sense, is something similar to rails templates.
from ember-cli.
The idea behind different skeletons is to support embedding ember apps in server-side apps. Kind of like ember-appkit-rails. We don't need to support the specific frameworks, just allow others to write plugins that would make it easy to support the conventions of other frameworks. I think this could go a long way in helping devs in any framework integrate ember apps into their framework with minimum friction. Also with a minimum of work/support from the Ember team. Does this make sense?
from ember-cli.
WRT to generating structures, I think we'd be okay writing our own until we really feel the need for something more advanced. @tgsoverly I have a pretty good idea how to implement this quickly, I was going to work on it this afternoon. Do you mind if I go ahead or have you already started making progress?
from ember-cli.
@joefiorini seems good for us to keep in the back of our mind.
from ember-cli.
@joefiorini I didn't really make any progress worth reviewing, I spend a bunch of time coming to the conclusion that the yo
stuff wasn't worth it. So feel free to do it, because I won't this weekend!
@joefiorini @stefanpenner I have also recently been giving this issue of skeletons and using ember inside of other frameworks a lot of thought, because this is something I need at work. I would love to be able to develop an ember app on its own, but include it as a dependency in other applications with some minimal configuration.
What I would love to see over skeletons is the ability to quickly build and publish a build of your ember app to say a private bower registry or bower like registry. Then you are much more framework independent, because lots of frameworks could pull in the app through their own bower plugins. What do you think about that idea?
from ember-cli.
And I hope i am not being to forward with my opinions.
Sent from my iPhone
On Feb 8, 2014, at 2:59 PM, Stefan Penner [email protected] wrote:
@joefiorini seems good for us to keep in the back of our mind.
—
Reply to this email directly or view it on GitHub.
from ember-cli.
And that is "way" off topic from the "new" command, and I saw a pull request so I am closing this issue.
from ember-cli.
Related Issues (20)
- 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
- Security vulnerability in lodash.template package 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 ember-cli.