create-twenty-app 2.5.0 → 2.6.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 +2 -11
- package/dist/cli.cjs +40 -47
- package/dist/cli.mjs +4086 -4030
- package/dist/constants/template/public/logo.svg +7 -0
- package/dist/constants/template/src/constants/universal-identifiers.ts +7 -0
- package/dist/constants/template/src/front-components/main-page.tsx +291 -0
- package/dist/constants/template/src/navigation-menu-items/main-page.navigation-menu-item.ts +19 -0
- package/dist/constants/template/src/page-layouts/main-page.page-layout.ts +37 -0
- package/dist/constants/template/yarnrc.yml +1 -0
- package/dist/create-app.command.d.ts +9 -3
- package/package.json +2 -2
- package/dist/utils/download-example.d.ts +0 -1
package/README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<div align="center">
|
|
2
2
|
<a href="https://twenty.com">
|
|
3
3
|
<picture>
|
|
4
|
-
<img alt="Twenty logo" src="https://raw.githubusercontent.com/twentyhq/twenty/main/packages/twenty-website
|
|
4
|
+
<img alt="Twenty logo" src="https://raw.githubusercontent.com/twentyhq/twenty/main/packages/twenty-website/public/images/core/logo.svg" height="128">
|
|
5
5
|
</picture>
|
|
6
6
|
</a>
|
|
7
7
|
<h1>Create Twenty App</h1>
|
|
@@ -32,21 +32,12 @@ The scaffolder will:
|
|
|
32
32
|
|
|
33
33
|
| Flag | Description |
|
|
34
34
|
| ---------------------------------- | --------------------------------------------------------------------- |
|
|
35
|
-
| `--example <name>` | Initialize from an example |
|
|
36
35
|
| `--name <name>` | Set the app name |
|
|
37
36
|
| `--display-name <displayName>` | Set the display name |
|
|
38
37
|
| `--description <description>` | Set the description |
|
|
39
|
-
| `--
|
|
38
|
+
| `--workspace-url <url>` | Twenty workspace URL (default: `http://localhost:2020`) |
|
|
40
39
|
| `--authentication-method <method>` | `oauth` or `apiKey` (default: `apiKey` for local, `oauth` for remote) |
|
|
41
40
|
|
|
42
|
-
By default (no flags), a minimal app is generated with core files and an integration test. Use `--example` to start from a richer example:
|
|
43
|
-
|
|
44
|
-
```bash
|
|
45
|
-
npx create-twenty-app@latest my-twenty-app --example hello-world
|
|
46
|
-
```
|
|
47
|
-
|
|
48
|
-
Examples are sourced from [twentyhq/twenty/packages/twenty-apps/examples](https://github.com/twentyhq/twenty/tree/main/packages/twenty-apps/examples).
|
|
49
|
-
|
|
50
41
|
## Documentation
|
|
51
42
|
|
|
52
43
|
Full documentation is available at **[docs.twenty.com/developers/extend/apps](https://docs.twenty.com/developers/extend/apps/getting-started/quick-start)**:
|