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

@dotmh/smart-builder

v1.2.1

Published

The basic typescript project setup for DotMH

Downloads

43

Readme

DotMH

DotMH Smart Builder

TypeScript NodeJS PNPM Visual Studio Code Conventional Commits ESLint Prettier GitHub Actions

License Contributor Covenant

Quality gate

[!WARNING] This project is pre-release and so may contain bugs or not work as expected. It is also likely to change

Introduction

A tool to build Monorepos based on the dependency graph. This allows you to build the packages in the right order.

It will read the pnpm-workspace.yaml file to get the list of packages and determine the order to build them in It will then run the build command set up in the BUILD_SCRIPT variable It is designed to ONLY Work with pnpm workspaces not npm or yarn at the moment

Running

[!WARNING] This project is pre-release and so may contain bugs or not work as expected. It is also likely to change

$ pnpm add @dotmh/smart-builder
$ pnpm exec smart-builder

It needs to run from the root project folder (that is the folder that contains pnpm-workspaces.yaml or pnpm-lock.yaml)

Configuration

This uses environment variables to configure its behaviour.

  • SKIP_BUILD - set to yes to enable - will allow you to see what it is going to build and in what order
  • DEBUG - set to yes to enable - will allow you to see more logging

Ignoring

To ignore a package from the build list add it to the .sbignore file at the root of the project Add the package names to ignore on a new line for each.

License

This repo is set up with an Apache 2.0 license and this will carry over to any projects that are generated from the template unless you remove it.