@form8ion/javascript 12.0.0-beta.1 → 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/README.md CHANGED
@@ -172,7 +172,7 @@ $ npm test
172
172
 
173
173
  [github-actions-ci-link]: https://github.com/form8ion/javascript/actions?query=workflow%3A%22Node.js+CI%22+branch%3Amaster
174
174
 
175
- [github-actions-ci-badge]: https://github.com/form8ion/javascript/workflows/Node.js%20CI/badge.svg
175
+ [github-actions-ci-badge]: https://img.shields.io/github/actions/workflow/status/form8ion/javascript/node-ci.yml.svg?branch=master&logo=github
176
176
 
177
177
  [license-link]: LICENSE
178
178
 
@@ -180,7 +180,7 @@ $ npm test
180
180
 
181
181
  [npm-link]: https://www.npmjs.com/package/@form8ion/javascript
182
182
 
183
- [npm-badge]: https://img.shields.io/npm/v/@form8ion/javascript.svg?logo=npm
183
+ [npm-badge]: https://img.shields.io/npm/v/@form8ion/javascript?logo=npm
184
184
 
185
185
  [node-badge]: https://img.shields.io/node/v/@form8ion/javascript?logo=node.js
186
186
 
@@ -190,6 +190,6 @@ $ npm test
190
190
 
191
191
  [coverage-link]: https://codecov.io/github/form8ion/javascript
192
192
 
193
- [coverage-badge]: https://img.shields.io/codecov/c/github/form8ion/javascript.svg?logo=codecov
193
+ [coverage-badge]: https://img.shields.io/codecov/c/github/form8ion/javascript?logo=codecov
194
194
 
195
195
  [slsa-badge]: https://slsa.dev/images/gh-badge-level2.svg
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, vcs, pathWithinParent}) {
1618
- return deepmerge__default["default"].all(await Promise.all([
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({