Gathering detailed insights and metrics for @automattic/newspack-blocks
Gathering detailed insights and metrics for @automattic/newspack-blocks
Gathering detailed insights and metrics for @automattic/newspack-blocks
Gathering detailed insights and metrics for @automattic/newspack-blocks
npm install @automattic/newspack-blocks
Typescript
Module System
Node Version
NPM Version
v4.14.4-alpha.1
Updated on Jul 08, 2025
v4.14.3
Updated on Jul 08, 2025
v4.14.3-hotfix-modal-checkout-form-event-handler-error.1
Updated on Jul 07, 2025
v4.14.3-alpha.1
Updated on Jul 03, 2025
v4.14.2
Updated on Jul 02, 2025
v4.14.1
Updated on Jul 02, 2025
PHP (49.85%)
JavaScript (26.52%)
SCSS (12%)
TypeScript (10.93%)
Shell (0.7%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
217 Stars
2,397 Commits
44 Forks
24 Watchers
156 Branches
180 Contributors
Updated on Jul 11, 2025
Latest Version
4.14.3
Package Id
@automattic/newspack-blocks@4.14.3
Unpacked Size
3.73 MB
Size
1.09 MB
File Count
548
NPM Version
10.9.2
Node Version
22.17.0
Published on
Jul 08, 2025
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
5
This plugin is meant to serve as a container for most Newspack Gutenberg blocks. There may be certain blocks that relate to specific functionality in other plugins, in which case they would live with the primary functionality, but besides this exception most will live in this one.
To get set up for block development, run composer install && npm install
To generate a build of the current blocks, run npm run build
.
To clean out the built blocks, run npm run clean
.
To work on Block development and have Webpack watch your files for changes run: npm start
.
is performed on changed files before commiting. In other words, is run during pre-commit
git hook, but only on staged files. The hook is configured in composer.json
.
PHP | JS | SCSS | |
---|---|---|---|
tool | PHPCS | eslint | stylelint |
config | .phpcs.xml.dist | .eslintrc.js | .stylelintrc |
run manually | composer lint | npm run lint:js | npm run lint:scss |
autofix ✨ | ./vendor/bin/phpcbf <file> | npm run lint:js -- --fix | npm run lint:scss -- --fix |
To get started with a new block:
src/
index.js
and change name and title definitions.production
array in src/setup/blocks.json
$newspack_blocks_blocks
array in newspack-blocks.php
npm run build
. If all went smoothly, you should see a Newspack category in the block picker, and your block should appear within it.No vulnerabilities found.
Reason
30 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
Found 9/16 approved changesets -- score normalized to 5
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
license file not detected
Details
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
project is not fuzzed
Details
Reason
security policy file not detected
Details
Reason
Project has not signed or included provenance with any releases.
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
28 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More