automattic / jetpack-mu-wpcom
Enhances your site with features powered by WordPress.com
Installs: 17 364
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 5
Forks: 1
Type:jetpack-library
Requires
- php: >=7.2
- automattic/jetpack-assets: ^4.0.1
- automattic/jetpack-blocks: ^3.0.1
- automattic/jetpack-calypsoify: ^0.2.0
- automattic/jetpack-classic-theme-helper: ^0.7.3
- automattic/jetpack-compat: ^4.0.0
- automattic/jetpack-connection: ^6.1.1
- automattic/jetpack-google-analytics: ^0.3.0
- automattic/jetpack-masterbar: ^0.10.2
- automattic/jetpack-redirect: ^3.0.1
- automattic/jetpack-stats-admin: ^0.23.1
- automattic/jetpack-status: ^5.0.1
- automattic/scheduled-updates: ^0.14.0
- scssphp/scssphp: 1.12.0
Requires (Dev)
- automattic/jetpack-changelogger: ^5.1.0
- automattic/wordbless: ^0.4.2
- yoast/phpunit-polyfills: ^1.1.1
Suggests
- automattic/jetpack-autoloader: Allow for better interoperability with other plugins that use this package.
- dev-trunk / 6.1.x-dev
- v6.0.0
- v5.66.0
- v5.65.0
- v5.64.0
- v5.63.0
- v5.62.0
- v5.61.0
- v5.60.0
- v5.59.0
- v5.58.0
- v5.57.1
- v5.57.0
- v5.56.0
- v5.55.0
- v5.54.3
- v5.54.2
- v5.54.1
- v5.54.0
- v5.53.1
- v5.53.0
- v5.52.1
- v5.52.0
- v5.51.0
- v5.50.0
- v5.49.1
- v5.49.0
- v5.48.0
- v5.47.0
- v5.46.0
- v5.45.0
- v5.44.0
- v5.43.0
- v5.42.1
- v5.42.0
- v5.41.0
- v5.40.0
- v5.39.0
- v5.38.1
- v5.38.0
- v5.37.0
- v5.36.0
- v5.35.4
- v5.35.3
- v5.35.2
- v5.35.1
- v5.35.0
- v5.34.0
- v5.33.0
- v5.32.0
- v5.31.1
- v5.31.0
- v5.30.0
- v5.29.1
- v5.29.0
- v5.28.1
- v5.28.0
- v5.27.0
- v5.26.2
- v5.26.1
- v5.26.0
- v5.25.0
- v5.24.0
- v5.23.2
- v5.23.1
- v5.23.0
- v5.22.0
- v5.21.0
- v5.20.0
- v5.19.0
- v5.18.0
- v5.17.0
- v5.16.1
- v5.16.0
- v5.15.2
- v5.15.1
- v5.15.0
- v5.14.1
- v5.14.0
- v5.13.1
- v5.13.0
- v5.12.2
- v5.12.1
- v5.12.0
- v5.11.0
- v5.10.0
- v5.9.0
- v5.8.2
- v5.8.1
- v5.8.0
- v5.7.0
- v5.6.0
- v5.5.0
- v5.4.0
- v5.3.0
- v5.2.0
- v5.1.1
- v5.1.0
- v5.0.0
- v4.18.0
- v4.17.0
- v4.16.2
- v4.16.1
- v4.16.0
- v4.15.1
- v4.15.0
- v4.14.0
- v4.13.0
- v4.12.0
- v4.11.0
- v4.10.0
- v4.9.0
- v4.8.0
- v4.7.0
- v4.6.0
- v4.5.1
- v4.5.0
- v4.4.1
- v4.4.0
- v4.3.1
- v4.3.0
- v4.2.0
- v4.1.0
- v4.0.0
- v3.7.0
- v3.6.0
- v3.5.0
- v3.4.0
- v3.3.0
- v3.2.0
- v3.1.0
- v3.0.0
- v2.4.0
- v2.3.0
- v2.2.1
- v2.2.0
- v2.1.0
- v2.0.0
- v1.6.0
- v1.5.1
- v1.5.0
- v1.4.0
- v1.3.1
- v1.3.0
- v1.2.1
- v1.2.0
- v1.1.3
- v1.1.2
- v1.1.1
- v1.1.0
- v1.0.1
- v0.2.2
- v0.2.1
- v0.2.0
- v0.1.2
- v0.1.1
- v0.1.0
- dev-prerelease
- dev-update/hide-launchpad-items-on-trial
This package is auto-updated.
Last update: 2024-12-23 14:06:01 UTC
README
Note: This package is intended for internal use by WordPress.com only.
Enhances your site with features powered by WordPress.com
Automattician? Read more at: PCYsg-Osp-p2
Using this package in your WordPress plugin
If you plan on using this package in your WordPress plugin, we would recommend that you use Jetpack Autoloader as your autoloader. This will allow for maximum interoperability with other plugins that use this package as well.
Security
Need to report a security vulnerability? Go to https://automattic.com/security/ or directly to our security bug bounty site https://hackerone.com/automattic.
Build System
Note: cd
to projects/packages/jetpack-mu-wpcom
before running these commands
-
npm run build-js
Compiles the plugins for development - the files are not minified and we produce a source map. -
npm run build-production-js
Compiles the plugins for production - we produce minified files without source maps. -
npm run clean
Removes all build files.
The entry point is:
- Plugin:
projects/packages/jetpack-mu-wpcom/src/features/{{feature-name}}/index.js
The output is:
- Plugin:
/projects/packages/jetpack-mu-wpcom/src/build/{{feature-name}}/{{feature-name}}.js
Adding files to the build system
If you're adding a new feature that includes Javascript or Typescript, you will need to add the primary source file to the entry
section in projects/packages/jetpack-mu-wpcom/webpack.config.js
, where we'll use the key as the core file name, and the value as the primary input file for that module.
License
jetpack-mu-wpcom is licensed under GNU General Public License v2 (or later)