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

@react-fe-core/fe-ui-core

v1.7.0

Published

1. This is a base project based on React Reusable components which supports 2. typescript 3. styling through styled-components 4. components isolation build preview with storybook 5. publishing monorepo through lerna and conventional commits 6. New packag

Downloads

6

Readme

About

  1. This is a base project based on React Reusable components which supports
  2. typescript
  3. styling through styled-components
  4. components isolation build preview with storybook
  5. publishing monorepo through lerna and conventional commits
  6. New package creation through plop
  7. js build support for js projects
  8. playground support for os where storybook not supported.

Issues

ERR_OSSL_EVP_UNSUPPORTED or any issue with storybook run

  1. enter export NODE_OPTIONS=--openssl-legacy-provider

If plop command not working

  1. enter npm i -g plop to globally install plop and run plop command

for package publishing

  1. login to your npm account through npm login or yarn login.
  2. add organisation to your account.
  3. change the root package.json name to @<organisation_name>/<package_name> where <organisation_name> = your organisation name and <package_name> can be any name you want to give to your package.
  4. for private package publish you need to check npm docs.

Installation

  1. Globally install Yarn with npm i -g yarn
  2. enter yarn to install all dev and direct dependencies

Scripts

Build all js folder for all packages

yarn build

Bootstrap all common dependencies for all packages

yarn bootstrap

Remove all js folders for all packages

yarn clean:js

Publish core package with all the inner packages

yarn publish

Run Storybook with all the components

yarn storybook

Build Storybook components

yarn build-storybook

Create a new Package

plop

Links to Useful Docs

LERNA Monorepo Config

Links

  1. https://javascript.plainenglish.io/managing-javascript-monorepos-with-lerna-building-a-react-icon-library-publishing-to-npm-70855bfb31d9

PLOP for creating basic package template

Links

  1. https://github.com/plopjs/plop
  2. https://stackoverflow.com/questions/73281366/plop-js-template-files-adding-a-root-directory-in-the-destination-folder
  3. https://www.npmjs.com/package/plop#addmany

storybook config

Links

  1. https://medium.com/@pongsatt/how-to-setup-storybook-in-react-typescript-project-ad2516515919

OR

  1. enter npx -p @storybook/cli sb init

CLI options

  1. https://storybook.js.org/docs/react/api/cli-options