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

@evolver-fi/evolver-basics

v3.0.0

Published

Evolver common frontend component library

Downloads

549

Readme

Evolver frontend modules

This is a repository that contains libraries for Evolver frontend common use cases.

Usage

  1. npm install @evolver-fi/evolver-basics

run npm run storybook to see documentation about the individual components

Message log component

This is a frontend component that enables easy setup of log message views in an application with Evolver basics backend.

The component provides ready made views for

  • Message log list
  • Message details

Triggers component

This component supports listing and running Evolver backend triggerables. Also actions for those are exported for use in other places.

Scheduled tasks component

Management and triggering of scheduled tasks.

Status component

Show basic status information about the system via Reportables.

CRUD components

Frontend components for CRUD operations of DB entities. Requires a corresponding CRUD controller in

JWT components

Frontend for managing api tokens. Requires JwtController from evolver-basics-spring

Development

New features and bugs should be tracked as issues in the evolver-front-modules repo. Review by the Evolver frontend team. Slack channel #fugu gets updates for PRs.

Testing

There are tests that use the Storybook to compare the rendered components both visually and as serialized DOM snapshots. To run the tests use npm run test

The test report can be inspected under test-results directory which contains a generated HTML report.

Pre-release process

NOTE: Publishing pre-release versions is not generally recommended outside of upcoming major versions. These instructions assume that a separate release branch is used to develop the upcoming major version.

  • develop the feature on a branch starting from the relase branch
  • make sure that all the tests pass and the storybook snapshots have been updated
  • create a new release
    • pull the feature branch
    • run make release
    • Make sure to use an appropriate semantic version, for example 2.0.0-alpha.1
    • Valid tags are dev, alpha, beta and rc

Release process:

  • develop feature on a branch starting from main
  • once finished, create PR to main. Remember Storybook example! Also make sure that all tests pass.
    • When new stories are added, test snapshots should be generated and added to git. use npm run update-snapshots to generate the new snapshots and add them to git in a separate commit. Remember to build the static storybook instance with npm run build-storybook
  • after review merge PR
  • Create a new release:
    • pull the main branch
    • run make release

Develop without deploying the lib to NPM

To develop the library locally without needing to deploy the library after changes:

NOTE: npm link is essentially a fancy symlink managed by the npm. You may run into unresolveable dependency issues.

  1. Add this project as a workspace to the main app project's package.json
"workspaces": [
    "<path to evolver-front-modules>"
]
  1. run npm link in the root folder of this project

  2. run npm link @evolver-fi/evolver-basics in the root folder of the app project that is using the library. Make sure the project contains all the needed peer dependencies.

  3. Run npm run dev in the evolver-front-modules project

  4. Remember to run npm unlink @evolver-fi/evolver-basics in the root folder of the app project and remove the workspace from the package.json when you are done.

If there are problems still

rm -rf $APP_PROJET_DIR/.next/cache 

where $APP_PROJECT_DIR is the project directory of the main app project could help if the main project is using NextJS