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

@bode-canada/core

v1.0.193

Published

A Bode Core library created using Rollup

Downloads

630

Readme

Bode

Explore the docs »

Installation

$ git clone [email protected]:bode-canada/bode-core.git

Install all dependencies. Make sure you installed Nodejs.

$ npm install
# or
$ yarn install

Commands

Build

Run build to build the library

Code style

Run eslint to start checking typescript code-style errors

Run eslint-fix to start checking typescript code-style and fix errors

Testing

Run test to start unit-testing procedure

Supporting Image Imports

Add the following library to your component library @rollup/plugin-image:

$ npm i -D @rollup/plugin-image

Then add it to rollup-config.js:

...
plugins:[
  ...,
  image(),
  ...
]
...

You can then import and render images in your components like:

import logo from "./rollup.png";

export const ImageComponent = () => (
  <div>
    <img src={logo} />
  </div>
);

###Icons

In case you need to add some icon or change the exising one, please use https://icomoon.io/app/#/select/font

Task lifecycle

  1. Create a branch from origin/master with the name consisting of ticket type and ticket name. For example, you have a feature task in JIRA with the name BSP-1989. New branch should be named like feature/BSP-1989. There are 3 types of task branch: feature, fix, improvement.
  2. After finalizing task you should create pull-request from your task to the origin/master.
  3. After fixing comments and getting at least 2 approves, merge the PR.
  4. In case of successful merge, delete your branch.

Deprecated activity

  • Pushing code directly to the master branch
  • Pushing code to the unassigned task/branch
  • Merging code without at least 2 approves