eventmodeler 0.6.6 → 0.6.7

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.
Files changed (2) hide show
  1. package/dist/index.js +8 -6
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -2176,7 +2176,7 @@ function formatSuccessMessage(email) {
2176
2176
 
2177
2177
  // src/commands/auth.ts
2178
2178
  var LOGIN_HELP = `
2179
- Opens a Keycloak browser flow and writes tokens to ~/.config/eventmodeler/auth.json.
2179
+ Opens a Keycloak browser flow and writes tokens to ~/.eventmodeler/config.json.
2180
2180
  Idempotent — exits early if you're already logged in.
2181
2181
 
2182
2182
  Response: writes status to stderr; no JSON output.
@@ -3817,12 +3817,14 @@ var REMOVE_HELP = `
3817
3817
  Remove an element from the model.
3818
3818
 
3819
3819
  For linkable types (events, read-models, screens, processors, external-events),
3820
- removing the canonical original cascade-deletes its linked copies and any
3821
- flows pointing at the original or one of its copies. Use \`create remove-copy\`
3822
- to remove a single copy without touching the original.
3820
+ removing the canonical original cascade-deletes its linked copies and every
3821
+ flow that touches the original or one of its copies. To delete a single
3822
+ linked copy without touching the original, address the copy by uuid:
3823
3823
 
3824
- For non-linkable types and for single linked copies, this removes only the
3825
- matched entry; flow cleanup is not handled.
3824
+ eventmodeler --id <copy-uuid> remove event
3825
+
3826
+ For non-linkable types and for single linked copies addressed via --id, only
3827
+ the matched entry is removed; connected flows are left in place.
3826
3828
  `;
3827
3829
  function registerRemoveCommands(program) {
3828
3830
  program.command("remove <type> [name]").description(`Remove an element. Types: ${knownTypeAliases().join(", ")}`).option("--model <id>", "Model id (defaults to .eventmodeler.json in cwd)").addHelpText("after", REMOVE_HELP).action(async (type, name, opts) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eventmodeler",
3
- "version": "0.6.6",
3
+ "version": "0.6.7",
4
4
  "description": "CLI tool for event modeling - explore, design, and generate code from your event models",
5
5
  "type": "module",
6
6
  "repository": {