Skip to content

Commit 93cb25f

Browse files
committed
OEL-4823: Update deprecated packages.
1 parent 3833ede commit 93cb25f

9 files changed

Lines changed: 517 additions & 790 deletions

File tree

.eslintrc.js

Lines changed: 0 additions & 32 deletions
This file was deleted.

.storybook/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ const config = {
8484
options: {},
8585
},
8686
core: {
87-
builder: getAbsolutePath("@storybook/builder-webpack5"),
87+
builder: require.resolve("@storybook/builder-webpack5"),
8888
},
8989
staticDirs: ["../assets"],
9090
stories,

bootstrap/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"bootstrap": "5.3.8",
2525
"bootstrap-icons": "1.13.1",
2626
"copyfiles": "2.4.1",
27-
"eslint": "^8.57.0",
27+
"eslint": "^9.39.4",
2828
"npm-run-all": "4.1.5",
2929
"rimraf": "6.1.3"
3030
},

eslint.config.cjs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
// eslint.config.cjs
2-
const { defineFlatConfig } = require("eslint-define-config");
32
const babelParser = require("@babel/eslint-parser"); // IMPORTANT: require the parser
43
const jestPlugin = require("eslint-plugin-jest");
54

6-
module.exports = defineFlatConfig([
5+
module.exports = [
76
{
87
ignores: [
98
'**/slimselect.min.js',
@@ -53,4 +52,4 @@ module.exports = defineFlatConfig([
5352
'no-undef': 'off'
5453
}
5554
}
56-
]);
55+
];

package.json

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
"publish": "scripts/publish.sh",
4545
"start": "npm-run-all \"build:theme:{1}\" \"build:storybook:{1}\" --parallel \"storybook:{1}\" \"watch {1}\" --",
4646
"size": "size-limit",
47-
"storybook:dev": "storybook dev --port 5000 --ci",
47+
"storybook:dev": "storybook dev --port 5001 --ci",
4848
"storybook:default": "storybook dev --port 5001 -c src/themes/default/storybook/.storybook --ci",
4949
"storybook:joinup": "STORYBOOK_THEME=joinup storybook dev --port 5002 -c src/themes/joinup/storybook/.storybook --ci",
5050
"test": "npm-run-all 'lint:*' twig:snapshots",
@@ -106,17 +106,9 @@
106106
"browser-update": "3.3.63",
107107
"buffer": "^6.0.3",
108108
"copyfiles": "2.4.1",
109-
"eslint": "^8.57.1",
110-
"eslint-config-airbnb": "19.0.4",
111-
"eslint-config-airbnb-base": "15.0.0",
112-
"eslint-config-prettier": "10.1.8",
113-
"eslint-define-config": "^2.1.0",
114-
"eslint-plugin-import": "2.32.0",
109+
"crypto-browserify": "3.12.1",
110+
"eslint": "^9.39.4",
115111
"eslint-plugin-jest": "^29.15.2",
116-
"eslint-plugin-jsx-a11y": "^6.10.2",
117-
"eslint-plugin-prettier": "5.5.5",
118-
"eslint-plugin-react": "^7.37.5",
119-
"eslint-plugin-react-hooks": "^4.6.2",
120112
"glob": "13.0.6",
121113
"husky": "9.1.7",
122114
"jest": "30.4.2",

0 commit comments

Comments
 (0)