@loopress/cli 0.26.0 → 0.27.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -11,14 +11,14 @@
11
11
  ],
12
12
  "flags": {
13
13
  "only": {
14
- "description": "Only watch these resource types (comma-separated): snippets, pages, api, plugins",
14
+ "description": "Only watch these resource types (comma-separated): snippets, pages, api, hooks, plugins",
15
15
  "name": "only",
16
16
  "hasDynamicHelp": false,
17
17
  "multiple": false,
18
18
  "type": "option"
19
19
  },
20
20
  "skip": {
21
- "description": "Skip these resource types (comma-separated): snippets, pages, api, plugins",
21
+ "description": "Skip these resource types (comma-separated): snippets, pages, api, hooks, plugins",
22
22
  "name": "skip",
23
23
  "hasDynamicHelp": false,
24
24
  "multiple": false,
@@ -3715,6 +3715,13 @@
3715
3715
  "$ lps plugin add contact-form-7 --dry-run"
3716
3716
  ],
3717
3717
  "flags": {
3718
+ "json": {
3719
+ "description": "Format output as json.",
3720
+ "helpGroup": "GLOBAL",
3721
+ "name": "json",
3722
+ "allowNo": false,
3723
+ "type": "boolean"
3724
+ },
3718
3725
  "env": {
3719
3726
  "description": "Target environment by name, overriding the globally active one (lps project switch)",
3720
3727
  "name": "env",
@@ -3744,7 +3751,7 @@
3744
3751
  "pluginName": "@loopress/cli",
3745
3752
  "pluginType": "core",
3746
3753
  "strict": true,
3747
- "enableJsonFlag": false,
3754
+ "enableJsonFlag": true,
3748
3755
  "dryRunFlag": {
3749
3756
  "dry-run": {
3750
3757
  "char": "d",
@@ -5029,6 +5036,13 @@
5029
5036
  "$ lps theme add generatepress --version 3.4.0"
5030
5037
  ],
5031
5038
  "flags": {
5039
+ "json": {
5040
+ "description": "Format output as json.",
5041
+ "helpGroup": "GLOBAL",
5042
+ "name": "json",
5043
+ "allowNo": false,
5044
+ "type": "boolean"
5045
+ },
5032
5046
  "env": {
5033
5047
  "description": "Target environment by name, overriding the globally active one (lps project switch)",
5034
5048
  "name": "env",
@@ -5058,7 +5072,7 @@
5058
5072
  "pluginName": "@loopress/cli",
5059
5073
  "pluginType": "core",
5060
5074
  "strict": true,
5061
- "enableJsonFlag": false,
5075
+ "enableJsonFlag": true,
5062
5076
  "dryRunFlag": {
5063
5077
  "dry-run": {
5064
5078
  "char": "d",
@@ -5531,5 +5545,5 @@
5531
5545
  ]
5532
5546
  }
5533
5547
  },
5534
- "version": "0.26.0"
5548
+ "version": "0.27.0"
5535
5549
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@loopress/cli",
3
3
  "description": "CLI tool for syncing WordPress code snippets, plugins, and Composer dependencies via the REST API",
4
- "version": "0.26.0",
4
+ "version": "0.27.0",
5
5
  "author": "jean-smaug",
6
6
  "bin": {
7
7
  "loopress": "bin/run.js",
@@ -50,7 +50,7 @@
50
50
  "vitest": "^4.1.11"
51
51
  },
52
52
  "engines": {
53
- "node": ">=18.0.0"
53
+ "node": ">=22.0.0"
54
54
  },
55
55
  "files": [
56
56
  "./bin",
@@ -66,6 +66,7 @@
66
66
  "main": "dist/index.js",
67
67
  "exports": {
68
68
  ".": "./dist/index.js",
69
+ "./package.json": "./package.json",
69
70
  "./schema/global-config": "./schemas/global-config.schema.json",
70
71
  "./schema/project-config": "./schemas/project-config.schema.json",
71
72
  "./schema/snippet": "./schemas/snippet.schema.json"
@@ -126,7 +127,8 @@
126
127
  "telemetry": {
127
128
  "description": "Manage error reporting preferences"
128
129
  }
129
- }
130
+ },
131
+ "repositoryPrefix": "<%- repo %>/blob/%40loopress%2Fcli%40<%- version %>/cli/<%- commandPath %>"
130
132
  },
131
133
  "repository": {
132
134
  "type": "git",