@uniformdev/cli 19.203.0 → 19.204.1-alpha.2

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.
@@ -5,7 +5,7 @@ var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require
5
5
  throw Error('Dynamic require of "' + x + '" is not supported');
6
6
  });
7
7
 
8
- // ../../node_modules/.pnpm/tsup@8.2.4_@microsoft+api-extractor@7.43.2_tsx@4.17.0_typescript@5.5.4/node_modules/tsup/assets/esm_shims.js
8
+ // ../../node_modules/.pnpm/tsup@8.3.0_@microsoft+api-extractor@7.43.2_postcss@8.4.47_tsx@4.19.2_typescript@5.6.3/node_modules/tsup/assets/esm_shims.js
9
9
  import { fileURLToPath } from "url";
10
10
  import path from "path";
11
11
  var getFilename = () => fileURLToPath(import.meta.url);
@@ -91,7 +91,7 @@ function nodeFetchProxy(proxy, verbose) {
91
91
  } else {
92
92
  message = responseText;
93
93
  }
94
- } catch (e) {
94
+ } catch {
95
95
  message = responseText;
96
96
  }
97
97
  } catch {
@@ -283,10 +283,10 @@ var getDirectoryOrFilename = ({
283
283
  defaultEntityFolderName = entityType
284
284
  }) => {
285
285
  if (config.entitiesConfig[entityType]?.[operation]?.directory) {
286
- return config.entitiesConfig[entityType]?.[operation]?.directory;
286
+ return config.entitiesConfig[entityType][operation].directory;
287
287
  }
288
288
  if (config.entitiesConfig[entityType]?.directory) {
289
- return config.entitiesConfig[entityType]?.directory;
289
+ return config.entitiesConfig[entityType].directory;
290
290
  }
291
291
  const isPackage = isPathAPackageFile(config.directory);
292
292
  if (isPackage) {
@@ -1,4 +1,4 @@
1
- import "./chunk-KSB3SFPP.mjs";
1
+ import "./chunk-AYA6VF2S.mjs";
2
2
 
3
3
  // src/sync/allSerializableEntitiesConfig.ts
4
4
  var allSerializableEntitiesConfig = {
package/dist/index.mjs CHANGED
@@ -16,7 +16,7 @@ import {
16
16
  withFormatOptions,
17
17
  withProjectOptions,
18
18
  withTeamOptions
19
- } from "./chunk-KSB3SFPP.mjs";
19
+ } from "./chunk-AYA6VF2S.mjs";
20
20
 
21
21
  // src/index.ts
22
22
  import * as dotenv from "dotenv";
@@ -8378,7 +8378,7 @@ import { PostHog } from "posthog-node";
8378
8378
  // package.json
8379
8379
  var package_default = {
8380
8380
  name: "@uniformdev/cli",
8381
- version: "19.203.0",
8381
+ version: "19.204.0",
8382
8382
  description: "Uniform command line interface tool",
8383
8383
  license: "SEE LICENSE IN LICENSE.txt",
8384
8384
  main: "./cli.js",
@@ -8434,7 +8434,7 @@ var package_default = {
8434
8434
  "registry-auth-token": "^5.0.0",
8435
8435
  "registry-url": "^6.0.0",
8436
8436
  slugify: "1.6.6",
8437
- undici: "^6.10.1",
8437
+ undici: "^6.20.1",
8438
8438
  yargs: "^17.6.2",
8439
8439
  zod: "3.23.8"
8440
8440
  },
@@ -8444,7 +8444,7 @@ var package_default = {
8444
8444
  "@types/js-yaml": "4.0.9",
8445
8445
  "@types/jsonwebtoken": "9.0.5",
8446
8446
  "@types/lodash.isequalwith": "4.4.9",
8447
- "@types/node": "20.10.6",
8447
+ "@types/node": "22.7.8",
8448
8448
  "@types/yargs": "17.0.32"
8449
8449
  },
8450
8450
  bin: {
@@ -10599,7 +10599,6 @@ var SyncPullModule = {
10599
10599
  contentType: ContentTypePullModule,
10600
10600
  previewUrl: PreviewUrlPullModule,
10601
10601
  previewViewport: PreviewViewportPullModule
10602
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
10603
10602
  }).filter(([entityType]) => {
10604
10603
  return Boolean(config2.entitiesConfig?.[entityType]) && config2.entitiesConfig?.[entityType]?.disabled !== true && config2.entitiesConfig?.[entityType]?.pull?.disabled !== true;
10605
10604
  });
@@ -10636,7 +10635,7 @@ var SyncPullModule = {
10636
10635
  }
10637
10636
  }
10638
10637
  );
10639
- } catch (e) {
10638
+ } catch {
10640
10639
  process.exit(1);
10641
10640
  }
10642
10641
  }
