-
Notifications
You must be signed in to change notification settings - Fork 946
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Build housekeeping for December (#2760)
* Updated tape, tsup, tsx, and tslib dependencies in monorepo packages. * Updated other build dependencies such as monorepolint, babel, rollup, and lerna. Removed MRL rule for rollup version as we only use it in one package. * Upgraded eslint dependencies and config file.
- Loading branch information
1 parent
7ae02b9
commit 42ad7b8
Showing
121 changed files
with
4,040 additions
and
3,281 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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
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,89 @@ | ||
import typescriptEslint from "@typescript-eslint/eslint-plugin"; | ||
import globals from "globals"; | ||
import tsParser from "@typescript-eslint/parser"; | ||
import js from "@eslint/js"; | ||
import tsEslint from "typescript-eslint"; | ||
import prettierRecommended from "eslint-plugin-prettier/recommended"; | ||
|
||
export default tsEslint.config( | ||
js.configs.recommended, | ||
tsEslint.configs.recommended, | ||
{ | ||
ignores: [ | ||
"**/dist/**/*", | ||
"**/node_modules", | ||
"packages/turf/turf.js", | ||
"packages/turf/turf.min.js", | ||
"packages/turf/test.example.js", | ||
], | ||
}, | ||
{ | ||
plugins: { | ||
"@typescript-eslint": typescriptEslint, | ||
}, | ||
|
||
languageOptions: { | ||
globals: { | ||
...globals.node, | ||
}, | ||
|
||
parser: tsParser, | ||
ecmaVersion: 6, | ||
sourceType: "module", | ||
}, | ||
|
||
rules: { | ||
"@typescript-eslint/no-unused-vars": [ | ||
"error", | ||
{ | ||
argsIgnorePattern: "^_", | ||
}, | ||
], | ||
|
||
"@typescript-eslint/explicit-module-boundary-types": "off", | ||
"@typescript-eslint/no-explicit-any": "off", | ||
"@typescript-eslint/no-non-null-assertion": "off", | ||
"@typescript-eslint/no-var-requires": "off", | ||
"no-constant-condition": "off", | ||
"no-redeclare": "off", | ||
"no-var": "off", | ||
"prefer-const": "off", | ||
}, | ||
}, | ||
{ | ||
files: ["packages/*/types.ts", "packages/*/test.ts"], | ||
|
||
rules: { | ||
"@typescript-eslint/no-unused-vars": "off", | ||
"@typescript-eslint/no-unused-expressions": "off", | ||
}, | ||
}, | ||
{ | ||
files: [ | ||
"**/.eslintrc.js", | ||
"packages/*/bench.js", | ||
"packages/*/test.js", | ||
"packages/turf/rollup.config.js", | ||
"scripts/check-dependencies.js", | ||
], | ||
|
||
languageOptions: { | ||
globals: { | ||
...globals.node, | ||
}, | ||
}, | ||
}, | ||
{ | ||
files: [ | ||
"packages/turf-isobands/lib/marchingsquares-isobands.js", | ||
"packages/turf-isolines/lib/marchingsquares-isocontours.js", | ||
], | ||
|
||
languageOptions: { | ||
globals: { | ||
...globals.browser, | ||
}, | ||
}, | ||
}, | ||
prettierRecommended | ||
); |
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 |
---|---|---|
|
@@ -29,38 +29,39 @@ | |
}, | ||
"packageManager": "[email protected]+sha512.d1a029e1a447ad90bc96cd58b0fad486d2993d531856396f7babf2d83eb1823bb83c5a3d0fc18f675b2d10321d49eb161fece36fe8134aa5823ecd215feed392", | ||
"devDependencies": { | ||
"@monorepolint/cli": "0.5.0-alpha.132", | ||
"@monorepolint/config": "0.5.0-alpha.132", | ||
"@monorepolint/core": "0.5.0-alpha.132", | ||
"@monorepolint/rules": "0.5.0-alpha.132", | ||
"@eslint/eslintrc": "^3.2.0", | ||
"@eslint/js": "^9.16.0", | ||
"@monorepolint/cli": "0.5.0", | ||
"@monorepolint/config": "0.5.0", | ||
"@monorepolint/core": "0.5.0", | ||
"@monorepolint/rules": "0.5.0", | ||
"@types/node": "18.11.9", | ||
"@typescript-eslint/eslint-plugin": "^6.10.0", | ||
"@typescript-eslint/parser": "^6.10.0", | ||
"acorn": "^7.4.1", | ||
"camelcase": "^8.0.0", | ||
"d3-queue": "*", | ||
"decamelize": "^6.0.0", | ||
"dependency-tree": "^11.0.0", | ||
"documentation": "^14.0.3", | ||
"es-check": "^7.1.1", | ||
"eslint": "^8.53.0", | ||
"eslint-config-prettier": "^9.0.0", | ||
"eslint-plugin-prettier": "^5.0.1", | ||
"eslint": "^9.16.0", | ||
"eslint-config-prettier": "^9.1.0", | ||
"eslint-plugin-prettier": "^5.2.1", | ||
"esm": "^3.2.25", | ||
"fs-extra": "^11.1.1", | ||
"glob": "^10.3.10", | ||
"globals": "^15.13.0", | ||
"husky": "^9.0.0", | ||
"lerna": "^8.1.7", | ||
"lerna": "^8.1.9", | ||
"lint-staged": "^15.2.8", | ||
"load-json-file": "^7.0.1", | ||
"meow": "^12.1.1", | ||
"npm-run-all": "^4.1.5", | ||
"prettier": "^3.3.3", | ||
"progress": "^2.0.3", | ||
"ts-node": "^9.0.0", | ||
"tsup": "^8.0.1", | ||
"tsx": "^4.6.2", | ||
"tsup": "^8.3.5", | ||
"tsx": "^4.19.2", | ||
"typescript": "^5.5.4", | ||
"typescript-eslint": "^8.17.0", | ||
"yamljs": "^0.3.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
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
Oops, something went wrong.