
Security News
Bun 1.2.19 Adds Isolated Installs for Better Monorepo Support
Bun 1.2.19 introduces isolated installs for smoother monorepo workflows, along with performance boosts, new tooling, and key compatibility fixes.
@devgateway/upgrade-wp-customizer
Advanced tools
Upgrade and modernize your WordPress Customizer projects to use the latest block-based structure and best practices, with automated code transformations and dependency management.
@devgateway/dvz-wp-commons
and updates environment variable usage.blocks
directory.npm install -g @devgateway/upgrade-wp-customizer
# or
yarn global add @devgateway/upgrade-wp-customizer
# or
pnpm add -g @devgateway/upgrade-wp-customizer
Navigate to the root of your WordPress Customizer project and run:
npx @devgateway/upgrade-wp-customizer
--force
--force
is used).template/
updated directory) into your project, including:
blocks/
directory with a modern block setup (JS, PHP, CSS, Webpack config, etc.)index.php
and other supporting files.@devgateway/dvz-wp-commons
.process.env.BLOCKS_NS
and process.env.BLOCKS_CATEGORY
with direct imports.require
statements in blocks/index.js
or index.jsx
to ES imports.blocks
directory (supports npm, yarn, pnpm, or skip).Your project will have a new blocks/
directory with a modern block setup.
All relevant imports will use @devgateway/dvz-wp-commons
.
You may need to review and test your project to ensure everything works as expected.
If you skipped dependency installation, run the following in the blocks/
directory:
npm install
npm install @devgateway/dvz-wp-commons
# or use yarn/pnpm as appropriate
The template includes:
blocks/
index.php
– Registers the block and enqueues scripts/styles.webpack.config.js
– Webpack config for block JS.package.json
– With recommended dependencies and scripts for block development.editor.css
, style.css
– Editor and frontend styles.index.php
– Main entry for the plugin.MIT
FAQs
Upgrade a WordPress Customizer project
The npm package @devgateway/upgrade-wp-customizer receives a total of 4 weekly downloads. As such, @devgateway/upgrade-wp-customizer popularity was classified as not popular.
We found that @devgateway/upgrade-wp-customizer demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Bun 1.2.19 introduces isolated installs for smoother monorepo workflows, along with performance boosts, new tooling, and key compatibility fixes.
Security News
Popular npm packages like eslint-config-prettier were compromised after a phishing attack stole a maintainer’s token, spreading malicious updates.
Security News
/Research
A phishing attack targeted developers using a typosquatted npm domain (npnjs.com) to steal credentials via fake login pages - watch out for similar scams.