mirror of
https://github.com/LamGC/wp-asciiplayer.git
synced 2026-11-26 20:55:48 +00:00
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
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user