Skip to content

Commit

Permalink
Bulk update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
swissspidy committed Sep 29, 2023
1 parent 6f420c0 commit f4cd8ee
Show file tree
Hide file tree
Showing 33 changed files with 6,099 additions and 5,125 deletions.
2 changes: 1 addition & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -483,7 +483,7 @@
"rules": {
"eslint-comments/require-description": "off",
"testing-library/no-await-sync-events": "error",
"testing-library/no-await-sync-query": "error",
"testing-library/no-await-sync-queries": "error",
"testing-library/no-debugging-utils": "error",
"testing-library/no-dom-import": "error",
"jasmine/new-line-before-expect": "off",
Expand Down
15 changes: 8 additions & 7 deletions .storybook/main.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,14 @@ module.exports = {
],
storyIndexers: (indexers) => {
const indexer = (fileName, opts) => {
const code = readFileSync(fileName, { encoding: 'utf-8' });
return loadCsf(code, { ...opts, fileName }).parse();
const code = readFileSync(fileName, {
encoding: 'utf-8',
});
return loadCsf(code, {
...opts,
fileName,
}).parse();
};

return [
{
test: /stories\/.*\.js$/,
Expand Down Expand Up @@ -73,6 +77,7 @@ module.exports = {
},
docs: {
disabled: true,
autodocs: true,
},
//eslint-disable-next-line require-await -- Negligible.
webpackFinal: async (webpackConfig) => {
Expand Down Expand Up @@ -144,7 +149,6 @@ module.exports = {
),
})
);

webpackConfig.plugins.push(
new CircularDependencyPlugin({
// exclude detection of files based on a RegExp
Expand All @@ -164,15 +168,12 @@ module.exports = {
if (!test) {
return false;
}

if (Array.isArray(test)) {
return test.every((t) => t.test('.svg'));
}

return test.test('.svg');
});
assetRule.exclude = /\.svg/;

webpackConfig.module.rules.unshift(
{
test: /\.svg$/,
Expand Down
89 changes: 46 additions & 43 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit f4cd8ee

Please sign in to comment.