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
- 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",
- For "external" usage. Outside of monorepo.
config.json
"buildDir": ["node_modules", "@kepler-io", "sample-tool-1", "dist"],