Skip to content

Commit

Permalink
upgrad deps
Browse files Browse the repository at this point in the history
  • Loading branch information
erikbrinkman committed Jun 19, 2024
1 parent 05c3c0e commit d3afaaf
Show file tree
Hide file tree
Showing 9 changed files with 1,963 additions and 2,904 deletions.
3 changes: 0 additions & 3 deletions .eslintignore

This file was deleted.

546 changes: 0 additions & 546 deletions .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs

This file was deleted.

9 changes: 0 additions & 9 deletions .yarn/plugins/@yarnpkg/plugin-typescript.cjs

This file was deleted.

550 changes: 0 additions & 550 deletions .yarn/plugins/@yarnpkg/plugin-version.cjs

This file was deleted.

683 changes: 342 additions & 341 deletions .yarn/releases/yarn-4.1.0.cjs → .yarn/releases/yarn-4.3.0.cjs

Large diffs are not rendered by default.

10 changes: 1 addition & 9 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1 @@
plugins:
- path: .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs
spec: "@yarnpkg/plugin-interactive-tools"
- path: .yarn/plugins/@yarnpkg/plugin-typescript.cjs
spec: "@yarnpkg/plugin-typescript"
- path: .yarn/plugins/@yarnpkg/plugin-version.cjs
spec: "@yarnpkg/plugin-version"

yarnPath: .yarn/releases/yarn-4.1.0.cjs
yarnPath: .yarn/releases/yarn-4.3.0.cjs
146 changes: 146 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,146 @@
import eslint from "@eslint/js";
import jest from "eslint-plugin-jest";
import spellcheck from "eslint-plugin-spellcheck";
import tsdoc from "eslint-plugin-tsdoc";
import tseslint from "typescript-eslint";

