mirror of
https://github.com/notion-enhancer/notion-enhancer.git
synced 2025-04-04 12:49:03 +00:00
chore: update lucide to v0.372.0, unocss to v0.59.4, coloris to v0.24.0
This commit is contained in:
parent
f0d7d89653
commit
8ea6ef30ff
@ -20,34 +20,32 @@ const esmVersion = "135",
|
|||||||
return { [`${scopedName.replace(/\//g, "-")}.mjs`]: bundleSrc };
|
return { [`${scopedName.replace(/\//g, "-")}.mjs`]: bundleSrc };
|
||||||
};
|
};
|
||||||
|
|
||||||
const dependencies = {
|
const uno = "0.59.4",
|
||||||
...esmBundle({ name: "htm", version: "3.1.1" }),
|
coloris = "https://cdn.jsdelivr.net/gh/mdbassit/coloris@v0.24.0/dist",
|
||||||
...esmBundle({
|
dependencies = {
|
||||||
name: "lucide",
|
...esmBundle({ name: "htm", version: "3.1.1" }),
|
||||||
version: "0.319.0",
|
...esmBundle({
|
||||||
path: "dist/umd/lucide.mjs",
|
name: "lucide",
|
||||||
}),
|
version: "0.372.0",
|
||||||
...esmBundle({
|
path: "dist/umd/lucide.mjs",
|
||||||
name: "@unocss/core",
|
}),
|
||||||
version: "0.58.5",
|
...esmBundle({
|
||||||
exports: ["createGenerator", "expandVariantGroup"],
|
name: "@unocss/core",
|
||||||
}),
|
version: uno,
|
||||||
...esmBundle({
|
exports: ["createGenerator", "expandVariantGroup"],
|
||||||
name: "@unocss/preset-uno",
|
}),
|
||||||
version: "0.58.5",
|
...esmBundle({
|
||||||
exports: ["presetUno"],
|
name: "@unocss/preset-uno",
|
||||||
}),
|
version: uno,
|
||||||
"@unocss-preflight-tailwind.css":
|
exports: ["presetUno"],
|
||||||
"https://esm.sh/@unocss/reset@0.58.5/tailwind.css",
|
}),
|
||||||
"coloris.min.js":
|
"@unocss-preflight-tailwind.css": `https://esm.sh/@unocss/reset@${uno}/tailwind.css`,
|
||||||
"https://cdn.jsdelivr.net/gh/mdbassit/Coloris@v0.22.0/dist/coloris.min.js",
|
"coloris.min.js": `${coloris}/coloris.min.js`,
|
||||||
"coloris.min.css":
|
"coloris.min.css": `${coloris}/coloris.min.css`,
|
||||||
"https://cdn.jsdelivr.net/gh/mdbassit/Coloris@v0.22.0/dist/coloris.min.css",
|
};
|
||||||
};
|
|
||||||
|
|
||||||
const output = fileURLToPath(new URL("../src/vendor", import.meta.url)),
|
const output = fileURLToPath(new URL("../src/vendor", import.meta.url)),
|
||||||
write = (file, data) => fsp.writeFile(resolve(`${output}/${file}`), data),
|
write = (file, data) => fsp.writeFile(resolve(`${output}/${file}`), data);
|
||||||
append = (file, data) => fsp.appendFile(resolve(`${output}/${file}`), data);
|
|
||||||
if (existsSync(output)) await fsp.rm(output, { recursive: true });
|
if (existsSync(output)) await fsp.rm(output, { recursive: true });
|
||||||
await fsp.mkdir(output);
|
await fsp.mkdir(output);
|
||||||
for (const file in dependencies) {
|
for (const file in dependencies) {
|
||||||
|
6
src/vendor/@unocss-core.mjs
vendored
6
src/vendor/@unocss-core.mjs
vendored
File diff suppressed because one or more lines are too long
17
src/vendor/@unocss-preset-uno.mjs
vendored
17
src/vendor/@unocss-preset-uno.mjs
vendored
File diff suppressed because one or more lines are too long
2
src/vendor/coloris.min.css
vendored
2
src/vendor/coloris.min.css
vendored
File diff suppressed because one or more lines are too long
2
src/vendor/coloris.min.js
vendored
2
src/vendor/coloris.min.js
vendored
File diff suppressed because one or more lines are too long
8
src/vendor/lucide.mjs
vendored
8
src/vendor/lucide.mjs
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user