@orizm/cli 2.1.0 → 2.1.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.
- package/dist/cli.cjs +9 -9
- package/dist/cli.cjs.map +1 -1
- package/dist/cli.js +9 -9
- package/dist/cli.js.map +1 -1
- package/package.json +5 -4
package/dist/cli.js
CHANGED
|
@@ -328,6 +328,14 @@ var cmsGenerateCommand = new Command("generate").description("generate orizm cli
|
|
|
328
328
|
// src/cms/pull/command.ts
|
|
329
329
|
import { Command as Command2 } from "commander";
|
|
330
330
|
|
|
331
|
+
// ../internal-shared/dist/chunk-7BJEISQZ.js
|
|
332
|
+
function assertValidUrlOrigin(origin) {
|
|
333
|
+
const url = new URL(origin);
|
|
334
|
+
if (url.origin !== origin) {
|
|
335
|
+
throw new Error(`${origin} is not a valid URL origin`);
|
|
336
|
+
}
|
|
337
|
+
}
|
|
338
|
+
|
|
331
339
|
// ../../node_modules/.pnpm/openapi-fetch@0.13.5/node_modules/openapi-fetch/dist/index.js
|
|
332
340
|
var PATH_PARAM_RE = /\{[^{}]+\}/g;
|
|
333
341
|
var supportsRequestInitExt = () => {
|
|
@@ -769,15 +777,7 @@ function removeTrailingSlash(url) {
|
|
|
769
777
|
return url;
|
|
770
778
|
}
|
|
771
779
|
|
|
772
|
-
// ../
|
|
773
|
-
function assertValidUrlOrigin(origin) {
|
|
774
|
-
const url = new URL(origin);
|
|
775
|
-
if (url.origin !== origin) {
|
|
776
|
-
throw new Error(`${origin} is not a valid URL origin`);
|
|
777
|
-
}
|
|
778
|
-
}
|
|
779
|
-
|
|
780
|
-
// ../private-api-clients/src/dev-v2-api-client.ts
|
|
780
|
+
// ../internal-shared/dist/api-clients/dev-v2-api-client.js
|
|
781
781
|
function createDeveloperAPIv2Client({
|
|
782
782
|
serverOrigin = "",
|
|
783
783
|
fetch,
|