@neopress/cli 4.8.1 → 4.10.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 CHANGED
@@ -64,6 +64,11 @@ neopress pages create --path /about --i18n @i18n.json --public-locales en,ko
64
64
  neopress entries create --collection 12 --data @entry.json --title Hello
65
65
  neopress entries publish <entryId>
66
66
 
67
+ # Configure a reusable conversion event and funnel
68
+ neopress analytics events create --data '{"name":"Signup","eventType":"form","path":"*","formId":"3"}'
69
+ neopress analytics events update <eventId> --data '{"name":"Completed signup"}'
70
+ neopress analytics funnels create --data @funnel.json
71
+
67
72
  # Preview, then publish the whole site
68
73
  neopress publish preview
69
74
  neopress publish
@@ -107,3 +112,9 @@ Per-project defaults can also live in `.neopressrc.json` (or
107
112
  ```json
108
113
  { "siteId": 42, "baseUrl": "https://app.neopress.ai" }
109
114
  ```
115
+
116
+ ## Multilingual content
117
+
118
+ `pages update <id> --public-locales en,ko` changes the draft public languages; publish the site to apply it. `--public-locales null` means default-language-only, and `--public-locales '[]'` means no public languages. These lists are independent of translated page text and global visibility.
119
+
120
+ `entries create-translation <sourceId> --locale ko` returns an existing linked translation or copies the source into a new draft. Translate the returned row's text with an update and publish that entry separately. Collection option labels use `optionI18n`; form translations use flat `draftI18n.translations[textKey][locale]`. Both retain shared schemas and stable ids.