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

create-sequoia-pkg

v1.1.4

Published

External package generation script for RedwoodJS applications.

Downloads

5

Readme

Generate NPM packages, tailor-made for RedwoodJS applications 🌲

Publish and Release

Abstract

Sequoia is a yarn create script for generating NPM packages which are designed to work well with RedwoodJS applications.

It provides a dynamic, interactive prompt which configures the generated package. All prompts can be configured through command-line arguments, making re-use and quick access easy.

Features

  • Command-line argument and prompt driven configuration of generated package.
  • Support for JavaScript or TypeScript source-code generation.
  • Code compilation and bundling facilitated by Microbundle.
  • Built-in support for linting and testing, using the same configuration as RedwoodJS.
  • Easily depend on and extend RedwoodJS' functionality.
  • Simple setup to support React and Storybook.
  • GitHub Actions to:
    • Publish your package to NPM and create a release on GitHub.
    • Make quality assurances when PRs are opened against the main branch.
    • Deploy Storybook to GitHub Pages whenever updates to the main branch occur.

Usage

Providing a value for an argument will skip its prompt.

Usage: yarn create sequoia-pkg <name> <directory> [option]

Positionals:
  name  The name of your NPM package.                                                        [string]
  path  A path to the directory your package will be generated in.                           [string]

Options:
  --version      Show version number                                                        [boolean]
  --help         Show help                                                                  [boolean]
  --dry          Run this script, skipping generation.                                      [boolean]
  --force        Overwrite the output directory if it already exists.                       [boolean]
  --skipPrompts  Completely skip prompts, passing along only arguments to the generator.    [boolean]
  --lang         The language to generate your package in.                                   [string]
                                                                                [choices: "ts", "js"]
  --rwDeps       RedwoodJS packages to include.                                               [array]
                                                 [choices: "@redwoodjs/api", "@redwoodjs/forms", ...]
  --react        Include React as a dependency.                                             [boolean]
  --storybook    Setup Storybook in your package.                                           [boolean]
  --cli          Add dependencies for building interactive CLI tools.                       [boolean]

Examples:
  yarn create sequoia-pkg newlib -  Creats a new package in the directory `cwd()/newlib`.

Contributing

Contributions are welcomed; be they any shape, size, or form.

  • Please see the contributing guide for "getting started" instructions.
  • Issues can be created for bugs, feature requests, RFCs, ... - no formal template exists, so explain yourself however feels natural.

License

Sequoia was made with ❤️ for the RedwoodJS community.

It is and always will be available, free of charge, under the MIT License.