@konker.dev/node-ts-fp-boilerplate
TypeScript icon, indicating that this package has built-in type declarations

0.0.3 • Public • Published

@konker.dev/node-ts-fp-boilerplate

A boilerplate for a Node.js project based on Effect-TS

CI License

Usage

Copy the contents of this repo, and:

  • Search and replace files for YOUR_SRC_DIR_COULD_BE_DOT and substitute for the desired source directory
  • Edit package.json staticFiles property as needed
  • Run pnpm install
  • Run git init
  • Run: pnpm dlx husky-init && pnpm install
  • Replace this with your actual README.md
  • Replace ISC.LICENSE as needed
  • Amend .github/workflows/cd.yml to replace PATH_TO_PACKAGE_JSON
  • Remember:
    • README.md title / content
    • package.json name
    • package.json description

For An Existing Project

  • Copy the following. merging as necessary:
    • .editorconfig
    • .eslintignore
    • .eslintrc.json
    • .madgerc
    • .nvmrc
    • .prettierignore
    • .prettierrc
    • gulpfile.mjs
    • jest.config.ts
      • Replaces jest.config.js if applicable
    • tsconfig.json
  • Search and replace for YOUR_SRC_DIR_COULD_BE_DOT
  • Merge .gitignore
  • Copy over dev dependencies not already present
  • Copy over dependencies not already present
  • LICENSE

Package Sidebar

Install

npm i @konker.dev/node-ts-fp-boilerplate

Weekly Downloads

1

Version

0.0.3

License

ISC

Unpacked Size

10.9 kB

Total Files

14

Last publish

Collaborators

  • konker
  • morningwoodsoftware