@linguanahq/cli 0.1.0 → 0.1.1
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 +3 -3
- package/dist/index.js +42 -15
- package/dist/templates/blank/react/.env.example +15 -0
- package/dist/templates/blank/react/ASSETS.md +1 -0
- package/dist/templates/blank/react/DEPLOY.md +23 -0
- package/dist/templates/blank/react/LICENSE +21 -0
- package/dist/templates/blank/react/README.md +34 -0
- package/dist/templates/blank/react/_gitignore +11 -0
- package/dist/templates/blank/react/index.html +2 -0
- package/dist/templates/blank/react/linguana.json +10 -0
- package/dist/templates/blank/react/package.json +34 -0
- package/dist/templates/blank/react/public/favicon.ico +0 -0
- package/dist/templates/blank/react/public/logo.png +0 -0
- package/dist/templates/blank/react/src/App.tsx +72 -0
- package/dist/templates/blank/react/src/Copy.tsx +36 -0
- package/dist/templates/blank/react/src/demo-messages.ts +30 -0
- package/dist/templates/blank/react/src/i18n.ts +62 -0
- package/dist/templates/blank/react/src/main.tsx +11 -0
- package/dist/templates/blank/react/src/messages.ts +10 -0
- package/dist/templates/blank/react/src/styles.css +93 -0
- package/dist/templates/blank/react/src/vite-env.d.ts +1 -0
- package/dist/templates/blank/react/tsconfig.json +23 -0
- package/dist/templates/blank/react/vite.config.ts +36 -0
- package/dist/templates/blank/react/wrangler.jsonc +8 -0
- package/dist/templates/blank/solidjs/.env.example +15 -0
- package/dist/templates/blank/solidjs/ASSETS.md +1 -0
- package/dist/templates/blank/solidjs/DEPLOY.md +23 -0
- package/dist/templates/blank/solidjs/LICENSE +21 -0
- package/dist/templates/blank/solidjs/README.md +34 -0
- package/dist/templates/blank/solidjs/_gitignore +11 -0
- package/dist/templates/blank/solidjs/index.html +2 -0
- package/dist/templates/blank/solidjs/linguana.json +10 -0
- package/dist/templates/blank/solidjs/package.json +31 -0
- package/dist/templates/blank/solidjs/public/favicon.ico +0 -0
- package/dist/templates/blank/solidjs/public/logo.png +0 -0
- package/dist/templates/blank/solidjs/src/App.tsx +68 -0
- package/dist/templates/blank/solidjs/src/Copy.tsx +36 -0
- package/dist/templates/blank/solidjs/src/demo-messages.ts +30 -0
- package/dist/templates/blank/solidjs/src/i18n.ts +62 -0
- package/dist/templates/blank/solidjs/src/main.tsx +14 -0
- package/dist/templates/blank/solidjs/src/messages.ts +10 -0
- package/dist/templates/blank/solidjs/src/styles.css +93 -0
- package/dist/templates/blank/solidjs/src/vite-env.d.ts +1 -0
- package/dist/templates/blank/solidjs/tsconfig.json +24 -0
- package/dist/templates/blank/solidjs/vite.config.ts +36 -0
- package/dist/templates/blank/solidjs/wrangler.jsonc +8 -0
- package/dist/templates/blank/svelte/.env.example +15 -0
- package/dist/templates/blank/svelte/ASSETS.md +1 -0
- package/dist/templates/blank/svelte/DEPLOY.md +23 -0
- package/dist/templates/blank/svelte/LICENSE +21 -0
- package/dist/templates/blank/svelte/README.md +34 -0
- package/dist/templates/blank/svelte/_gitignore +11 -0
- package/dist/templates/blank/svelte/index.html +2 -0
- package/dist/templates/blank/svelte/linguana.json +10 -0
- package/dist/templates/blank/svelte/package.json +32 -0
- package/dist/templates/blank/svelte/public/favicon.ico +0 -0
- package/dist/templates/blank/svelte/public/logo.png +0 -0
- package/dist/templates/blank/svelte/src/App.svelte +40 -0
- package/dist/templates/blank/svelte/src/Copy.svelte +14 -0
- package/dist/templates/blank/svelte/src/Root.svelte +11 -0
- package/dist/templates/blank/svelte/src/demo-messages.ts +30 -0
- package/dist/templates/blank/svelte/src/i18n.ts +62 -0
- package/dist/templates/blank/svelte/src/main.ts +5 -0
- package/dist/templates/blank/svelte/src/messages.ts +10 -0
- package/dist/templates/blank/svelte/src/styles.css +93 -0
- package/dist/templates/blank/svelte/src/vite-env.d.ts +1 -0
- package/dist/templates/blank/svelte/svelte.config.js +2 -0
- package/dist/templates/blank/svelte/tsconfig.json +23 -0
- package/dist/templates/blank/svelte/vite.config.ts +36 -0
- package/dist/templates/blank/svelte/wrangler.jsonc +8 -0
- package/dist/templates/blank/tanstack-start/.env.example +15 -0
- package/dist/templates/blank/tanstack-start/ASSETS.md +1 -0
- package/dist/templates/blank/tanstack-start/DEPLOY.md +23 -0
- package/dist/templates/blank/tanstack-start/LICENSE +21 -0
- package/dist/templates/blank/tanstack-start/README.md +34 -0
- package/dist/templates/blank/tanstack-start/_gitignore +11 -0
- package/dist/templates/blank/tanstack-start/linguana.json +10 -0
- package/dist/templates/blank/tanstack-start/nitro.config.ts +2 -0
- package/dist/templates/blank/tanstack-start/package.json +42 -0
- package/dist/templates/blank/tanstack-start/public/favicon.ico +0 -0
- package/dist/templates/blank/tanstack-start/public/logo.png +0 -0
- package/dist/templates/blank/tanstack-start/src/App.tsx +72 -0
- package/dist/templates/blank/tanstack-start/src/Copy.tsx +36 -0
- package/dist/templates/blank/tanstack-start/src/demo-messages.ts +30 -0
- package/dist/templates/blank/tanstack-start/src/i18n.ts +62 -0
- package/dist/templates/blank/tanstack-start/src/locale-server.ts +54 -0
- package/dist/templates/blank/tanstack-start/src/messages.ts +10 -0
- package/dist/templates/blank/tanstack-start/src/router.tsx +10 -0
- package/dist/templates/blank/tanstack-start/src/routes/__root.tsx +53 -0
- package/dist/templates/blank/tanstack-start/src/routes/index.tsx +5 -0
- package/dist/templates/blank/tanstack-start/src/styles.css +93 -0
- package/dist/templates/blank/tanstack-start/src/vite-env.d.ts +1 -0
- package/dist/templates/blank/tanstack-start/tsconfig.json +23 -0
- package/dist/templates/blank/tanstack-start/vite.config.ts +50 -0
- package/dist/templates/blank/tanstack-start/wrangler.jsonc +12 -0
- package/dist/templates/blank/vue/.env.example +15 -0
- package/dist/templates/blank/vue/ASSETS.md +1 -0
- package/dist/templates/blank/vue/DEPLOY.md +23 -0
- package/dist/templates/blank/vue/LICENSE +21 -0
- package/dist/templates/blank/vue/README.md +34 -0
- package/dist/templates/blank/vue/_gitignore +11 -0
- package/dist/templates/blank/vue/index.html +2 -0
- package/dist/templates/blank/vue/linguana.json +10 -0
- package/dist/templates/blank/vue/package.json +34 -0
- package/dist/templates/blank/vue/public/favicon.ico +0 -0
- package/dist/templates/blank/vue/public/logo.png +0 -0
- package/dist/templates/blank/vue/src/App.vue +33 -0
- package/dist/templates/blank/vue/src/Copy.vue +13 -0
- package/dist/templates/blank/vue/src/demo-messages.ts +30 -0
- package/dist/templates/blank/vue/src/i18n.ts +62 -0
- package/dist/templates/blank/vue/src/main.ts +7 -0
- package/dist/templates/blank/vue/src/messages.ts +10 -0
- package/dist/templates/blank/vue/src/styles.css +93 -0
- package/dist/templates/blank/vue/src/vite-env.d.ts +1 -0
- package/dist/templates/blank/vue/tsconfig.json +23 -0
- package/dist/templates/blank/vue/vite.config.ts +36 -0
- package/dist/templates/blank/vue/wrangler.jsonc +8 -0
- package/dist/templates/blog/react/.env.example +2 -2
- package/dist/templates/blog/react/linguana.json +1 -1
- package/dist/templates/blog/react/src/App.tsx +1 -1
- package/dist/templates/blog/solidjs/.env.example +2 -2
- package/dist/templates/blog/solidjs/linguana.json +1 -1
- package/dist/templates/blog/solidjs/src/App.tsx +1 -1
- package/dist/templates/blog/svelte/.env.example +2 -2
- package/dist/templates/blog/svelte/linguana.json +1 -1
- package/dist/templates/blog/svelte/src/App.svelte +1 -1
- package/dist/templates/blog/tanstack-start/.env.example +2 -2
- package/dist/templates/blog/tanstack-start/linguana.json +1 -1
- package/dist/templates/blog/tanstack-start/src/App.tsx +1 -1
- package/dist/templates/blog/vue/.env.example +2 -2
- package/dist/templates/blog/vue/linguana.json +1 -1
- package/dist/templates/blog/vue/src/App.vue +1 -1
- package/dist/templates/saas/react/.env.example +2 -2
- package/dist/templates/saas/react/linguana.json +1 -1
- package/dist/templates/saas/react/src/App.tsx +1 -1
- package/dist/templates/saas/solidjs/.env.example +2 -2
- package/dist/templates/saas/solidjs/linguana.json +1 -1
- package/dist/templates/saas/solidjs/src/App.tsx +1 -1
- package/dist/templates/saas/svelte/.env.example +2 -2
- package/dist/templates/saas/svelte/linguana.json +1 -1
- package/dist/templates/saas/svelte/src/App.svelte +1 -1
- package/dist/templates/saas/tanstack-start/.env.example +2 -2
- package/dist/templates/saas/tanstack-start/linguana.json +1 -1
- package/dist/templates/saas/tanstack-start/src/App.tsx +1 -1
- package/dist/templates/saas/vue/.env.example +2 -2
- package/dist/templates/saas/vue/linguana.json +1 -1
- package/dist/templates/saas/vue/src/App.vue +1 -1
- package/dist/templates/storefront/react/.env.example +2 -2
- package/dist/templates/storefront/react/linguana.json +1 -1
- package/dist/templates/storefront/react/src/App.tsx +1 -1
- package/dist/templates/storefront/solidjs/.env.example +2 -2
- package/dist/templates/storefront/solidjs/linguana.json +1 -1
- package/dist/templates/storefront/solidjs/src/App.tsx +1 -1
- package/dist/templates/storefront/svelte/.env.example +2 -2
- package/dist/templates/storefront/svelte/linguana.json +1 -1
- package/dist/templates/storefront/svelte/src/App.svelte +1 -1
- package/dist/templates/storefront/tanstack-start/.env.example +2 -2
- package/dist/templates/storefront/tanstack-start/linguana.json +1 -1
- package/dist/templates/storefront/tanstack-start/src/App.tsx +1 -1
- package/dist/templates/storefront/vue/.env.example +2 -2
- package/dist/templates/storefront/vue/linguana.json +1 -1
- package/dist/templates/storefront/vue/src/App.vue +1 -1
- package/package.json +24 -36
|
@@ -184,5 +184,5 @@ Elsewhere</a>
|
|
|
184
184
|
<footer class="site-footer"><div ><a href="/" class="brand" @click="navigate($event)">Elsewhere</a>
|
|
185
185
|
<p ><Copy name="about"></Copy></p></div>
|
|
186
186
|
<p class="fine"><Copy name="demo"></Copy>
|
|
187
|
-
<a href="https://linguana.
|
|
187
|
+
<a href="https://linguana.dev" rel="noreferrer">Linguana ↗</a></p></footer></div>
|
|
188
188
|
</template>
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
# Build/server only. NEVER prefix the project token with VITE_.
|
|
4
4
|
LINGUANA_PROJECT_ID=
|
|
5
5
|
LINGUANA_ENVIRONMENT=development
|
|
6
|
-
LINGUANA_API_URL=https://
|
|
6
|
+
LINGUANA_API_URL=https://api.linguana.dev
|
|
7
7
|
LINGUANA_PROJECT_TOKEN=
|
|
8
8
|
LINGUANA_UPLOAD=false
|
|
9
9
|
# Paid translation is disabled; this template does not enable it automatically.
|
|
@@ -11,5 +11,5 @@ LINGUANA_TRANSLATE=false
|
|
|
11
11
|
# Browser-safe values. A publishable key reads published catalogs only.
|
|
12
12
|
VITE_LINGUANA_PROJECT_ID=
|
|
13
13
|
VITE_LINGUANA_ENVIRONMENT=development
|
|
14
|
-
VITE_LINGUANA_API_URL=https://
|
|
14
|
+
VITE_LINGUANA_API_URL=https://api.linguana.dev
|
|
15
15
|
VITE_LINGUANA_PUBLISHABLE_KEY=
|
|
@@ -621,7 +621,7 @@ export default function App({ path }: { path?: string }) {
|
|
|
621
621
|
</div>
|
|
622
622
|
<p className="fine">
|
|
623
623
|
<Copy name="demo" />
|
|
624
|
-
<a href="https://linguana.
|
|
624
|
+
<a href="https://linguana.dev" rel="noreferrer">
|
|
625
625
|
{"Linguana ↗"}
|
|
626
626
|
</a>
|
|
627
627
|
</p>
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
# Build/server only. NEVER prefix the project token with VITE_.
|
|
4
4
|
LINGUANA_PROJECT_ID=
|
|
5
5
|
LINGUANA_ENVIRONMENT=development
|
|
6
|
-
LINGUANA_API_URL=https://
|
|
6
|
+
LINGUANA_API_URL=https://api.linguana.dev
|
|
7
7
|
LINGUANA_PROJECT_TOKEN=
|
|
8
8
|
LINGUANA_UPLOAD=false
|
|
9
9
|
# Paid translation is disabled; this template does not enable it automatically.
|
|
@@ -11,5 +11,5 @@ LINGUANA_TRANSLATE=false
|
|
|
11
11
|
# Browser-safe values. A publishable key reads published catalogs only.
|
|
12
12
|
VITE_LINGUANA_PROJECT_ID=
|
|
13
13
|
VITE_LINGUANA_ENVIRONMENT=development
|
|
14
|
-
VITE_LINGUANA_API_URL=https://
|
|
14
|
+
VITE_LINGUANA_API_URL=https://api.linguana.dev
|
|
15
15
|
VITE_LINGUANA_PUBLISHABLE_KEY=
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
# Build/server only. NEVER prefix the project token with VITE_.
|
|
4
4
|
LINGUANA_PROJECT_ID=
|
|
5
5
|
LINGUANA_ENVIRONMENT=development
|
|
6
|
-
LINGUANA_API_URL=https://
|
|
6
|
+
LINGUANA_API_URL=https://api.linguana.dev
|
|
7
7
|
LINGUANA_PROJECT_TOKEN=
|
|
8
8
|
LINGUANA_UPLOAD=false
|
|
9
9
|
# Paid translation is disabled; this template does not enable it automatically.
|
|
@@ -11,5 +11,5 @@ LINGUANA_TRANSLATE=false
|
|
|
11
11
|
# Browser-safe values. A publishable key reads published catalogs only.
|
|
12
12
|
VITE_LINGUANA_PROJECT_ID=
|
|
13
13
|
VITE_LINGUANA_ENVIRONMENT=development
|
|
14
|
-
VITE_LINGUANA_API_URL=https://
|
|
14
|
+
VITE_LINGUANA_API_URL=https://api.linguana.dev
|
|
15
15
|
VITE_LINGUANA_PUBLISHABLE_KEY=
|
|
@@ -249,4 +249,4 @@ RELAY /
|
|
|
249
249
|
<footer class="site-footer"><div ><a href="/" class="brand" onclick={(event) => { navigate(event); }}>Relay</a>
|
|
250
250
|
<p ><Copy name="about"></Copy></p></div>
|
|
251
251
|
<p class="fine"><Copy name="demo"></Copy>
|
|
252
|
-
<a href="https://linguana.
|
|
252
|
+
<a href="https://linguana.dev" rel="noreferrer">Linguana ↗</a></p></footer></div>
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
# Build/server only. NEVER prefix the project token with VITE_.
|
|
4
4
|
LINGUANA_PROJECT_ID=
|
|
5
5
|
LINGUANA_ENVIRONMENT=development
|
|
6
|
-
LINGUANA_API_URL=https://
|
|
6
|
+
LINGUANA_API_URL=https://api.linguana.dev
|
|
7
7
|
LINGUANA_PROJECT_TOKEN=
|
|
8
8
|
LINGUANA_UPLOAD=false
|
|
9
9
|
# Paid translation is disabled; this template does not enable it automatically.
|
|
@@ -11,5 +11,5 @@ LINGUANA_TRANSLATE=false
|
|
|
11
11
|
# Browser-safe values. A publishable key reads published catalogs only.
|
|
12
12
|
VITE_LINGUANA_PROJECT_ID=
|
|
13
13
|
VITE_LINGUANA_ENVIRONMENT=development
|
|
14
|
-
VITE_LINGUANA_API_URL=https://
|
|
14
|
+
VITE_LINGUANA_API_URL=https://api.linguana.dev
|
|
15
15
|
VITE_LINGUANA_PUBLISHABLE_KEY=
|
|
@@ -606,7 +606,7 @@ export default function App({ path }: { path?: string }) {
|
|
|
606
606
|
</div>
|
|
607
607
|
<p className="fine">
|
|
608
608
|
<Copy name="demo" />
|
|
609
|
-
<a href="https://linguana.
|
|
609
|
+
<a href="https://linguana.dev" rel="noreferrer">
|
|
610
610
|
{"Linguana ↗"}
|
|
611
611
|
</a>
|
|
612
612
|
</p>
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
# Build/server only. NEVER prefix the project token with VITE_.
|
|
4
4
|
LINGUANA_PROJECT_ID=
|
|
5
5
|
LINGUANA_ENVIRONMENT=development
|
|
6
|
-
LINGUANA_API_URL=https://
|
|
6
|
+
LINGUANA_API_URL=https://api.linguana.dev
|
|
7
7
|
LINGUANA_PROJECT_TOKEN=
|
|
8
8
|
LINGUANA_UPLOAD=false
|
|
9
9
|
# Paid translation is disabled; this template does not enable it automatically.
|
|
@@ -11,5 +11,5 @@ LINGUANA_TRANSLATE=false
|
|
|
11
11
|
# Browser-safe values. A publishable key reads published catalogs only.
|
|
12
12
|
VITE_LINGUANA_PROJECT_ID=
|
|
13
13
|
VITE_LINGUANA_ENVIRONMENT=development
|
|
14
|
-
VITE_LINGUANA_API_URL=https://
|
|
14
|
+
VITE_LINGUANA_API_URL=https://api.linguana.dev
|
|
15
15
|
VITE_LINGUANA_PUBLISHABLE_KEY=
|
|
@@ -240,5 +240,5 @@ RELAY /
|
|
|
240
240
|
<footer class="site-footer"><div ><a href="/" class="brand" @click="navigate($event)">Relay</a>
|
|
241
241
|
<p ><Copy name="about"></Copy></p></div>
|
|
242
242
|
<p class="fine"><Copy name="demo"></Copy>
|
|
243
|
-
<a href="https://linguana.
|
|
243
|
+
<a href="https://linguana.dev" rel="noreferrer">Linguana ↗</a></p></footer></div>
|
|
244
244
|
</template>
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
# Build/server only. NEVER prefix the project token with VITE_.
|
|
4
4
|
LINGUANA_PROJECT_ID=
|
|
5
5
|
LINGUANA_ENVIRONMENT=development
|
|
6
|
-
LINGUANA_API_URL=https://
|
|
6
|
+
LINGUANA_API_URL=https://api.linguana.dev
|
|
7
7
|
LINGUANA_PROJECT_TOKEN=
|
|
8
8
|
LINGUANA_UPLOAD=false
|
|
9
9
|
# Paid translation is disabled; this template does not enable it automatically.
|
|
@@ -11,5 +11,5 @@ LINGUANA_TRANSLATE=false
|
|
|
11
11
|
# Browser-safe values. A publishable key reads published catalogs only.
|
|
12
12
|
VITE_LINGUANA_PROJECT_ID=
|
|
13
13
|
VITE_LINGUANA_ENVIRONMENT=development
|
|
14
|
-
VITE_LINGUANA_API_URL=https://
|
|
14
|
+
VITE_LINGUANA_API_URL=https://api.linguana.dev
|
|
15
15
|
VITE_LINGUANA_PUBLISHABLE_KEY=
|
|
@@ -606,7 +606,7 @@ export default function App({ path }: { path?: string }) {
|
|
|
606
606
|
</div>
|
|
607
607
|
<p className="fine">
|
|
608
608
|
<Copy name="demo" />
|
|
609
|
-
<a href="https://linguana.
|
|
609
|
+
<a href="https://linguana.dev" rel="noreferrer">
|
|
610
610
|
{"Linguana ↗"}
|
|
611
611
|
</a>
|
|
612
612
|
</p>
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
# Build/server only. NEVER prefix the project token with VITE_.
|
|
4
4
|
LINGUANA_PROJECT_ID=
|
|
5
5
|
LINGUANA_ENVIRONMENT=development
|
|
6
|
-
LINGUANA_API_URL=https://
|
|
6
|
+
LINGUANA_API_URL=https://api.linguana.dev
|
|
7
7
|
LINGUANA_PROJECT_TOKEN=
|
|
8
8
|
LINGUANA_UPLOAD=false
|
|
9
9
|
# Paid translation is disabled; this template does not enable it automatically.
|
|
@@ -11,5 +11,5 @@ LINGUANA_TRANSLATE=false
|
|
|
11
11
|
# Browser-safe values. A publishable key reads published catalogs only.
|
|
12
12
|
VITE_LINGUANA_PROJECT_ID=
|
|
13
13
|
VITE_LINGUANA_ENVIRONMENT=development
|
|
14
|
-
VITE_LINGUANA_API_URL=https://
|
|
14
|
+
VITE_LINGUANA_API_URL=https://api.linguana.dev
|
|
15
15
|
VITE_LINGUANA_PUBLISHABLE_KEY=
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
# Build/server only. NEVER prefix the project token with VITE_.
|
|
4
4
|
LINGUANA_PROJECT_ID=
|
|
5
5
|
LINGUANA_ENVIRONMENT=development
|
|
6
|
-
LINGUANA_API_URL=https://
|
|
6
|
+
LINGUANA_API_URL=https://api.linguana.dev
|
|
7
7
|
LINGUANA_PROJECT_TOKEN=
|
|
8
8
|
LINGUANA_UPLOAD=false
|
|
9
9
|
# Paid translation is disabled; this template does not enable it automatically.
|
|
@@ -11,5 +11,5 @@ LINGUANA_TRANSLATE=false
|
|
|
11
11
|
# Browser-safe values. A publishable key reads published catalogs only.
|
|
12
12
|
VITE_LINGUANA_PROJECT_ID=
|
|
13
13
|
VITE_LINGUANA_ENVIRONMENT=development
|
|
14
|
-
VITE_LINGUANA_API_URL=https://
|
|
14
|
+
VITE_LINGUANA_API_URL=https://api.linguana.dev
|
|
15
15
|
VITE_LINGUANA_PUBLISHABLE_KEY=
|
|
@@ -215,4 +215,4 @@ Common Goods</a>
|
|
|
215
215
|
<footer class="site-footer"><div ><a href="/" class="brand" onclick={(event) => { navigate(event); }}>Common Goods</a>
|
|
216
216
|
<p ><Copy name="about"></Copy></p></div>
|
|
217
217
|
<p class="fine"><Copy name="demo"></Copy>
|
|
218
|
-
<a href="https://linguana.
|
|
218
|
+
<a href="https://linguana.dev" rel="noreferrer">Linguana ↗</a></p></footer></div>
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
# Build/server only. NEVER prefix the project token with VITE_.
|
|
4
4
|
LINGUANA_PROJECT_ID=
|
|
5
5
|
LINGUANA_ENVIRONMENT=development
|
|
6
|
-
LINGUANA_API_URL=https://
|
|
6
|
+
LINGUANA_API_URL=https://api.linguana.dev
|
|
7
7
|
LINGUANA_PROJECT_TOKEN=
|
|
8
8
|
LINGUANA_UPLOAD=false
|
|
9
9
|
# Paid translation is disabled; this template does not enable it automatically.
|
|
@@ -11,5 +11,5 @@ LINGUANA_TRANSLATE=false
|
|
|
11
11
|
# Browser-safe values. A publishable key reads published catalogs only.
|
|
12
12
|
VITE_LINGUANA_PROJECT_ID=
|
|
13
13
|
VITE_LINGUANA_ENVIRONMENT=development
|
|
14
|
-
VITE_LINGUANA_API_URL=https://
|
|
14
|
+
VITE_LINGUANA_API_URL=https://api.linguana.dev
|
|
15
15
|
VITE_LINGUANA_PUBLISHABLE_KEY=
|
|
@@ -591,7 +591,7 @@ export default function App({ path }: { path?: string }) {
|
|
|
591
591
|
</div>
|
|
592
592
|
<p className="fine">
|
|
593
593
|
<Copy name="demo" />
|
|
594
|
-
<a href="https://linguana.
|
|
594
|
+
<a href="https://linguana.dev" rel="noreferrer">
|
|
595
595
|
{"Linguana ↗"}
|
|
596
596
|
</a>
|
|
597
597
|
</p>
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
# Build/server only. NEVER prefix the project token with VITE_.
|
|
4
4
|
LINGUANA_PROJECT_ID=
|
|
5
5
|
LINGUANA_ENVIRONMENT=development
|
|
6
|
-
LINGUANA_API_URL=https://
|
|
6
|
+
LINGUANA_API_URL=https://api.linguana.dev
|
|
7
7
|
LINGUANA_PROJECT_TOKEN=
|
|
8
8
|
LINGUANA_UPLOAD=false
|
|
9
9
|
# Paid translation is disabled; this template does not enable it automatically.
|
|
@@ -11,5 +11,5 @@ LINGUANA_TRANSLATE=false
|
|
|
11
11
|
# Browser-safe values. A publishable key reads published catalogs only.
|
|
12
12
|
VITE_LINGUANA_PROJECT_ID=
|
|
13
13
|
VITE_LINGUANA_ENVIRONMENT=development
|
|
14
|
-
VITE_LINGUANA_API_URL=https://
|
|
14
|
+
VITE_LINGUANA_API_URL=https://api.linguana.dev
|
|
15
15
|
VITE_LINGUANA_PUBLISHABLE_KEY=
|
|
@@ -206,5 +206,5 @@ Common Goods</a>
|
|
|
206
206
|
<footer class="site-footer"><div ><a href="/" class="brand" @click="navigate($event)">Common Goods</a>
|
|
207
207
|
<p ><Copy name="about"></Copy></p></div>
|
|
208
208
|
<p class="fine"><Copy name="demo"></Copy>
|
|
209
|
-
<a href="https://linguana.
|
|
209
|
+
<a href="https://linguana.dev" rel="noreferrer">Linguana ↗</a></p></footer></div>
|
|
210
210
|
</template>
|
package/package.json
CHANGED
|
@@ -1,38 +1,26 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
"dependencies": {
|
|
27
|
-
"@clack/prompts": "^1.8.1",
|
|
28
|
-
"commander": "^15.0.0",
|
|
29
|
-
"open": "^11.0.4"
|
|
30
|
-
},
|
|
31
|
-
"devDependencies": {
|
|
32
|
-
"@linguana/config": "workspace:*",
|
|
33
|
-
"@linguana/templates": "workspace:*",
|
|
34
|
-
"@types/bun": "catalog:",
|
|
35
|
-
"typescript": "catalog:",
|
|
36
|
-
"esbuild": "^0.27.0"
|
|
37
|
-
}
|
|
2
|
+
"name": "@linguanahq/cli",
|
|
3
|
+
"version": "0.1.1",
|
|
4
|
+
"description": "Create and connect multilingual apps with Linguana.",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"type": "module",
|
|
7
|
+
"bin": {
|
|
8
|
+
"linguana": "./dist/index.js"
|
|
9
|
+
},
|
|
10
|
+
"files": [
|
|
11
|
+
"dist",
|
|
12
|
+
"README.md",
|
|
13
|
+
"LICENSE"
|
|
14
|
+
],
|
|
15
|
+
"engines": {
|
|
16
|
+
"node": ">=22.12.0"
|
|
17
|
+
},
|
|
18
|
+
"publishConfig": {
|
|
19
|
+
"access": "public"
|
|
20
|
+
},
|
|
21
|
+
"dependencies": {
|
|
22
|
+
"@clack/prompts": "^1.8.1",
|
|
23
|
+
"commander": "^15.0.0",
|
|
24
|
+
"open": "^11.0.4"
|
|
25
|
+
}
|
|
38
26
|
}
|