@uniformdev/cli 19.88.1-alpha.7 → 19.90.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 +15 -6
  2. package/package.json +8 -8
package/dist/index.mjs CHANGED
@@ -831,7 +831,7 @@ var extractAndUploadUniformFilesForObject = async (object, options) => {
831
831
  }
832
832
  const fileBuffer = await fsj.readAsync(expectedFilePath, "buffer");
833
833
  if (!fileBuffer) {
834
- console.warn(`Skipping file ${url} as we couldn't read it`);
834
+ console.warn(`Skipping file ${url} (${expectedFilePath}) as we couldn't read it`);
835
835
  return;
836
836
  }
837
837
  const fileName = getFileNameFromUrl(url);
@@ -863,7 +863,7 @@ var extractAndUploadUniformFilesForObject = async (object, options) => {
863
863
  }
864
864
  });
865
865
  if (!uploadResponse.ok) {
866
- console.warn(`Failed to upload file ${url}`);
866
+ console.warn(`Failed to upload file ${url} (${expectedFilePath})`);
867
867
  return;
868
868
  }
869
869
  const checkForFile = async () => {
@@ -875,7 +875,7 @@ var extractAndUploadUniformFilesForObject = async (object, options) => {
875
875
  return file2.url;
876
876
  };
877
877
  const abortTimeout = setTimeout(() => {
878
- throw new Error(`Failed to upload file ${url} (upload timed out)`);
878
+ throw new Error(`Failed to upload file ${url} (${expectedFilePath}) - upload timed out`);
879
879
  }, 3e4);
880
880
  const uploadedFileUrl = await checkForFile();
881
881
  clearTimeout(abortTimeout);
@@ -3174,7 +3174,9 @@ var EntryGetModule = {
3174
3174
  offset: 0,
3175
3175
  limit: 1,
3176
3176
  entryIDs: [id],
3177
- skipOverridesResolution: true
3177
+ skipOverridesResolution: true,
3178
+ skipPatternResolution: true,
3179
+ skipDataResolution: true
3178
3180
  });
3179
3181
  if (res.entries.length !== 1) {
3180
3182
  throw new Error(`Entry with ID ${id} not found`);
@@ -3192,7 +3194,13 @@ var EntryListModule = {
3192
3194
  handler: async ({ apiHost, apiKey, proxy, format, filename, project: projectId }) => {
3193
3195
  const fetch3 = nodeFetchProxy(proxy);
3194
3196
  const client = new ContentClient8({ apiKey, apiHost, fetch: fetch3, projectId, bypassCache: true });
3195
- const res = await client.getEntries({ offset: 0, limit: 1e3, skipOverridesResolution: true });
3197
+ const res = await client.getEntries({
3198
+ offset: 0,
3199
+ limit: 1e3,
3200
+ skipOverridesResolution: true,
3201
+ skipPatternResolution: true,
3202
+ skipDataResolution: true
3203
+ });
3196
3204
  emitWithFormat(res.entries, format, filename);
3197
3205
  }
3198
3206
  };
@@ -3220,6 +3228,7 @@ function createEntryEngineDataSource({
3220
3228
  limit: 1e3,
3221
3229
  skipDataResolution: true,
3222
3230
  skipOverridesResolution: true,
3231
+ skipPatternResolution: true,
3223
3232
  state: stateId,
3224
3233
  withComponentIDs: true
3225
3234
  });
@@ -5823,7 +5832,7 @@ import { PostHog } from "posthog-node";
5823
5832
  // package.json
5824
5833
  var package_default = {
5825
5834
  name: "@uniformdev/cli",
5826
- version: "19.88.0",
5835
+ version: "19.90.0",
5827
5836
  description: "Uniform command line interface tool",
5828
5837
  license: "SEE LICENSE IN LICENSE.txt",
5829
5838
  main: "./cli.js",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniformdev/cli",
3
- "version": "19.88.1-alpha.7+69b3ccba4",
3
+ "version": "19.90.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.88.1-alpha.7+69b3ccba4",
21
- "@uniformdev/canvas": "19.88.1-alpha.7+69b3ccba4",
22
- "@uniformdev/context": "19.88.1-alpha.7+69b3ccba4",
23
- "@uniformdev/files": "19.88.1-alpha.7+69b3ccba4",
24
- "@uniformdev/project-map": "19.88.1-alpha.7+69b3ccba4",
25
- "@uniformdev/redirect": "19.88.1-alpha.7+69b3ccba4",
20
+ "@uniformdev/assets": "19.90.0",
21
+ "@uniformdev/canvas": "19.90.0",
22
+ "@uniformdev/context": "19.90.0",
23
+ "@uniformdev/files": "19.90.0",
24
+ "@uniformdev/project-map": "19.90.0",
25
+ "@uniformdev/redirect": "19.90.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": "69b3ccba4050c4ff412c4f226f54a36d74cf9a39"
72
+ "gitHead": "5fcbc2f570abedb01f09730eb986f024429e2422"
73
73
  }