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

@jebbit/jebbit-bar-components

v0.1.3

Published

The Jebbit bar UI abstracted into components in an addon

Downloads

4

Readme

Jebbit Bar Components

House rules (following open source best practices):

  • All changes should be released under semver
  • All changes should go through the usual PR review process
  • All releases should be released on Github and NPM

Installation

Make sure you're running Node > ~0.2.6:

sudo npm install npm -g

Installing in a Jebbit app

npm install --save-dev @jebbit/jebbit-bar-components

Development of the addon

You can run and change this addon like any other Ember addon.

git clone [email protected]:jebbit/jebbit-bar-components.git
cd jebbit-bar-components
npm install
bower install
ember s

This will run the dummy app at //localhost:4200. You can make your changes, commit, and release on NPM.

If you would like to run the addon inside a consuming app (e.g. the bar or admin app) the addon will livereload inside the app when set up correctly...

Step 1

To link a local version of the addon to the bar or admin apps clone the repo as described above. Then prep the consuming app:

cd jebbit/frontend/app-name # admin or bar
npm uninstall --save-dev @jebbit/jebbit-bar-components
npm cache clean

Step 2

Now, you must make your local version of this addon available throughtout all repos on your machine:

cd ../../jebbit-bar-components

# Bump the version for your upcoming work
npm version minor # npm version [<newversion> | major | minor | patch | premajor | preminor | prepatch | prerelease]

# Enable local package linking for this repo
npm link

Step 3

Finally, add the addon to the consuming app's package.json file:

devDependencies: {
  "jebbit-bar-components": "*"
}

Then install the local version of the addon in the consuming app:

cd ../jebbit/frontend/app-name # admin or bar
npm link jebbit-bar-components

Changes to this addon will now auto-reload the consuming app as if they were part of the same codebase.

A Word of Warning

Please note, you do not want to commit the changes you've made to the consuming app to production. I suggest making a branch for testing the addon that isn't a feature branch. That way you can just keep a local branch with these changes everytime you need to develop the addon inside another app.

Publishing Changes

All changes made to this addon should be published under semver on Github and NPM. This will enable us to keep our multiple apps in sync.

To publish your changes, I highly reccomend using Release It.

If you don't have release-it installed locally, run:

npm install -g release-it

Then, for each release:

npm login # Use the Jebbit account information or your own if you are a collaborator on this addon's NPM repo

release-it # For patches
# or
release-it --minor # For minor version bumps
# or
release-it --major # For major version bumps

npm logout # If you have a personal NPM account

Collaborators

Your personal account can be added as a collaborator for this addon through the NPM site here.

For more information on using ember-cli, visit http://www.ember-cli.com/.