Skip to content

v3.0.3#893

Merged
robruiz merged 83 commits intomasterfrom
develop
Sep 15, 2025
Merged

v3.0.3#893
robruiz merged 83 commits intomasterfrom
develop

Conversation

@robruiz
Copy link
Contributor

@robruiz robruiz commented Sep 3, 2025

Description

While a minor version, this new version comes with many improvements to WP Rig. A full blog post will be created about it on wprig.io.

List of changes

  • Fixed js minification and removes obsolete dev dependency. Props @robruiz
  • Fixed corruption for files during the bundle for filesToCopy files. Props @skywardpro
  • Minor accessibility improvements to navigation. Props @SinghCod3r
  • Improvements to eslint system, TS compiling, and js minification. Props @erdmann040
  • Improvements to asset bundling. Props @robruiz
  • Theme.json file now created when block-based conversion is run. Props @SinghCod3r
  • New relative image path generation during css transpile. Props @robruiz
  • Added new cli command to auto-generate menu items. Props @robruiz
  • Fixed initial tests. All tests should pass now on fresh install. Props @robruiz
  • Removed outdated/deprecated/unnecessary deps. Props @robruiz
  • Fixed a bug that caused Gulp to crash frequently. Props @erdmann040

Checklist:

  • This pull request relates to a ticket.
  • This code is tested.
  • This change has been added to CHANGELOG.md
  • I want my code added to WP Rig.

dependabot bot and others added 30 commits December 8, 2022 03:32
Bumps [decode-uri-component](https://github.com/SamVerschueren/decode-uri-component) from 0.2.0 to 0.2.2.
- [Release notes](https://github.com/SamVerschueren/decode-uri-component/releases)
- [Commits](SamVerschueren/decode-uri-component@v0.2.0...v0.2.2)

---
updated-dependencies:
- dependency-name: decode-uri-component
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
…ri-component-0.2.2'

# Conflicts:
#	package-lock.json
# Conflicts:
#	package-lock.json
# Conflicts:
#	package-lock.json
- Replace .eslintrc with eslint.config.js using FlatCompat
- Add Babel parser support for JSX files
- Configure ignore patterns for minified files and build artifacts
- Maintain WPCS compliance with auto-fixing support
- Add dependencies: @eslint/eslintrc, @babel/eslint-parser, @babel/core, @babel/preset-react

Fixes: lint:js task now works correctly with modern ESLint
Updates branding.php to respect the 'display_header_text' Customizer setting, removing redundant links and screen reader chatter. Resolves #758.
Updates the editorSupport.js script to programmatically generate a theme.json file, as requested by the maintainer. Resolves #777.
Feat: Integrate theme.json for block editor settings
…ding-758

Fix(a11y): Prevent output of hidden site branding (#758)
Fix(nav): Resolve mobile navigation and submenu toggling (#697)
Fix: No more npm run dev crashes on PHP file editing
erdmann040 and others added 27 commits September 6, 2025 23:36
…erated

This ensures that browsers can automatically locate the corresponding .map
file, improving debugging capabilities in development mode.
…n dev/build BROKEN

Migrate CSS pipeline to LightningCSS bundleAsync to properly resolve @import and generate accurate source maps. This is a conceptual shift away from transform().

⚠️ CURRENT STATUS: BROKEN ⚠️

- npm run dev: ❌ fails

- npm run build: ❌ fails

Reason: follow-up work is required to integrate config-driven custom-media preload (_custom-media.css) without violating CSS @import ordering. Until resolved, the parser may throw errors and DevTools may still reference the top-level importer.

Next steps:

1) Ensure @import ordering is preserved across all files.

2) Insert custom-media after the top-level import block (or use a virtual import solution).

3) Keep sourceMap + sourceMapIncludeSources; append sourceMappingURL at the end of CSS.

Note: This commit intentionally isolates the architectural change so that subsequent fixes can be reviewed independently.
…rcemaps

Use LightningCSS bundler with a virtual import (virtual:preload.css) that
concatenates all files listed in dev.styles.importFrom. This ensures that
custom media, properties, etc. are injected once at the correct position
without breaking @import ordering.

Also:
- Replace hardcoded _custom-media.css handling
- Keep strict dev guard to detect late @import usage
- Emit source maps with explicit sourceMappingURL comment
The old name "importFrom" was a leftover from PostCSS times and is now
deprecated. Use the clearer "preload" key instead. For backwards
compatibility, "importFrom" is still supported but will emit a warning.
Drop leftover console.log of sourcemap sources that was only useful
during debugging. Now only warnings are emitted on parse failure or
empty sources.
…folder

replaces the eclinrc.json in the gulp folder
fix(lint): make Flat Config work with ESLint 8; remove legacy config; scope to assets/js/src
fix: add chokidar-cli so `watch:css` works (fixes #912)
Fix: Silence deprecation warnings on Options page (minimal change)
# Conflicts:
#	package-lock.json
#	package.json
@robruiz robruiz merged commit 0874a3a into master Sep 15, 2025
@robruiz robruiz deleted the develop branch September 15, 2025 04:33
@robruiz robruiz restored the develop branch September 22, 2025 01:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

5 participants