@uniformdev/cli 19.109.1-alpha.0 → 19.112.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 +9 -7
  2. package/package.json +8 -8
package/dist/index.mjs CHANGED
@@ -6437,7 +6437,7 @@ import { PostHog } from "posthog-node";
6437
6437
  // package.json
6438
6438
  var package_default = {
6439
6439
  name: "@uniformdev/cli",
6440
- version: "19.109.0",
6440
+ version: "19.112.0",
6441
6441
  description: "Uniform command line interface tool",
6442
6442
  license: "SEE LICENSE IN LICENSE.txt",
6443
6443
  main: "./cli.js",
@@ -7919,18 +7919,20 @@ var ProjectMapNodeListModule = {
7919
7919
  withFormatOptions(
7920
7920
  withApiOptions(
7921
7921
  withProjectOptions(
7922
- yargs32.positional("projectMapId", {
7923
- demandOption: true,
7924
- describe: "ProjectMap UUID to fetch from"
7925
- })
7922
+ withStateOptions(
7923
+ yargs32.positional("projectMapId", {
7924
+ demandOption: true,
7925
+ describe: "ProjectMap UUID to fetch from"
7926
+ })
7927
+ )
7926
7928
  )
7927
7929
  )
7928
7930
  )
7929
7931
  ),
7930
- handler: async ({ apiHost, apiKey, proxy, projectMapId, format, filename, project: projectId }) => {
7932
+ handler: async ({ apiHost, apiKey, proxy, projectMapId, format, filename, project: projectId, state }) => {
7931
7933
  const fetch3 = nodeFetchProxy(proxy);
7932
7934
  const client = new UncachedProjectMapClient8({ apiKey, apiHost, fetch: fetch3, projectId });
7933
- const res = await client.getNodes({ projectMapId });
7935
+ const res = await client.getNodes({ projectMapId, state: convertCompositionState(state) });
7934
7936
  emitWithFormat({ nodes: res.nodes ?? [], projectMapId }, format, filename);
7935
7937
  }
7936
7938
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniformdev/cli",
3
- "version": "19.109.1-alpha.0+d14ca8a09",
3
+ "version": "19.112.0",
4
4
  "description": "Uniform command line interface tool",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "main": "./cli.js",
@@ -17,12 +17,12 @@
17
17
  },
18
18
  "dependencies": {
19
19
  "@thi.ng/mime": "^2.2.23",
20
- "@uniformdev/assets": "19.109.1-alpha.0+d14ca8a09",
21
- "@uniformdev/canvas": "19.109.1-alpha.0+d14ca8a09",
22
- "@uniformdev/context": "19.109.1-alpha.0+d14ca8a09",
23
- "@uniformdev/files": "19.109.1-alpha.0+d14ca8a09",
24
- "@uniformdev/project-map": "19.109.1-alpha.0+d14ca8a09",
25
- "@uniformdev/redirect": "19.109.1-alpha.0+d14ca8a09",
20
+ "@uniformdev/assets": "19.112.0",
21
+ "@uniformdev/canvas": "19.112.0",
22
+ "@uniformdev/context": "19.112.0",
23
+ "@uniformdev/files": "19.112.0",
24
+ "@uniformdev/project-map": "19.112.0",
25
+ "@uniformdev/redirect": "19.112.0",
26
26
  "call-bind": "^1.0.2",
27
27
  "colorette": "2.0.20",
28
28
  "cosmiconfig": "8.3.6",
@@ -69,5 +69,5 @@
69
69
  "publishConfig": {
70
70
  "access": "public"
71
71
  },
72
- "gitHead": "d14ca8a09847ebe49f053958ed3c3d27492f764c"
72
+ "gitHead": "9b19186355f37ca26ab16abf7913381e529cc1f2"
73
73
  }