@unisphere/cli 1.43.0 → 1.44.1
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.
package/package.json
CHANGED
package/src/index.d.ts
CHANGED
package/src/index.js
CHANGED
|
@@ -4,4 +4,5 @@ const tslib_1 = require("tslib");
|
|
|
4
4
|
tslib_1.__exportStar(require("./lib/utils/unisphere/workspace"), exports);
|
|
5
5
|
tslib_1.__exportStar(require("./lib/utils"), exports);
|
|
6
6
|
tslib_1.__exportStar(require("./lib/utils/get-cli-version"), exports);
|
|
7
|
+
tslib_1.__exportStar(require("./lib/utils/unisphere/get-global-file"), exports);
|
|
7
8
|
//# sourceMappingURL=index.js.map
|
package/src/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../packages/unisphere-cli/src/index.ts"],"names":[],"mappings":";;;AAAA,0EAAgD;AAChD,sDAA4B;AAC5B,sEAA4C"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../packages/unisphere-cli/src/index.ts"],"names":[],"mappings":";;;AAAA,0EAAgD;AAChD,sDAA4B;AAC5B,sEAA4C;AAC5C,gFAAsD"}
|
|
@@ -4,8 +4,8 @@ exports.getCliVersion = void 0;
|
|
|
4
4
|
const fs_1 = require("fs");
|
|
5
5
|
const path_1 = require("path");
|
|
6
6
|
const getCliVersion = () => {
|
|
7
|
-
const packageJson = JSON.parse((0, fs_1.readFileSync)((0, path_1.join)(__dirname, '
|
|
8
|
-
return packageJson.
|
|
7
|
+
const packageJson = JSON.parse((0, fs_1.readFileSync)((0, path_1.join)(__dirname, '../package.json'), 'utf8'));
|
|
8
|
+
return packageJson.dependencies['@unisphere/cli'] || packageJson.devDependencies['@unisphere/cli'];
|
|
9
9
|
};
|
|
10
10
|
exports.getCliVersion = getCliVersion;
|
|
11
11
|
//# sourceMappingURL=get-cli-version.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-cli-version.js","sourceRoot":"","sources":["../../../../../../packages/unisphere-cli/src/lib/utils/get-cli-version.ts"],"names":[],"mappings":";;;AAAA,2BAAkC;AAClC,+BAA4B;AAErB,MAAM,aAAa,GAAG,GAAW,EAAE;IACxC,MAAM,WAAW,GAAG,IAAI,CAAC,KAAK,CAC5B,IAAA,iBAAY,EAAC,IAAA,WAAI,EAAC,SAAS,EAAE,
|
|
1
|
+
{"version":3,"file":"get-cli-version.js","sourceRoot":"","sources":["../../../../../../packages/unisphere-cli/src/lib/utils/get-cli-version.ts"],"names":[],"mappings":";;;AAAA,2BAAkC;AAClC,+BAA4B;AAErB,MAAM,aAAa,GAAG,GAAW,EAAE;IACxC,MAAM,WAAW,GAAG,IAAI,CAAC,KAAK,CAC5B,IAAA,iBAAY,EAAC,IAAA,WAAI,EAAC,SAAS,EAAE,iBAAiB,CAAC,EAAE,MAAM,CAAC,CACzD,CAAC;IACF,OAAO,WAAW,CAAC,YAAY,CAAC,gBAAgB,CAAC,IAAI,WAAW,CAAC,eAAe,CAAC,gBAAgB,CAAC,CAAC;AACrG,CAAC,CAAC;AALW,QAAA,aAAa,iBAKxB"}
|