@uniformdev/cli 19.165.1-alpha.0 → 19.166.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.
@@ -1,12 +1,11 @@
1
1
  var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
2
2
  get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
3
3
  }) : x)(function(x) {
4
- if (typeof require !== "undefined")
5
- return require.apply(this, arguments);
4
+ if (typeof require !== "undefined") return require.apply(this, arguments);
6
5
  throw Error('Dynamic require of "' + x + '" is not supported');
7
6
  });
8
7
 
9
- // ../../node_modules/.pnpm/tsup@8.0.2_@microsoft+api-extractor@7.43.2_postcss@8.4.38_typescript@5.3.3/node_modules/tsup/assets/esm_shims.js
8
+ // ../../node_modules/.pnpm/tsup@8.1.0_@microsoft+api-extractor@7.43.2_postcss@8.4.38_typescript@5.3.3/node_modules/tsup/assets/esm_shims.js
10
9
  import { fileURLToPath } from "url";
11
10
  import path from "path";
12
11
  var getFilename = () => fileURLToPath(import.meta.url);
@@ -1,4 +1,4 @@
1
- import "./chunk-2TESILZJ.mjs";
1
+ import "./chunk-DDTNSIMF.mjs";
2
2
 
3
3
  // src/sync/allSerializableEntitiesConfig.ts
4
4
  var allSerializableEntitiesConfig = {
package/dist/index.mjs CHANGED
@@ -15,7 +15,7 @@ import {
15
15
  withFormatOptions,
16
16
  withProjectOptions,
17
17
  withTeamOptions
18
- } from "./chunk-2TESILZJ.mjs";
18
+ } from "./chunk-DDTNSIMF.mjs";
19
19
 
20
20
  // src/index.ts
21
21
  import * as dotenv from "dotenv";
@@ -62,8 +62,7 @@ async function createArraySyncEngineDataSource({
62
62
  );
63
63
  async function* getObjects() {
64
64
  for (const item of Object.values(objectIndex)) {
65
- if (typeof item === "object")
66
- yield item;
65
+ if (typeof item === "object") yield item;
67
66
  }
68
67
  }
69
68
  function extractCurrent() {
@@ -242,8 +241,7 @@ async function syncEngine({
242
241
  const targetItems = /* @__PURE__ */ new Map();
243
242
  const deleteTracker = /* @__PURE__ */ new Set();
244
243
  const processDelete = async (object) => {
245
- if (deleteTracker.has(object))
246
- return;
244
+ if (deleteTracker.has(object)) return;
247
245
  deleteTracker.add(object);
248
246
  if (!whatIf) {
249
247
  try {
@@ -6902,7 +6900,7 @@ import { PostHog } from "posthog-node";
6902
6900
  // package.json
6903
6901
  var package_default = {
6904
6902
  name: "@uniformdev/cli",
6905
- version: "19.165.0",
6903
+ version: "19.166.1",
6906
6904
  description: "Uniform command line interface tool",
6907
6905
  license: "SEE LICENSE IN LICENSE.txt",
6908
6906
  main: "./cli.js",
@@ -6943,7 +6941,7 @@ var package_default = {
6943
6941
  dotenv: "^16.0.3",
6944
6942
  execa: "5.1.1",
6945
6943
  "fs-jetpack": "5.1.0",
6946
- graphql: "16.8.1",
6944
+ graphql: "16.9.0",
6947
6945
  "graphql-request": "6.1.0",
6948
6946
  "image-size": "^1.0.2",
6949
6947
  inquirer: "9.2.17",
@@ -9536,8 +9534,7 @@ var checkLocalDepsVersions = async (args) => {
9536
9534
  let isOutside = false;
9537
9535
  let warning = `${magenta("Warning:")} Installed Uniform packages should be the same version`;
9538
9536
  const localPackages = await tryReadJSON(join4(process.cwd(), "package.json"));
9539
- if (!localPackages)
9540
- return;
9537
+ if (!localPackages) return;
9541
9538
  let firstVersion;
9542
9539
  const allDependencies = {
9543
9540
  ...localPackages?.dependencies ?? {},
@@ -9557,8 +9554,7 @@ First found was: v${firstVersion}`;
9557
9554
  }
9558
9555
  }
9559
9556
  }
9560
- if (isOutside)
9561
- logCallout(warning);
9557
+ if (isOutside) logCallout(warning);
9562
9558
  } catch (e) {
9563
9559
  if (args.verbose) {
9564
9560
  console.warn(`There was an error validating the local project dependencies`, e);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniformdev/cli",
3
- "version": "19.165.1-alpha.0+f8f7ef22e4",
3
+ "version": "19.166.1",
4
4
  "description": "Uniform command line interface tool",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "main": "./cli.js",
@@ -27,12 +27,12 @@
27
27
  },
28
28
  "dependencies": {
29
29
  "@thi.ng/mime": "^2.2.23",
30
- "@uniformdev/assets": "19.165.1-alpha.0+f8f7ef22e4",
31
- "@uniformdev/canvas": "19.165.1-alpha.0+f8f7ef22e4",
32
- "@uniformdev/context": "19.165.1-alpha.0+f8f7ef22e4",
33
- "@uniformdev/files": "19.165.1-alpha.0+f8f7ef22e4",
34
- "@uniformdev/project-map": "19.165.1-alpha.0+f8f7ef22e4",
35
- "@uniformdev/redirect": "19.165.1-alpha.0+f8f7ef22e4",
30
+ "@uniformdev/assets": "19.166.1",
31
+ "@uniformdev/canvas": "19.166.1",
32
+ "@uniformdev/context": "19.166.1",
33
+ "@uniformdev/files": "19.166.1",
34
+ "@uniformdev/project-map": "19.166.1",
35
+ "@uniformdev/redirect": "19.166.1",
36
36
  "call-bind": "^1.0.2",
37
37
  "colorette": "2.0.20",
38
38
  "cosmiconfig": "9.0.0",
@@ -41,7 +41,7 @@
41
41
  "dotenv": "^16.0.3",
42
42
  "execa": "5.1.1",
43
43
  "fs-jetpack": "5.1.0",
44
- "graphql": "16.8.1",
44
+ "graphql": "16.9.0",
45
45
  "graphql-request": "6.1.0",
46
46
  "image-size": "^1.0.2",
47
47
  "inquirer": "9.2.17",
@@ -78,5 +78,5 @@
78
78
  "publishConfig": {
79
79
  "access": "public"
80
80
  },
81
- "gitHead": "f8f7ef22e4180653122a8f30f8c184acc8e5b25b"
81
+ "gitHead": "d6a92d76bb91fa41a51cf27a69d81e0cc985f80f"
82
82
  }