deps: bump npm deps

This commit is contained in:
chenshenhai 2025-09-06 13:16:34 +08:00
parent fc98d5f619
commit 0115eb1cfb
6 changed files with 2363 additions and 2578 deletions

View file

@ -30,47 +30,47 @@
"upgrade:version": "npm run version:reset && pnpm i"
},
"devDependencies": {
"@babel/core": "^7.27.1",
"@babel/preset-env": "^7.27.2",
"@babel/core": "^7.28.4",
"@babel/preset-env": "^7.28.3",
"@babel/preset-typescript": "^7.27.1",
"@rollup/plugin-json": "^6.1.0",
"@types/glob": "^8.1.0",
"@types/jest": "^29.5.14",
"@types/jest": "^30.0.0",
"@types/koa-compose": "^3.2.8",
"@types/node": "^22.15.17",
"@types/node": "^24.3.1",
"@types/serve-handler": "^6.1.4",
"@typescript-eslint/eslint-plugin": "^8.32.0",
"@typescript-eslint/parser": "^8.32.0",
"@vitejs/plugin-react": "^4.4.1",
"babel-jest": "^29.7.0",
"chalk": "^5.4.1",
"dotenv": "^16.5.0",
"@typescript-eslint/eslint-plugin": "^8.42.0",
"@typescript-eslint/parser": "^8.42.0",
"@vitejs/plugin-react": "^5.0.2",
"babel-jest": "^30.1.2",
"chalk": "^5.6.0",
"dotenv": "^17.2.2",
"enquirer": "^2.4.1",
"esbuild": "^0.25.4",
"eslint": "^9.26.0",
"execa": "^9.5.3",
"fs-extra": "^11.3.0",
"glob": "^11.0.2",
"esbuild": "^0.25.9",
"eslint": "^9.35.0",
"execa": "^9.6.0",
"fs-extra": "^11.3.1",
"glob": "^11.0.3",
"http-server": "^14.1.1",
"husky": "^9.1.7",
"jest": "^29.7.0",
"jest": "^30.1.3",
"jest-canvas-mock": "^2.5.2",
"jest-environment-jsdom": "^29.7.0",
"jest-environment-jsdom": "^30.1.2",
"jimp": "^1.6.0",
"koa-compose": "^4.1.0",
"less": "^4.3.0",
"less": "^4.4.1",
"pixelmatch": "^7.1.0",
"pngjs": "^7.0.0",
"puppeteer": "^24.8.2",
"rollup": "^4.40.2",
"rollup-plugin-dts": "^6.2.1",
"puppeteer": "^24.19.0",
"rollup": "^4.50.0",
"rollup-plugin-dts": "^6.2.3",
"rollup-plugin-esbuild": "^6.2.1",
"serve-handler": "^6.1.6",
"terser": "^5.39.0",
"ts-morph": "^25.0.1",
"terser": "^5.44.0",
"ts-morph": "^26.0.0",
"ts-node": "^10.9.2",
"tslib": "^2.8.1",
"typescript": "^5.8.3",
"vite": "^6.3.5"
"typescript": "^5.9.2",
"vite": "^7.1.4"
}
}

View file

@ -1,4 +1,4 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing
exports[`@idraw/board: src/lib/context Context 1`] = `
[

View file

@ -1,3 +1,3 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing
exports[`@idraw/util: lib/file downloadImageFromCanvas 1`] = `<canvas />`;

File diff suppressed because it is too large Load diff

View file

@ -21,6 +21,13 @@ async function buildBundle(opts: { dirName: string; globalName: string }) {
}
},
outDir: distDir
},
resolve: {
alias: {
'@idraw/util': joinPackagePath('util', 'src', 'index.ts'),
'@idraw/renderer': joinPackagePath('renderer', 'src', 'index.ts'),
'@idraw/core': joinPackagePath('core', 'src', 'index.ts')
}
}
};
console.log(`Start build bundle [${dirName}] ...`);

View file

@ -76,7 +76,10 @@ function buildPackage(dirName: string) {
// tsConfigFilePath: joinProjectPath('tsconfig.web.json')
});
const program = ts.createProgram(targetFiles, compilerOptions);
const program = ts.createProgram({
rootNames: [],
options: {}
});
// const diagnostics = ts.getPreEmitDiagnostics(program);
// if (diagnostics.length) {