zephyr-edge-contract 0.0.26 → 0.0.28

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 (102) hide show
  1. package/dist/index.d.ts +9 -22
  2. package/dist/index.js +24 -45
  3. package/dist/index.js.map +1 -1
  4. package/dist/lib/api-contract-negotiation/get-api-contract.js +1 -0
  5. package/dist/lib/api-contract-negotiation/get-api-contract.js.map +1 -1
  6. package/dist/lib/edge-api/publish-request.d.ts +1 -1
  7. package/dist/lib/plugin-options/{zephyr-plugin-options.js → zephyr-webpack-plugin-options.js} +1 -1
  8. package/dist/lib/plugin-options/zephyr-webpack-plugin-options.js.map +1 -0
  9. package/dist/lib/promise/index.d.ts +29 -0
  10. package/dist/lib/promise/index.js +63 -0
  11. package/dist/lib/promise/index.js.map +1 -0
  12. package/dist/lib/snapshot.js +1 -0
  13. package/dist/lib/snapshot.js.map +1 -1
  14. package/dist/lib/{utils → string}/string.d.ts +6 -2
  15. package/dist/lib/{utils → string}/string.js +2 -1
  16. package/dist/lib/string/string.js.map +1 -0
  17. package/dist/lib/{utils → string}/strip-ansi.d.ts +2 -1
  18. package/dist/lib/{utils → string}/strip-ansi.js +2 -1
  19. package/dist/lib/string/strip-ansi.js.map +1 -0
  20. package/dist/lib/utils/{create-application-u-i-d.d.ts → create-application-uid.d.ts} +1 -1
  21. package/dist/lib/utils/{create-application-u-i-d.js → create-application-uid.js} +5 -6
  22. package/dist/lib/utils/create-application-uid.js.map +1 -0
  23. package/dist/lib/utils/create-snapshot-id.d.ts +7 -0
  24. package/dist/lib/utils/create-snapshot-id.js +18 -4
  25. package/dist/lib/utils/create-snapshot-id.js.map +1 -1
  26. package/dist/lib/utils/safe-json-parse.js.map +1 -1
  27. package/dist/lib/ze-api/local-package-json.d.ts +4 -4
  28. package/dist/lib/ze-api/local-package-json.js +4 -4
  29. package/dist/lib/zephyr-build-stats.d.ts +58 -39
  30. package/dist/lib/zephyr-build-stats.js +1 -0
  31. package/dist/lib/zephyr-build-stats.js.map +1 -1
  32. package/dist/lib/zephyr-edge-contract.d.ts +18 -40
  33. package/dist/lib/zephyr-edge-contract.js +1 -0
  34. package/dist/lib/zephyr-edge-contract.js.map +1 -1
  35. package/dist/package.json +6 -8
  36. package/package.json +6 -8
  37. package/dist/lib/errors/codes.d.ts +0 -282
  38. package/dist/lib/errors/codes.js +0 -371
  39. package/dist/lib/errors/codes.js.map +0 -1
  40. package/dist/lib/errors/index.d.ts +0 -2
  41. package/dist/lib/errors/index.js +0 -6
  42. package/dist/lib/errors/index.js.map +0 -1
  43. package/dist/lib/errors/zephyr.d.ts +0 -473
  44. package/dist/lib/errors/zephyr.js +0 -153
  45. package/dist/lib/errors/zephyr.js.map +0 -1
  46. package/dist/lib/node-persist/app-deploy-result-cache.d.ts +0 -7
  47. package/dist/lib/node-persist/app-deploy-result-cache.js +0 -26
  48. package/dist/lib/node-persist/app-deploy-result-cache.js.map +0 -1
  49. package/dist/lib/node-persist/application-configuration.d.ts +0 -4
  50. package/dist/lib/node-persist/application-configuration.js +0 -29
  51. package/dist/lib/node-persist/application-configuration.js.map +0 -1
  52. package/dist/lib/node-persist/fs-cache.d.ts +0 -3
  53. package/dist/lib/node-persist/fs-cache.js +0 -26
  54. package/dist/lib/node-persist/fs-cache.js.map +0 -1
  55. package/dist/lib/node-persist/hash-cache.d.ts +0 -7
  56. package/dist/lib/node-persist/hash-cache.js +0 -26
  57. package/dist/lib/node-persist/hash-cache.js.map +0 -1
  58. package/dist/lib/node-persist/partial-assets-map.d.ts +0 -4
  59. package/dist/lib/node-persist/partial-assets-map.js +0 -31
  60. package/dist/lib/node-persist/partial-assets-map.js.map +0 -1
  61. package/dist/lib/node-persist/secret-token.d.ts +0 -2
  62. package/dist/lib/node-persist/secret-token.js +0 -13
  63. package/dist/lib/node-persist/secret-token.js.map +0 -1
  64. package/dist/lib/node-persist/storage-keys.d.ts +0 -10
  65. package/dist/lib/node-persist/storage-keys.js +0 -15
  66. package/dist/lib/node-persist/storage-keys.js.map +0 -1
  67. package/dist/lib/node-persist/token.d.ts +0 -4
  68. package/dist/lib/node-persist/token.js +0 -36
  69. package/dist/lib/node-persist/token.js.map +0 -1
  70. package/dist/lib/node-persist/upload-provider-options.d.ts +0 -21
  71. package/dist/lib/node-persist/upload-provider-options.js +0 -13
  72. package/dist/lib/node-persist/upload-provider-options.js.map +0 -1
  73. package/dist/lib/plugin-options/zephyr-plugin-options.js.map +0 -1
  74. package/dist/lib/utils/clean-stack.d.ts +0 -7
  75. package/dist/lib/utils/clean-stack.js +0 -44
  76. package/dist/lib/utils/clean-stack.js.map +0 -1
  77. package/dist/lib/utils/create-application-u-i-d.js.map +0 -1
  78. package/dist/lib/utils/debug-enabled.d.ts +0 -1
  79. package/dist/lib/utils/debug-enabled.js +0 -9
  80. package/dist/lib/utils/debug-enabled.js.map +0 -1
  81. package/dist/lib/utils/debug.d.ts +0 -22
  82. package/dist/lib/utils/debug.js +0 -36
  83. package/dist/lib/utils/debug.js.map +0 -1
  84. package/dist/lib/utils/error-codes-messages.d.ts +0 -206
  85. package/dist/lib/utils/error-codes-messages.js +0 -203
  86. package/dist/lib/utils/error-codes-messages.js.map +0 -1
  87. package/dist/lib/utils/error-formatted-message.d.ts +0 -5
  88. package/dist/lib/utils/error-formatted-message.js +0 -36
  89. package/dist/lib/utils/error-formatted-message.js.map +0 -1
  90. package/dist/lib/utils/picocolor.d.ts +0 -43
  91. package/dist/lib/utils/picocolor.js +0 -85
  92. package/dist/lib/utils/picocolor.js.map +0 -1
  93. package/dist/lib/utils/promise.d.ts +0 -12
  94. package/dist/lib/utils/promise.js +0 -29
  95. package/dist/lib/utils/promise.js.map +0 -1
  96. package/dist/lib/utils/string.js.map +0 -1
  97. package/dist/lib/utils/strip-ansi.js.map +0 -1
  98. package/dist/lib/utils/ze-http-request.d.ts +0 -19
  99. package/dist/lib/utils/ze-http-request.js +0 -157
  100. package/dist/lib/utils/ze-http-request.js.map +0 -1
  101. package/test/utils/string.test.ts +0 -96
  102. /package/dist/lib/plugin-options/{zephyr-plugin-options.d.ts → zephyr-webpack-plugin-options.d.ts} +0 -0
