Skip to content

Commit 68b0d07

Browse files
Merge pull request #99 from TheDragonCode/build/app-t9o3a6o
Application compiled successfully
2 parents 5a0eccd + 8ce41fc commit 68b0d07

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

dist/index.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34480,7 +34480,7 @@ const previewUpdater = async () => {
3448034480
config.readme = readmePath;
3448134481
config.package ||= defaults_1.defaultPackage;
3448234482
config.data ||= {};
34483-
config.package.name ||= packageLock.name;
34483+
config.package.name ||= packageLock.name || config.repository?.repo;
3448434484
config.data.title ||= (0, strings_1.titleCase)(config.repository?.repo);
3448534485
config.data.description ||=
3448634486
packageLock.description || config.repository?.owner;
@@ -34898,7 +34898,10 @@ const getPackageManager = (config) => {
3489834898
if ((0, exports.hasComposer)(config)) {
3489934899
return (0, exports.getComposer)(config);
3490034900
}
34901-
return (0, exports.getNpm)(config);
34901+
if ((0, exports.hasNpm)(config) || (0, exports.hasYarn)(config)) {
34902+
return (0, exports.getNpm)(config);
34903+
}
34904+
return {};
3490234905
};
3490334906
exports.getPackageManager = getPackageManager;
3490434907

0 commit comments

Comments
 (0)