0.1.0 • Published 9 months ago

npm-github-starter v0.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

React Library Starter

Starter template for your next react typescript library. Complete with changeset, tsup, and tailwind with prettier-plugin. Publish to npm the right and easy way.

Setup

  1. Go to npm and create your access token with type of "Publish" or "Automation". Copy the token.
  2. Go to your repo, click on "Settings" => "Secrets and variables" => "Actions" => "New repository secret" then create token named "NPM_TOKEN" and paste token from step 1.
  3. Go to your repo, click on "Settings" => "Actions" => "General" then make sure Workflow permissions is set to "Read and write permissions" and check "Allow Github Actions to create and approve pull requests."

How to use

Create your package in package/index. Then import and test from src/App.

Run pnpm changeset then push to your Github and workflow will create a PR for you to merge. Once you merge, your package will be automatically published to npm.

Or run pnpm release to publish directly from your command line. Remember to login with npm login and update version property in package.json.

Video tutorial from Matt Pocock

0.0.63

9 months ago

0.0.66

9 months ago

0.0.61

9 months ago

0.0.59

9 months ago

0.0.73

9 months ago

0.0.71

9 months ago

0.0.72

9 months ago

0.1.0

9 months ago

0.0.49

11 months ago

0.0.48

11 months ago

0.0.47

11 months ago

0.0.46

11 months ago

0.0.45

11 months ago

0.0.44

11 months ago

0.0.43

11 months ago

0.0.42

11 months ago

0.0.41

11 months ago

0.0.40

11 months ago

0.0.35

11 months ago

0.0.33

11 months ago

0.0.32

11 months ago

0.0.31

11 months ago

0.0.30

11 months ago

0.0.29

11 months ago

0.0.28

11 months ago

0.0.27

11 months ago

0.0.26

12 months ago

0.0.25

12 months ago

0.0.24

12 months ago

0.0.23

12 months ago

0.0.19

12 months ago

0.0.16

12 months ago

0.0.10

1 year ago

0.0.9

1 year ago

0.0.8

1 year ago

0.0.7

1 year ago

0.0.6

1 year ago

0.0.5

1 year ago

0.0.4

1 year ago

0.0.3

1 year ago