export default tseslint.config(
eslint.configs.recommended,
...tseslint.configs.recommendedTypeChecked,
//...tseslint.configs.stylisticTypeChecked,
//...tseslint.configs.strictTypeChecked,
{
languageOptions: {
parserOptions: {
project: true,
tsconfigRootDir: import.meta.dirname,
},
},
plugins: {
jest,
spellcheck,
tsdoc,
},
rules: {
"no-console": "error",
"tsdoc/syntax": "error",
"prefer-const": [
"error",
{
destructuring: "all",
},
],
"no-warning-comments": [
"error",
{
terms: ["fixme"],
location: "anywhere",
},
],
"@typescript-eslint/no-unnecessary-type-assertion": "error",
"@typescript-eslint/no-unused-vars": [
"error",
{
varsIgnorePattern: "^_+$",
},
],
"spellcheck/spell-checker": [
"error",
{
identifiers: false,
skipWords: [
"Awan",
"Azura",
"Emden",
"Flowgen",
"Flowtype",
"Gansner",
"Noam",
"accessor",
"accessors",
"acyclic",
"advisee",
"aggregator",
"aggregators",
"bidirectionalizes",
"bigrams",
"bottomup",
"coffman",
"coffmangraham",
"contravariant",
"coord",
"covariant",
"curviness",
"customizable",
"decrement",
"decross",
"decrossed",
"decrossing",
"decrossings",
"decycle",
"dedup",
"deserializing",
"directionally",
"ecode",
"esnext",
"grafo",
"graphvis",
"hydrator",
"idescendants",
"iife",
"ilinks",
"indeg",
"infeasible",
"initializers",
"inits",
"invariants",
"iroots",
"isplit",
"iter",
"iterables",
"javascript",
"lagrangian",
"laidout",
"longestpath",
"minimizers",
"multidag",
"multigraph",
"multimap",
"multitree",
"nchild",
"nchildren",
"negatable",
"outdeg",
"parametrize",
"quadprog",
"radix",
"readonly",
"rect",
"replacer",
"rescale",
"rescaled",
"resized",
"resizing",
"suboptimal",
"sugi",
"sugify",
"sugiyama",
"tabularesque",
"topdown",
"transpiled",
"transpiling",
"twolayer",
"unordered",
"unranked",
"unsugify",
"vals",
"vert",
"verticality",
"zherebko",
],
minLength: 4,
},
],
},
},
);
194 changes: 23 additions & 171 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@
"/dist/**/*.d.ts"
],
"scripts": {
"fmt": "pnpify prettier --write --cache '{src,test-d}/**/*.ts' '*.json' 'examples/*.json' bundle.test.ts bundle.mjs flow.mjs",
"lint:ts": "tsc",
"fmt": "pnpify prettier --write --cache '{src,test-d}/**/*.ts' '*.json' 'examples/*.json' bundle.test.ts bundle.mjs flow.mjs eslint.config.mjs",
"lint:ts": "pnpify tsc",
"lint:es": "eslint --cache src/**/*.ts",
"lint:doc": "typedoc --emit none",
"lint": "yarn lint:ts && yarn lint:doc && yarn lint:es",
Expand All @@ -51,34 +51,36 @@
"stringify-object": "^5.0.0"
},
"devDependencies": {
"@babel/core": "^7.23.9",
"@babel/preset-env": "^7.23.9",
"@babel/preset-typescript": "^7.23.3",
"@babel/types": "^7.23.9",
"@babel/core": "^7.24.7",
"@babel/preset-env": "^7.24.7",
"@babel/preset-typescript": "^7.24.7",
"@babel/types": "^7.24.7",
"@eslint/eslintrc": "^3.1.0",
"@eslint/js": "^9.5.0",
"@types/d3-array": "^3.2.1",
"@types/eslint__js": "^8.42.3",
"@types/jest": "^29.5.12",
"@types/node": "^20.11.19",
"@types/node": "^20.14.6",
"@types/stringify-object": "^4.0.5",
"@typescript-eslint/eslint-plugin": "^7.0.2",
"@typescript-eslint/parser": "^7.0.2",
"@yarnpkg/pnpify": "^4.0.1",
"@yarnpkg/pnpify": "^4.1.0",
"babel-jest": "^29.7.0",
"chalk": "^5.3.0",
"esbuild": "^0.20.1",
"esbuild": "^0.21.5",
"esbuild-plugin-ignore": "^1.1.1",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-jest": "^27.9.0",
"eslint": "^9.5.0",
"eslint-plugin-jest": "^28.6.0",
"eslint-plugin-spellcheck": "^0.0.20",
"eslint-plugin-tsdoc": "^0.2.17",
"eslint-plugin-tsdoc": "^0.3.0",
"flowgen": "^1.21.0",
"glob": "^10.3.10",
"glob": "^10.4.2",
"globals": "^15.6.0",
"jest": "^29.7.0",
"prettier": "^3.2.5",
"prettier": "^3.3.2",
"prettier-plugin-organize-imports": "^3.2.4",
"read-package-json": "^7.0.0",
"typedoc": "^0.25.8",
"typescript": "^5.3.3"
"read-package-json": "^7.0.1",
"typedoc": "^0.25.13",
"typescript": "^5.4.5",
"typescript-eslint": "^7.13.1"
},
"prettier": {
"plugins": [
Expand All @@ -90,155 +92,5 @@
"node_modules/(?!(d3-array|internmap|stringify-object|is-regexp|is-obj|get-own-enumerable-keys)/)"
]
},
"eslintConfig": {
"root": true,
"parser": "@typescript-eslint/parser",
"parserOptions": {
"project": [
"./tsconfig.json"
]
},
"plugins": [
"@typescript-eslint",
"jest",
"spellcheck",
"eslint-plugin-tsdoc"
],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:@typescript-eslint/recommended-requiring-type-checking",
"plugin:jest/recommended",
"prettier"
],
"env": {
"node": true
},
"rules": {
"no-console": "error",
"@typescript-eslint/no-unnecessary-type-assertion": "error",
"tsdoc/syntax": "error",
"@typescript-eslint/no-inferrable-types": "off",
"@typescript-eslint/no-non-null-assertion": "off",
"@typescript-eslint/no-unused-vars": [
"error",
{
"varsIgnorePattern": "^_+$"
}
],
"prefer-const": [
"error",
{
"destructuring": "all"
}
],
"no-warning-comments": [
"error",
{
"terms": [
"fixme"
],
"location": "anywhere"
}
],
"spellcheck/spell-checker": [
"error",
{
"identifiers": false,
"skipWords": [
"Awan",
"Azura",
"Emden",
"Flowgen",
"Flowtype",
"Gansner",
"Noam",
"accessor",
"accessors",
"acyclic",
"advisee",
"aggregator",
"aggregators",
"bidirectionalizes",
"bigrams",
"bottomup",
"coffman",
"coffmangraham",
"contravariant",
"coord",
"covariant",
"curviness",
"customizable",
"decrement",
"decross",
"decrossed",
"decrossing",
"decrossings",
"decycle",
"dedup",
"deserializing",
"directionally",
"ecode",
"esnext",
"grafo",
"graphvis",
"hydrator",
"idescendants",
"iife",
"ilinks",
"indeg",
"infeasible",
"initializers",
"inits",
"invariants",
"iroots",
"isplit",
"iter",
"iterables",
"javascript",
"lagrangian",
"laidout",
"longestpath",
"minimizers",
"multidag",
"multigraph",
"multimap",
"multitree",
"nchild",
"nchildren",
"negatable",
"outdeg",
"parametrize",
"quadprog",
"radix",
"readonly",
"rect",
"replacer",
"rescale",
"rescaled",
"resized",
"resizing",
"suboptimal",
"sugi",
"sugify",
"sugiyama",
"tabularesque",
"topdown",
"transpiled",
"transpiling",
"twolayer",
"unordered",
"unranked",
"unsugify",
"vals",
"vert",
"verticality",
"zherebko"
],
"minLength": 4
}
]
}
},
"packageManager": "yarn@4.1.0"
"packageManager": "yarn@4.3.0"
}
Loading

0 comments on commit d3afaaf

Please sign in to comment.