@form8ion/javascript 12.0.0-beta.2 → 12.0.0-beta.3
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 +1 -1
package/lib/index.js
CHANGED
|
@@ -1560,12 +1560,6 @@ async function scaffoldTesting ({
|
|
|
1560
1560
|
return deepmerge__default["default"]({devDependencies: [...(unit || integration) ? ['@travi/any'] : []], eslint: {}}, unitResults);
|
|
1561
1561
|
}
|
|
1562
1562
|
|
|
1563
|
-
function scaffoldBanSensitiveFiles ({pathWithinParent}) {
|
|
1564
|
-
if (pathWithinParent) return {};
|
|
1565
|
-
|
|
1566
|
-
return {scripts: {'lint:sensitive': 'ban'}, devDependencies: ['ban-sensitive-files']};
|
|
1567
|
-
}
|
|
1568
|
-
|
|
1569
1563
|
function buildAllowedHostsList ({packageManager, registries}) {
|
|
1570
1564
|
return [
|
|
1571
1565
|
...(!registries || (registries && !registries.registry)) ? [packageManager] : [],
|
|
@@ -1614,11 +1608,8 @@ async function scaffoldLockfileLint ({projectRoot, packageManager, registries})
|
|
|
1614
1608
|
};
|
|
1615
1609
|
}
|
|
1616
1610
|
|
|
1617
|
-
async function scaffoldLinting ({projectRoot, packageManager, registries
|
|
1618
|
-
return
|
|
1619
|
-
scaffoldLockfileLint({projectRoot, packageManager, registries}),
|
|
1620
|
-
vcs ? scaffoldBanSensitiveFiles({pathWithinParent}) : {}
|
|
1621
|
-
]));
|
|
1611
|
+
async function scaffoldLinting ({projectRoot, packageManager, registries}) {
|
|
1612
|
+
return scaffoldLockfileLint({projectRoot, packageManager, registries});
|
|
1622
1613
|
}
|
|
1623
1614
|
|
|
1624
1615
|
async function scaffoldVerification({
|