upit-file-handlers
v1.0.0
Published
File handling logic and helpers for the Configur Upit project
Downloads
32
Maintainers
Readme
Upit File Handlers
File handling logic and helpers for the Configur Upit project
Installation
To install this package just do:
npm i -S @configur-tech/upit-file-handlers
If it complains, means you are probably not logged in, so run npm login
and follow its instructions.
In CI you will need the NPM_TOKEN
env var set
Local Installation
In order to run the code in this repo locally, you'll need Node.js installed (code itself was written in Node 18.13.0
, but anything 18
or above should work).
- If you don't have node installed, I would recommend doing so via Node Version Manager
nvm
which can be installed like so:
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.37.0/install.sh | bash
- Then all you need to do is install the correct version of
node
via:
nvm install
This detects the .nvmrc
file in the repo, and installs the version specified there
- Now that node is installed and is the right version, run the following to install all the project dependencies:
npm i
- Can verify it all worked correctly by running the tests:
npm run test:unit
- Ready to roll!