Skip to content

Commit e65d63d

Browse files
Fix build (#1303)
* add clean script * add deps * add missing deps * upgrade typescript * fix build * fix test
1 parent bc7aeef commit e65d63d

File tree

40 files changed

+300
-220
lines changed

40 files changed

+300
-220
lines changed

.gitignore

+2-1
Original file line numberDiff line numberDiff line change
@@ -54,4 +54,5 @@ dist/
5454
# ESM Version
5555
es/
5656
jimp.js.*
57-
repro-playground.js
57+
repro-playground.js
58+
**/src/package.json

packages/config-eslint/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@
55
"private": true,
66
"main": "base.js",
77
"scripts": {
8-
"clean": "rm -rf node_modules"
8+
"clean": "rm -rf node_modules .tshy .tshy-build dist .turbo"
99
},
1010
"devDependencies": {
1111
"@typescript-eslint/eslint-plugin": "^7.2.0",
1212
"@typescript-eslint/parser": "^7.2.0",
1313
"eslint-config-prettier": "^9.1.0",
1414
"eslint-config-turbo": "^1.12.5",
1515
"eslint-plugin-only-warn": "^1.1.0",
16-
"typescript": "^5.4.2"
16+
"typescript": "^5.5.4"
1717
},
1818
"publishConfig": {},
1919
"sideEffects": false

packages/config-typescript/package.json

+5-2
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,8 @@
66
"publishConfig": {
77
"access": "public"
88
},
9-
"sideEffects": false
10-
}
9+
"sideEffects": false,
10+
"scripts": {
11+
"clean": "rm -rf node_modules .tshy .tshy-build dist .turbo"
12+
}
13+
}

packages/config-vitest/package.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,16 @@
44
"private": true,
55
"repository": "jimp-dev/jimp",
66
"scripts": {
7-
"dev": "tshy --watch"
7+
"dev": "tshy --watch",
8+
"clean": "rm -rf node_modules .tshy .tshy-build dist .turbo"
89
},
910
"author": "Andrew Lisowski <[email protected]>",
1011
"license": "MIT",
1112
"devDependencies": {
1213
"@jimp/config-typescript": "workspace:*",
1314
"@jimp/test-utils": "workspace:*",
1415
"eslint": "^8.57.0",
15-
"typescript": "^5.4.2",
16+
"typescript": "^5.5.4",
1617
"vitest": "^1.4.0"
1718
},
1819
"dependencies": {

packages/core/package.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"test-off": "vitest",
88
"build": "tshy",
99
"dev": "tshy --watch",
10-
"clean": "rm -rf node_modules .tshy .tshy-build dist"
10+
"clean": "rm -rf node_modules .tshy .tshy-build dist .turbo"
1111
},
1212
"author": "Andrew Lisowski <[email protected]>",
1313
"license": "MIT",
@@ -27,9 +27,10 @@
2727
"@jimp/test-utils": "workspace:*",
2828
"@types/file-type": "^10.9.1",
2929
"@types/mime": "^3.0.4",
30+
"@types/node": "^20.12.5",
3031
"eslint": "^8.57.0",
3132
"tshy": "^1.12.0",
32-
"typescript": "^5.4.2",
33+
"typescript": "^5.5.4",
3334
"vitest": "^1.4.0"
3435
},
3536
"tshy": {

packages/diff/package.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
"lint": "eslint .",
77
"test": "vitest",
88
"build": "tshy",
9-
"dev": "tshy --watch"
9+
"dev": "tshy --watch",
10+
"clean": "rm -rf node_modules .tshy .tshy-build dist .turbo"
1011
},
1112
"author": "Andrew Lisowski <[email protected]>",
1213
"license": "MIT",
@@ -24,7 +25,7 @@
2425
"@types/pixelmatch": "^5.2.6",
2526
"eslint": "^8.57.0",
2627
"tshy": "^1.12.0",
27-
"typescript": "^5.4.2",
28+
"typescript": "^5.5.4",
2829
"vitest": "^1.4.0"
2930
},
3031
"tshy": {

packages/docs/package.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
"start": "astro dev",
99
"build": "rm -rf dist && astro check && astro build",
1010
"preview": "astro preview",
11-
"astro": "astro"
11+
"astro": "astro",
12+
"clean": "rm -rf node_modules .tshy .tshy-build dist .turbo"
1213
},
1314
"dependencies": {
1415
"@astrojs/check": "^0.9.3",
@@ -26,7 +27,7 @@
2627
"starlight-typedoc": "^0.15.0",
2728
"typedoc": "^0.26.6",
2829
"typedoc-plugin-markdown": "4.2.6",
29-
"typedoc-plugin-zod": "^1.1.2",
30+
"typedoc-plugin-zod": "^1.2.1",
3031
"typescript": "^5.4.3"
3132
},
3233
"devDependencies": {

packages/file-ops/package.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
"scripts": {
66
"lint": "eslint .",
77
"build": "tshy",
8-
"dev": "tshy --watch"
8+
"dev": "tshy --watch",
9+
"clean": "rm -rf node_modules .tshy .tshy-build dist .turbo"
910
},
1011
"author": "Andrew Lisowski <[email protected]>",
1112
"license": "MIT",
@@ -15,7 +16,7 @@
1516
"@types/node": "^20.12.5",
1617
"eslint": "^8.57.0",
1718
"tshy": "^1.12.0",
18-
"typescript": "^5.4.2",
19+
"typescript": "^5.5.4",
1920
"vitest": "^1.4.0"
2021
},
2122
"tshy": {

packages/jimp/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"build": "tshy",
2020
"build:browser": "rollup -c",
2121
"dev": "tshy --watch",
22-
"clean": "rm -rf node_modules .tshy .tshy-build dist"
22+
"clean": "rm -rf node_modules .tshy .tshy-build dist .turbo"
2323
},
2424
"keywords": [
2525
"image",
@@ -82,7 +82,7 @@
8282
"rollup-plugin-esbuild": "^6.1.1",
8383
"rollup-plugin-polyfill-node": "^0.13.0",
8484
"tshy": "^1.12.0",
85-
"typescript": "^5.4.2",
85+
"typescript": "^5.5.4",
8686
"vite-plugin-node-polyfills": "^0.21.0",
8787
"vitest": "^1.4.0"
8888
},

