0.0.7 • Published 11 months ago

mintopolis-isomorphic-helpers v0.0.7

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

mintopolis-isomorphic-helpers

npm version

Follow a Test-Driven Development approach

  1. Write failing unit tests according to desired results
  2. Write code to make those tests pass

Run all tests:

npm test

Make Sure to install npx globally

npm i -g npx

Link your local module in another project:

  1. Match your Node version between projects with nvm use 12.22.1 (use your project version) in each project
  2. In the mintopolis-isomorphic-helpers directory, run npm run build && npm link .
  3. In your my-project directory, run npm link mintopolis-isomorphic-helpers

Unlink the module from your project:

  1. In the mintopolis-isomorphic-helpers directory, run... npm unlink .
  2. Ensure that your package.json file is using the correct dependency and version for mintopolis-isomorphic-helpers.
  3. In your project, run... rm -rf node_modules/mintopolis-isomorphic-helpers && npm i
  • Using npm unlink can alter your dependency declaration in your package.json file. Deleting the node module and reinstalling based on your package.json dependencies is less problematic.

Linting

This project is using Husky hooks for linting with eslint. In order for these hooks to work you may need to run the following commands:

chmod ug+x .husky/*
chmod ug+x .git/hooks/*
0.0.7

11 months ago

0.0.6

12 months ago

0.0.5

1 year ago

0.0.4

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago