create-twenty-app 0.6.1 → 0.6.3

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
@@ -50,6 +50,9 @@ yarn twenty function:logs
50
50
  # Execute a function with a JSON payload
51
51
  yarn twenty function:execute -n my-function -p '{"key": "value"}'
52
52
 
53
+ # Execute the pre-install function
54
+ yarn twenty function:execute --preInstall
55
+
53
56
  # Execute the post-install function
54
57
  yarn twenty function:execute --postInstall
55
58
 
@@ -92,6 +95,7 @@ In interactive mode, you can pick from:
92
95
  **Core files (always created):**
93
96
  - `application-config.ts` — Application metadata configuration
94
97
  - `roles/default-role.ts` — Default role for logic functions
98
+ - `logic-functions/pre-install.ts` — Pre-install logic function (runs before app installation)
95
99
  - `logic-functions/post-install.ts` — Post-install logic function (runs after app installation)
96
100
  - TypeScript configuration, ESLint, package.json, .gitignore
97
101
  - A prewired `twenty` script that delegates to the `twenty` CLI from twenty-sdk