-
-
Notifications
You must be signed in to change notification settings - Fork 766
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* update root deps * upgrade vitest * move folder * upgrade zod * fix build script * upgrade vitest browser * upgrade vite-plugin-node-polyfills * missed some tshy * upgrade playwright * upgrade png types * upgrade rollup deps * define engines * correct node types * ugrade docs deps * update pnpm * upgrade eslint
- Loading branch information
1 parent
ba9de4d
commit 97d073b
Showing
282 changed files
with
2,154 additions
and
2,954 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"reject": [ | ||
// These deps are esm only | ||
"pixelmatch", | ||
"mime", | ||
"@types/mime", | ||
"file-type", | ||
// We support node 18 and above | ||
"@types/node" | ||
] | ||
} |
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
{ | ||
"prettier.prettierPath": "./node_modules/prettier/index.cjs", | ||
} | ||
"prettier.prettierPath": "./node_modules/prettier/index.cjs" | ||
} |
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 |
---|---|---|
@@ -1,13 +1,15 @@ | ||
{ | ||
"name": "jimp-monorepo", | ||
"private": true, | ||
"packageManager": "[email protected]", | ||
"description": "The jimp monorepo.", | ||
"repository": "jimp-dev/jimp", | ||
"author": "Andrew Lisowski <[email protected]>", | ||
"engines": { | ||
"node": ">=18" | ||
}, | ||
"author": "Andrew Lisowski <[email protected]>", | ||
"scripts": { | ||
"build": "turbo run build build:browser --filter=!docs", | ||
"build": "turbo run build build:browser --filter=!@jimp/docs", | ||
"dev": "turbo run dev", | ||
"lint": "turbo run lint", | ||
"test": "turbo run test -- --watch=false", | ||
|
@@ -16,24 +18,19 @@ | |
"format": "prettier --write \"**/*.{ts,tsx,md}\"", | ||
"release": "pnpm build && auto shipit", | ||
"generate-package": "turbo gen package", | ||
"generate-plugin": "turbo gen plugin" | ||
"generate-plugin": "turbo gen plugin", | ||
"check-updates": "ncu --packageFile '{,*/**/}package.json'" | ||
}, | ||
"devDependencies": { | ||
"@auto-it/all-contributors": "^11.2.1", | ||
"@auto-it/first-time-contributor": "^11.2.1", | ||
"@auto-it/released": "^11.2.1", | ||
"@jimp/config-eslint": "workspace:*", | ||
"@jimp/config-typescript": "workspace:*", | ||
"@turbo/gen": "^1.12.5", | ||
"any-base": "^1.1.0", | ||
"@turbo/gen": "^2.1.1", | ||
"auto": "^11.2.1", | ||
"prettier": "^3.2.5", | ||
"turbo": "^1.13.0" | ||
}, | ||
"packageManager": "[email protected]", | ||
"publishConfig": { | ||
"registry": "https://registry.npmjs.org/", | ||
"access": "public" | ||
}, | ||
"sideEffects": false | ||
"npm-check-updates": "^17.1.1", | ||
"prettier": "^3.3.3", | ||
"turbo": "^2.1.1" | ||
} | ||
} |
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 |
---|---|---|
@@ -1,44 +1,28 @@ | ||
const { resolve } = require("node:path"); | ||
import js from "@eslint/js"; | ||
import eslintConfigPrettier from "eslint-config-prettier"; | ||
import turboPlugin from "eslint-plugin-turbo"; | ||
import tseslint from "typescript-eslint"; | ||
|
||
const project = resolve(process.cwd(), "tsconfig.json"); | ||
|
||
/** @type {import("eslint").Linter.Config} */ | ||
module.exports = { | ||
extends: [ | ||
"eslint:recommended", | ||
"prettier", | ||
"eslint-config-turbo", | ||
"plugin:@typescript-eslint/recommended", | ||
], | ||
plugins: ["only-warn"], | ||
globals: { | ||
React: true, | ||
JSX: true, | ||
}, | ||
env: { | ||
node: true, | ||
export default [ | ||
js.configs.recommended, | ||
eslintConfigPrettier, | ||
...tseslint.configs.recommended, | ||
{ | ||
ignores: [ | ||
// Ignore dotfiles | ||
".*.js", | ||
"node_modules/", | ||
"dist/", | ||
"**/browser.js", | ||
], | ||
}, | ||
settings: { | ||
"import/resolver": { | ||
typescript: { | ||
project, | ||
}, | ||
{ | ||
name: "eslint-config-turbo (recreated flat)", | ||
plugins: { | ||
turbo: { rules: turboPlugin.rules }, | ||
}, | ||
}, | ||
parser: "@typescript-eslint/parser", | ||
parserOptions: { | ||
project, | ||
}, | ||
ignorePatterns: [ | ||
// Ignore dotfiles | ||
".*.js", | ||
"node_modules/", | ||
"dist/", | ||
"**/browser.js", | ||
], | ||
overrides: [ | ||
{ | ||
files: ["*.js?(x)", "*.ts?(x)"], | ||
rules: { | ||
"turbo/no-undeclared-env-vars": "error", | ||
}, | ||
], | ||
}; | ||
}, | ||
]; |
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 |
---|---|---|
|
@@ -19,4 +19,4 @@ | |
"allowJs": true, | ||
"target": "ES2022" | ||
} | ||
} | ||
} |
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 was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
import shared from "@jimp/config-eslint/base.js"; | ||
export default [ | ||
...shared, | ||
{ | ||
rules: { | ||
"@typescript-eslint/no-explicit-any": "off", | ||
}, | ||
}, | ||
]; |
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
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 was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
import shared from "@jimp/config-eslint/base.js"; | ||
export default [...shared]; |
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
Oops, something went wrong.