Skip to content

Commit

Permalink
bump dependencies (#3555)
Browse files Browse the repository at this point in the history
* bump dependencies

* update eslint rules
  • Loading branch information
akphi authored Sep 25, 2024
1 parent f3ee766 commit ea6c454
Show file tree
Hide file tree
Showing 38 changed files with 559 additions and 510 deletions.
32 changes: 32 additions & 0 deletions .changeset/hip-tables-wonder.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
---
'@finos/legend-application-pure-ide-deployment': patch
'@finos/legend-extension-dsl-data-space-studio': patch
'@finos/legend-extension-store-service-store': patch
'@finos/legend-vscode-extension-dependencies': patch
'@finos/legend-application-studio-bootstrap': patch
'@finos/legend-application-query-bootstrap': patch
'@finos/legend-application-repl-deployment': patch
'@finos/legend-extension-dsl-data-quality': patch
'@finos/legend-extension-store-relational': patch
'@finos/legend-server-showcase-deployment': patch
'@finos/legend-extension-dsl-persistence': patch
'@finos/legend-extension-store-flat-data': patch
'@finos/legend-extension-dsl-data-space': patch
'@finos/legend-application-data-cube': patch
'@finos/legend-extension-dsl-diagram': patch
'@finos/legend-extension-dsl-service': patch
'@finos/legend-application-pure-ide': patch
'@finos/legend-extension-assortment': patch
'@finos/legend-application-studio': patch
'@finos/legend-extension-dsl-text': patch
'@finos/legend-application-query': patch
'@finos/legend-application-repl': patch
'@finos/legend-query-builder': patch
'@finos/legend-application': patch
'@finos/legend-dev-utils': patch
'@finos/stylelint-config-legend-studio': patch
'@finos/eslint-plugin-legend-studio': patch
'@finos/legend-shared': patch
'@finos/legend-lego': patch
'@finos/legend-art': patch
---
32 changes: 32 additions & 0 deletions .changeset/rich-dolls-protect.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
---
'@finos/legend-application-pure-ide-deployment': patch
'@finos/legend-extension-dsl-data-space-studio': patch
'@finos/legend-extension-store-service-store': patch
'@finos/legend-vscode-extension-dependencies': patch
'@finos/legend-application-studio-bootstrap': patch
'@finos/legend-application-query-bootstrap': patch
'@finos/legend-application-repl-deployment': patch
'@finos/legend-extension-dsl-data-quality': patch
'@finos/legend-extension-store-relational': patch
'@finos/legend-server-showcase-deployment': patch
'@finos/legend-extension-dsl-persistence': patch
'@finos/legend-extension-store-flat-data': patch
'@finos/legend-extension-dsl-data-space': patch
'@finos/legend-application-data-cube': patch
'@finos/legend-extension-dsl-diagram': patch
'@finos/legend-extension-dsl-service': patch
'@finos/legend-application-pure-ide': patch
'@finos/legend-extension-assortment': patch
'@finos/legend-application-studio': patch
'@finos/legend-extension-dsl-text': patch
'@finos/legend-application-query': patch
'@finos/legend-application-repl': patch
'@finos/legend-query-builder': patch
'@finos/legend-application': patch
'@finos/legend-dev-utils': patch
'@finos/stylelint-config-legend-studio': patch
'@finos/eslint-plugin-legend-studio': patch
'@finos/legend-shared': patch
'@finos/legend-lego': patch
'@finos/legend-art': patch
---
4 changes: 2 additions & 2 deletions fixtures/legend-mock-server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,14 @@
"start": "node lib/index.js"
},
"dependencies": {
"@fastify/cors": "10.0.0",
"@fastify/cors": "10.0.1",
"fastify": "5.0.0"
},
"devDependencies": {
"@finos/legend-dev-utils": "workspace:*",
"cross-env": "7.0.3",
"eslint": "8.57.1",
"nodemon": "3.1.5",
"nodemon": "3.1.7",
"npm-run-all": "4.1.5",
"rimraf": "6.0.1",
"typescript": "5.6.2"
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@
"@finos/eslint-plugin-legend-studio": "workspace:*",
"@finos/legend-dev-utils": "workspace:*",
"@finos/stylelint-config-legend-studio": "workspace:*",
"@types/node": "22.5.5",
"@types/node": "22.7.0",
"chalk": "5.3.0",
"cross-env": "7.0.3",
"envinfo": "7.14.0",
Expand All @@ -112,9 +112,9 @@
"micromatch": "4.0.8",
"npm-run-all": "4.1.5",
"prettier": "3.3.3",
"prettier-plugin-tailwindcss": "0.6.6",
"prettier-plugin-tailwindcss": "0.6.8",
"rimraf": "6.0.1",
"sass": "1.79.1",
"sass": "1.79.3",
"semver": "7.6.3",
"sort-package-json": "2.10.1",
"stylelint": "16.9.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/eslint-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@
"dependencies": {
"@babel/core": "7.25.2",
"@babel/eslint-parser": "7.25.1",
"@typescript-eslint/eslint-plugin": "8.6.0",
"@typescript-eslint/parser": "8.6.0",
"@typescript-eslint/eslint-plugin": "8.7.0",
"@typescript-eslint/parser": "8.7.0",
"eslint": "8.57.1",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-import": "2.30.0",
Expand Down
24 changes: 7 additions & 17 deletions packages/eslint-plugin/src/configs/computationally-expensive.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,6 @@ const IMPORT_RULES = {
};

const TYPESCRIPT_RULES = {
// NOTE: following rules are classified as `type-aware` linting rule, which has huge initial performance impact on linting
// They require parserServices to be generated so we have to specify 'parserOptions.project' property for @typescript-esint/parser
// See https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/src/configs/recommended-type-checked.ts
'@typescript-eslint/consistent-type-exports': [
ERROR,
{ fixMixedExportsWithInlineTypeSpecifier: true },
],
'@typescript-eslint/prefer-nullish-coalescing': [
ERROR,
{
Expand All @@ -51,24 +44,21 @@ const TYPESCRIPT_RULES = {

'@typescript-eslint/no-implied-eval': ERROR,
'@typescript-eslint/await-thenable': ERROR,

'@typescript-eslint/unbound-method': WARN,
'@typescript-eslint/no-redundant-type-constituents': WARN,

// NOTE: since we turn on TS option --exactOptionalPropertyTypes, this rule mistakenly flags ?: ... | undefined as violation
// so we temporarily turn it off
// See https://github.com/typescript-eslint/typescript-eslint/issues/9203
'@typescript-eslint/no-duplicate-type-constituents': OFF,
'@typescript-eslint/unbound-method': WARN,

// The following rules are recommended but we need to disable them since we deem them unecessarily strict
// See https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/src/configs/recommended-type-checked.ts
// '@typescript-eslint/require-await': OFF, // in tests, we use `await act()` in various place and this rule is not appropriate there
// '@typescript-eslint/restrict-plus-operands': OFF,
// '@typescript-eslint/restrict-template-expressions': OFF,
// '@typescript-eslint/no-base-to-string': OFF,
// '@typescript-eslint/no-unsafe-call': OFF,
// '@typescript-eslint/no-unsafe-argument': OFF,
// '@typescript-eslint/no-unsafe-member-access': OFF,
// '@typescript-eslint/no-unsafe-enum-comparison': OFF, // we compare enum with strings a lot for valid reasons so this rule should be disabled
// '@typescript-eslint/no-unsafe-return': OFF, // we use `any` return type a lot for valid reasons so this rule should be disabled
'@typescript-eslint/no-unsafe-argument': OFF,
'@typescript-eslint/no-unsafe-member-access': OFF,
'@typescript-eslint/no-unsafe-enum-comparison': OFF, // we compare enum with strings a lot for valid reasons so this rule should be disabled
'@typescript-eslint/no-unsafe-return': OFF, // we use `any` return type a lot for valid reasons so this rule should be disabled
};

/**
Expand Down
4 changes: 0 additions & 4 deletions packages/eslint-plugin/src/configs/recommended.js
Original file line number Diff line number Diff line change
Expand Up @@ -219,10 +219,6 @@ const config = {
...IMPORT_RULES,
...REACT_RULES,
...STUDIO_RULES,
'@typescript-eslint/no-unsafe-argument': OFF,
'@typescript-eslint/no-unsafe-member-access': OFF,
'@typescript-eslint/no-unsafe-enum-comparison': OFF, // we compare enum with strings a lot for valid reasons so this rule should be disabled
'@typescript-eslint/no-unsafe-return': OFF, // we use `any` return type a lot for valid reasons so this rule should be disabled
},
};

Expand Down
2 changes: 1 addition & 1 deletion packages/legend-application-data-cube/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"jest": "29.7.0",
"npm-run-all": "4.1.5",
"rimraf": "6.0.1",
"sass": "1.79.1",
"sass": "1.79.3",
"typescript": "5.6.2"
},
"peerDependencies": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"@finos/legend-application-pure-ide": "workspace:*",
"@finos/legend-art": "workspace:*",
"@finos/legend-lego": "workspace:*",
"@types/react": "18.3.7",
"@types/react": "18.3.9",
"react": "18.3.1"
},
"devDependencies": {
Expand Down
6 changes: 3 additions & 3 deletions packages/legend-application-pure-ide/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,11 @@
"@finos/legend-graph": "workspace:*",
"@finos/legend-lego": "workspace:*",
"@finos/legend-shared": "workspace:*",
"@types/react": "18.3.7",
"@types/react": "18.3.9",
"@types/react-dom": "18.3.0",
"mobx": "6.13.2",
"mobx-react-lite": "4.0.7",
"monaco-editor": "0.51.0",
"monaco-editor": "0.52.0",
"react": "18.3.1",
"react-dnd": "16.0.1",
"react-dom": "18.3.1",
Expand All @@ -67,7 +67,7 @@
"jest": "29.7.0",
"npm-run-all": "4.1.5",
"rimraf": "6.0.1",
"sass": "1.79.1",
"sass": "1.79.3",
"typescript": "5.6.2"
},
"peerDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions packages/legend-application-query-bootstrap/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
"@finos/legend-graph": "workspace:*",
"@finos/legend-lego": "workspace:*",
"@finos/legend-shared": "workspace:*",
"@types/react": "18.3.7",
"@types/react": "18.3.9",
"react": "18.3.1"
},
"devDependencies": {
Expand All @@ -67,7 +67,7 @@
"eslint": "8.57.1",
"npm-run-all": "4.1.5",
"rimraf": "6.0.1",
"sass": "1.79.1",
"sass": "1.79.3",
"typescript": "5.6.2"
},
"publishConfig": {
Expand Down
4 changes: 2 additions & 2 deletions packages/legend-application-query/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
"@finos/legend-storage": "workspace:*",
"@testing-library/dom": "10.4.0",
"@testing-library/react": "16.0.1",
"@types/react": "18.3.7",
"@types/react": "18.3.9",
"@types/react-dom": "18.3.0",
"mobx": "6.13.2",
"mobx-react-lite": "4.0.7",
Expand All @@ -70,7 +70,7 @@
"jest": "29.7.0",
"npm-run-all": "4.1.5",
"rimraf": "6.0.1",
"sass": "1.79.1",
"sass": "1.79.3",
"typescript": "5.6.2"
},
"peerDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions packages/legend-application-repl-deployment/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"@finos/legend-application-repl": "workspace:*",
"@finos/legend-art": "workspace:*",
"@finos/legend-lego": "workspace:*",
"@types/react": "18.3.7",
"@types/react": "18.3.9",
"react": "18.3.1"
},
"devDependencies": {
Expand All @@ -53,7 +53,7 @@
"eslint": "8.57.1",
"npm-run-all": "4.1.5",
"rimraf": "6.0.1",
"tailwindcss": "3.4.12",
"tailwindcss": "3.4.13",
"typescript": "5.6.2",
"webpack": "5.94.0",
"webpack-bundle-analyzer": "4.10.2",
Expand Down
6 changes: 3 additions & 3 deletions packages/legend-application-repl/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,12 @@
"@finos/legend-graph": "workspace:*",
"@finos/legend-lego": "workspace:*",
"@finos/legend-shared": "workspace:*",
"@types/react": "18.3.7",
"@types/react": "18.3.9",
"@types/react-dom": "18.3.0",
"mathjs": "13.1.1",
"mobx": "6.13.2",
"mobx-react-lite": "4.0.7",
"monaco-editor": "0.51.0",
"monaco-editor": "0.52.0",
"react": "18.3.1",
"react-dnd": "16.0.1",
"react-dom": "18.3.1",
Expand All @@ -81,7 +81,7 @@
"jest": "29.7.0",
"npm-run-all": "4.1.5",
"rimraf": "6.0.1",
"sass": "1.79.1",
"sass": "1.79.3",
"typescript": "5.6.2"
},
"peerDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions packages/legend-application-studio-bootstrap/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
"@finos/legend-graph": "workspace:*",
"@finos/legend-lego": "workspace:*",
"@finos/legend-shared": "workspace:*",
"@types/react": "18.3.7",
"@types/react": "18.3.9",
"react": "18.3.1"
},
"devDependencies": {
Expand All @@ -68,7 +68,7 @@
"eslint": "8.57.1",
"npm-run-all": "4.1.5",
"rimraf": "6.0.1",
"sass": "1.79.1",
"sass": "1.79.3",
"typescript": "5.6.2"
},
"publishConfig": {
Expand Down
6 changes: 3 additions & 3 deletions packages/legend-application-studio/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,13 +57,13 @@
"@finos/legend-storage": "workspace:*",
"@testing-library/dom": "10.4.0",
"@testing-library/react": "16.0.1",
"@types/react": "18.3.7",
"@types/react": "18.3.9",
"@types/react-dom": "18.3.0",
"fast-xml-parser": "4.5.0",
"mobx": "6.13.2",
"mobx-react-lite": "4.0.7",
"mobx-utils": "6.0.8",
"monaco-editor": "0.51.0",
"monaco-editor": "0.52.0",
"node-diff3": "3.1.2",
"react": "18.3.1",
"react-dnd": "16.0.1",
Expand All @@ -79,7 +79,7 @@
"jest": "29.7.0",
"npm-run-all": "4.1.5",
"rimraf": "6.0.1",
"sass": "1.79.1",
"sass": "1.79.3",
"typescript": "5.6.2"
},
"peerDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions packages/legend-application/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"dependencies": {
"@finos/legend-art": "workspace:*",
"@finos/legend-shared": "workspace:*",
"@types/react": "18.3.7",
"@types/react": "18.3.9",
"@types/react-dom": "18.3.0",
"@types/react-router-dom": "5.3.3",
"history": "5.3.0",
Expand Down Expand Up @@ -75,7 +75,7 @@
"jest": "29.7.0",
"npm-run-all": "4.1.5",
"rimraf": "6.0.1",
"sass": "1.79.1",
"sass": "1.79.3",
"typescript": "5.6.2"
},
"peerDependencies": {
Expand Down
12 changes: 6 additions & 6 deletions packages/legend-art/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,10 @@
"@fontsource/roboto-mono": "5.1.0",
"@fontsource/roboto-serif": "5.1.0",
"@fontsource/ubuntu-mono": "5.1.0",
"@mui/material": "6.1.0",
"@mui/system": "6.1.0",
"@mui/x-date-pickers": "7.17.0",
"@types/react": "18.3.7",
"@mui/material": "6.1.1",
"@mui/system": "6.1.1",
"@mui/x-date-pickers": "7.18.0",
"@types/react": "18.3.9",
"@types/react-select": "4.0.18",
"@types/react-window": "1.8.8",
"clsx": "2.1.1",
Expand All @@ -80,7 +80,7 @@
"react-reflex": "4.2.6",
"react-resizable": "3.0.5",
"react-resize-detector": "11.0.1",
"react-rnd": "10.4.12",
"react-rnd": "10.4.13",
"react-select": "4.3.1",
"react-window": "1.8.10",
"remark-gfm": "4.0.0",
Expand All @@ -95,7 +95,7 @@
"jest": "29.7.0",
"npm-run-all": "4.1.5",
"rimraf": "6.0.1",
"sass": "1.79.1",
"sass": "1.79.3",
"typescript": "5.6.2"
},
"peerDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/legend-dev-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
"jsonc-parser": "3.3.1",
"micromatch": "4.0.8",
"mini-css-extract-plugin": "2.9.1",
"monaco-editor": "0.51.0",
"monaco-editor": "0.52.0",
"monaco-editor-webpack-plugin": "7.1.0",
"postcss": "8.4.47",
"postcss-loader": "8.1.1",
Expand Down
Loading

0 comments on commit ea6c454

Please sign in to comment.