navy-plugin-nodejs

5.0.0 • Public • Published

navy-plugin-nodejs

A set of helpers to help improve the experience of developing NodeJS applications with Navy

Installation

Create or update a Navyfile.js alongside your docker-compose.yml. Make sure you've added this plugin:

module.exports = {
  plugins: ["navy-plugin-nodejs"]
}

Make sure you also npm install navy-plugin-nodejs alongside your Docker Compose config.

Features

Resolve npm link'd modules

When using navy develop with a Node app which has linked node modules, you might run into problems with the symlinks pointing to outside of the Docker container.

This will rewrite your npm link'd modules to point directly to the repo which is linked, and will also mount your home directory into the container so that symlink can be resolved.

License

Licensed under the MIT License.

View the full license here.

Package Sidebar

Install

npm i navy-plugin-nodejs

Weekly Downloads

448

Version

5.0.0

License

MIT

Unpacked Size

5.48 kB

Total Files

8

Last publish

Collaborators

  • madjam002
  • davidgtonge
  • tanuck
  • jon_bride_mh