@kepler-io/toolbox

0.1.2 • Public • Published

Monorepo vs. no monorepo

There are few differences in the project if you are using it in monorepo or "outside" of monorepo.

Config.json

There is difference in path of tools. Depends if you are running Toolbox in monorepo (Yarn workspaces) or not.

In monorepo config.json "buildDir": ["..", "tools", "sample-tool-1", "dist"],

For "external" usage. Outside of monorepo. config.json "buildDir": ["node_modules", "@kepler-io", "sample-tool-1", "dist"],

Publishing

  1. When publishing a toolbox from this monorepo:
  • remove argument from start script in package.json

In case you are running tools in monorepo: "start": "kepler-server --config=toolbox",

In case you are running tools outside a monorepo (and for publishing): "start": "kepler-server",

  1. For "external" usage. Outside of monorepo. config.json "buildDir": ["node_modules", "@kepler-io", "sample-tool-1", "dist"],

Readme

Keywords

none

Package Sidebar

Install

npm i @kepler-io/toolbox

Weekly Downloads

0

Version

0.1.2

License

none

Unpacked Size

23.9 MB

Total Files

5

Last publish

Collaborators

  • lukaskellerstein