@weavix/cli 0.3.0 → 0.4.0

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/build/index.js +2 -5
  2. package/package.json +1 -1
package/build/index.js CHANGED
@@ -623,10 +623,7 @@ var resolveTargetFileName = (file) => file.endsWith(".template") ? "." + file.re
623
623
  };
624
624
 
625
625
  // src/utils/getProjectPath.ts
626
- var import_path4 = __toESM(require("path")), isDevelopment = () => __dirname.includes("/src/"), getProjectPath = (relativePath) => {
627
- let levelsUp = isDevelopment() ? "../.." : "..";
628
- return import_path4.default.resolve(__dirname, levelsUp, relativePath);
629
- }, getTemplatesBaseDir = () => getProjectPath("templates"), getTemplatePath = (filename) => import_path4.default.join(getTemplatesBaseDir(), "_shared", filename);
626
+ var import_path4 = __toESM(require("path")), isDevelopment = () => __dirname.includes("/src/"), getProjectPath = (relativePath) => isDevelopment() ? import_path4.default.resolve(__dirname, "..", "..", relativePath) : import_path4.default.resolve(__dirname, relativePath), getTemplatesBaseDir = () => getProjectPath("templates"), getTemplatePath = (filename) => import_path4.default.join(getTemplatesBaseDir(), "_shared", filename);
630
627
 
631
628
  // src/commands/create/utils/initTemplate.ts
632
629
  init_logger();
@@ -1429,7 +1426,7 @@ var import_fs9 = require("fs"), import_path9 = require("path"), UNKNOWN_VERSION
1429
1426
  } catch {
1430
1427
  return null;
1431
1428
  }
1432
- }, getVersion = () => "0.3.0";
1429
+ }, getVersion = () => "0.4.0";
1433
1430
 
1434
1431
  // src/index.ts
1435
1432
  init_verbose();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@weavix/cli",
3
- "version": "0.3.0",
3
+ "version": "0.4.0",
4
4
  "description": "CLI to work with plugins of Yandex Tracker",
5
5
  "license": "UNLICENSED",
6
6
  "bin": {