
Security News
npm Introduces minimumReleaseAge and Bulk OIDC Configuration
npm rolls out a package release cooldown and scalable trusted publishing updates as ecosystem adoption of install safeguards grows.
@ryanwelcher/dynamic-block-template
Advanced tools
A template for use with @wordpress/create-block to support dynamic blocks
This template will scaffold a plugin that is set up for registering multiple blocks in a single plugin create using the @wordpress/create-block tool.
It also provides integration with the @wordpress/env package for a local development solution.
Run the following in the terminal of your choice:
npx @wordpress/create-block example-plugin --template @ryanwelcher/dynamic-block-template
The name of the plugin ( example-plugin in the example above) is used as both the name of the plugin and the name of the block being created. This is due to the current @wordpress/create-block tool expecting a single block per plugin.
Once the command has completed, the following structure will be created:
- build
- src
--> {example-block}
---> block.json
---> edit.js
---> editor.scss
---> index.js
---> style.scss
.editorconfig
.eslintrc
.gitignore
.wp-env.json
{example-block}.php
package.json
package-lock.json
In order to use the @wordpress/env, you will need to add "env": "wp-env" to the scripts in package.json.
Please refer to the @wordpress/env docs for details on requirements and usage.
FAQs
A template for use with @wordpress/create-block to support dynamic blocks
The npm package @ryanwelcher/dynamic-block-template receives a total of 0 weekly downloads. As such, @ryanwelcher/dynamic-block-template popularity was classified as not popular.
We found that @ryanwelcher/dynamic-block-template demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
npm rolls out a package release cooldown and scalable trusted publishing updates as ecosystem adoption of install safeguards grows.

Security News
AI agents are writing more code than ever, and that's creating new supply chain risks. Feross joins the Risky Business Podcast to break down what that means for open source security.

Research
/Security News
Socket uncovered four malicious NuGet packages targeting ASP.NET apps, using a typosquatted dropper and localhost proxy to steal Identity data and backdoor apps.