@loopress/cli 0.25.0 → 0.26.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/README.md +189 -99
- package/dist/commands/diff.js +1 -1
- package/dist/commands/init.js +1 -0
- package/dist/commands/page/diff.d.ts +2 -0
- package/dist/commands/page/diff.js +5 -0
- package/dist/commands/page/list.d.ts +8 -0
- package/dist/commands/page/list.js +22 -0
- package/dist/commands/page/push.d.ts +20 -0
- package/dist/commands/page/push.js +60 -0
- package/dist/commands/push.js +2 -1
- package/dist/lib/dev-watch.d.ts +1 -1
- package/dist/lib/dev-watch.js +2 -1
- package/dist/lib/resource-state.js +24 -0
- package/dist/lib/validate-local.js +5 -0
- package/dist/types/project-config.generated.d.ts +4 -0
- package/dist/utils/page-format.d.ts +27 -0
- package/dist/utils/page-format.js +111 -0
- package/dist/utils/resource-dirs.d.ts +1 -0
- package/dist/utils/resource-dirs.js +2 -0
- package/oclif.manifest.json +494 -300
- package/package.json +1 -1
- package/schemas/project-config.schema.json +5 -0
package/package.json
CHANGED
|
@@ -49,6 +49,11 @@
|
|
|
49
49
|
"description": "Directory where single-page app bundles are read from and written to, relative to rootDir. Each subdirectory is one app: a loopress.app.json plus a built dist/ folder.",
|
|
50
50
|
"default": "apps"
|
|
51
51
|
},
|
|
52
|
+
"pageDir": {
|
|
53
|
+
"type": "string",
|
|
54
|
+
"description": "Directory where static HTML pages (one <slug>.html per WordPress page, managed by Loopress) are read from, relative to rootDir.",
|
|
55
|
+
"default": "pages"
|
|
56
|
+
},
|
|
52
57
|
"optionsDir": {
|
|
53
58
|
"type": "string",
|
|
54
59
|
"description": "Directory where explicitly tracked WordPress options (wp_options rows) are read from and written to, relative to rootDir. Only options added via `lps option add` live here, this is never the whole options table.",
|