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

@bigbinary/neeto-editor

v1.43.24

Published

neetoEditor is the library that drives the rich text experience in all neeto products built at BigBinary

Downloads

11,691

Readme

The neetoEditor library drives the rich text experience in the neeto products built at BigBinary.

Installation

yarn add @bigbinary/neeto-editor

For setting up image upload refer https://neeto-editor.neeto.com/?path=/docs/examples-customize-options-addons--addons.

Instructions for development

Install all the dependencies by executing following command.

yarn

Running the yarn storybook command starts a storybook application. Use this application to test out changes.

When developing frontend packages, it's crucial to test changes in a live environment using a host application. There are two ways to do this:

  1. Using yalc package manager: https://youtu.be/F4zZFnrNTq8

Note: If you are using yalc, you need to run yarn bundle after making changes to the package instead of yarn build which is described in the video.

  1. Directly updating the node_modules of the host application.

    1. Start the host application server

    2. Inside the package, execute the command:

        yarn bundle --watch --app ../neeto-site-web

      Here replace ../neeto-site-web with path to the host project.

      Now, any changes made to the neetoEditor codebase will be instantly reflected in the UI.

    3. Remove local installation

      Run the following command to reset to the initial state.

      yarn install --check-files
    4. Translation File Changes (optional)

      Modifications in the neeto-editor translation files will not automatically update the UI. To verify these changes, update your neeto-site-web/app/javascript/packs/application.js file with the following code:

      import en from "translations/en.json";
      
      import editorEn from "neetofilters/app/javascript/src/translations/en.json";
      
      import { mergeDeepLeft } from "ramda";
      
      initializeApplication({
        translationResources: { en: { translation: mergeDeepLeft(editorEn, en) } },
      });

Instructions for Publishing

Package Release Process

A package is released upon merging a PR labeled as patch, minor, or major into the main branch. The patch label addresses bug fixes, minor signifies the addition of new features, and major denotes breaking changes, adhering to the principles outlined in Semantic Versioning (SemVer).

You can checkout the Create and publish releases workflow in GitHub Actions to get a live update.

Manual Package Publishing

If you missed adding the label, you can manually publish the package. For that first, you need to create a PR to update the version number in the package.json file and merge it into the main branch. After merging the PR, you need to create a new GitHub release from the main branch. Whenever a new release is created with a new version number, the GitHub actions will automatically publish the built package to npm. You can check out the Publish to npm workflow in GitHub Actions to get a live update.

Note: before publishing the package, you must verify the functionality in host application locally.

Documentation

Read the docs here: https://neeto-editor.neeto.com.