Skip to content

Common package.json configs and TypeScript settings

License

Notifications You must be signed in to change notification settings

neuledge/utils-js

Repository files navigation

Utils Packages

You can find all the utils packages under the packages folder. Each package is a separate npm package and can be installed individually.

Packages

Package Version Description
@neuledge/tsconfig npm version This package provides a base TypeScript configuration for Neuledge packages.
@neuledge/eslint-config npm version This package provides a base ESLint configuration for Neuledge packages.
@neuledge/eslint-config-next npm version This package provides a base ESLint configuration for Neuledge Next.js projects.
@neuledge/jest-ts-preset npm version This package provides a base Jest configuration for Neuledge TypeScript projects.
@neuledge/jest-tsd-preset npm version This package provides a base Jest configuration for Neuledge TypeScript projects with type checking.
@neuledge/units npm version This package provides set of constants for commonly used units such as DAY_MS and SIZE_MB.
@neuledge/env npm version This package provides a simple way to access environment variables both in the browser and in Node.js.
@neuledge/process npm version This package provides a simple way manage Node.js process lifecycle.
@neuledge/id npm version This package provides a globally unique identifier based on the upcoming UUIDv7 standard.

Local development

  1. Create a new .npmrc file under the root folder with the following content:
//npm.pkg.github.com/:_authToken=GITHUB_PRIVATE_TOKEN
registry=https://registry.npmjs.org
  1. Replace GITHUB_PRIVATE_TOKEN with a new private token created under Github developer settings. Make sure to give the token permission to read/write packages.

  2. Run yarn && yarn bootstrap

Release new version

First commit all changes and use yarn test to verify build is valid. Then use:

yarn release

About

Common package.json configs and TypeScript settings

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Packages

 
 
 

Contributors 3

  •  
  •  
  •