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:
@@ -1,5 +1,5 @@
|
|||||||
import type { Plugin, UserConfig } from "vite";
|
import type { Plugin, UserConfig } from "vite";
|
||||||
import type { OutputAsset, OutputChunk } from "rollup";
|
import type { OutputAsset, OutputChunk } from "rolldown";
|
||||||
import path from "node:path";
|
import path from "node:path";
|
||||||
import fs from "node:fs";
|
import fs from "node:fs";
|
||||||
|
|
||||||
@@ -12,6 +12,8 @@ interface PublicDirFile {
|
|||||||
relativePath: string;
|
relativePath: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const textEncoder = new TextEncoder();
|
||||||
|
|
||||||
function getPublicDirFiles(publicDir?: string): PublicDirFile[] {
|
function getPublicDirFiles(publicDir?: string): PublicDirFile[] {
|
||||||
if (!publicDir) return [];
|
if (!publicDir) return [];
|
||||||
|
|
||||||
@@ -41,20 +43,23 @@ function createVarName(fileName: string) {
|
|||||||
function transformAsset(asset: MinimalOutputAsset) {
|
function transformAsset(asset: MinimalOutputAsset) {
|
||||||
const varName = createVarName(asset.fileName);
|
const varName = createVarName(asset.fileName);
|
||||||
|
|
||||||
let bytes: string;
|
let buffer: Uint8Array;
|
||||||
if (typeof asset.source === "string") {
|
if (typeof asset.source === "string") {
|
||||||
bytes = [...asset.source].map((v) => String(v.charCodeAt(0))).join(",");
|
buffer = textEncoder.encode(asset.source);
|
||||||
} else {
|
} 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}};
|
return `constexpr const unsigned char ${varName}[] {${bytes}};
|
||||||
`;
|
`;
|
||||||
}
|
}
|
||||||
|
|
||||||
function transformChunk(chunk: MinimalOutputChunk) {
|
function transformChunk(chunk: MinimalOutputChunk) {
|
||||||
const varName = createVarName(chunk.fileName);
|
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}};
|
return `constexpr const unsigned char ${varName}[] {${bytes}};
|
||||||
`;
|
`;
|
||||||
|
|||||||
2118
src/ModManUi/package-lock.json
generated
2118
src/ModManUi/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -13,34 +13,34 @@
|
|||||||
"format": "prettier --write **/*.{js,ts,vue,html,json,yml,yaml,md}"
|
"format": "prettier --write **/*.{js,ts,vue,html,json,yml,yaml,md}"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@fontsource/inter": "^5.2.8",
|
"@fontsource/inter": "5.2.8",
|
||||||
"@primeuix/themes": "^2.0.3",
|
"@primeuix/themes": "2.0.3",
|
||||||
"pinia": "3.0.4",
|
"pinia": "3.0.4",
|
||||||
"primevue": "^4.5.4",
|
"primevue": "4.5.4",
|
||||||
"vue": "3.5.29",
|
"vue": "3.5.30",
|
||||||
"vue-router": "5.0.3"
|
"vue-router": "5.0.3"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@tsconfig/node22": "^22.0.5",
|
"@tsconfig/node22": "22.0.5",
|
||||||
"@types/jsdom": "^28.0.0",
|
"@types/jsdom": "28.0.0",
|
||||||
"@types/node": "^25.3.5",
|
"@types/node": "25.5.0",
|
||||||
"@vitejs/plugin-vue": "6.0.4",
|
"@vitejs/plugin-vue": "6.0.5",
|
||||||
"@vitest/eslint-plugin": "^1.6.9",
|
"@vitest/eslint-plugin": "1.6.12",
|
||||||
"@vue/eslint-config-prettier": "^10.2.0",
|
"@vue/eslint-config-prettier": "10.2.0",
|
||||||
"@vue/eslint-config-typescript": "^14.7.0",
|
"@vue/eslint-config-typescript": "14.7.0",
|
||||||
"@vue/test-utils": "^2.4.6",
|
"@vue/test-utils": "2.4.6",
|
||||||
"@vue/tsconfig": "^0.9.0",
|
"@vue/tsconfig": "0.9.0",
|
||||||
"eslint": "^10.0.2",
|
"eslint": "10.0.3",
|
||||||
"eslint-plugin-vue": "~10.8.0",
|
"eslint-plugin-vue": "10.8.0",
|
||||||
"jiti": "^2.5.1",
|
"jiti": "2.5.1",
|
||||||
"jsdom": "^28.1.0",
|
"jsdom": "28.1.0",
|
||||||
"npm-run-all2": "^8.0.4",
|
"npm-run-all2": "8.0.4",
|
||||||
"prettier": "3.8.1",
|
"prettier": "3.8.1",
|
||||||
"sass": "1.97.3",
|
"sass": "1.98.0",
|
||||||
"typescript": "~5.9.3",
|
"typescript": "~5.9.3",
|
||||||
"vite": "7.3.1",
|
"vite": "8.0.0",
|
||||||
"vite-plugin-vue-devtools": "^8.0.7",
|
"vite-plugin-vue-devtools": "8.1.0",
|
||||||
"vitest": "^4.0.18",
|
"vitest": "4.1.0",
|
||||||
"vue-tsc": "3.2.5"
|
"vue-tsc": "3.2.5"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
2
thirdparty/eigen
vendored
2
thirdparty/eigen
vendored
Submodule thirdparty/eigen updated: 9ae0e0f195...f64d1e0acc
2
thirdparty/json
vendored
2
thirdparty/json
vendored
Submodule thirdparty/json updated: eba0a92bfb...8167d2f641
2
thirdparty/lz4
vendored
2
thirdparty/lz4
vendored
Submodule thirdparty/lz4 updated: 5c4c1fb235...130f457aea
Reference in New Issue
Block a user