@wix/create-headless-site 0.0.13 → 0.0.14

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/build/index.js CHANGED
@@ -79500,7 +79500,8 @@ var CliUserErrorCode = (0, import_variant11.variant)({
79500
79500
  ProjectIsAlreadyLinked: {},
79501
79501
  ProjectIsNotLinkable: {},
79502
79502
  MissingPresetCssForSiteComponent: (0, import_variant11.fields)(),
79503
- AppInstallerSiteNotFound: (0, import_variant11.fields)()
79503
+ AppInstallerSiteNotFound: (0, import_variant11.fields)(),
79504
+ EAccessPermissionDenied: {}
79504
79505
  });
79505
79506
  var CliErrorCode = (0, import_variant11.variant)({
79506
79507
  ...CliSystemErrorCode,
@@ -90365,6 +90366,15 @@ ${errorMessage}`
90365
90366
  }
90366
90367
  );
90367
90368
  },
90369
+ EAccessPermissionDenied: () => {
90370
+ return () => /* @__PURE__ */ import_react78.default.createElement(
90371
+ ErrorMessage,
90372
+ {
90373
+ message: `Wix CLI doesn't have enough permission to modify files.`,
90374
+ cause
90375
+ }
90376
+ );
90377
+ },
90368
90378
  FailedToCreateShareUrl: () => {
90369
90379
  return () => /* @__PURE__ */ import_react78.default.createElement(SystemErrorMessage, { message: "Failed to create preview URL." });
90370
90380
  },
@@ -93888,14 +93898,14 @@ function wixCliCliError(params) {
93888
93898
  var package_default = {
93889
93899
  name: "@wix/create-headless-site",
93890
93900
  description: "Headless site creation wizard",
93891
- version: "0.0.13",
93901
+ version: "0.0.14",
93892
93902
  bin: "bin/index.cjs",
93893
93903
  devDependencies: {
93894
93904
  "@commander-js/extra-typings": "^13.0.0",
93895
93905
  "@types/react": "^18.3.3",
93896
93906
  "@types/semver": "^7.5.8",
93897
93907
  "@types/validate-npm-package-name": "^4.0.2",
93898
- "@wix/ambassador-funnel-projects-v1-project": "^1.0.8",
93908
+ "@wix/ambassador-funnel-projects-v1-project": "^1.0.9",
93899
93909
  "@wix/backend-as-a-service-client": "workspace:*",
93900
93910
  "@wix/bi-logger-dev-tools-data": "^1.116.0",
93901
93911
  "@wix/cli-astro-definitions": "workspace:*",
@@ -96596,7 +96606,26 @@ init_esm_shims();
96596
96606
  var _createProjectRequest = {};
96597
96607
  var _createProjectResponse = {};
96598
96608
  function resolveWixApiFunnelProjectProjectsServiceUrl(opts) {
96599
- var domainToMappings = {};
96609
+ var domainToMappings = {
96610
+ "www.wixapis.com": [
96611
+ {
96612
+ srcPath: "/funnel/projects",
96613
+ destPath: ""
96614
+ }
96615
+ ],
96616
+ "*.dev.wix-code.com": [
96617
+ {
96618
+ srcPath: "/_api/funnel-projects-service",
96619
+ destPath: ""
96620
+ }
96621
+ ],
96622
+ _: [
96623
+ {
96624
+ srcPath: "/_api/funnel-projects-service",
96625
+ destPath: ""
96626
+ }
96627
+ ]
96628
+ };
96600
96629
  return resolveUrl(Object.assign(opts, { domainToMappings }));
96601
96630
  }
96602
96631
  function createProject(payload5) {