@elevasis/sdk 0.5.0 → 0.5.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.
Files changed (2) hide show
  1. package/dist/cli.cjs +3 -3
  2. package/package.json +1 -1
package/dist/cli.cjs CHANGED
@@ -43830,7 +43830,7 @@ async function apiDelete(endpoint, apiUrl = resolveApiUrl()) {
43830
43830
  // package.json
43831
43831
  var package_default = {
43832
43832
  name: "@elevasis/sdk",
43833
- version: "0.5.0",
43833
+ version: "0.5.1",
43834
43834
  description: "SDK for building Elevasis organization resources",
43835
43835
  "comment:bin": "IMPORTANT: This package shares the 'elevasis' binary name with @repo/cli. They never conflict because @elevasis/sdk must NEVER be added as a dependency of any workspace package (apps/*, packages/*, organizations/*). Workspace projects use @repo/cli for the 'elevasis' binary. External developers (outside the workspace) get this SDK's binary via npm install.",
43836
43836
  type: "module",
@@ -43957,8 +43957,8 @@ async function generateProjectMap(org) {
43957
43957
  const jiti = (0, import_jiti2.createJiti)(import_meta2.url);
43958
43958
  const cfg = await jiti.import((0, import_path2.resolve)("elevasis.config.ts"));
43959
43959
  const cfgObj = cfg.default ?? cfg;
43960
- if (cfgObj && typeof cfgObj.templateVersion === "string") {
43961
- templateVersion = cfgObj.templateVersion;
43960
+ if (cfgObj && (typeof cfgObj.templateVersion === "string" || typeof cfgObj.templateVersion === "number")) {
43961
+ templateVersion = String(cfgObj.templateVersion);
43962
43962
  }
43963
43963
  } catch {
43964
43964
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elevasis/sdk",
3
- "version": "0.5.0",
3
+ "version": "0.5.1",
4
4
  "description": "SDK for building Elevasis organization resources",
5
5
  "comment:bin": "IMPORTANT: This package shares the 'elevasis' binary name with @repo/cli. They never conflict because @elevasis/sdk must NEVER be added as a dependency of any workspace package (apps/*, packages/*, organizations/*). Workspace projects use @repo/cli for the 'elevasis' binary. External developers (outside the workspace) get this SDK's binary via npm install.",
6
6
  "type": "module",