@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/README.md
CHANGED
package/example.js
CHANGED
package/lib/index.js
CHANGED
|
@@ -1157,7 +1157,7 @@ var packageManagers = /*#__PURE__*/Object.freeze({
|
|
|
1157
1157
|
defineLockfilePath: determineLockfilePathFor
|
|
1158
1158
|
});
|
|
1159
1159
|
|
|
1160
|
-
async function lift ({projectRoot, vcs, results, pathWithinParent}) {
|
|
1160
|
+
async function lift ({projectRoot, vcs, results, pathWithinParent, enhancers = {}}) {
|
|
1161
1161
|
cliMessages.info('Lifting JavaScript-specific details');
|
|
1162
1162
|
|
|
1163
1163
|
const {
|
|
@@ -1175,17 +1175,18 @@ async function lift ({projectRoot, vcs, results, pathWithinParent}) {
|
|
|
1175
1175
|
|
|
1176
1176
|
const enhancerResults = await core.applyEnhancers({
|
|
1177
1177
|
results,
|
|
1178
|
-
enhancers:
|
|
1179
|
-
|
|
1178
|
+
enhancers: {
|
|
1179
|
+
...enhancers,
|
|
1180
|
+
huskyPlugin: huskyPlugin__namespace,
|
|
1180
1181
|
enginesEnhancer,
|
|
1181
1182
|
coveragePlugin,
|
|
1182
|
-
commitConventionPlugin__namespace,
|
|
1183
|
+
commitConventionPlugin: commitConventionPlugin__namespace,
|
|
1183
1184
|
dialects,
|
|
1184
1185
|
codeStylePlugin,
|
|
1185
1186
|
npmConfigPlugin,
|
|
1186
1187
|
projectTypes,
|
|
1187
1188
|
packageManagers
|
|
1188
|
-
|
|
1189
|
+
},
|
|
1189
1190
|
options: {packageManager, projectRoot, vcs, packageDetails: JSON.parse(packageContents)}
|
|
1190
1191
|
});
|
|
1191
1192
|
|