@guestyinc/guesty-dependencies

Guesty Dependencies ===

Usage no npm install needed!

<script type="module">
  import guestyincGuestyDependencies from 'https://cdn.skypack.dev/@guestyinc/guesty-dependencies';
</script>

README

Guesty Dependencies

A tool to install Guesty's monorepo internal dependencies without npm's suckiness.

Install

$ npm i @guestyinc/guesty-dependencies -S

Prerequisites

package.json should include a guestyDependencies entry. It should include a rootPath key and the lib should be relative to that.

Post install

You should add a postinstall entry to package.json with guesty-dependencies command.

Example

{
  "name": "project",
  "version": "1.0.0",
  "description": "",
  "main": "index.js",
  "scripts": {
    "start": "node .",
    "postinstall": "guesty-dependencies",
    "test": "echo \"Error: no test specified\" && exit 1"
  },
  "keywords": [],
  "author": "",
  "license": "ISC",
  "dependencies": {
    "@guestyinc/guesty-dependencies": "^1.0.6"
  },
  "guestyDependencies": {
    "rootPath": "..",
    "depend": "lib/depend"
  }
}

Sample project

https://github.com/guestyorg/local-dependencies-test