@uniformdev/cli 19.6.0 → 19.7.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/dist/index.mjs +3 -2
  2. package/package.json +6 -6
package/dist/index.mjs CHANGED
@@ -57,11 +57,12 @@ async function createArraySyncEngineDataSource({
57
57
  if (result[identifier]) {
58
58
  throw new Error(`Identifier ${identifier} was not unique.`);
59
59
  }
60
+ const displayName = selectDisplayName12(current);
60
61
  result[identifier] = {
61
62
  id: identifier,
62
63
  object: current,
63
64
  providerId: identifier,
64
- displayName: selectDisplayName12(current)[0]
65
+ displayName: Array.isArray(displayName) ? displayName[0] : displayName
65
66
  };
66
67
  }
67
68
  return result;
@@ -3233,7 +3234,7 @@ import { PostHog } from "posthog-node";
3233
3234
  // package.json
3234
3235
  var package_default = {
3235
3236
  name: "@uniformdev/cli",
3236
- version: "19.6.0",
3237
+ version: "19.7.0",
3237
3238
  description: "Uniform command line interface tool",
3238
3239
  license: "SEE LICENSE IN LICENSE.txt",
3239
3240
  main: "./cli.js",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniformdev/cli",
3
- "version": "19.6.0",
3
+ "version": "19.7.0",
4
4
  "description": "Uniform command line interface tool",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "main": "./cli.js",
@@ -16,10 +16,10 @@
16
16
  "format": "prettier --write \"src/**/*.{js,ts,tsx}\""
17
17
  },
18
18
  "dependencies": {
19
- "@uniformdev/canvas": "19.6.0",
20
- "@uniformdev/context": "19.6.0",
21
- "@uniformdev/project-map": "19.6.0",
22
- "@uniformdev/redirect": "19.6.0",
19
+ "@uniformdev/canvas": "19.7.0",
20
+ "@uniformdev/context": "19.7.0",
21
+ "@uniformdev/project-map": "19.7.0",
22
+ "@uniformdev/redirect": "19.7.0",
23
23
  "chalk": "^5.2.0",
24
24
  "diff": "^5.0.0",
25
25
  "dotenv": "^16.0.3",
@@ -60,5 +60,5 @@
60
60
  "publishConfig": {
61
61
  "access": "public"
62
62
  },
63
- "gitHead": "a14550dd1caa33fa1310ada642d06ce79bbe4eac"
63
+ "gitHead": "bbcd8d36ccb082d87f1f434a94d6d9402ddb5424"
64
64
  }