fix(build): modernize project configuration and tighten smartjimp TypeScript compatibility

This commit is contained in:
2026-05-01 16:15:48 +00:00
parent 2eb887dce7
commit 42a6c57a68
12 changed files with 3248 additions and 4953 deletions
+18 -15
View File
@@ -5,28 +5,29 @@
"description": "A TypeScript library for image processing combining both sharp and jimp libraries.",
"main": "dist_ts/index.js",
"typings": "dist_ts/index.d.ts",
"author": "Lossless GmbH",
"author": "Task Venture Capital GmbH <hello@task.vc>",
"license": "MIT",
"scripts": {
"test": "(tstest test/)",
"build": "(tsbuild --allowimplicitany)",
"buildDocs": "tsdoc",
"localPublish": "gitzone commit && pnpm run build && pnpm publish && pnpm publish --access public --registry=\"https://registry.npmjs.org\""
"test": "tstest test/",
"format": "gitzone format",
"build": "tsbuild",
"buildDocs": "tsdoc"
},
"devDependencies": {
"@git.zone/tsbuild": "^2.1.72",
"@git.zone/tsrun": "^1.2.44",
"@git.zone/tstest": "^2.3.2",
"@types/node": "^20.11.17"
"@git.zone/tsbuild": "^4.4.0",
"@git.zone/tsrun": "^2.0.3",
"@git.zone/tstest": "^3.6.3",
"@types/node": "^25.6.0",
"@types/pngjs": "^6.0.5"
},
"dependencies": {
"@push.rocks/levelcache": "^3.0.8",
"@push.rocks/smartfile": "^11.0.4",
"@push.rocks/smarthash": "^3.0.4",
"@push.rocks/levelcache": "^3.2.2",
"@push.rocks/smartfile": "^13.1.3",
"@push.rocks/smarthash": "^3.2.7",
"@push.rocks/smartpath": "^6.0.0",
"@push.rocks/smartrequest": "^4.2.1",
"jimp": "^1.6.0",
"sharp": "^0.34.3"
"@push.rocks/smartrequest": "^5.0.1",
"jimp": "^1.6.1",
"sharp": "^0.34.5"
},
"files": [
"ts/**/*",
@@ -37,6 +38,8 @@
"dist_ts_web/**/*",
"assets/**/*",
"cli.js",
".smartconfig.json",
"license",
"npmextra.json",
"readme.md"
],