@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.mjs
CHANGED
|
@@ -923,6 +923,7 @@ function sortPackageProperties (packageContents) {
|
|
|
923
923
|
'scripts',
|
|
924
924
|
'files',
|
|
925
925
|
'publishConfig',
|
|
926
|
+
'packageManager',
|
|
926
927
|
'config',
|
|
927
928
|
'dependencies',
|
|
928
929
|
'devDependencies',
|
|
@@ -1806,7 +1807,11 @@ async function tester ({projectRoot}) {
|
|
|
1806
1807
|
jsPackageManagerIsUsed({projectRoot})
|
|
1807
1808
|
]);
|
|
1808
1809
|
|
|
1809
|
-
|
|
1810
|
+
const jsProjectFound = nvmFound || jsPackageManagerFound;
|
|
1811
|
+
|
|
1812
|
+
if (jsProjectFound) info('JavaScript Project Detected');
|
|
1813
|
+
|
|
1814
|
+
return jsProjectFound;
|
|
1810
1815
|
}
|
|
1811
1816
|
|
|
1812
1817
|
const questionNames = {...questionNames$2, ...questionNames$1};
|