Skip to content

Commit

Permalink
Bulk update dependencies (#13458)
Browse files Browse the repository at this point in the history
  • Loading branch information
swissspidy authored Sep 29, 2023
1 parent 6f420c0 commit 17320c2
Show file tree
Hide file tree
Showing 37 changed files with 6,180 additions and 5,131 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
2 changes: 1 addition & 1 deletion .github/workflows/tests-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ jobs:
cache: npm

- name: Install dependencies
run: npm install puppeteer
run: npm ci
env:
PUPPETEER_PRODUCT: ${{ matrix.browser }}

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
3 changes: 3 additions & 0 deletions bin/local-env/install-wordpress.sh
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,9 @@ wp theme install twentytwenty --activate --force --quiet
echo -e $(status_message "Disable block directory and remote patterns...")
wp plugin activate web-stories-test-plugins/disable-block-directory --quiet

echo -e $(status_message "Disable Gravatar...")
wp plugin activate web-stories-test-plugins/disable-gravatar --quiet

# Set pretty permalinks.
echo -e $(status_message "Setting permalink structure...")
wp rewrite structure '%postname%' --hard --quiet
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 17320c2

Please sign in to comment.