hizzle/wp 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

hizzle/wp

最新稳定版本:1.4.10

Composer 安装命令:

composer require hizzle/wp

包简介

WordPress compatibility layer for Hizzle JS packages

README 文档

README

A monorepo containing shared packages for WordPress plugin development.

Packages

Check out the packages the directory for information on each package and how to create/use them.

Development Setup

  1. Clone the repository:
git clone https://github.com/hizzle-co/hizzle.git
cd hizzle
  1. Install dependencies:
npm install
  1. Start development watcher:
npm run dev
  1. Build all packages:
npm run build

Usage in WordPress Plugins

  1. Install the HizzleWP package:
composer require hizzle/wp
  1. Install the required npm packages:
npm install @hizzlewp/components
npm install --save-dev @hizzlewp/dependency-extraction-webpack-plugin
  1. Configure your webpack build to use the dependency extraction plugin:
const HizzleWPDependencyExtractionPlugin = require('@hizzlewp/dependency-extraction-webpack-plugin');

module.exports = {
	// ... other webpack config
	plugins: [new HizzleWPDependencyExtractionPlugin()],
};
  1. Import components in your code:
import { Setting } from '@hizzlewp/components';

The imports will be automatically transformed to use the global window.hizzlewp object at runtime.

License

GPL-2.0-or-later

Release (to npm and composer)

npm run release release_type=minor

type accepts: major, minor, patch, premajor, preminor, prepatch, prerelease

This will:

  • Build the packages
  • Update the composer.json file with the new version
  • Update the npm package version
  • Generate the docs
  • Commit and push the changes
  • Create a new release on GitHub
  • Release changed packages to npm
  • Update the changelogs
  • Update the composer package

NOTE:-

  • You must have the GitHub CLI installed.
  • You must be authenticated with sufficient permissions.

统计信息

  • 总下载量: 121
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 2
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: TypeScript

其他信息

  • 授权协议: GPL-2.0-or-later
  • 更新时间: 2025-03-18

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固