@shopify/create-app 0.31.2 → 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/create-app
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.2
4
10
 
5
11
  ### Patch Changes
@@ -28734,11 +28734,9 @@ var DependencyManager = /* @__PURE__ */ ((DependencyManager2) => {
28734
28734
  })(DependencyManager || {});
28735
28735
  const dependencyManager = Object.entries(DependencyManager).map(([_, value]) => `${value}`);
28736
28736
  function dependencyManagerUsedForCreating(env = process.env) {
28737
- if (env.npm_lifecycle_event === "npx") {
28738
- return "npm" /* Npm */;
28739
- } else if (env.npm_config_user_agent?.includes("yarn")) {
28737
+ if (env.npm_config_user_agent?.includes("yarn")) {
28740
28738
  return "yarn" /* Yarn */;
28741
- } else if (env.PNPM_HOME) {
28739
+ } else if (env.npm_config_user_agent?.includes("pnpm")) {
28742
28740
  return "pnpm" /* Pnpm */;
28743
28741
  } else {
28744
28742
  return "npm" /* Npm */;
@@ -40057,7 +40055,7 @@ const username = async () => {
40057
40055
  };
40058
40056
 
40059
40057
  var name = "@shopify/cli-kit";
40060
- var version$1 = "0.31.0";
40058
+ var version$1 = "0.31.3";
40061
40059
  var description$1 = "A set of utilities, interfaces, and models that are common across all the platform features";
40062
40060
  var keywords = [
40063
40061
  "shopify",
@@ -40155,7 +40153,7 @@ var cliKitPackageJson = {
40155
40153
  devDependencies: devDependencies
40156
40154
  };
40157
40155
 
40158
- var version = "0.31.0";
40156
+ var version = "0.31.3";
40159
40157
 
40160
40158
  const constants = {
40161
40159
  environmentVariables: {
@@ -148424,7 +148422,6 @@ function HeadersInstanceToPlainObject(headers) {
148424
148422
 
148425
148423
  }(dist));
148426
148424
 
148427
- console.log(JSON.stringify(process.env));
148428
148425
  const init$1 = async (options, prompt$1 = prompt) => {
148429
148426
  const questions = [];
148430
148427
  if (!options.name) {