@loopress/cli 0.17.0 → 0.18.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.
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.17.0",
4
+ "version": "0.18.0",
5
5
  "author": "jean-smaug",
6
6
  "bin": {
7
7
  "loopress": "bin/run.js",
@@ -12,16 +12,16 @@
12
12
  },
13
13
  "dependencies": {
14
14
  "@inquirer/prompts": "^8.5.2",
15
- "@oclif/core": "^4.11.11",
15
+ "@oclif/core": "^4.13.0",
16
16
  "@oclif/plugin-help": "^6.2.53",
17
- "@oclif/plugin-plugins": "^5.4.80",
18
- "@sentry/node": "^10.63.0",
17
+ "@oclif/plugin-plugins": "^5.4.84",
18
+ "@sentry/node": "^10.67.0",
19
19
  "glob": "13.0.6",
20
- "got": "^15.0.7",
21
- "listr2": "^10.2.2",
22
- "open": "^10.2.0",
20
+ "got": "^15.1.0",
21
+ "listr2": "^11.0.0",
22
+ "open": "^11.0.0",
23
23
  "slugify": "^1.6.9",
24
- "write-file-atomic": "^5.0.1"
24
+ "write-file-atomic": "^8.0.0"
25
25
  },
26
26
  "devDependencies": {
27
27
  "@eslint/compat": "2.1.0",
@@ -29,20 +29,20 @@
29
29
  "@oclif/test": "^4.1.20",
30
30
  "@stryker-mutator/core": "^9.6.1",
31
31
  "@stryker-mutator/vitest-runner": "^9.6.1",
32
- "@types/node": "26.0.1",
32
+ "@types/node": "26.1.1",
33
33
  "@types/write-file-atomic": "^4.0.3",
34
- "@vitest/coverage-v8": "4.1.9",
34
+ "@vitest/coverage-v8": "4.1.10",
35
35
  "eslint": "^9",
36
- "eslint-config-oclif": "^6.0.174",
36
+ "eslint-config-oclif": "^6.0.177",
37
37
  "eslint-config-prettier": "^10",
38
38
  "json-schema-to-typescript": "^15.0.4",
39
- "oclif": "^4.23.24",
40
- "prettier": "3.9.4",
39
+ "oclif": "^4.23.28",
40
+ "prettier": "3.9.6",
41
41
  "shx": "^0.4.0",
42
42
  "ts-node": "10.9.2",
43
- "tsx": "4.22.4",
43
+ "tsx": "4.23.1",
44
44
  "typescript": "^6.0.3",
45
- "vitest": "^4.1.9"
45
+ "vitest": "^4.1.10"
46
46
  },
47
47
  "engines": {
48
48
  "node": ">=18.0.0"
@@ -87,6 +87,9 @@
87
87
  "acf": {
88
88
  "description": "Manage ACF field groups, post types, taxonomies, and options pages"
89
89
  },
90
+ "api": {
91
+ "description": "Manage custom WordPress REST API routes"
92
+ },
90
93
  "composer": {
91
94
  "description": "Sync composer.json and composer.lock between your project and WordPress"
92
95
  },
@@ -29,6 +29,16 @@
29
29
  "description": "Directory where SEO settings, post meta, and redirects (RankMath and Yoast SEO, whichever is active) are read from and written to, relative to rootDir.",
30
30
  "default": "seo"
31
31
  },
32
+ "formDir": {
33
+ "type": "string",
34
+ "description": "Directory where forms (WPForms today) are read from and written to, relative to rootDir.",
35
+ "default": "forms"
36
+ },
37
+ "apiDir": {
38
+ "type": "string",
39
+ "description": "Directory where custom API route files are read from and written to, relative to rootDir.",
40
+ "default": "api"
41
+ },
32
42
  "projectId": {
33
43
  "type": "string",
34
44
  "description": "Project identifier from the global Loopress config. When set, takes precedence over the currently active project in the global config."