Skip to content

Commit 23a07e8

Browse files
committed
Add NPM script to update library version
- Uses [Calendar Versioning](https://calver.org)
1 parent 23acb33 commit 23a07e8

3 files changed

Lines changed: 4 additions & 3 deletions

File tree

index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ function tangible_fields( $arg = false ) {
1313

1414
public $name = 'tangible_fields';
1515
// Remember to update the version - Expected format: YYYYMMDD
16-
public $version = '20250625';
16+
public $version = '20250719';
1717

1818
// Dynamic methods
1919
function __call( $method = '', $args = [] ) {

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@tangible/fields",
33
"description": "React library for form field types",
4-
"version": "2025.6.25",
4+
"version": "2025.7.19",
55
"type": "module",
66
"repository": {
77
"type": "git",
@@ -21,6 +21,7 @@
2121
"dev": "roll dev",
2222
"build": "roll build",
2323
"build:npm": "node build.js npm",
24+
"version": "node version.js",
2425
"format": "roll format",
2526
"postinstall": "roll install",
2627
"update": "roll update",

plugin.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
/**
33
* Plugin Name: Tangible Fields
44
* Description: React-based custom fields library
5-
* Version: 2025.6.25
5+
* Version: 2025.7.19
66
*/
77
use tangible\updater;
88

0 commit comments

Comments
 (0)