zixulu 1.70.2 → 1.70.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/dist/index.js
CHANGED
|
@@ -71,16 +71,13 @@ const addedRules = [
|
|
|
71
71
|
"node_modules",
|
|
72
72
|
"bun.lockb",
|
|
73
73
|
"bun.lock",
|
|
74
|
-
"dist",
|
|
74
|
+
"dist*",
|
|
75
75
|
"build",
|
|
76
76
|
"yarn.lock",
|
|
77
77
|
"yarn-error.log",
|
|
78
78
|
".yarnrc.yml",
|
|
79
79
|
".yarn",
|
|
80
|
-
"test
|
|
81
|
-
"test.mjs",
|
|
82
|
-
"test.ts",
|
|
83
|
-
"test"
|
|
80
|
+
"test*"
|
|
84
81
|
];
|
|
85
82
|
const isSudo = !!process.env.SUDO_USER;
|
|
86
83
|
async function getPackageManager(dir = ".") {
|
|
@@ -312,6 +309,7 @@ const config = {
|
|
|
312
309
|
tabWidth: 4,
|
|
313
310
|
arrowParens: "avoid",
|
|
314
311
|
endOfLine: "lf",
|
|
312
|
+
printWidth: 160,
|
|
315
313
|
plugins: ["./prettier-plugin-sort-imports.mjs"],
|
|
316
314
|
}
|
|
317
315
|
|
|
@@ -4306,7 +4304,7 @@ async function getEditorExtensions({ source }) {
|
|
|
4306
4304
|
let data = [];
|
|
4307
4305
|
if ("Online" !== source) {
|
|
4308
4306
|
const output = await execAsync(`${source} --list-extensions`);
|
|
4309
|
-
data = output.split("\n").map((item)=>item.trim()).filter(Boolean);
|
|
4307
|
+
data = output.split("\n").map((item)=>item.trim()).filter(Boolean).filter((item)=>"menglong.cursor-infinity" !== item);
|
|
4310
4308
|
} else {
|
|
4311
4309
|
const response = await fetch("https://luzixu.geskj.com/extensions.json");
|
|
4312
4310
|
data = await response.json();
|