npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

ember-cli-helper

v0.10.0

Published

Ember CLI integration for Atom

Downloads

21

Readme

Ember CLI Helper

Gitter chat

ember-cli integration in Atom. Currently maintained by @marius0, originally created by @alexlafroscia. Development sponsored by Apprentus.

Feel free to open issues if you find something. Pull requests are more than welcome!

ember cli helper

Keyboard shortcuts

| Keybinding | Action | | :-- | :-- | | ctrl+alt+e | Toggle between the component/controller and the template | | ctrl+alt+r | Toggle between the controller and the route | | ctrl+alt+enter | Jump into templates. Press when cursor over {{forms/super-select ...}} to open templates/components/forms/super-select.hbs |

Commands

| Command | Description | | :-- | :-- | | Server | Runs ember server in the root folder of the project. | | Test | Runs ember test in the root folder of the project | | Generate | Opens the panel to run a generator | | Exit | Stops a currently running process | | Minimize | Show and hide the output panel, without hiding everything else | | Close | Hide the entire panel |

Generators

Running the generators through Atom is really easy. When you first open the panel, it will bring up a list of file types to generate. This list is based on the output of ember g --help, and therefore should include all future blueprints as well as those added by addons automatically. Once you select a type, you'll be prompted to enter a name, and the output will appear in orange in the bottom panel.

Help! It's broken!

That might be the case! But first, check if specifying the path to the Ember and NPM packages fixes your problems. It probably, hopefully will. If it doesn't, please file an issue so I can try fixing it!

Known limitation: make sure your ember project is the first project (first in the list) opened in Atom.

Settings

| Setting | Purpose | Default Value | | :--- | :--- | :--- | | Generate Coffeescript | Have all of the generators make CoffeeScript files instead of Javascript | false | | Path To Ember Executable | Point the CLI helper to the Ember executable on your computer | /usr/local/bin/ember | | Path To node Executable | Point the CLI helper to the node executable on your computer | /usr/local/bin/node |

Todo List

  • [x] Open ember-cli-helper automatically if the package uses the Ember CLI
  • [ ] Differentiate a task's button from the others when it is active
  • [ ] Use the editor's theme to get colors for success and error in the command output
  • [ ] Give some sort of visual feedback about the running command when the panel is minimized
  • [x] Include a panel for running the file generators
  • [x] Add convenience shortcuts to switch between component and template (and route and ...)
  • [x] Add option to enter components when clicking something over {{forms/super-select ... }} --> opens components/forms/super-select.js

Troubleshooting

Some users have experienced problems running the commands when they openning their project through the File > Open menu. If this happens to you, try opening the project from the command line with the atom command see if that fixes the issue.

If the generators button doesn't work, ember-cli-helper probably can't find your ember project. Double check all the paths and make sure your ember project is the first opened project.


Very special thanks to @alexlafroscia for creating the original atom plugin!

Special thanks to @nickclaw and his atom-grunt-runner package, which was @alexlafroscia's inspiration for building this and a big help in putting it together.

Finally a big thank you to Apprentus for paying me to work on this! :)