@shopify/cli-kit 0.31.0 → 0.31.3

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @shopify/cli-kit
2
2
 
3
+ ## 0.31.3
4
+
5
+ ### Patch Changes
6
+
7
+ - Fix the detection of the package manager when creating an app
8
+
3
9
  ## 0.31.0
4
10
 
5
11
  ### Minor Changes
@@ -28880,11 +28880,9 @@ var DependencyManager = /* @__PURE__ */ ((DependencyManager2) => {
28880
28880
  })(DependencyManager || {});
28881
28881
  const dependencyManager = Object.entries(DependencyManager).map(([_, value]) => `${value}`);
28882
28882
  function dependencyManagerUsedForCreating(env = process.env) {
28883
- if (env.npm_lifecycle_event === "npx") {
28884
- return "npm" /* Npm */;
28885
- } else if (env.npm_config_user_agent?.includes("yarn")) {
28883
+ if (env.npm_config_user_agent?.includes("yarn")) {
28886
28884
  return "yarn" /* Yarn */;
28887
- } else if (env.PNPM_HOME) {
28885
+ } else if (env.npm_config_user_agent?.includes("pnpm")) {
28888
28886
  return "pnpm" /* Pnpm */;
28889
28887
  } else {
28890
28888
  return "npm" /* Npm */;
@@ -40232,7 +40230,7 @@ var os$2 = /*#__PURE__*/Object.freeze({
40232
40230
  });
40233
40231
 
40234
40232
  var name = "@shopify/cli-kit";
40235
- var version$1 = "0.31.0";
40233
+ var version$1 = "0.31.3";
40236
40234
  var description$1 = "A set of utilities, interfaces, and models that are common across all the platform features";
40237
40235
  var keywords = [
40238
40236
  "shopify",
@@ -40330,7 +40328,7 @@ var cliKitPackageJson = {
40330
40328
  devDependencies: devDependencies
40331
40329
  };
40332
40330
 
40333
- var version = "0.31.0";
40331
+ var version = "0.31.3";
40334
40332
 
40335
40333
  const constants = {
40336
40334
  environmentVariables: {
@@ -154014,7 +154012,7 @@ class Body {
154014
154012
  return formData;
154015
154013
  }
154016
154014
 
154017
- const {toFormData} = await import('./multipart-parser-b36fa3d8.js');
154015
+ const {toFormData} = await import('./multipart-parser-54cbb259.js');
154018
154016
  return toFormData(this.body, ct);
154019
154017
  }
154020
154018
 
@@ -155773,4 +155771,4 @@ var http = /*#__PURE__*/Object.freeze({
155773
155771
  });
155774
155772
 
155775
155773
  export { FormData$1 as F, File$1 as a, string as b, os$2 as c, dependency as d, error$l as e, file$1 as f, environment as g, session as h, schema$1 as i, toml as j, store as k, api as l, http as m, constants as n, output as o, path$q as p, system as s, template as t, ui as u, version$2 as v };
155776
- //# sourceMappingURL=index-7ca4c777.js.map
155774
+ //# sourceMappingURL=index-80382e6b.js.map