@@ -1,371 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.isZeErrorEqual = exports.ZeErrors = exports.ZeErrorCategories = void 0;
4
- /** Categories for all error codes. */
5
- exports.ZeErrorCategories = {
6
- /** Error we have yet catched and known */
7
- unknown: '00',
8
- /** Stage 0 build error */
9
- build: '10',
10
- /** Stage 1 Deployment error */
11
- deploy: '20',
12
- /** Browser error */
13
- browser: '30',
14
- /** Module Federation/Config related error */
15
- config: '40',
16
- };
17
- /**
18
- * A collection of error types and the error code during local/build stage
19
- *
20
- * If you are searching for an error globally, if it is a build related error, it starts with `ZE10`, if it's a deployment related error,
21
- * search for `ZE20` and then followed with their ID.
22
- *
23
- * - `ZE` at the front is a constant
24
- * - Two digits at the middle PP (`10` for build error or `20` for deployment error) is their categories,
25
- * - Last three digits is their ID.
26
- *
27
- * For example, if you have a `SNAPSHOT_NOT_FOUND` error, search for `ZE20023`, if you see an error showing up on terminal or application,
28
- * the last three numbers are their IDs. We might extend to have more errors in the future.
29
- */
30
- exports.ZeErrors = {
31
- ERR_UNKNOWN: {
32
- id: '000',
33
- message: `
34
- Unknown error: {{ message }}
35
-
36
- `,
37
- kind: 'unknown',
38
- },
39
- /** Package.json not found error */
40
- // TODO: this error is less likely to happen
41
- ERR_PACKAGE_JSON_NOT_FOUND: {
42
- id: '010',
43
- message: 'package.json not found',
44
- kind: 'build',
45
- },
46
- /** Package.json is not in a valid json format */
47
- ERR_PACKAGE_JSON_NOT_VALID: {
48
- id: '011',
49
- message: 'Package.json is not in a valid json format.',
50
- kind: 'build',
51
- },
52
- /** Webpack config error */
53
- ERR_WEBPACK_CONFIG: {
54
- id: '012',
55
- message: 'Webpack config error.',
56
- kind: 'build',
57
- },
58
- ERR_PACKAGE_JSON_MUST_HAVE_NAME_VERSION: {
59
- id: '013',
60
- message: 'Zephyr need package.json to have name and version field to map your application configuration in deployment. Please ensure these fields exists in your package.json.',
61
- kind: 'build',
62
- },
63
- ERR_GIT_REMOTE_ORIGIN: {
64
- id: '014',
65
- message: `
66
- Could not detect a git remote called 'origin'. This is required for Zephyr to work properly.
67
-
68
- Please set the git remote origin by running the following command:
69
-
70
- \`\`\`sh
71
- git init
72
- git remote add origin <url>
73
- \`\`\`
74
- `,
75
- kind: 'build',
76
- },
77
- /** Git username or email is not configured. */
78
- ERR_NO_GIT_USERNAME_EMAIL: {
79
- id: '015',
80
- message: `
81
- Git username or email is not configured:
82
- - please set valid 'git config user.name' and 'git config user.email'
83
- - or provide ZE_USER_TOKEN as environment variable
84
- `,
85
- kind: 'build',
86
- },
87
- /** Could not get git info */
88
- ERR_NO_GIT_INFO: {
89
- id: '016',
90
- message: `
91
-
92
- Failed to load git information:
93
-
94
- {{ message }}
95
-
96
- `,
97
- kind: 'build',
98
- },
99
- /** Build error application_uid missing. */
100
- ERR_MISSING_APPLICATION_UID: {
101
- id: '017',
102
- message: '`application_uid` missing.',
103
- kind: 'build',
104
- },
105
- /** Auth error */
106
- ERR_AUTH_ERROR: {
107
- id: '018',
108
- message: `
109
- Failed to authenticate with Zephyr.
110
-
111
- Please make sure you have a valid Zephyr account and you are logged in.
112
-
113
- {{ message }}
114
- `,
115
- kind: 'build',
116
- },
117
- ERR_GET_BUILD_ID: {
118
- id: '019',
119
- message: `
120
- Could not generate Build ID. Ensure you meet the following requirements:
121
-
122
- 1. Your Zephyr Account ({{ username }}) has write access to {{ application_uid }}
123
- 2. You own the repository or is a collaborator with write access.
124
- 3. This repository has commit history and has a proper git remote origin url.
125
-
126
- When trying out public examples, make sure to fork the repository to your account so you can have write access.
127
-
128
- `,
129
- kind: 'build',
130
- },
131
- /** Could not initialize Zephyr Agent. */
132
- ERR_INITIALIZE_ZEPHYR_AGENT: {
133
- id: '020',
134
- message: 'Could not initialize Zephyr Agent.',
135
- kind: 'build',
136
- },
137
- /** Cloudflare specific error */
138
- ERR_UNABLE_CREATE_DIST_FOLDER: {
139
- id: '021',
140
- message: 'Error creating dist folder.',
141
- kind: 'build',
142
- },
143
- /** Auth forbidden error */
144
- ERR_AUTH_FORBIDDEN_ERROR: {
145
- id: '022',
146
- message: `
147
- User not allowed to access the requested resource.
148
-
149
- Please make sure you are logged in with the correct Zephyr account.
150
-
151
- {{ message }}
152
- `,
153
- kind: 'build',
154
- },
155
- /** Deployment error, assets not found */
156
- ERR_ASSETS_NOT_FOUND: {
157
- id: '010',
158
- message: 'Assets not found.',
159
- kind: 'deploy',
160
- },
161
- /** Assets not found in snapshot */
162
- ERR_ASSETS_NOT_FOUND_IN_SNAPSHOT: {
163
- id: '011',
164
- message: 'Assets not found in snapshot.',
165
- kind: 'deploy',
166
- },
167
- /** Application_uid missing */
168
- ERR_DEPLOY_MISSING_APPLICATION_UID: {
169
- id: '012',
170
- message: '`application_uid` is required.',
171
- kind: 'deploy',
172
- },
173
- ERR_MISSING_FILE_HASH: {
174
- id: '013',
175
- message: 'Missing file hash.',
176
- kind: 'deploy',
177
- },
178
- /** Failed to load application configuration. */
179
- ERR_LOAD_APP_CONFIG: {
180
- id: '014',
181
- message: `
182
-
183
- Failed to load Application Configuration for {{ application_uid }}.
184
-
185
- Try to remove ~/.zephyr folder and try again.
186
-
187
- `,
188
- kind: 'deploy',
189
- },
190
- /** Did not receive envs from build stats upload */
191
- ERR_NOT_RECEIVE_ENVS_FROM_BUILD_STATS: {
192
- id: '016',
193
- message: 'Did not receive envs from build stats upload.',
194
- kind: 'deploy',
195
- },
196
- /** Failed to upload assets. */
197
- ERR_FAILED_UPLOAD: {
198
- id: '017',
199
- message: `
200
-
201
- Could not upload {{ type }} to your Edge Provider. This error will affect your tags and environments and it might fail deployments to custom domains.
202
-
203
- Please check your network connection and try again.
204
-
205
- `,
206
- kind: 'deploy',
207
- },
208
- /** Snapshot uploads gave no results. */
209
- ERR_SNAPSHOT_UPLOADS_NO_RESULTS: {
210
- id: '019',
211
- message: 'Snapshot uploads gave no results.',
212
- kind: 'deploy',
213
- },
214
- /** Failed to get application hash list */
215
- ERR_GET_APPLICATION_HASH_LIST: {
216
- id: '020',
217
- message: 'Failed to get application hash list.',
218
- kind: 'deploy',
219
- },
220
- ERR_SNAPSHOT_ID_NOT_FOUND: {
221
- id: '022',
222
- message: '`snapshot_id` not found.',
223
- kind: 'deploy',
224
- },
225
- ERR_SNAPSHOT_NOT_FOUND: {
226
- id: '023',
227
- message: 'Snapshot not found.',
228
- kind: 'deploy',
229
- },
230
- ERR_DEPLOY_LOCAL_BUILD: {
231
- id: '024',
232
- message: 'Failed to deploy local build.',
233
- kind: 'deploy',
234
- },
235
- /** Cloudflare specific error */
236
- ERR_WRANGLER_DEPENDENCY: {
237
- id: '025',
238
- message: 'Wrangler dependency is needed for Cloudflare deployment. Please install dependencies without --no-optional flag.',
239
- kind: 'deploy',
240
- },
241
- ERR_CONVERT_GRAPH_TO_DASHBOARD: {
242
- id: '026',
243
- message: `
244
- Failed to convert federation configuration to needed information. We are reading your Module Federation configuration to understand your shared dependencies:
245
-
246
- - host application's name
247
- - remote application's name
248
- - shared dependencies.
249
-
250
- Please refer to the official Module Federation guide https://module-federation.io/configure/index.html to make sure your have required inputs.
251
- `,
252
- kind: 'browser',
253
- },
254
- ERR_UPLOAD_TO_CLOUDFLARE_PAGES: {
255
- id: '027',
256
- message: 'Error upload to Cloudflare pages.',
257
- kind: 'deploy',
258
- },
259
- ERR_USER_IDENTITY: {
260
- id: '036',
261
- message: `
262
- Git username or email is not configured
263
- - please set valid 'git config user.name' and 'git config user.email'
264
- - or provide ZE_USER_TOKEN as environment variable
265
- `,
266
- kind: 'deploy',
267
- },
268
- ERR_TLS_CERT_ALTNAME_INVALID: {
269
- id: '034',
270
- message: "You domain's TLS Certificate is invalid. Have you updated your domain settings with your Registrar?",
271
- kind: 'deploy',
272
- },
273
- ERR_HTTP_ERROR: {
274
- id: '035',
275
- message: `
276
-
277
- HTTP request for {{ method }} {{ url }} failed with status code {{ status }}.
278
-
279
- Please check your network connection and try again.
280
-
281
- {{ content }}
282
-
283
- `,
284
- kind: 'config',
285
- },
286
- ERR_NO_WRANGLER: {
287
- id: '028',
288
- message: `Wrangler is not installed. It's needed for Cloudflare deployment. Please install dependencies without --no-optional flag.`,
289
- kind: 'build',
290
- },
291
- ERR_CREATE_DIST_FOLDER: {
292
- id: '029',
293
- message: `Error on creating dist folder. Zephyr is unable to create dist folder for your application's configuration.`,
294
- kind: 'build',
295
- },
296
- /**
297
- * This case needs to be specific without a message as the server respond with 40*, so we will need to prioritize the server status code
298
- * and prints out the status
299
- *
300
- * @example
301
- * {
302
- * "statusCode": 401,
303
- * "timestamp": "2024-08-23T02:21:48.873Z",
304
- * "path": "/v2/builder-packages-api/application-config?application-uid=home-spa.federated_apps.zmzlois"
305
- * }
306
- */
307
- ERR_NO_RESPONSE_FOR_APP_CONFIG: {
308
- id: '030',
309
- message: 'Failed to load application configuration.',
310
- kind: 'build',
311
- },
312
- ERR_NO_JWT: {
313
- id: '031',
314
- message: `You don't have valid JWT token. Try to log out from the dashboard and log in again. https://app.zephyr-cloud.io`,
315
- kind: 'build',
316
- },
317
- ERR_JWT_INVALID: {
318
- id: '032',
319
- message: 'Your JWT token is invalid. Try to log out from the dashboard and log in again. https://app.zephyr-cloud.io',
320
- kind: 'build',
321
- },
322
- ERR_WEBSOCKET_CONNECTION: {
323
- id: '034',
324
- message: 'Websocket connection error during login.',
325
- kind: 'build',
326
- },
327
- ERR_GET_APP_CONFIG: {
328
- id: '035',
329
- message: 'Error when getting application configuration from API. Could not find application configuration. Please try again after removing ~/.zephyr folder.',
330
- kind: 'build',
331
- },
332
- ERR_GIT_COMMIT_HASH: {
333
- id: '036',
334
- message: 'Failed to get git commit hash. Can you make sure this git repository has commit history?',
335
- kind: 'build',
336
- },
337
- ERR_RESOLVE_REMOTES: {
338
- id: '001',
339
- message: `
340
- Please build {{ appUid }} with Zephyr first or add as Unmanaged applications.
341
-
342
- Note: you can read application uid as follows:
343
- - {{ appName }} - project.json 'name' field of remote application
344
- - {{ projectName }} - git repository name
345
- - {{ orgName }} - git organization name
346
-
347
- `,
348
- kind: 'config',
349
- },
350
- ERR_CANNOT_RESOLVE_APP_NAME_WITH_VERSION: {
351
- id: '003',
352
- message: `
353
- Is the remote application being built? We are not able to find your remote application based on application_uid and remote name in configuration.
354
- Note that we typically map your remote based on below values
355
-
356
- - git username
357
- - git repository name
358
- - name in package.json
359
- - name in micro-frontend configuration.
360
-
361
- We have a complete checklist for Micro-Frontend application configuration here: https://docs.zephyr-cloud.io/how-to/mf-guide
362
- `,
363
- kind: 'config',
364
- },
365
- };
366
- /** Ensures `a` and `b` are the same error type. */
367
- function isZeErrorEqual(a, b) {
368
- return a.id === b.id && a.kind === b.kind;
369
- }
370
- exports.isZeErrorEqual = isZeErrorEqual;
371
- //# sourceMappingURL=codes.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"codes.js","sourceRoot":"","sources":["../../../src/lib/errors/codes.ts"],"names":[],"mappings":";;;AAEA,sCAAsC;AACzB,QAAA,iBAAiB,GAAG;IAC/B,0CAA0C;IAC1C,OAAO,EAAE,IAAI;IACb,0BAA0B;IAC1B,KAAK,EAAE,IAAI;IACX,+BAA+B;IAC/B,MAAM,EAAE,IAAI;IACZ,oBAAoB;IACpB,OAAO,EAAE,IAAI;IACb,6CAA6C;IAC7C,MAAM,EAAE,IAAI;CAGb,CAAC;AAEF;;;;;;;;;;;;GAYG;AACU,QAAA,QAAQ,GAAG;IACtB,WAAW,EAAE;QACX,EAAE,EAAE,KAAK;QACT,OAAO,EAAE;;;CAGZ;QACG,IAAI,EAAE,SAAS;KAChB;IAED,mCAAmC;IACnC,4CAA4C;IAC5C,0BAA0B,EAAE;QAC1B,EAAE,EAAE,KAAK;QACT,OAAO,EAAE,wBAAwB;QACjC,IAAI,EAAE,OAAO;KACd;IAED,iDAAiD;IACjD,0BAA0B,EAAE;QAC1B,EAAE,EAAE,KAAK;QACT,OAAO,EAAE,6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BAAwB,EAAE;QACxB,EAAE,EAAE,KAAK;QACT,OAAO,EAAE,0CAA0C;QACnD,IAAI,EAAE,OAAO;KACd;IAED,kBAAkB,EAAE;QAClB,EAAE,EAAE,KAAK;QACT,OAAO,EACL,oJAAoJ;QACtJ,IAAI,EAAE,OAAO;KACd;IAED,mBAAmB,EAAE;QACnB,EAAE,EAAE,KAAK;QACT,OAAO,EAAE,0FAA0F;QACnG,IAAI,EAAE,OAAO;KACd;IAED,mBAAmB,EAAE;QACnB,EAAE,EAAE,KAAK;QACT,OAAO,EAAE;;;;;;;;CAQZ;QACG,IAAI,EAAE,QAAQ;KACf;IAED,wCAAwC,EAAE;QACxC,EAAE,EAAE,KAAK;QACT,OAAO,EAAE;;;;;;;;;;OAUN;QACH,IAAI,EAAE,QAAQ;KACf;CAUF,CAAC;AAiBF,mDAAmD;AACnD,SAAgB,cAAc,CAAC,CAAc,EAAE,CAAc;IAC3D,OAAO,CAAC,CAAC,EAAE,KAAK,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,IAAI,KAAK,CAAC,CAAC,IAAI,CAAC;AAC5C,CAAC;AAFD,wCAEC"}
@@ -1,2 +0,0 @@
1
- export * from './codes';
2
- export * from './zephyr';
@@ -1,6 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./codes"), exports);
5
- tslib_1.__exportStar(require("./zephyr"), exports);
6
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/lib/errors/index.ts"],"names":[],"mappings":";;;AAAA,kDAAwB;AACxB,mDAAyB"}