Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bulk update dependencies #13458

Merged
merged 7 commits into from
Sep 29, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading