create-twenty-app 0.5.2 → 0.6.0-alpha

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.
@@ -5,34 +5,36 @@ This is a [Twenty](https://twenty.com) application project bootstrapped with [`c
5
5
  First, authenticate to your workspace:
6
6
 
7
7
  ```bash
8
- yarn auth:login
8
+ yarn twenty auth:login
9
9
  ```
10
10
 
11
11
  Then, start development mode to sync your app and watch for changes:
12
12
 
13
13
  ```bash
14
- yarn app:dev
14
+ yarn twenty app:dev
15
15
  ```
16
16
 
17
17
  Open your Twenty instance and go to `/settings/applications` section to see the result.
18
18
 
19
19
  ## Available Commands
20
20
 
21
+ Run `yarn twenty help` to list all available commands. Common commands:
22
+
21
23
  ```bash
22
24
  # Authentication
23
- yarn auth:login # Authenticate with Twenty
24
- yarn auth:logout # Remove credentials
25
- yarn auth:status # Check auth status
26
- yarn auth:switch # Switch default workspace
27
- yarn auth:list # List all configured workspaces
25
+ yarn twenty auth:login # Authenticate with Twenty
26
+ yarn twenty auth:logout # Remove credentials
27
+ yarn twenty auth:status # Check auth status
28
+ yarn twenty auth:switch # Switch default workspace
29
+ yarn twenty auth:list # List all configured workspaces
28
30
 
29
31
  # Application
30
- yarn app:dev # Start dev mode (watch, build, and sync)
31
- yarn entity:add # Add a new entity (function, front-component, object, role)
32
- yarn app:generate # Generate typed Twenty client
33
- yarn function:logs # Stream function logs
34
- yarn function:execute # Execute a function with JSON payload
35
- yarn app:uninstall # Uninstall app from workspace
32
+ yarn twenty app:dev # Start dev mode (watch, build, and sync)
33
+ yarn twenty entity:add # Add a new entity (function, front-component, object, role)
34
+ yarn twenty app:generate # Generate typed Twenty client
35
+ yarn twenty function:logs # Stream function logs
36
+ yarn twenty function:execute # Execute a function with JSON payload
37
+ yarn twenty app:uninstall # Uninstall app from workspace
36
38
  ```
37
39
 
38
40
  ## Learn More
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-twenty-app",
3
- "version": "0.5.2",
3
+ "version": "0.6.0-alpha",
4
4
  "description": "Command-line interface to create Twenty application",
5
5
  "main": "dist/cli.cjs",
6
6
  "bin": "dist/cli.cjs",
@@ -10,9 +10,7 @@
10
10
  "package.json"
11
11
  ],
12
12
  "scripts": {
13
- "build": "npx rimraf dist && npx vite build",
14
- "prepublishOnly": "tsx ../twenty-utils/pack-scripts/pre-publish-only.ts",
15
- "postpublish": "tsx ../twenty-utils/pack-scripts/post-publish.ts"
13
+ "build": "npx rimraf dist && npx vite build"
16
14
  },
17
15
  "keywords": [
18
16
  "twenty",
@@ -40,6 +38,20 @@
40
38
  "lodash.startcase": "^4.4.0",
41
39
  "uuid": "^13.0.0"
42
40
  },
41
+ "devDependencies": {
42
+ "@types/fs-extra": "^11.0.0",
43
+ "@types/inquirer": "^9.0.0",
44
+ "@types/lodash.camelcase": "^4.3.7",
45
+ "@types/lodash.kebabcase": "^4.1.7",
46
+ "@types/lodash.startcase": "^4",
47
+ "@types/node": "^20.0.0",
48
+ "twenty-sdk": "workspace:*",
49
+ "twenty-shared": "workspace:*",
50
+ "typescript": "^5.9.2",
51
+ "vite": "^7.0.0",
52
+ "vite-plugin-dts": "^4.5.4",
53
+ "vite-tsconfig-paths": "^4.2.1"
54
+ },
43
55
  "engines": {
44
56
  "node": "^24.5.0",
45
57
  "yarn": "^4.0.2"