@form8ion/javascript 13.0.0-beta.3 → 13.0.0-beta.4
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 +6 -0
- package/example.js +6 -0
- package/lib/index.js +6 -5
- package/lib/index.js.map +1 -1
- package/lib/index.mjs +4 -3
- package/lib/index.mjs.map +1 -1
- package/package.json +2 -2
package/lib/index.mjs
CHANGED
|
@@ -1121,7 +1121,7 @@ var packageManagers = /*#__PURE__*/Object.freeze({
|
|
|
1121
1121
|
defineLockfilePath: determineLockfilePathFor
|
|
1122
1122
|
});
|
|
1123
1123
|
|
|
1124
|
-
async function lift ({projectRoot, vcs, results, pathWithinParent}) {
|
|
1124
|
+
async function lift ({projectRoot, vcs, results, pathWithinParent, enhancers = {}}) {
|
|
1125
1125
|
info('Lifting JavaScript-specific details');
|
|
1126
1126
|
|
|
1127
1127
|
const {
|
|
@@ -1139,7 +1139,8 @@ async function lift ({projectRoot, vcs, results, pathWithinParent}) {
|
|
|
1139
1139
|
|
|
1140
1140
|
const enhancerResults = await applyEnhancers({
|
|
1141
1141
|
results,
|
|
1142
|
-
enhancers:
|
|
1142
|
+
enhancers: {
|
|
1143
|
+
...enhancers,
|
|
1143
1144
|
huskyPlugin,
|
|
1144
1145
|
enginesEnhancer,
|
|
1145
1146
|
coveragePlugin,
|
|
@@ -1149,7 +1150,7 @@ async function lift ({projectRoot, vcs, results, pathWithinParent}) {
|
|
|
1149
1150
|
npmConfigPlugin,
|
|
1150
1151
|
projectTypes,
|
|
1151
1152
|
packageManagers
|
|
1152
|
-
|
|
1153
|
+
},
|
|
1153
1154
|
options: {packageManager, projectRoot, vcs, packageDetails: JSON.parse(packageContents)}
|
|
1154
1155
|
});
|
|
1155
1156
|
|