0.1.2 • Published 2 years ago

@kepler-io/toolbox v0.1.2

Weekly downloads
-
License
-
Repository
-
Last release
2 years ago

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"],