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

@arena-im/icons

v8.3.0

Published

A library of icons for all arena frontend projects

Downloads

375

Readme

📦 Package: @arena-im/icons

The @arena-im/icons is npm package used to provide icons for arena applications.

This project get figma resources and download only svg files to transform in react components.

What is area?

Arena is a market-leading communication platform for communities to engage and connect in a digital world. Businesses of every size—from new startups to public companies—use our software to connect in a group conversation, direct messages and engage with each other. You can read more about us here.

This package built in Typescript and uses Node.js 18 runtime with babel to tranform svg to react components.

🔍 Requirements

This repository uses:

| Dependencies | Description | Docs | | -------------------------------------------- | ------------------ | ---------------- | | node-version | Javascript Runtime | 📚 |

🔨 Project setup

  1. To clone repository you need to have git installed:
git clone [email protected]:stationfy/arena-icons.git
  1. To install dependencies you need to have NodeJS installed:
npm install
  1. To build you need to have NodeJS installed:
npm run build:scripts

This will transform typescript files to javascript.

  1. Declare necessary environments:

To Unix:

set FIGMA_TOKEN_1="<YOU CAN GET TOKEN FOLLOWING THE LINK BELLOW>"

To windows:

$Env:FIGMA_TOKEN_1="<YOU CAN GET TOKEN FOLLOWING THE LINK BELLOW>"

To get figma token read this documentaion

▶️ Run project

  1. (optional) You can run build scripts to transpile .ts files to .js in watch mode files to this you need to have NodeJS installed and runned 🔨 Project setup:
npm run build:scripts -- --watch

Now when you update .ts files you dont need run build again.

  1. To get icons you need to have NodeJS installed and runned 🔨 Project setup or using **watch mode**:
npm run import:icons

This command will get svg files and put to ./icons folder

  1. To optimize icons you need to have NodeJS installed and executed **get icons**:
npm run optimize

This command will clear ./optimized folder and will optimize icons from ./icons folder.

⬆️ Publish

  1. To to publish you need to have executed 🔨 Project setup and ▶️ Run project:
npm run release

This command will be create a basic resources to save your stack learn more here

🪄 Adding or Updating icons

To add new icons you need only run an action on_dispatch in this repository you can find it using this link:

⚠️ Remember always run using the main branch

  1. You will need choose what kind of change it will be for example major (X.0.0), minor (0.X.0), or patch (0.0.X)

image

⚠️ Remember: use semantic version to choose it.

  1. And you need pass you personal figma token as input. You can find it here:

image

It will build and generate a new packge version at npm.

To update an icon

Is just make a commit deleting the icon and run the pipeline again.

⚠️ Remember: when you do it, the version should be an major.

📂 Software

This project contains all code for all archeteture, at the following folders:

  • ./scripts has logic code with necessary scripts to get icons and transform into react components
  • ./icons has icons as svg files

💪 Dev Team

This project exists thanks to all these people.

Marcos Lari