packages/test-utils/package.json

+4-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
"scripts": {
66
"lint": "eslint .",
77
"build": "tshy",
8-
"dev": "tshy --watch"
8+
"dev": "tshy --watch",
9+
"clean": "rm -rf node_modules .tshy .tshy-build dist .turbo"
910
},
1011
"author": "Andrew Lisowski <[email protected]>",
1112
"license": "MIT",
@@ -18,9 +19,10 @@
1819
"@jimp/config-eslint": "workspace:*",
1920
"@jimp/config-typescript": "workspace:*",
2021
"@types/jest-image-snapshot": "^6.4.0",
22+
"@types/node": "^20.12.5",
2123
"eslint": "^8.57.0",
2224
"tshy": "^1.12.0",
23-
"typescript": "^5.4.2",
25+
"typescript": "^5.5.4",
2426
"vitest": "^1.4.0"
2527
},
2628
"tshy": {

packages/types/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"lint": "eslint .",
77
"build": "tshy",
88
"dev": "tshy --watch",
9-
"clean": "rm -rf node_modules .tshy .tshy-build dist"
9+
"clean": "rm -rf node_modules .tshy .tshy-build dist .turbo"
1010
},
1111
"author": "Andrew Lisowski <[email protected]>",
1212
"license": "MIT",
@@ -16,7 +16,7 @@
1616
"@types/node": "^20.12.5",
1717
"eslint": "^8.57.0",
1818
"tshy": "^1.12.0",
19-
"typescript": "^5.4.2",
19+
"typescript": "^5.5.4",
2020
"vitest": "^1.4.0"
2121
},
2222
"tshy": {

packages/utils/package.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"test": "vitest",
88
"build": "tshy",
99
"dev": "tshy --watch",
10-
"clean": "rm -rf node_modules .tshy .tshy-build dist"
10+
"clean": "rm -rf node_modules .tshy .tshy-build dist .turbo"
1111
},
1212
"author": "Andrew Lisowski <[email protected]>",
1313
"license": "MIT",
@@ -18,10 +18,11 @@
1818
"devDependencies": {
1919
"@jimp/config-eslint": "workspace:*",
2020
"@jimp/config-typescript": "workspace:*",
21+
"@types/node": "^20.12.5",
2122
"@types/tinycolor2": "^1.4.6",
2223
"eslint": "^8.57.0",
2324
"tshy": "^1.12.0",
24-
"typescript": "^5.4.2",
25+
"typescript": "^5.5.4",
2526
"vitest": "^1.4.0"
2627
},
2728
"tshy": {

plugins/js-bmp/package.json

+4-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
"test": "vitest",
88
"test:browser": "vitest --config vitest.config.browser.mjs",
99
"build": "tshy",
10-
"dev": "tshy --watch"
10+
"dev": "tshy --watch",
11+
"clean": "rm -rf node_modules .tshy .tshy-build dist .turbo"
1112
},
1213
"author": "Andrew Lisowski <[email protected]>",
1314
"license": "MIT",
@@ -17,10 +18,11 @@
1718
"@jimp/config-vitest": "workspace:*",
1819
"@jimp/js-png": "workspace:*",
1920
"@jimp/test-utils": "workspace:*",
21+
"@types/node": "^20.12.5",
2022
"@vitest/browser": "^1.4.0",
2123
"eslint": "^8.57.0",
2224
"tshy": "^1.12.0",
23-
"typescript": "^5.4.2",
25+
"typescript": "^5.5.4",
2426
"vite-plugin-node-polyfills": "^0.21.0",
2527
"vitest": "^1.4.0"
2628
},

plugins/js-gif/package.json

+4-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
"test": "vitest",
88
"test:browser": "vitest --config vitest.config.browser.mjs",
99
"build": "tshy",
10-
"dev": "tshy --watch"
10+
"dev": "tshy --watch",
11+
"clean": "rm -rf node_modules .tshy .tshy-build dist .turbo"
1112
},
1213
"author": "Andrew Lisowski <[email protected]>",
1314
"license": "MIT",
@@ -17,10 +18,11 @@
1718
"@jimp/config-vitest": "workspace:*",
1819
"@jimp/test-utils": "workspace:*",
1920
"@types/omggif": "^1.0.5",
21+
"@types/node": "^20.12.5",
2022
"@vitest/browser": "^1.4.0",
2123
"eslint": "^8.57.0",
2224
"tshy": "^1.12.0",
23-
"typescript": "^5.4.2",
25+
"typescript": "^5.5.4",
2426
"vite-plugin-node-polyfills": "^0.21.0",
2527
"vitest": "^1.4.0"
2628
},

plugins/js-jpeg/package.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
"test": "vitest",
88
"test:browser": "vitest --config vitest.config.browser.mjs",
99
"build": "tshy",
10-
"dev": "tshy --watch"
10+
"dev": "tshy --watch",
11+
"clean": "rm -rf node_modules .tshy .tshy-build dist .turbo"
1112
},
1213
"author": "Andrew Lisowski <[email protected]>",
1314
"license": "MIT",
@@ -19,7 +20,7 @@
1920
"@vitest/browser": "^1.4.0",
2021
"eslint": "^8.57.0",
2122
"tshy": "^1.12.0",
22-
"typescript": "^5.4.2",
23+
"typescript": "^5.5.4",
2324
"vite-plugin-node-polyfills": "^0.21.0",
2425
"vitest": "^1.4.0"
2526
},

