@form8ion/javascript 12.3.0 → 12.5.0
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/lib/index.js +6 -1
- package/lib/index.js.map +1 -1
- package/lib/index.mjs +6 -1
- package/lib/index.mjs.map +1 -1
- package/package.json +3 -3
package/lib/index.js
CHANGED
|
@@ -959,6 +959,7 @@ function sortPackageProperties (packageContents) {
|
|
|
959
959
|
'scripts',
|
|
960
960
|
'files',
|
|
961
961
|
'publishConfig',
|
|
962
|
+
'packageManager',
|
|
962
963
|
'config',
|
|
963
964
|
'dependencies',
|
|
964
965
|
'devDependencies',
|
|
@@ -1842,7 +1843,11 @@ async function tester ({projectRoot}) {
|
|
|
1842
1843
|
jsPackageManagerIsUsed({projectRoot})
|
|
1843
1844
|
]);
|
|
1844
1845
|
|
|
1845
|
-
|
|
1846
|
+
const jsProjectFound = nvmFound || jsPackageManagerFound;
|
|
1847
|
+
|
|
1848
|
+
if (jsProjectFound) cliMessages.info('JavaScript Project Detected');
|
|
1849
|
+
|
|
1850
|
+
return jsProjectFound;
|
|
1846
1851
|
}
|
|
1847
1852
|
|
|
1848
1853
|
const questionNames = {...languageScaffolderPrompts.questionNames, ...questionNames$1};
|