uilint 0.2.76 → 0.2.78
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/dist/{chunk-HASWEVZP.js → chunk-EBKSYMP2.js} +19 -9
- package/dist/{chunk-HASWEVZP.js.map → chunk-EBKSYMP2.js.map} +1 -1
- package/dist/{chunk-2BNEL5IX.js → chunk-OL3HPXVB.js} +10 -1
- package/dist/{chunk-2BNEL5IX.js.map → chunk-OL3HPXVB.js.map} +1 -1
- package/dist/index.js +2 -2
- package/dist/{init-ui-VOLYNE5G.js → init-ui-3ACPQCQD.js} +4 -4
- package/dist/{plan-RACOU2VV.js → plan-MOW4I72L.js} +2 -2
- package/dist/{remove-ui-US2KVOKZ.js → remove-ui-LSV3JOZO.js} +2 -2
- package/package.json +5 -5
- /package/dist/{init-ui-VOLYNE5G.js.map → init-ui-3ACPQCQD.js.map} +0 -0
- /package/dist/{plan-RACOU2VV.js.map → plan-MOW4I72L.js.map} +0 -0
- /package/dist/{remove-ui-US2KVOKZ.js.map → remove-ui-LSV3JOZO.js.map} +0 -0
|
@@ -3424,17 +3424,27 @@ ${semanticCat?.icon ?? "\u{1F9E0}"} ${semanticCat?.name ?? "Semantic rules"} (${
|
|
|
3424
3424
|
type: "create_directory",
|
|
3425
3425
|
path: rulesDir
|
|
3426
3426
|
});
|
|
3427
|
+
const ruleNpmDeps = /* @__PURE__ */ new Set();
|
|
3428
|
+
for (const cr of configuredRules) {
|
|
3429
|
+
if (cr.rule.npmDependencies) {
|
|
3430
|
+
for (const dep of cr.rule.npmDependencies) {
|
|
3431
|
+
ruleNpmDeps.add(dep);
|
|
3432
|
+
}
|
|
3433
|
+
}
|
|
3434
|
+
}
|
|
3435
|
+
const packages = [
|
|
3436
|
+
toInstallSpecifier("uilint-eslint", {
|
|
3437
|
+
preferWorkspaceProtocol: project.packageManager === "pnpm",
|
|
3438
|
+
workspaceRoot: project.workspaceRoot,
|
|
3439
|
+
targetProjectPath: target.path
|
|
3440
|
+
}),
|
|
3441
|
+
"typescript-eslint",
|
|
3442
|
+
...ruleNpmDeps
|
|
3443
|
+
];
|
|
3427
3444
|
dependencies.push({
|
|
3428
3445
|
packagePath: target.path,
|
|
3429
3446
|
packageManager: detectPackageManager(target.path),
|
|
3430
|
-
packages
|
|
3431
|
-
toInstallSpecifier("uilint-eslint", {
|
|
3432
|
-
preferWorkspaceProtocol: project.packageManager === "pnpm",
|
|
3433
|
-
workspaceRoot: project.workspaceRoot,
|
|
3434
|
-
targetProjectPath: target.path
|
|
3435
|
-
}),
|
|
3436
|
-
"typescript-eslint"
|
|
3437
|
-
]
|
|
3447
|
+
packages
|
|
3438
3448
|
});
|
|
3439
3449
|
actions.push({
|
|
3440
3450
|
type: "inject_eslint",
|
|
@@ -4008,4 +4018,4 @@ export {
|
|
|
4008
4018
|
analyze,
|
|
4009
4019
|
execute
|
|
4010
4020
|
};
|
|
4011
|
-
//# sourceMappingURL=chunk-
|
|
4021
|
+
//# sourceMappingURL=chunk-EBKSYMP2.js.map
|