mirror of
https://github.com/captbaritone/webamp.git
synced 2026-01-23 02:15:01 +00:00
Consolidate dependency versions
This commit is contained in:
parent
3a1ec73825
commit
daf06567b0
9 changed files with 61 additions and 1148 deletions
|
|
@ -22,6 +22,8 @@
|
|||
"@babel/preset-typescript": "^7.16.7",
|
||||
"@swc/core": "^1.3.24",
|
||||
"@swc/jest": "^0.2.24",
|
||||
"@types/jest": "^30.0.0",
|
||||
"@typescript-eslint/eslint-plugin": "^7.1.0",
|
||||
"@typescript-eslint/parser": "^7.1.0",
|
||||
"assert": "^2.0.0",
|
||||
"eslint": "^8.57.0",
|
||||
|
|
@ -33,9 +35,10 @@
|
|||
"jest": "^29.7.0",
|
||||
"jest-environment-jsdom": "^29.7.0",
|
||||
"prettier": "^2.3.2",
|
||||
"puppeteer": "^22.2.0",
|
||||
"stream-browserify": "^3.0.0",
|
||||
"turbo": "^2.5.4",
|
||||
"typescript": "^5.3.3"
|
||||
"typescript": "^5.6.2"
|
||||
},
|
||||
"prettier": {
|
||||
"trailingComma": "es5"
|
||||
|
|
|
|||
|
|
@ -40,9 +40,8 @@
|
|||
"@babel/preset-env": "^7.20.2",
|
||||
"@babel/preset-typescript": "^7.20.0",
|
||||
"@swc/jest": "^0.2.24",
|
||||
"@types/jest": "^30.0.0",
|
||||
"@types/node": "^24.0.10",
|
||||
"typescript": "^5.3.3"
|
||||
"typescript": "^5.6.2"
|
||||
},
|
||||
"dependencies": {
|
||||
"byte-data": "18.1.1",
|
||||
|
|
|
|||
|
|
@ -220,14 +220,21 @@ program
|
|||
if (screenshot) {
|
||||
const buffer = fs.readFileSync(filePath);
|
||||
const md5 = md5Buffer(buffer);
|
||||
const tempPath = temp.path({ suffix: ".png" });
|
||||
const tempSkinFile = temp.path({ suffix: ".wsz" });
|
||||
const tempScreenshotPath = temp.path({ suffix: ".png" });
|
||||
|
||||
// Write buffer to temporary file as Puppeteer's uploadFile expects a file path
|
||||
fs.writeFileSync(tempSkinFile, new Uint8Array(buffer));
|
||||
|
||||
await Shooter.withShooter(
|
||||
async (shooter: Shooter) => {
|
||||
await shooter.takeScreenshot(buffer, tempPath, { md5 });
|
||||
await shooter.takeScreenshot(tempSkinFile, tempScreenshotPath, {
|
||||
md5,
|
||||
});
|
||||
},
|
||||
(message: string) => console.log(message)
|
||||
);
|
||||
console.log("Screenshot complete", tempPath);
|
||||
console.log("Screenshot complete", tempScreenshotPath);
|
||||
}
|
||||
});
|
||||
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@
|
|||
"node-fetch": "^2.6.7",
|
||||
"openai": "^4.68.0",
|
||||
"polygon-clipping": "^0.15.3",
|
||||
"puppeteer": "^13.3.2",
|
||||
"puppeteer": "^22.2.0",
|
||||
"react": "^19.1.0",
|
||||
"react-dom": "^19.1.0",
|
||||
"react-dropzone": "^11.1.0",
|
||||
|
|
@ -75,7 +75,7 @@
|
|||
"@typescript-eslint/parser": "^7.1.0",
|
||||
"@swc/jest": "^0.2.24",
|
||||
"grats": "^0.0.31",
|
||||
"typescript": "^5.3.3"
|
||||
"typescript": "^5.6.2"
|
||||
},
|
||||
"jest": {
|
||||
"testEnvironment": "node",
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@
|
|||
"@docusaurus/module-type-aliases": "3.8.1",
|
||||
"@docusaurus/tsconfig": "3.8.1",
|
||||
"@docusaurus/types": "3.8.1",
|
||||
"typescript": "~5.6.2"
|
||||
"typescript": "^5.6.2"
|
||||
},
|
||||
"browserslist": {
|
||||
"production": [
|
||||
|
|
|
|||
|
|
@ -23,19 +23,19 @@
|
|||
"@babel/core": "^7.17.10",
|
||||
"@babel/preset-env": "^7.17.10",
|
||||
"@types/estree": "^0.0.50",
|
||||
"@types/jest": "^27.5.0",
|
||||
"@types/jest": "^30.0.0",
|
||||
"@typescript-eslint/eslint-plugin": "^7.1.0",
|
||||
"@typescript-eslint/parser": "^7.1.0",
|
||||
"babel-jest": "^28.1.0",
|
||||
"eslint": "^7.30.0",
|
||||
"eslint": "^8.57.0",
|
||||
"eslint-plugin-rulesdir": "^0.2.0",
|
||||
"execa": "^5.1.1",
|
||||
"jest": "^28.1.0",
|
||||
"puppeteer": "^14.1.1",
|
||||
"jest": "^29.7.0",
|
||||
"puppeteer": "^22.2.0",
|
||||
"snowpack": "^3.8.8",
|
||||
"ts-jest": "^28.0.2",
|
||||
"tsup": "^4.12.5",
|
||||
"typescript": "^5.3.3"
|
||||
"typescript": "^5.6.2"
|
||||
},
|
||||
"prettier": {},
|
||||
"dependencies": {
|
||||
|
|
|
|||
|
|
@ -87,7 +87,9 @@
|
|||
"@types/classnames": "^2.2.6",
|
||||
"@types/fscreen": "^1.0.1",
|
||||
"@types/invariant": "^2.2.29",
|
||||
"@types/jest": "^27.0.3",
|
||||
"@types/jest": "^30.0.0",
|
||||
"@typescript-eslint/eslint-plugin": "^7.1.0",
|
||||
"@typescript-eslint/parser": "^7.1.0",
|
||||
"@types/jszip": "^3.1.5",
|
||||
"@types/lodash": "^4.14.116",
|
||||
"@types/lodash-es": "^4.17.1",
|
||||
|
|
@ -95,8 +97,6 @@
|
|||
"@types/react-dom": "^18.0.10",
|
||||
"@types/react-redux": "^7.1.1",
|
||||
"@types/webaudioapi": "^0.0.27",
|
||||
"@typescript-eslint/eslint-plugin": "^7.1.0",
|
||||
"@typescript-eslint/parser": "^7.1.0",
|
||||
"canvas-mock": "0.0.0",
|
||||
"data-uri-to-buffer": "^2.0.0",
|
||||
"glob": "^7.1.4",
|
||||
|
|
@ -116,7 +116,7 @@
|
|||
"rollup-plugin-postcss": "^4.0.2",
|
||||
"rollup-plugin-visualizer": "^5.12.0",
|
||||
"style-loader": "^0.23.1",
|
||||
"typescript": "^5.3.3",
|
||||
"typescript": "^5.6.2",
|
||||
"url-loader": "^1.1.2",
|
||||
"vite": "^5.2.12"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -47,7 +47,7 @@
|
|||
"@types/jest": "^30.0.0",
|
||||
"@types/node": "^24.0.10",
|
||||
"buffer-to-arraybuffer": "0.0.4",
|
||||
"typescript": "^5.3.3"
|
||||
"typescript": "^5.6.2"
|
||||
},
|
||||
"jest": {
|
||||
"modulePathIgnorePatterns": [
|
||||
|
|
|
|||
1162
pnpm-lock.yaml
generated
1162
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue