-
-
Notifications
You must be signed in to change notification settings - Fork 761
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add clean script * add deps * add missing deps * upgrade typescript * fix build * fix test
- Loading branch information
1 parent
bc7aeef
commit e65d63d
Showing
40 changed files
with
300 additions
and
220 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -54,4 +54,5 @@ dist/ | |
# ESM Version | ||
es/ | ||
jimp.js.* | ||
repro-playground.js | ||
repro-playground.js | ||
**/src/package.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,15 +4,16 @@ | |
"private": true, | ||
"repository": "jimp-dev/jimp", | ||
"scripts": { | ||
"dev": "tshy --watch" | ||
"dev": "tshy --watch", | ||
"clean": "rm -rf node_modules .tshy .tshy-build dist .turbo" | ||
}, | ||
"author": "Andrew Lisowski <[email protected]>", | ||
"license": "MIT", | ||
"devDependencies": { | ||
"@jimp/config-typescript": "workspace:*", | ||
"@jimp/test-utils": "workspace:*", | ||
"eslint": "^8.57.0", | ||
"typescript": "^5.4.2", | ||
"typescript": "^5.5.4", | ||
"vitest": "^1.4.0" | ||
}, | ||
"dependencies": { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ | |
"test-off": "vitest", | ||
"build": "tshy", | ||
"dev": "tshy --watch", | ||
"clean": "rm -rf node_modules .tshy .tshy-build dist" | ||
"clean": "rm -rf node_modules .tshy .tshy-build dist .turbo" | ||
}, | ||
"author": "Andrew Lisowski <[email protected]>", | ||
"license": "MIT", | ||
|
@@ -27,9 +27,10 @@ | |
"@jimp/test-utils": "workspace:*", | ||
"@types/file-type": "^10.9.1", | ||
"@types/mime": "^3.0.4", | ||
"@types/node": "^20.12.5", | ||
"eslint": "^8.57.0", | ||
"tshy": "^1.12.0", | ||
"typescript": "^5.4.2", | ||
"typescript": "^5.5.4", | ||
"vitest": "^1.4.0" | ||
}, | ||
"tshy": { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,8 @@ | |
"lint": "eslint .", | ||
"test": "vitest", | ||
"build": "tshy", | ||
"dev": "tshy --watch" | ||
"dev": "tshy --watch", | ||
"clean": "rm -rf node_modules .tshy .tshy-build dist .turbo" | ||
}, | ||
"author": "Andrew Lisowski <[email protected]>", | ||
"license": "MIT", | ||
|
@@ -24,7 +25,7 @@ | |
"@types/pixelmatch": "^5.2.6", | ||
"eslint": "^8.57.0", | ||
"tshy": "^1.12.0", | ||
"typescript": "^5.4.2", | ||
"typescript": "^5.5.4", | ||
"vitest": "^1.4.0" | ||
}, | ||
"tshy": { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,8 @@ | |
"scripts": { | ||
"lint": "eslint .", | ||
"build": "tshy", | ||
"dev": "tshy --watch" | ||
"dev": "tshy --watch", | ||
"clean": "rm -rf node_modules .tshy .tshy-build dist .turbo" | ||
}, | ||
"author": "Andrew Lisowski <[email protected]>", | ||
"license": "MIT", | ||
|
@@ -15,7 +16,7 @@ | |
"@types/node": "^20.12.5", | ||
"eslint": "^8.57.0", | ||
"tshy": "^1.12.0", | ||
"typescript": "^5.4.2", | ||
"typescript": "^5.5.4", | ||
"vitest": "^1.4.0" | ||
}, | ||
"tshy": { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,8 @@ | |
"scripts": { | ||
"lint": "eslint .", | ||
"build": "tshy", | ||
"dev": "tshy --watch" | ||
"dev": "tshy --watch", | ||
"clean": "rm -rf node_modules .tshy .tshy-build dist .turbo" | ||
}, | ||
"author": "Andrew Lisowski <[email protected]>", | ||
"license": "MIT", | ||
|
@@ -18,9 +19,10 @@ | |
"@jimp/config-eslint": "workspace:*", | ||
"@jimp/config-typescript": "workspace:*", | ||
"@types/jest-image-snapshot": "^6.4.0", | ||
"@types/node": "^20.12.5", | ||
"eslint": "^8.57.0", | ||
"tshy": "^1.12.0", | ||
"typescript": "^5.4.2", | ||
"typescript": "^5.5.4", | ||
"vitest": "^1.4.0" | ||
}, | ||
"tshy": { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ | |
"lint": "eslint .", | ||
"build": "tshy", | ||
"dev": "tshy --watch", | ||
"clean": "rm -rf node_modules .tshy .tshy-build dist" | ||
"clean": "rm -rf node_modules .tshy .tshy-build dist .turbo" | ||
}, | ||
"author": "Andrew Lisowski <[email protected]>", | ||
"license": "MIT", | ||
|
@@ -16,7 +16,7 @@ | |
"@types/node": "^20.12.5", | ||
"eslint": "^8.57.0", | ||
"tshy": "^1.12.0", | ||
"typescript": "^5.4.2", | ||
"typescript": "^5.5.4", | ||
"vitest": "^1.4.0" | ||
}, | ||
"tshy": { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ | |
"test": "vitest", | ||
"build": "tshy", | ||
"dev": "tshy --watch", | ||
"clean": "rm -rf node_modules .tshy .tshy-build dist" | ||
"clean": "rm -rf node_modules .tshy .tshy-build dist .turbo" | ||
}, | ||
"author": "Andrew Lisowski <[email protected]>", | ||
"license": "MIT", | ||
|
@@ -18,10 +18,11 @@ | |
"devDependencies": { | ||
"@jimp/config-eslint": "workspace:*", | ||
"@jimp/config-typescript": "workspace:*", | ||
"@types/node": "^20.12.5", | ||
"@types/tinycolor2": "^1.4.6", | ||
"eslint": "^8.57.0", | ||
"tshy": "^1.12.0", | ||
"typescript": "^5.4.2", | ||
"typescript": "^5.5.4", | ||
"vitest": "^1.4.0" | ||
}, | ||
"tshy": { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,8 @@ | |
"test": "vitest", | ||
"test:browser": "vitest --config vitest.config.browser.mjs", | ||
"build": "tshy", | ||
"dev": "tshy --watch" | ||
"dev": "tshy --watch", | ||
"clean": "rm -rf node_modules .tshy .tshy-build dist .turbo" | ||
}, | ||
"author": "Andrew Lisowski <[email protected]>", | ||
"license": "MIT", | ||
|
@@ -17,10 +18,11 @@ | |
"@jimp/config-vitest": "workspace:*", | ||
"@jimp/js-png": "workspace:*", | ||
"@jimp/test-utils": "workspace:*", | ||
"@types/node": "^20.12.5", | ||
"@vitest/browser": "^1.4.0", | ||
"eslint": "^8.57.0", | ||
"tshy": "^1.12.0", | ||
"typescript": "^5.4.2", | ||
"typescript": "^5.5.4", | ||
"vite-plugin-node-polyfills": "^0.21.0", | ||
"vitest": "^1.4.0" | ||
}, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,8 @@ | |
"test": "vitest", | ||
"test:browser": "vitest --config vitest.config.browser.mjs", | ||
"build": "tshy", | ||
"dev": "tshy --watch" | ||
"dev": "tshy --watch", | ||
"clean": "rm -rf node_modules .tshy .tshy-build dist .turbo" | ||
}, | ||
"author": "Andrew Lisowski <[email protected]>", | ||
"license": "MIT", | ||
|
@@ -17,10 +18,11 @@ | |
"@jimp/config-vitest": "workspace:*", | ||
"@jimp/test-utils": "workspace:*", | ||
"@types/omggif": "^1.0.5", | ||
"@types/node": "^20.12.5", | ||
"@vitest/browser": "^1.4.0", | ||
"eslint": "^8.57.0", | ||
"tshy": "^1.12.0", | ||
"typescript": "^5.4.2", | ||
"typescript": "^5.5.4", | ||
"vite-plugin-node-polyfills": "^0.21.0", | ||
"vitest": "^1.4.0" | ||
}, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,8 @@ | |
"test": "vitest", | ||
"test:browser": "vitest --config vitest.config.browser.mjs", | ||
"build": "tshy", | ||
"dev": "tshy --watch" | ||
"dev": "tshy --watch", | ||
"clean": "rm -rf node_modules .tshy .tshy-build dist .turbo" | ||
}, | ||
"author": "Andrew Lisowski <[email protected]>", | ||
"license": "MIT", | ||
|
@@ -19,7 +20,7 @@ | |
"@vitest/browser": "^1.4.0", | ||
"eslint": "^8.57.0", | ||
"tshy": "^1.12.0", | ||
"typescript": "^5.4.2", | ||
"typescript": "^5.5.4", | ||
"vite-plugin-node-polyfills": "^0.21.0", | ||
"vitest": "^1.4.0" | ||
}, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ | |
"test:browser": "vitest --config vitest.config.browser.mjs", | ||
"build": "tshy", | ||
"dev": "tshy --watch", | ||
"clean": "rm -rf node_modules .tshy .tshy-build dist" | ||
"clean": "rm -rf node_modules .tshy .tshy-build dist .turbo" | ||
}, | ||
"author": "Andrew Lisowski <[email protected]>", | ||
"license": "MIT", | ||
|
@@ -26,7 +26,7 @@ | |
"@vitest/browser": "^1.4.0", | ||
"eslint": "^8.57.0", | ||
"tshy": "^1.12.0", | ||
"typescript": "^5.4.2", | ||
"typescript": "^5.5.4", | ||
"vite-plugin-node-polyfills": "^0.21.0", | ||
"vitest": "^1.4.0" | ||
}, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,8 @@ | |
"test": "vitest", | ||
"test:browser": "vitest --config vitest.config.browser.mjs", | ||
"build": "tshy", | ||
"dev": "tshy --watch" | ||
"dev": "tshy --watch", | ||
"clean": "rm -rf node_modules .tshy .tshy-build dist .turbo" | ||
}, | ||
"author": "Andrew Lisowski <[email protected]>", | ||
"license": "MIT", | ||
|
@@ -16,10 +17,11 @@ | |
"@jimp/config-typescript": "workspace:*", | ||
"@jimp/config-vitest": "workspace:*", | ||
"@jimp/test-utils": "workspace:*", | ||
"@types/node": "^20.12.5", | ||
"@vitest/browser": "^1.4.0", | ||
"eslint": "^8.57.0", | ||
"tshy": "^1.12.0", | ||
"typescript": "^5.4.2", | ||
"typescript": "^5.5.4", | ||
"vite-plugin-node-polyfills": "^0.21.0", | ||
"vitest": "^1.4.0" | ||
}, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ | |
"test:browser": "vitest --config vitest.config.browser.mjs", | ||
"build": "tshy", | ||
"dev": "tshy --watch", | ||
"clean": "rm -rf node_modules .tshy .tshy-build dist" | ||
"clean": "rm -rf node_modules .tshy .tshy-build dist .turbo" | ||
}, | ||
"author": "Andrew Lisowski <[email protected]>", | ||
"license": "MIT", | ||
|
@@ -28,7 +28,7 @@ | |
"@vitest/browser": "^1.4.0", | ||
"eslint": "^8.57.0", | ||
"tshy": "^1.12.0", | ||
"typescript": "^5.4.2", | ||
"typescript": "^5.5.4", | ||
"vite-plugin-node-polyfills": "^0.21.0", | ||
"vitest": "^1.4.0" | ||
}, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,8 @@ | |
"test": "vitest", | ||
"test:browser": "vitest --config vitest.config.browser.mjs", | ||
"build": "tshy", | ||
"dev": "tshy --watch" | ||
"dev": "tshy --watch", | ||
"clean": "rm -rf node_modules .tshy .tshy-build dist .turbo" | ||
}, | ||
"author": "Andrew Lisowski <[email protected]>", | ||
"license": "MIT", | ||
|
@@ -21,7 +22,7 @@ | |
"@vitest/browser": "^1.4.0", | ||
"eslint": "^8.57.0", | ||
"tshy": "^1.12.0", | ||
"typescript": "^5.4.2", | ||
"typescript": "^5.5.4", | ||
"vite-plugin-node-polyfills": "^0.21.0", | ||
"vitest": "^1.4.0" | ||
}, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,8 @@ | |
"test": "vitest", | ||
"test:browser": "vitest --config vitest.config.browser.mjs", | ||
"build": "tshy", | ||
"dev": "tshy --watch" | ||
"dev": "tshy --watch", | ||
"clean": "rm -rf node_modules .tshy .tshy-build dist .turbo" | ||
}, | ||
"author": "Andrew Lisowski <[email protected]>", | ||
"license": "MIT", | ||
|
@@ -24,7 +25,7 @@ | |
"@vitest/browser": "^1.4.0", | ||
"eslint": "^8.57.0", | ||
"tshy": "^1.12.0", | ||
"typescript": "^5.4.2", | ||
"typescript": "^5.5.4", | ||
"vite-plugin-node-polyfills": "^0.21.0", | ||
"vitest": "^1.4.0" | ||
}, | ||
|
Oops, something went wrong.