@masonite/wp-project-version-sync
Update your WordPress theme or plugin version based on a different source such as a package.json
Last updated a year ago by tarikhamilton .
GPL-2.0-or-later · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @masonite/wp-project-version-sync 
SYNC missed versions from official npm registry.

wp-project-version-sync

A CLI command to update your WordPress plugin or theme's file header version based off of your package.json version.

wp-update-project-version is a CLI command that is most useful when added to your build script in your package.json, like so:

{
    "scripts":  {
        "build": "webpack -p && wp-project-version-sync -p style.css"
    }
}

Installation

npm i @masonite/wp-project-version-sync

Usage

Currently, only package.json is the only supported <source> reference for a version. You can update one or more files, though at the moment, only WordPress header files are supported.

// wp-update-project-version -s <source> -p <path> [paths...]
wp-update-project-version -s package.json -p style.css index.php

Current Tags

  • 1.1.0                                ...           latest (a year ago)

4 Versions

  • 1.1.0                                ...           a year ago
  • 1.0.12                                ...           2 years ago
  • 1.0.11                                ...           2 years ago
  • 1.0.10                                ...           2 years ago
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 2
Dependencies (2)
Dev Dependencies (2)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |