You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5-24Lines changed: 5 additions & 24 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,7 +23,6 @@
23
23
*[Develop](#develop)
24
24
*[Notes](#notes)
25
25
*[`import` ordering](#import-ordering)
26
-
*[Dev with SSL](#dev-with-ssl)
27
26
*[Remote Caching](#remote-caching)
28
27
*[Useful Links](#useful-links)
29
28
@@ -46,7 +45,7 @@ Traditional i18n often involves navigating complex file formats (like JSON or YA
46
45
47
46
⏩ This template is powered by [Turborepo](https://turbo.build/repo).
48
47
49
-
👌 The repo is always [**TypeScript**](https://www.typescriptlang.org/)-native where possible.
48
+
💯 JS is always [**TypeScript**](https://www.typescriptlang.org/) where possible.
50
49
51
50
### Apps and Libraries
52
51
@@ -58,29 +57,16 @@ Traditional i18n often involves navigating complex file formats (like JSON or YA
58
57
59
58
* Unplugin wrapper to integrate with any project easily!
60
59
61
-
<!--
62
-
#### [`frontend`](./apps/frontend/README.md): a [Nuxt](https://nuxt.com/) app, compatible with v4 structure.
63
-
* By default, the frontend `/api/*` routes is proxied to the `backendUrl`.
64
-
* The `rpcApi` plugin will call the `/api/*` proxy if they're on the same domain but different ports (e.g: 127.0.0.1)
65
-
* > this mimics a production environment where the static frontend and the backend lives on the same domain at /api, which is the most efficient configuration for Cloudfront + Lambda Function Url
66
-
* If the `frontend` and `backend` are on different domains then the backend will be called directly without proxy.
67
-
* This could be configured in frontend's [`app.config.ts`](./apps/frontend/app/app.config.ts)
68
-
#### [`backend`](./apps/backend/README.md): a [Hono🔥](https://hono.dev/) app.
69
-
-->
70
-
71
60
### Local packages
72
61
73
-
+[`@local/locales`](./locals/locales/README.md): a shared locales/i18n library powered by [spreadsheet-i18n](./libs/spreadsheet-i18n/README.md) itself!.
74
-
+`@local/common`: a shared library that can contain constants, functions, types.
75
-
<!--
76
-
+ `@local/common-vue`: a shared library that can contain components, constants, functions, types for vue-based apps.
77
-
-->
62
+
+[`@local/locales`](./locals/locales/README.md): a shared central locales/i18n data library powered by [**spreadsheet-i18n**](https://github.com/NamesMT/spreadsheet-i18n--mono).
63
+
+ 🌐✨🤖 **AUTOMATIC** localization with AI, powered by [**lingo.dev**](https://lingo.dev/), just `pnpm run i18n`.
64
+
+ 🔄️ Hot-reload and automatic-reload supported, changes are reflected in apps (`frontend`, `backend`) instantly.
78
65
+`tsconfig`: `tsconfig.json`s used throughout the monorepo.
79
66
80
67
### Utilities
81
68
82
69
This Turborepo has some additional tools already setup for you:
@@ -97,19 +83,14 @@ To build all apps and packages, run the following command:
97
83
To develop all apps and packages, run the following command:
98
84
`pnpm run dev`
99
85
100
-
To define local development environment variables of each app, either use `git update-index --skip-worktree .env.local` and use it directly, or create a copy of or rename `.env.local` to `.env.local.ignored`.
101
-
- AI Agent will help you creating the `.env.local.ignored` files if you use the AI initialization prompt.
86
+
For local development environment variables / secrets, create a copy of `.env.dev` to `.env.dev.local`.
102
87
103
88
### Notes
104
89
105
90
#### `import` ordering
106
91
107
92
Imports should not be separated by empty lines, and should be sorted automatically by eslint.
108
93
109
-
#### Dev with SSL
110
-
111
-
The project comes with a `localcert` SSL at `locals/common/dev` to enable HTTPS for local development, generated with [mkcert](https://github.com/FiloSottile/mkcert), you can install mkcert, generate your own certificate and replace it, or install the `localcert.crt` to your trusted CA to remove the untrusted SSL warning.
112
-
113
94
### Remote Caching
114
95
115
96
Turborepo can use a technique known as [Remote Caching](https://turbo.build/repo/docs/core-concepts/remote-caching) to share cache artifacts across machines, enabling you to share build caches with your team and CI/CD pipelines.
0 commit comments