create-turbo 1.2.12 → 1.2.15
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/index.js +3 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
@@ -31,7 +31,7 @@ var import_chalk = __toESM(require("chalk"));
|
|
31
31
|
|
32
32
|
// package.json
|
33
33
|
var name = "create-turbo";
|
34
|
-
var version = "1.2.
|
34
|
+
var version = "1.2.15";
|
35
35
|
var description = "Create a new Turborepo";
|
36
36
|
var homepage = "https://turborepo.org";
|
37
37
|
var license = "MPL-2.0";
|
@@ -250,6 +250,7 @@ async function run() {
|
|
250
250
|
default: "./my-turborepo"
|
251
251
|
}
|
252
252
|
])).dir);
|
253
|
+
const projectName = path2.basename(projectDir);
|
253
254
|
const isYarnInstalled = shouldUseYarn();
|
254
255
|
const isPnpmInstalled = shouldUsePnpm();
|
255
256
|
let answers;
|
@@ -305,6 +306,7 @@ async function run() {
|
|
305
306
|
}
|
306
307
|
});
|
307
308
|
appPkg.packageManager = `${answers.packageManager}@${getPackageManagerVersion(answers.packageManager)}`;
|
309
|
+
appPkg.name = projectName;
|
308
310
|
await import_fs_extra.default.writeFile(path2.join(projectDir, "package.json"), JSON.stringify(appPkg, null, 2));
|
309
311
|
if (flags.install) {
|
310
312
|
console.log();
|