uilint 0.2.44 → 0.2.45
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/index.js
CHANGED
|
@@ -3645,7 +3645,7 @@ program.command("update").description("Update existing style guide with new styl
|
|
|
3645
3645
|
});
|
|
3646
3646
|
});
|
|
3647
3647
|
program.command("install").description("Install UILint integration").option("--force", "Overwrite existing configuration files").action(async (options) => {
|
|
3648
|
-
const { installUI } = await import("./install-ui-
|
|
3648
|
+
const { installUI } = await import("./install-ui-5KY5YGLX.js");
|
|
3649
3649
|
await installUI({ force: options.force });
|
|
3650
3650
|
});
|
|
3651
3651
|
program.command("serve").description("Start WebSocket server for real-time UI linting").option("-p, --port <number>", "Port to listen on", "9234").action(async (options) => {
|
|
@@ -2152,7 +2152,11 @@ async function analyze(projectPath = process.cwd()) {
|
|
|
2152
2152
|
});
|
|
2153
2153
|
}
|
|
2154
2154
|
}
|
|
2155
|
-
|
|
2155
|
+
let rawPackages = findPackages(workspaceRoot);
|
|
2156
|
+
const projectHasPackageJson = existsSync4(join4(projectPath, "package.json"));
|
|
2157
|
+
if (projectHasPackageJson && projectPath !== workspaceRoot) {
|
|
2158
|
+
rawPackages = rawPackages.filter((pkg) => pkg.path === projectPath);
|
|
2159
|
+
}
|
|
2156
2160
|
const packages = rawPackages.map((pkg) => {
|
|
2157
2161
|
const eslintConfigPath = findEslintConfigFile(pkg.path);
|
|
2158
2162
|
let eslintConfigFilename = null;
|
|
@@ -5429,4 +5433,4 @@ ${pc.blue("Running tests with coverage...")}`);
|
|
|
5429
5433
|
export {
|
|
5430
5434
|
installUI
|
|
5431
5435
|
};
|
|
5432
|
-
//# sourceMappingURL=install-ui-
|
|
5436
|
+
//# sourceMappingURL=install-ui-5KY5YGLX.js.map
|