🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more

react-utility-yard

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-utility-yard

A react utility Package

1.0.25
latest
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created

React-utility-yard npm npm version

⚠️ This project is in developement, still you can explore for setting up following features together.

Features

  • React
  • Tailwind
  • vite
  • ts
  • storybook

Functions const Hello = () => console.log("Jello....);

Additional Settings tobe used in your Project

  • Following libraries are must
    • Tailwind
    • material Icons ( google fonts )
  • Tailwind Plugins
    • @tailwindcss/forms

Run & Publish Storybook

This storybook is published live

Run storybook locally

npm run storybook

Publish Storybook Online [ Automated by vercel ]

npm run build-storybook-prod

Publish NPM

Push the changes to git and change package version otherwise npm don't accept.

Build the package

npm run build

Publish the package

npm publish

On-Going tasks

  • Remove the padding for sidebar content box
  • Remove the css file from build if not using it.
  • Side bar not scrolling
  • sidebar hamberger issue, its reversed.

Issues and Fixes

  • Integrating Tailwind with ts. While building the module compiled tailwind must be sent along with build directory.
    • npx tailwind -i src/tailwind.css -o ./build/tailwind.css
    • Currently, Not providing Css with the package.
  • Copy assets to the build [ might need to see better way]
  • With Tailwind 3, Dynamic Classed dont work. Use this instead : link/Doc.

Source info

  • package.json
    • files : list of files to be published along with readme and package.json
  • tsconfig.json
    • sourceMap : source map maps the transformed source to the original source for debbuging purpose by the browser.

References/Components/demos

Keywords

FAQs

Package last updated on 21 Feb 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts