Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

@joycostudio/generic

Package Overview
Dependencies
Maintainers
0
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@joycostudio/generic

The generic template library starter from joyco.studio

latest
npmnpm
Version
0.1.1
Version published
Maintainers
0
Created
Source

WTF is this?

A generic library template starter for new JOYCO libs.

❗️ MUST DO ON TEMPLATE FORK ❗️

This is a sample package that serves as a template. If you are forking from it you NEED to update the package.json "name" field. Also DELETE the .changeset/ folder and the CHANGELOG.md file to start your library versioning history from the very start.

👀 Good to know

If you DON't need react as a peer dependency you NEED to delete it.

# 1. Remove both the devDependencies and peerDependencies
pnpm remove @types/react react

Then manually remove the peerDependencies section from package.json and also check eslint.config.js, tsconfig.json.

🦋 Version Management

This library uses Changesets to manage versions and publish releases. Here's how to use it:

Adding a changeset

When you make changes that need to be released:

pnpm changeset

This will prompt you to:

  • Select which packages you want to include in the changeset
  • Choose whether it's a major/minor/patch bump
  • Provide a summary of the changes

Creating a release

To create a new version and update the changelog:

# 1. Create new versions of packages
pnpm changeset version

# 2. Build the packages
pnpm build

# 3. Publish to npm
pnpm changeset publish

Remember to commit all changes after creating a release.

FAQs

Package last updated on 22 Jan 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts