2
0
mirror of https://github.com/Laupetin/OpenAssetTools.git synced 2026-03-16 18:03:03 +00:00

Merge pull request #710 from Laupetin/dependabot/npm_and_yarn/src/ModManUi/modman-dependencies-0eabfe3075

chore(deps): bump the modman-dependencies group in /src/ModManUi with 9 updates
This commit is contained in:
Jan
2026-03-14 09:09:29 +01:00
committed by GitHub
6 changed files with 991 additions and 1192 deletions

View File

@@ -1,5 +1,5 @@
import type { Plugin, UserConfig } from "vite";
import type { OutputAsset, OutputChunk } from "rollup";
import type { OutputAsset, OutputChunk } from "rolldown";
import path from "node:path";
import fs from "node:fs";
@@ -12,6 +12,8 @@ interface PublicDirFile {
relativePath: string;
}
const textEncoder = new TextEncoder();
function getPublicDirFiles(publicDir?: string): PublicDirFile[] {
if (!publicDir) return [];
@@ -41,20 +43,23 @@ function createVarName(fileName: string) {
function transformAsset(asset: MinimalOutputAsset) {
const varName = createVarName(asset.fileName);
let bytes: string;
let buffer: Uint8Array;
if (typeof asset.source === "string") {
bytes = [...asset.source].map((v) => String(v.charCodeAt(0))).join(",");
buffer = textEncoder.encode(asset.source);
} else {
bytes = [...asset.source].map((v) => String(v)).join(",");
buffer = asset.source;
}
const bytes = [...buffer].map((v) => String(v)).join(",");
return `constexpr const unsigned char ${varName}[] {${bytes}};
`;
}
function transformChunk(chunk: MinimalOutputChunk) {
const varName = createVarName(chunk.fileName);
const bytes = [...chunk.code].map((v) => String(v.charCodeAt(0))).join(",");
const buffer = textEncoder.encode(chunk.code);
const bytes = [...buffer].map((v) => String(v)).join(",");
return `constexpr const unsigned char ${varName}[] {${bytes}};
`;

File diff suppressed because it is too large Load Diff

View File

@@ -13,34 +13,34 @@
"format": "prettier --write **/*.{js,ts,vue,html,json,yml,yaml,md}"
},
"dependencies": {
"@fontsource/inter": "^5.2.8",
"@primeuix/themes": "^2.0.3",
"@fontsource/inter": "5.2.8",
"@primeuix/themes": "2.0.3",
"pinia": "3.0.4",
"primevue": "^4.5.4",
"vue": "3.5.29",
"primevue": "4.5.4",
"vue": "3.5.30",
"vue-router": "5.0.3"
},
"devDependencies": {
"@tsconfig/node22": "^22.0.5",
"@types/jsdom": "^28.0.0",
"@types/node": "^25.3.5",
"@vitejs/plugin-vue": "6.0.4",
"@vitest/eslint-plugin": "^1.6.9",
"@vue/eslint-config-prettier": "^10.2.0",
"@vue/eslint-config-typescript": "^14.7.0",
"@vue/test-utils": "^2.4.6",
"@vue/tsconfig": "^0.9.0",
"eslint": "^10.0.2",
"eslint-plugin-vue": "~10.8.0",
"jiti": "^2.5.1",
"jsdom": "^28.1.0",
"npm-run-all2": "^8.0.4",
"@tsconfig/node22": "22.0.5",
"@types/jsdom": "28.0.0",
"@types/node": "25.5.0",
"@vitejs/plugin-vue": "6.0.5",
"@vitest/eslint-plugin": "1.6.12",
"@vue/eslint-config-prettier": "10.2.0",
"@vue/eslint-config-typescript": "14.7.0",
"@vue/test-utils": "2.4.6",
"@vue/tsconfig": "0.9.0",
"eslint": "10.0.3",
"eslint-plugin-vue": "10.8.0",
"jiti": "2.5.1",
"jsdom": "28.1.0",
"npm-run-all2": "8.0.4",
"prettier": "3.8.1",
"sass": "1.97.3",
"sass": "1.98.0",
"typescript": "~5.9.3",
"vite": "7.3.1",
"vite-plugin-vue-devtools": "^8.0.7",
"vitest": "^4.0.18",
"vite": "8.0.0",
"vite-plugin-vue-devtools": "8.1.0",
"vitest": "4.1.0",
"vue-tsc": "3.2.5"
}
}

2
thirdparty/lz4 vendored