@form8ion/javascript 11.10.2 → 11.10.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/lib/index.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  import { questionNames as questionNames$2, questions } from '@travi/language-scaffolder-prompts';
2
2
  import deepmerge from 'deepmerge';
3
- import { fileTypes, fileExists, validateOptions, writeConfigFile, applyEnhancers } from '@form8ion/core';
3
+ import { fileTypes, fileExists, validateOptions, applyEnhancers, writeConfigFile } from '@form8ion/core';
4
4
  import { scaffoldChoice, projectTypes as projectTypes$1, packageManagers, mergeIntoExistingPackageJson, dialects as dialects$1, writePackageJson, DEV_DEPENDENCY_TYPE, PROD_DEPENDENCY_TYPE } from '@form8ion/javascript-core';
5
5
  import joi from 'joi';
6
6
  import { prompt as prompt$1, Separator } from '@form8ion/overridable-prompts';
@@ -25,7 +25,8 @@ import * as huskyPlugin from '@form8ion/husky';
25
25
  import { scaffold as scaffold$4 } from '@form8ion/husky';
26
26
  import { stringify, parse } from 'ini';
27
27
  import { scaffold as scaffold$2 } from '@form8ion/prettier';
28
- import { scaffold as scaffold$1, lift as lift$4, test as test$1 } from '@form8ion/eslint';
28
+ import * as eslintPlugin from '@form8ion/eslint';
29
+ import { scaffold as scaffold$1, test as test$1 } from '@form8ion/eslint';
29
30
  import { promises as promises$1 } from 'node:fs';
30
31
  import sortProperties from 'sort-object-keys';
31
32
 
@@ -215,7 +216,7 @@ async function scaffoldCodeStyle ({
215
216
  }
216
217
 
217
218
  function lifter$3 (options) {
218
- return lift$4(options);
219
+ return applyEnhancers({options, enhancers: [eslintPlugin]});
219
220
  }
220
221
 
221
222
  function tester$3 (options) {
@@ -1729,7 +1730,7 @@ async function scaffolder (options) {
1729
1730
  ]);
1730
1731
 
1731
1732
  const liftResults = await lift({
1732
- results: deepmerge({devDependencies: ['npm-run-all'], packageManager}, mergedContributions),
1733
+ results: deepmerge({devDependencies: ['npm-run-all2'], packageManager}, mergedContributions),
1733
1734
  projectRoot,
1734
1735
  configs,
1735
1736
  vcs