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

@carletonuniversity/rds

v0.18.14

Published

Raven Design System is Carleton University's design system

Downloads

675

Readme

Raven Design System

npm Conventional Commits Commitizen friendly Storybook Repo Size

Raven Design System, better known as RDS, is Carleton University’s design system, is a living digital organism uniting campus wide teams around a common visual language.

Technologies Used

TypeScript Vite Cypress Storybook React Tailwind CSS

Getting Started

  1. In a terminal window open your install location and run the following:

    git clone https://github.com/cuweb/rds.git
  2. Once the clone is complete move into the RDS directory and run:

    npm install
  3. Run Storybook

    npm run storybook
  4. Other useful shell commands

  • npm run rebuild - deletes node modules, package lock and run npm install
  • npm run format - format files with prettier
  • npm run lint - check for errors with eslint
  • npm run size - compare compiled size against pre-defined limit

Component Testing

Run Storybook and Cypress concurrently

npm run test

You can also run Storybook and Cypress individually by using the following commands in different terminal windows:

  • Run Storybook - npm run storybook
  • Run Cypress - npx cypress Open

Other Commands

  • Run tests in terminal while storybook is being launched - npm run test:ci

Comment Linting

When adding a commit with a commit you may be blocked if you do not prefix your comment with one of the following types. So a commit should look like: git commit -m "change: updated spacing around button". The prefix requires a colon to separate it from the comment.

  • add - used when adding something new such as a component, story or test file
  • change - used when making a change to an existing file in the project
  • deprecate - used when deprecating code
  • doc - used when updating something related to documentation
  • fix - used when fixing an error, warning or something else
  • finish - used when finishing a feature or fix
  • refactor - used when refactoring something such as a component or build tool
  • release - used when preparing a new release
  • revert - used when revert to a past commit
  • test - used when making changes relating to testing
  • upgrade - used when upgrading packages

Deployment

This project is available as an NPM Package.

How to use in a project

  1. Install the package using one of the following command:

    yarn add @carletonuniversity/rds
    npm install @carletonuniversity/rds
  2. Import the css file into your primary css file using:

    /* primarycssfile.css */
    @import '../node_modules/@carletonuniversity/rds/dist/index.css';

    OR

    /* primarycssfile.css */
    @import '~@carletonuniversity/rds/dist/index.css';