fix: update build dependencies and improve documentation
Build and WordPress integration / PHP 7.4 syntax and regression tests (push) Canceled after 0s
Build and WordPress integration / PHP 8.3 syntax and regression tests (push) Canceled after 0s
Build and WordPress integration / WordPress 6.3 / PHP 7.4 (push) Canceled after 0s
Build and WordPress integration / WordPress latest / PHP 8.2 (push) Canceled after 0s

- Fix gettext-parser 9 compatibility and update Babel parser
- Apply targeted dependency security fixes and align Node.js requirements
- Add regression tests and document remaining dependency risks
- Review bundled player dependencies and advisory reachability
- Reformat English and Chinese READMEs and simplify wording
- Remove plugin version descriptions from README files

PR #39
This commit is contained in:
2026-10-14 17:43:24 +08:00
committed by GitHub
parent 85e5ffa0ec
commit 16d8400d76
13 changed files with 613 additions and 255 deletions
+5 -1
View File
@@ -4,12 +4,16 @@ This distribution contains the plugin's PHP and JavaScript source, block metadat
build configuration, scripts, and npm lockfile. The development repository is
https://github.com/LamGC/wp-asciiplayer .
Use Node.js 24 (24.15 or later), npm, and the standard `zip` command:
Use Node.js 24.18+ (24.x) or 26+, npm 11.16+, and the standard `zip` command:
npm ci
npm run build
npm run package
Node.js 22 and 25 are not supported by the complete development toolchain.
The Node requirement is for building/testing only; the plugin still supports
WordPress 6.3 and PHP 7.4.
The installable output is `dist/wp-asciiplayer.zip`. Generated assets are never
loaded from a CDN. `scripts/vendor.mjs` copies the pinned official npm
`[email protected]` distribution, verified by package-lock integrity, into