-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build(package): upgrade to yarn v4 (#420)
Closes #346 hey
- Loading branch information
Showing
8 changed files
with
16,716 additions
and
11,884 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
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 @@ | ||
nodeLinker: node-modules |
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 |
---|---|---|
|
@@ -31,4 +31,7 @@ module.exports = { | |
}, | ||
], | ||
}, | ||
eslint: { | ||
enable: false, | ||
}, | ||
}; |
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,47 @@ | ||
// Most of this file is created via running `yarn dlx @eslint/migrate-config .eslintrc.json` on top of our old `.eslintrc.json` file | ||
import { fixupConfigRules, fixupPluginRules } from "@eslint/compat"; | ||
import prettier from "eslint-plugin-prettier"; | ||
import babelParser from "@babel/eslint-parser"; | ||
import path from "node:path"; | ||
import { fileURLToPath } from "node:url"; | ||
import js from "@eslint/js"; | ||
Check warning on line 7 in reana-ui/eslint.config.mjs
|
||
import { FlatCompat } from "@eslint/eslintrc"; | ||
|
||
const __filename = fileURLToPath(import.meta.url); | ||
const __dirname = path.dirname(__filename); | ||
const compat = new FlatCompat({ | ||
baseDirectory: __dirname, | ||
}); | ||
|
||
export default [ | ||
Check warning on line 16 in reana-ui/eslint.config.mjs
|
||
...fixupConfigRules( | ||
compat.extends("plugin:prettier/recommended", "react-app", "prettier"), | ||
), | ||
{ | ||
plugins: { | ||
prettier: fixupPluginRules(prettier), | ||
}, | ||
|
||
languageOptions: { | ||
parser: babelParser, | ||
ecmaVersion: 5, | ||
sourceType: "script", | ||
|
||
parserOptions: { | ||
requireConfigFile: false, | ||
sourceType: "module", | ||
ecmaVersion: 2022, | ||
|
||
babelOptions: { | ||
presets: ["@babel/preset-react"], | ||
}, | ||
}, | ||
}, | ||
|
||
rules: { | ||
"prettier/prettier": "error", | ||
"react/jsx-uses-react": "off", | ||
"react/react-in-jsx-scope": "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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,9 +25,6 @@ | |
"redux-thunk": "^2.3.0", | ||
"semantic-ui-react": "^2.0.0" | ||
}, | ||
"resolutions": { | ||
"jsroot/gl/node-gyp": "<9.4.0" | ||
}, | ||
"scripts": { | ||
"analyze": "source-map-explorer 'build/static/js/*.js'", | ||
"start": "craco start", | ||
|
@@ -55,26 +52,35 @@ | |
}, | ||
"devDependencies": { | ||
"@babel/core": "^7.23.2", | ||
"@babel/eslint-parser": "^7.16.5", | ||
"@babel/eslint-parser": "^7.26.5", | ||
"@babel/plugin-proposal-private-property-in-object": "^7.16.7", | ||
"@craco/craco": "^7.1.0", | ||
"@eslint/compat": "^1.2.6", | ||
"@eslint/eslintrc": "^3.2.0", | ||
"@eslint/js": "^9.19.0", | ||
"@semantic-ui-react/craco-less": "^3.0.0", | ||
"@semantic-ui-react/css-patch": "^1.0.0", | ||
"@testing-library/jest-dom": "^6.1.4", | ||
"@testing-library/react": "^14.0.0", | ||
"@typescript-eslint/eslint-plugin": "^8.23.0", | ||
"@typescript-eslint/parser": "^8.23.0", | ||
"craco-alias": "^3.0.1", | ||
"eslint": "^9.19.0", | ||
"eslint-config-prettier": "^9.0.0", | ||
"eslint-config-react-app": "^7.0.1", | ||
"eslint-plugin-prettier": "^5.0.1", | ||
"eslint-plugin-import": "^2.31.0", | ||
"eslint-plugin-prettier": "^5.2.3", | ||
"eslint-plugin-react": "^7.23.2", | ||
"npm-run-all": "^4.1.5", | ||
"prettier": "^3.0.3", | ||
"semantic-ui-less": "^2.4.1", | ||
"source-map-explorer": "^2.5.0" | ||
"source-map-explorer": "^2.5.0", | ||
"typescript": "^5.7.3" | ||
}, | ||
"jest": { | ||
"transformIgnorePatterns": [ | ||
"node_modules/(?!axios)/" | ||
] | ||
} | ||
}, | ||
"packageManager": "[email protected]" | ||
} |
Oops, something went wrong.