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

@opuscapita/oc-common-ui

v8.3.3

Published

OpusCapita common UI components

Downloads

12

Readme

OpusCapita React components guideline

demo

Creating a new component

Creating a new repository

  • Create a new public repository under OpusCapita organization in github. If you don't have rights to do it, contact @havanki or @ilkkalehtinen. Choose a descriptive repository name that states clearly what kind of component it contains. For example, react-grid is a React component that creates a grid.

Developing a new component

  • Create a development branch in git.
  • Create basic structure for a react component. It's recommended to use the template. Develop the component. Run npm install to get the project's dependencies. Run npm run build to produce minified version of the library. Run npm run dev to produce development version of the library. Run npm run test to run tests. Run npm run docs to generate examples. Run npm run hot to run source files.
  • Update CHANGELOG.md file with your changes under next line.
  • Include documentation for your component in README.md file, unit tests for all modules and an example showing all possible functions of your component before you make the first pull request with your component. Pull requests with absent documentation, unit tests and examples will not be approved.
  • Commit and push changes. Don't include lib folder in the commits.
  • Open Settings -> Options -> GitHub Pages and select 'master branch /docs folder' as a Source.

Merging the development branch with the master

  • Make a pull request for more than one reviewer (the more the better) from the list of contributors below.
  • Merge your branch with the master and delete your development branch.

Creating the first release tag and publishing the first npm version

  • Update CHANGELOG.md file by moving changes under next line to the created version line in the master branch, commit and push it.
  • Run npm version [major|minor|patch] info
  • Run npm publish --access=public to publish the first version of the component in npm. If you don't have rights to do it, contact @havanki or @ilkkalehtinen.

Finishing a new component creation

Updating a component

  • Clone the repository with the component to update if you haven't done it yet.
  • Make a new development branch for the changes.
  • Update CHANGELOG.md file with your changes under next line.
  • Update LICENSE-3RD-PARTY.md if lib changes.
  • Commit and push changes (excluding lib).
  • Make a pull request for more than one reviewer (the more the better) from the list of contributors below.
  • Merge your branch with the master and delete your development branch.

Creating a release tag and publishing a npm version

  • Update CHANGELOG.md file by moving changes under next line to the created version line in the master branch, commit and push it.
  • Run npm version [major|minor|patch] info
  • Run npm publish to publish the created version of the component in npm.

Demo/examples

  • Demo
  • Run npm run docs to create output to examples-build

List of contributors

  • Boris Horosh @bo-kh (Finland)
  • Elena Rose @elefantino (Finland)
  • Esa Riihinen @eriihine (Finland)
  • Ilkka Lehtinen @ilkkalehtinen (Finland)
  • Jani Matkala @naniantero (Finland)
  • Jenni Ristonmaa @Jen-ni (Finland)
  • Janusz Bugajny @janekbug (Poland)
  • Kimmo Havantola @havanki (Finland)
  • Lukasz Frandt @lukasdt (Poland)
  • Oscar Neira @OscarNeira (Finland)
  • Sami Karjalainen @skarjalainen (Finland)