@joripspace/cli 0.6.1 → 0.7.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/lib/help.js CHANGED
@@ -171,10 +171,16 @@ Usage:
171
171
 
172
172
  Options:
173
173
  --source PATH Deploy one source file. Entrypoint defaults to the file basename.
174
+ --prepare Validate built output and save a portable joripspace:deploy npm script; no deployment.
174
175
  --dir PATH Deploy every safe file under a directory. Authentication is resolved from --cwd.
175
176
  --file NAME=PATH Add one file mapping. Can be repeated.
176
177
  --entrypoint NAME Server module entrypoint.
177
178
  --label TEXT Required deployment label, up to 120 characters.
179
+
180
+ Prepare once after building (direct deployment only):
181
+ joripspace deploy --prepare --dir dist --entrypoint worker.js --json
182
+ Then, when deployment is requested:
183
+ npm run joripspace:deploy -- --label "Describe the change"
178
184
  `);
179
185
  }
180
186