create-turbo 1.0.7 → 1.0.11

Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.js CHANGED
@@ -31,7 +31,7 @@ var import_chalk = __toModule(require("chalk"));
31
31
 
32
32
  // package.json
33
33
  var name = "create-turbo";
34
- var version = "1.0.7";
34
+ var version = "1.0.11";
35
35
  var description = "Create a new Turborepo";
36
36
  var homepage = "https://turborepo.org";
37
37
  var license = "MPL-2.0";
@@ -75,7 +75,7 @@ var devDependencies = {
75
75
  "strip-ansi": "^7.0.1",
76
76
  "ts-jest": "^27.1.1",
77
77
  tsup: "^5.10.3",
78
- typescript: "^4.5.2"
78
+ typescript: "^4.5.3"
79
79
  };
80
80
  var files = [
81
81
  "dist",
@@ -207,13 +207,18 @@ async function run() {
207
207
  default: "./my-turborepo"
208
208
  }
209
209
  ])).dir);
210
+ const isYarnInstalled = shouldUseYarn();
210
211
  let answers = await import_inquirer.default.prompt([
211
212
  {
212
213
  name: "packageManager",
213
214
  type: "list",
214
215
  message: "Which package manager do you want to use?",
215
216
  choices: [
216
- { name: "Yarn", value: "yarn" },
217
+ {
218
+ name: "Yarn",
219
+ value: "yarn",
220
+ disabled: !isYarnInstalled && "not installed"
221
+ },
217
222
  { name: "NPM", value: "npm" }
218
223
  ]
219
224
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-turbo",
3
- "version": "1.0.7",
3
+ "version": "1.0.11",
4
4
  "description": "Create a new Turborepo",
5
5
  "homepage": "https://turborepo.org",
6
6
  "license": "MPL-2.0",
@@ -44,7 +44,7 @@
44
44
  "strip-ansi": "^7.0.1",
45
45
  "ts-jest": "^27.1.1",
46
46
  "tsup": "^5.10.3",
47
- "typescript": "^4.5.2"
47
+ "typescript": "^4.5.3"
48
48
  },
49
49
  "files": [
50
50
  "dist",
@@ -37,7 +37,6 @@
37
37
  },
38
38
  "engines": {
39
39
  "npm": ">=7.0.0",
40
- "pnpm": ">=3.7.0",
41
40
  "node": ">=14.0.0"
42
41
  }
43
42
  }