You can find all the utils packages under the packages
folder. Each package is a separate npm package and can be installed individually.
Package | Version | Description |
---|---|---|
@neuledge/tsconfig | This package provides a base TypeScript configuration for Neuledge packages. | |
@neuledge/eslint-config | This package provides a base ESLint configuration for Neuledge packages. | |
@neuledge/eslint-config-next | This package provides a base ESLint configuration for Neuledge Next.js projects. | |
@neuledge/jest-ts-preset | This package provides a base Jest configuration for Neuledge TypeScript projects. | |
@neuledge/jest-tsd-preset | This package provides a base Jest configuration for Neuledge TypeScript projects with type checking. | |
@neuledge/units | This package provides set of constants for commonly used units such as DAY_MS and SIZE_MB . |
|
@neuledge/env | This package provides a simple way to access environment variables both in the browser and in Node.js. | |
@neuledge/process | This package provides a simple way manage Node.js process lifecycle. | |
@neuledge/id | This package provides a globally unique identifier based on the upcoming UUIDv7 standard. |
- 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
-
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. -
Run
yarn && yarn bootstrap
First commit all changes and use yarn test
to verify build is valid. Then use:
yarn release