@bonnard/cli 0.1.8 → 0.1.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/bin/bon.mjs +2 -2
  2. package/package.json +1 -1
package/dist/bin/bon.mjs CHANGED
@@ -2372,8 +2372,8 @@ async function deployCommand(options = {}) {
2372
2372
  console.log(pc.dim(` Found ${result.cubes.length} cube(s) and ${result.views.length} view(s)`));
2373
2373
  if (await testAndSyncDatasources(cwd, options)) process.exit(1);
2374
2374
  const files = {
2375
- ...collectFiles(paths.cubes, cwd),
2376
- ...collectFiles(paths.views, cwd)
2375
+ ...collectFiles(paths.cubes, paths.root),
2376
+ ...collectFiles(paths.views, paths.root)
2377
2377
  };
2378
2378
  const fileCount = Object.keys(files).length;
2379
2379
  console.log(pc.dim(`Deploying ${fileCount} file(s)...`));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bonnard/cli",
3
- "version": "0.1.8",
3
+ "version": "0.1.9",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "bon": "./dist/bin/bon.mjs"