@form8ion/javascript 12.0.0-beta.2 → 12.0.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 +2 -11
- package/lib/index.js.map +1 -1
- package/lib/index.mjs +2 -11
- package/lib/index.mjs.map +1 -1
- package/package.json +2 -2
package/lib/index.mjs
CHANGED
|
@@ -1524,12 +1524,6 @@ async function scaffoldTesting ({
|
|
|
1524
1524
|
return deepmerge({devDependencies: [...(unit || integration) ? ['@travi/any'] : []], eslint: {}}, unitResults);
|
|
1525
1525
|
}
|
|
1526
1526
|
|
|
1527
|
-
function scaffoldBanSensitiveFiles ({pathWithinParent}) {
|
|
1528
|
-
if (pathWithinParent) return {};
|
|
1529
|
-
|
|
1530
|
-
return {scripts: {'lint:sensitive': 'ban'}, devDependencies: ['ban-sensitive-files']};
|
|
1531
|
-
}
|
|
1532
|
-
|
|
1533
1527
|
function buildAllowedHostsList ({packageManager, registries}) {
|
|
1534
1528
|
return [
|
|
1535
1529
|
...(!registries || (registries && !registries.registry)) ? [packageManager] : [],
|
|
@@ -1578,11 +1572,8 @@ async function scaffoldLockfileLint ({projectRoot, packageManager, registries})
|
|
|
1578
1572
|
};
|
|
1579
1573
|
}
|
|
1580
1574
|
|
|
1581
|
-
async function scaffoldLinting ({projectRoot, packageManager, registries
|
|
1582
|
-
return
|
|
1583
|
-
scaffoldLockfileLint({projectRoot, packageManager, registries}),
|
|
1584
|
-
vcs ? scaffoldBanSensitiveFiles({pathWithinParent}) : {}
|
|
1585
|
-
]));
|
|
1575
|
+
async function scaffoldLinting ({projectRoot, packageManager, registries}) {
|
|
1576
|
+
return scaffoldLockfileLint({projectRoot, packageManager, registries});
|
|
1586
1577
|
}
|
|
1587
1578
|
|
|
1588
1579
|
async function scaffoldVerification({
|