@@ -10698,7 +10697,6 @@ var SyncPushModule = {
10698
10697
  entryPattern: EntryPatternPushModule,
10699
10698
  previewUrl: PreviewUrlPushModule,
10700
10699
  previewViewport: PreviewViewportPushModule
10701
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
10702
10700
  }).filter(([entityType]) => {
10703
10701
  return Boolean(config2.entitiesConfig?.[entityType]) && config2.entitiesConfig?.[entityType]?.disabled !== true && config2.entitiesConfig?.[entityType]?.push?.disabled !== true;
10704
10702
  });
@@ -10731,7 +10729,7 @@ var SyncPushModule = {
10731
10729
  }
10732
10730
  }
10733
10731
  );
10734
- } catch (e) {
10732
+ } catch {
10735
10733
  process.exit(1);
10736
10734
  }
10737
10735
  }
@@ -10976,7 +10974,7 @@ async function tryReadJSON(path4, missingValue = null) {
10976
10974
  try {
10977
10975
  const stat = await fs6.stat(path4);
10978
10976
  return stat.isFile() ? await readJSON(path4) : missingValue;
10979
- } catch (e) {
10977
+ } catch {
10980
10978
  return missingValue;
10981
10979
  }
10982
10980
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniformdev/cli",
3
- "version": "19.203.0",
3
+ "version": "19.204.1-alpha.2+0262cf78a6",
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.203.0",
31
- "@uniformdev/canvas": "19.203.0",
32
- "@uniformdev/context": "19.203.0",
33
- "@uniformdev/files": "19.203.0",
34
- "@uniformdev/project-map": "19.203.0",
35
- "@uniformdev/redirect": "19.203.0",
30
+ "@uniformdev/assets": "19.204.1-alpha.2+0262cf78a6",
31
+ "@uniformdev/canvas": "19.204.1-alpha.2+0262cf78a6",
32
+ "@uniformdev/context": "19.204.1-alpha.2+0262cf78a6",
33
+ "@uniformdev/files": "19.204.1-alpha.2+0262cf78a6",
34
+ "@uniformdev/project-map": "19.204.1-alpha.2+0262cf78a6",
35
+ "@uniformdev/redirect": "19.204.1-alpha.2+0262cf78a6",
36
36
  "call-bind": "^1.0.2",
37
37
  "colorette": "2.0.20",
38
38
  "cosmiconfig": "9.0.0",
@@ -56,7 +56,7 @@
56
56
  "registry-auth-token": "^5.0.0",
57
57
  "registry-url": "^6.0.0",
58
58
  "slugify": "1.6.6",
59
- "undici": "^6.10.1",
59
+ "undici": "^6.20.1",
60
60
  "yargs": "^17.6.2",
61
61
  "zod": "3.23.8"
62
62
  },
@@ -66,7 +66,7 @@
66
66
  "@types/js-yaml": "4.0.9",
67
67
  "@types/jsonwebtoken": "9.0.5",
68
68
  "@types/lodash.isequalwith": "4.4.9",
69
- "@types/node": "20.10.6",
69
+ "@types/node": "22.7.8",
70
70
  "@types/yargs": "17.0.32"
71
71
  },
72
72
  "bin": {
@@ -78,5 +78,5 @@
78
78
  "publishConfig": {
79
79
  "access": "public"
80
80
  },
81
- "gitHead": "fd2dc597c7909df1e00d9a0eb307ffac2ff72991"
81
+ "gitHead": "0262cf78a6bd7179419e2e1505c1a985fd1103de"
82
82
  }