@uniformdev/cli 18.33.1-alpha.7 → 18.34.1-alpha.57

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 +18 -10
  2. package/package.json +7 -7
package/dist/index.mjs CHANGED
@@ -947,17 +947,22 @@ var CompositionGetModule = {
947
947
  default: false,
948
948
  describe: "Resolve pattern references in the composition"
949
949
  },
950
+ resolveOverrides: {
951
+ type: "boolean",
952
+ default: false,
953
+ describe: "Resolves pattern overrides in the composition and removes override definition data"
954
+ },
950
955
  componentIDs: {
951
956
  type: "boolean",
952
957
  default: false,
953
958
  describe: "Include individual component UIDs"
954
959
  },
955
- resolveData: {
960
+ unstableResolveData: {
956
961
  type: "boolean",
957
962
  default: false,
958
963
  describe: "Resolve all data resources used by the composition"
959
964
  },
960
- diagnostics: {
965
+ unstableDiagnostics: {
961
966
  type: "boolean",
962
967
  default: false,
963
968
  describe: "Include diagnostics information when resolving data"
@@ -978,9 +983,10 @@ var CompositionGetModule = {
978
983
  state,
979
984
  project: projectId,
980
985
  resolvePatterns,
986
+ resolveOverrides,
981
987
  componentIDs,
982
- resolveData,
983
- diagnostics
988
+ unstableResolveData,
989
+ unstableDiagnostics
984
990
  }) => {
985
991
  const fetch3 = nodeFetchProxy(proxy);
986
992
  const client = new UncachedCanvasClient7({ apiKey, edgeApiHost, apiHost, fetch: fetch3, projectId });
@@ -989,9 +995,10 @@ var CompositionGetModule = {
989
995
  compositionId: id,
990
996
  state: convertCompositionState(state),
991
997
  skipPatternResolution: !resolvePatterns,
998
+ skipOverridesResolution: !resolveOverrides,
992
999
  withComponentIDs: componentIDs,
993
- skipDataResolution: !resolveData,
994
- diagnostics
1000
+ unstable_resolveData: unstableResolveData,
1001
+ unstable_diagnostics: unstableDiagnostics
995
1002
  })
996
1003
  );
997
1004
  emitWithFormat(res, format, filename);
@@ -1018,7 +1025,8 @@ var CompositionListModule = {
1018
1025
  },
1019
1026
  resolveOverrides: {
1020
1027
  type: "boolean",
1021
- default: false
1028
+ default: false,
1029
+ describe: "Resolves pattern overrides in the composition and removes override definition data"
1022
1030
  },
1023
1031
  componentIDs: {
1024
1032
  type: "boolean",
@@ -3225,7 +3233,7 @@ import { PostHog } from "posthog-node";
3225
3233
  // package.json
3226
3234
  var package_default = {
3227
3235
  name: "@uniformdev/cli",
3228
- version: "18.33.0",
3236
+ version: "18.34.0",
3229
3237
  description: "Uniform command line interface tool",
3230
3238
  license: "SEE LICENSE IN LICENSE.txt",
3231
3239
  main: "./cli.js",
@@ -3258,8 +3266,8 @@ var package_default = {
3258
3266
  "js-yaml": "^4.1.0",
3259
3267
  jsonwebtoken: "9.0.0",
3260
3268
  "lodash.isequalwith": "^4.4.0",
3261
- open: "9.0.0",
3262
- ora: "6.2.0",
3269
+ open: "9.1.0",
3270
+ ora: "6.3.0",
3263
3271
  "posthog-node": "2.6.0",
3264
3272
  slugify: "1.6.6",
3265
3273
  yargs: "^17.6.2",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniformdev/cli",
3
- "version": "18.33.1-alpha.7+7127237a1",
3
+ "version": "18.34.1-alpha.57+d06712d70",
4
4
  "description": "Uniform command line interface tool",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "main": "./cli.js",
@@ -16,9 +16,9 @@
16
16
  "format": "prettier --write \"src/**/*.{js,ts,tsx}\""
17
17
  },
18
18
  "dependencies": {
19
- "@uniformdev/canvas": "18.33.1-alpha.7+7127237a1",
20
- "@uniformdev/context": "18.33.1-alpha.7+7127237a1",
21
- "@uniformdev/project-map": "18.33.1-alpha.7+7127237a1",
19
+ "@uniformdev/canvas": "18.34.1-alpha.57+d06712d70",
20
+ "@uniformdev/context": "18.34.1-alpha.57+d06712d70",
21
+ "@uniformdev/project-map": "18.34.1-alpha.57+d06712d70",
22
22
  "chalk": "^5.2.0",
23
23
  "diff": "^5.0.0",
24
24
  "dotenv": "^16.0.3",
@@ -33,8 +33,8 @@
33
33
  "js-yaml": "^4.1.0",
34
34
  "jsonwebtoken": "9.0.0",
35
35
  "lodash.isequalwith": "^4.4.0",
36
- "open": "9.0.0",
37
- "ora": "6.2.0",
36
+ "open": "9.1.0",
37
+ "ora": "6.3.0",
38
38
  "posthog-node": "2.6.0",
39
39
  "slugify": "1.6.6",
40
40
  "yargs": "^17.6.2",
@@ -59,5 +59,5 @@
59
59
  "publishConfig": {
60
60
  "access": "public"
61
61
  },
62
- "gitHead": "7127237a1e099d2a11fa8c06d49cb01cf16c0852"
62
+ "gitHead": "d06712d70880e665966897d71c92444ea1dea80e"
63
63
  }