@uniformdev/cli 19.15.0 → 19.17.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 +24 -24
  2. package/package.json +7 -7
package/dist/index.mjs CHANGED
@@ -1919,11 +1919,11 @@ function createEnrichmentEngineDataSource({
1919
1919
  enrichment: object.object
1920
1920
  });
1921
1921
  const source = createEnrichmentValueEngineDataSource({
1922
- categoryId: object.id,
1922
+ categoryId: object.object.id,
1923
1923
  values: object.object.values
1924
1924
  });
1925
1925
  const target = createEnrichmentValueEngineDataSource({
1926
- categoryId: object.id,
1926
+ categoryId: object.object.id,
1927
1927
  values: ((_a = existingObject == null ? void 0 : existingObject.object) == null ? void 0 : _a.values) ?? [],
1928
1928
  client
1929
1929
  });
@@ -3097,7 +3097,7 @@ import { PostHog } from "posthog-node";
3097
3097
  // package.json
3098
3098
  var package_default = {
3099
3099
  name: "@uniformdev/cli",
3100
- version: "19.15.0",
3100
+ version: "19.17.0",
3101
3101
  description: "Uniform command line interface tool",
3102
3102
  license: "SEE LICENSE IN LICENSE.txt",
3103
3103
  main: "./cli.js",
@@ -3125,7 +3125,7 @@ var package_default = {
3125
3125
  graphql: "16.6.0",
3126
3126
  "graphql-request": "6.0.0",
3127
3127
  "https-proxy-agent": "^5.0.1",
3128
- inquirer: "9.2.5",
3128
+ inquirer: "9.2.6",
3129
3129
  "isomorphic-git": "1.21.0",
3130
3130
  "isomorphic-unfetch": "^3.1.0",
3131
3131
  "js-yaml": "^4.1.0",
@@ -3786,17 +3786,8 @@ async function newHandler({
3786
3786
  telemetry.send("framework picked", { frontendFramework });
3787
3787
  const starters = {
3788
3788
  next: {
3789
- helloWorld: {
3790
- name: "Hello World (Recommended)",
3791
- value: {
3792
- githubUri: "uniformdev/examples/examples/nextjs-starter",
3793
- serverUrl: "http://localhost:3000",
3794
- previewPath: "/api/preview?secret=hello-world",
3795
- installEnv: []
3796
- }
3797
- },
3798
3789
  csk: {
3799
- name: "Component Starter Kit *New*",
3790
+ name: "Component Starter Kit (Recommended)",
3800
3791
  value: {
3801
3792
  githubUri: "uniformdev/uniform-component-starter-kit",
3802
3793
  serverUrl: "http://localhost:3000",
@@ -3804,12 +3795,12 @@ async function newHandler({
3804
3795
  installEnv: [["UNIFORM_PREVIEW_SECRET", "hello-world"]]
3805
3796
  }
3806
3797
  },
3807
- uniformconf: {
3808
- name: "Marketing Site Starter",
3798
+ helloWorld: {
3799
+ name: "Hello World",
3809
3800
  value: {
3810
- githubUri: "uniformdev/uniformconf",
3801
+ githubUri: "uniformdev/examples/examples/nextjs-starter",
3811
3802
  serverUrl: "http://localhost:3000",
3812
- previewPath: "/api/preview?secret=uniformconf",
3803
+ previewPath: "/api/preview?secret=hello-world",
3813
3804
  installEnv: []
3814
3805
  }
3815
3806
  },
@@ -3821,6 +3812,15 @@ async function newHandler({
3821
3812
  previewPath: "/api/preview?secret=javadrip",
3822
3813
  installEnv: []
3823
3814
  }
3815
+ },
3816
+ uniformconf: {
3817
+ name: "Marketing Site Starter",
3818
+ value: {
3819
+ githubUri: "uniformdev/uniformconf",
3820
+ serverUrl: "http://localhost:3000",
3821
+ previewPath: "/api/preview?secret=uniformconf",
3822
+ installEnv: []
3823
+ }
3824
3824
  }
3825
3825
  },
3826
3826
  nuxt: {
@@ -4930,13 +4930,13 @@ function createRedirectDefinitionEngineDataSource({
4930
4930
  client
4931
4931
  }) {
4932
4932
  async function* getObjects() {
4933
- const { redirects } = await client.getRedirects();
4934
- for await (const def of redirects) {
4933
+ const redirects = client.getAllRedirects();
4934
+ for await (const redirect of redirects) {
4935
4935
  const result = {
4936
- id: selectIdentifier11(def.redirect),
4937
- displayName: selectDisplayName11(def.redirect),
4938
- providerId: selectIdentifier11(def.redirect),
4939
- object: def.redirect
4936
+ id: selectIdentifier11(redirect.redirect),
4937
+ displayName: selectDisplayName11(redirect.redirect),
4938
+ providerId: selectIdentifier11(redirect.redirect),
4939
+ object: redirect.redirect
4940
4940
  };
4941
4941
  yield result;
4942
4942
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniformdev/cli",
3
- "version": "19.15.0",
3
+ "version": "19.17.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.15.0",
20
- "@uniformdev/context": "19.15.0",
21
- "@uniformdev/project-map": "19.15.0",
22
- "@uniformdev/redirect": "19.15.0",
19
+ "@uniformdev/canvas": "19.17.0",
20
+ "@uniformdev/context": "19.17.0",
21
+ "@uniformdev/project-map": "19.17.0",
22
+ "@uniformdev/redirect": "19.17.0",
23
23
  "colorette": "2.0.20",
24
24
  "diff": "^5.0.0",
25
25
  "dotenv": "^16.0.3",
@@ -28,7 +28,7 @@
28
28
  "graphql": "16.6.0",
29
29
  "graphql-request": "6.0.0",
30
30
  "https-proxy-agent": "^5.0.1",
31
- "inquirer": "9.2.5",
31
+ "inquirer": "9.2.6",
32
32
  "isomorphic-git": "1.21.0",
33
33
  "isomorphic-unfetch": "^3.1.0",
34
34
  "js-yaml": "^4.1.0",
@@ -59,5 +59,5 @@
59
59
  "publishConfig": {
60
60
  "access": "public"
61
61
  },
62
- "gitHead": "f48353eea4cf921b6c9878c007de12a9da2ab885"
62
+ "gitHead": "ed86997d97cefd0d6849abdeb3bdf3737812ea01"
63
63
  }