@egintegrations/telemetry 0.2.1 → 0.2.2

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/cli.js +4 -1
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -112,7 +112,10 @@ async function appendEnvFile(envPath, content) {
112
112
  console.log(`\u2713 Updated: ${envPath}`);
113
113
  }
114
114
  function loadSkuStandards() {
115
- const standardsDir = path2.join(__dirname, "standards");
115
+ let standardsDir = path2.join(__dirname, "standards");
116
+ if (!fs2.existsSync(standardsDir)) {
117
+ standardsDir = path2.join(__dirname, "..", "src", "cli", "standards");
118
+ }
116
119
  const systemTypesPath = path2.join(standardsDir, "system_types.json");
117
120
  const platformsPath = path2.join(standardsDir, "platforms.json");
118
121
  const systemTypes = JSON.parse(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@egintegrations/telemetry",
3
- "version": "0.2.1",
3
+ "version": "0.2.2",
4
4
  "description": "Telemetry SDK for EGIntegrations client engines",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",