JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 84
  • Score
    100M100P100Q81217F
  • License MIT

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

Package Exports

  • navy-plugin-nodejs
  • navy-plugin-nodejs/lib/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (navy-plugin-nodejs) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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.