plugins/js-png/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"test:browser": "vitest --config vitest.config.browser.mjs",
99
"build": "tshy",
1010
"dev": "tshy --watch",
11-
"clean": "rm -rf node_modules .tshy .tshy-build dist"
11+
"clean": "rm -rf node_modules .tshy .tshy-build dist .turbo"
1212
},
1313
"author": "Andrew Lisowski <[email protected]>",
1414
"license": "MIT",
@@ -26,7 +26,7 @@
2626
"@vitest/browser": "^1.4.0",
2727
"eslint": "^8.57.0",
2828
"tshy": "^1.12.0",
29-
"typescript": "^5.4.2",
29+
"typescript": "^5.5.4",
3030
"vite-plugin-node-polyfills": "^0.21.0",
3131
"vitest": "^1.4.0"
3232
},

plugins/js-tiff/package.json

+4-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
"test": "vitest",
88
"test:browser": "vitest --config vitest.config.browser.mjs",
99
"build": "tshy",
10-
"dev": "tshy --watch"
10+
"dev": "tshy --watch",
11+
"clean": "rm -rf node_modules .tshy .tshy-build dist .turbo"
1112
},
1213
"author": "Andrew Lisowski <[email protected]>",
1314
"license": "MIT",
@@ -16,10 +17,11 @@
1617
"@jimp/config-typescript": "workspace:*",
1718
"@jimp/config-vitest": "workspace:*",
1819
"@jimp/test-utils": "workspace:*",
20+
"@types/node": "^20.12.5",
1921
"@vitest/browser": "^1.4.0",
2022
"eslint": "^8.57.0",
2123
"tshy": "^1.12.0",
22-
"typescript": "^5.4.2",
24+
"typescript": "^5.5.4",
2325
"vite-plugin-node-polyfills": "^0.21.0",
2426
"vitest": "^1.4.0"
2527
},

plugins/plugin-blit/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"test:browser": "vitest --config vitest.config.browser.mjs",
99
"build": "tshy",
1010
"dev": "tshy --watch",
11-
"clean": "rm -rf node_modules .tshy .tshy-build dist"
11+
"clean": "rm -rf node_modules .tshy .tshy-build dist .turbo"
1212
},
1313
"author": "Andrew Lisowski <[email protected]>",
1414
"license": "MIT",
@@ -28,7 +28,7 @@
2828
"@vitest/browser": "^1.4.0",
2929
"eslint": "^8.57.0",
3030
"tshy": "^1.12.0",
31-
"typescript": "^5.4.2",
31+
"typescript": "^5.5.4",
3232
"vite-plugin-node-polyfills": "^0.21.0",
3333
"vitest": "^1.4.0"
3434
},

plugins/plugin-blur/package.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
"test": "vitest",
88
"test:browser": "vitest --config vitest.config.browser.mjs",
99
"build": "tshy",
10-
"dev": "tshy --watch"
10+
"dev": "tshy --watch",
11+
"clean": "rm -rf node_modules .tshy .tshy-build dist .turbo"
1112
},
1213
"author": "Andrew Lisowski <[email protected]>",
1314
"license": "MIT",
@@ -21,7 +22,7 @@
2122
"@vitest/browser": "^1.4.0",
2223
"eslint": "^8.57.0",
2324
"tshy": "^1.12.0",
24-
"typescript": "^5.4.2",
25+
"typescript": "^5.5.4",
2526
"vite-plugin-node-polyfills": "^0.21.0",
2627
"vitest": "^1.4.0"
2728
},

plugins/plugin-circle/package.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
"test": "vitest",
88
"test:browser": "vitest --config vitest.config.browser.mjs",
99
"build": "tshy",
10-
"dev": "tshy --watch"
10+
"dev": "tshy --watch",
11+
"clean": "rm -rf node_modules .tshy .tshy-build dist .turbo"
1112
},
1213
"author": "Andrew Lisowski <[email protected]>",
1314
"license": "MIT",
@@ -24,7 +25,7 @@
2425
"@vitest/browser": "^1.4.0",
2526
"eslint": "^8.57.0",
2627
"tshy": "^1.12.0",
27-
"typescript": "^5.4.2",
28+
"typescript": "^5.5.4",
2829
"vite-plugin-node-polyfills": "^0.21.0",
2930
"vitest": "^1.4.0"
3031
},

0 commit comments

Comments
 (0)