@form8ion/javascript 11.10.3 → 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.js +5 -4
- package/lib/index.js.map +1 -1
- package/lib/index.mjs +4 -3
- package/lib/index.mjs.map +1 -1
- package/package.json +8 -8
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,
|
|
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
|
|
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
|
|
219
|
+
return applyEnhancers({options, enhancers: [eslintPlugin]});
|
|
219
220
|
}
|
|
220
221
|
|
|
221
222
|
function tester$3 (options) {
|