Skip to content

Commit

Permalink
Merge pull request #787 from westonruter/add/upstream-code-block-watc…
Browse files Browse the repository at this point in the history
…hing

Automate checking for upstream changes to Code block's edit.js
  • Loading branch information
westonruter authored Nov 22, 2023
2 parents 2a415f3 + 3608787 commit 16730cf
Show file tree
Hide file tree
Showing 4 changed files with 179 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ jobs:
- name: Validate package.json
run: npm run lint:pkg-json

- name: Check @wordpress/block-library checksum
run: npm run md5sum:check

- name: Detect coding standard violations (stylelint)
run: npm run lint:css

Expand Down
1 change: 1 addition & 0 deletions block-library.md5
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
8d5405f9c190cb3c26853a4954685925 node_modules/@wordpress/block-library/src/code/edit.js
172 changes: 172 additions & 0 deletions package-lock.json

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

3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
"devDependencies": {
"@wordpress/api-fetch": "6.43.0",
"@wordpress/block-editor": "12.14.0",
"@wordpress/block-library": "8.23.0",
"@wordpress/blocks": "12.23.0",
"@wordpress/components": "25.12.0",
"@wordpress/editor": "13.23.0",
Expand Down Expand Up @@ -64,6 +65,8 @@
"lint:php:fix": "composer phpcbf",
"lint:phpstan": "composer analyze",
"lint:pkg-json": "wp-scripts lint-pkg-json . --ignorePath .gitignore",
"md5sum:check": "md5sum -c block-library.md5",
"md5sum:update": "md5sum node_modules/@wordpress/block-library/src/code/edit.js > block-library.md5",
"prepare": "husky install",
"start": "wp-scripts start src/index.js src/customize-controls.js --output-path=build",
"symlink-wp-env-install-paths": "bin/symlink-wp-env-install-paths.sh",
Expand Down

0 comments on commit 16730cf

Please sign in to comment.