Socket
Socket
Sign inDemoInstall

@pubngo-stack/icons

Package Overview
Dependencies
48
Maintainers
2
Versions
148
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @pubngo-stack/icons

Sample core for higher packages to depend on


Version published
Maintainers
2
Created

Readme

Source

Step 1 Add/Modify SVG icons to src/svg folder

Step 2 List all the files names to add to Graphql Schema for type generation

list all svgs

ls -1 packages/icons/src/svg/ | sed -e 's/\.svg$//'

Add to packages/icons/src/graphql/schema/icons/property-icons.graphql under enum IconRifi

Step 3 Generate React components of the svg to use in mobile and web.
lerna exec --scope=@pubngo-stack/icons yarn generate-icons
Step 4 Generate Graphql
yarn generateGraphql
Step 5 Build the package
lerna exec --scope=@pubngo-stack/icons yarn build
lerna exec --scope=@pubngo-stack/platform-browser yarn build

FAQs

Last updated on 01 Nov 2023

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc