Skip to content

Conversation

@benduran
Copy link
Contributor

Summary

This PR removes possibility for footgunning by adding a generator that adheres to the JS best practices outlined in this Notion

Rationale

There are many different ways folks here have created and published JavaScript packages, some utilizing standardization and best practices, but many others lacking the consistency of best practices.

This generator removes the variability and allows everyone to be on the same package with package standards for libraries, CLIs and Web Apps.

How has this been tested?

  • Current tests cover my changes
  • Added new tests
  • Manually tested the code

See videos below:

Videos

Generating a CLI tool

generating-a-cli.mp4

Running the CLI after generation

running-cli.mp4

Generating a library

generating-a-library.mp4

Generating a next.js web app

generating-an-app.mp4

@benduran benduran added the enhancement New feature or request label Nov 11, 2025
@vercel
Copy link

vercel bot commented Nov 11, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
api-reference Ready Ready Preview Comment Nov 12, 2025 2:18pm
component-library Ready Ready Preview Comment Nov 12, 2025 2:18pm
developer-hub Ready Ready Preview Comment Nov 12, 2025 2:18pm
entropy-explorer Ready Ready Preview Comment Nov 12, 2025 2:18pm
insights Ready Ready Preview Comment Nov 12, 2025 2:18pm
proposals Ready Ready Preview Comment Nov 12, 2025 2:18pm
staking Ready Ready Preview Comment Nov 12, 2025 2:18pm

Copy link
Collaborator

@cprussin cprussin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some minor questions & thoughts but overall looks great!

…he yargs helper function

also fixed some of the generated contents
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants