virastack 1.0.4 → 1.0.5
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 +24 -3
- package/package.json +1 -1
- package/templates/nextjs/README.md +1 -1
- package/templates/nextjs/public/llms.txt +1 -1
- package/templates/tanstack/README.md +1 -1
- package/templates-i18n/nextjs/README.md +1 -1
- package/templates-i18n/nextjs/public/llms.txt +1 -1
- package/templates-i18n/tanstack/README.md +1 -1
- package/templates-i18n/tanstack/public/llms.txt +1 -1
package/README.md
CHANGED
|
@@ -74,10 +74,12 @@ Which ViraStack tools would you like to include?
|
|
|
74
74
|
| `@virastack/mask` | Input masking and formatting (Phone, IBAN, etc.) |
|
|
75
75
|
| `@virastack/password` | Password visibility toggle with customizable icons and text |
|
|
76
76
|
|
|
77
|
-
##
|
|
77
|
+
## Commands and options
|
|
78
78
|
|
|
79
|
-
|
|
|
79
|
+
| Command / flag | Description |
|
|
80
80
|
| :--- | :--- |
|
|
81
|
+
| `init [name]` | Create a new project (default; also runs with no command) |
|
|
82
|
+
| `add <tool>` | Add a tool to an existing project (`mask`, `password`, `ai`) |
|
|
81
83
|
| `--name <name>` | Project name (or pass as positional / `.`) |
|
|
82
84
|
| `--template <name>` | `nextjs` or `tanstack` |
|
|
83
85
|
| `--tools <list>` | Comma-separated tools (`mask,password`) |
|
|
@@ -89,9 +91,28 @@ Which ViraStack tools would you like to include?
|
|
|
89
91
|
| `-v`, `--version` | Print CLI version |
|
|
90
92
|
| `-h`, `--help` | Show usage |
|
|
91
93
|
|
|
94
|
+
```bash
|
|
95
|
+
pnpm dlx virastack add mask
|
|
96
|
+
pnpm dlx virastack add password
|
|
97
|
+
pnpm dlx virastack add ai
|
|
98
|
+
```
|
|
99
|
+
|
|
100
|
+
## Included by default
|
|
101
|
+
|
|
102
|
+
Every template ships with this stack already installed:
|
|
103
|
+
|
|
104
|
+
| Area | Packages |
|
|
105
|
+
| :--- | :--- |
|
|
106
|
+
| **State** | TanStack Query, Zustand, nuqs |
|
|
107
|
+
| **Form** | React Hook Form, Zod |
|
|
108
|
+
| **Hooks** | `usehooks-ts` |
|
|
109
|
+
| **UI** | Base UI, Framer Motion, Lucide React |
|
|
110
|
+
|
|
111
|
+
[ViraStack AI](https://github.com/virastack/ai) encodes these choices as agent rules so assistants follow the same stack from day one.
|
|
112
|
+
|
|
92
113
|
## Telemetry
|
|
93
114
|
|
|
94
|
-
To
|
|
115
|
+
To keep usage statistics, ViraStack collects strictly anonymous data (template, i18n choice, selected tools, package manager, and CLI version). Absolutely no personal data, project names, or file paths are collected.
|
|
95
116
|
|
|
96
117
|
Opt out anytime: `pnpm dlx virastack --telemetry-disable`
|
|
97
118
|
|
package/package.json
CHANGED
|
@@ -24,7 +24,7 @@ _The Next.js boilerplate that feels effortless._
|
|
|
24
24
|
|
|
25
25
|
---
|
|
26
26
|
|
|
27
|
-
**Docs:** [See the docs](https://
|
|
27
|
+
**Docs:** [See the docs](https://virastack.com/start/docs)
|
|
28
28
|
|
|
29
29
|
**Contents:** [Why](#why-virastack) · [Features](#features) · [Getting started](#getting-started) · [Environment](#environment-variables) · [Scripts](#scripts) · [Project structure](#project-structure) · [Customization](#customization) · [ViraStack AI](#virastack-ai) · [Deployment](#deployment)
|
|
30
30
|
|
|
@@ -19,7 +19,7 @@ Built on the App Router with Server/Client Components, streaming, and the Metada
|
|
|
19
19
|
- [Repository (GitHub)](https://github.com/virastack/start): CLI and templates
|
|
20
20
|
- [README](https://github.com/virastack/start/tree/main/templates/nextjs): Features, structure, and conventions
|
|
21
21
|
- [Architecture guide](https://github.com/virastack/ai/blob/main/templates/core/docs/architecture-guide.md): Placement rules and import conventions
|
|
22
|
-
- [Product docs](https://
|
|
22
|
+
- [Product docs](https://virastack.com/start/docs): ViraStack Start documentation
|
|
23
23
|
|
|
24
24
|
## Key Files & Entry Points
|
|
25
25
|
- [`src/app/layout.tsx`](https://github.com/virastack/start/blob/main/templates/nextjs/src/app/layout.tsx): Root layout, fonts, providers
|
|
@@ -24,7 +24,7 @@ _The TanStack Start boilerplate that feels effortless._
|
|
|
24
24
|
|
|
25
25
|
---
|
|
26
26
|
|
|
27
|
-
**Docs:** [See the docs](https://
|
|
27
|
+
**Docs:** [See the docs](https://virastack.com/start/docs)
|
|
28
28
|
|
|
29
29
|
**Contents:** [Why](#why-virastack) · [Features](#features) · [Getting started](#getting-started) · [Environment](#environment-variables) · [Scripts](#scripts) · [Project structure](#project-structure) · [Customization](#customization) · [ViraStack AI](#virastack-ai) · [Deployment](#deployment)
|
|
30
30
|
|
|
@@ -24,7 +24,7 @@ _The Next.js boilerplate that feels effortless._
|
|
|
24
24
|
|
|
25
25
|
---
|
|
26
26
|
|
|
27
|
-
**Docs:** [See the docs](https://
|
|
27
|
+
**Docs:** [See the docs](https://virastack.com/start/docs)
|
|
28
28
|
|
|
29
29
|
**Contents:** [Why](#why-virastack) · [Features](#features) · [Getting started](#getting-started) · [Environment](#environment-variables) · [Scripts](#scripts) · [Project structure](#project-structure) · [Customization](#customization) · [ViraStack AI](#virastack-ai) · [Deployment](#deployment)
|
|
30
30
|
|
|
@@ -19,7 +19,7 @@ Built on the App Router with Server/Client Components, streaming, and the Metada
|
|
|
19
19
|
- [Repository (GitHub)](https://github.com/virastack/start): CLI and templates
|
|
20
20
|
- [README](https://github.com/virastack/start/tree/main/templates/nextjs): Features, structure, and conventions
|
|
21
21
|
- [Architecture guide](https://github.com/virastack/ai/blob/main/templates/core/docs/architecture-guide.md): Placement rules and import conventions
|
|
22
|
-
- [Product docs](https://
|
|
22
|
+
- [Product docs](https://virastack.com/start/docs): ViraStack Start documentation
|
|
23
23
|
|
|
24
24
|
## Key Files & Entry Points
|
|
25
25
|
- [`src/app/layout.tsx`](https://github.com/virastack/start/blob/main/templates/nextjs/src/app/layout.tsx): Root layout, fonts, providers
|
|
@@ -24,7 +24,7 @@ _The TanStack Start boilerplate that feels effortless._
|
|
|
24
24
|
|
|
25
25
|
---
|
|
26
26
|
|
|
27
|
-
**Docs:** [See the docs](https://
|
|
27
|
+
**Docs:** [See the docs](https://virastack.com/start/docs)
|
|
28
28
|
|
|
29
29
|
**Contents:** [Why](#why-virastack) · [Features](#features) · [Getting started](#getting-started) · [Environment](#environment-variables) · [Scripts](#scripts) · [Project structure](#project-structure) · [Customization](#customization) · [ViraStack AI](#virastack-ai) · [Deployment](#deployment)
|
|
30
30
|
|
|
@@ -19,7 +19,7 @@ Built on TanStack Router file-based routing with type-safe loaders, nested layou
|
|
|
19
19
|
- [Repository (GitHub)](https://github.com/virastack/start): CLI and templates
|
|
20
20
|
- [README](https://github.com/virastack/start/tree/main/templates/tanstack): Features, structure, and conventions
|
|
21
21
|
- [Architecture guide](https://github.com/virastack/ai/blob/main/templates/core/docs/architecture-guide.md): Placement rules and import conventions
|
|
22
|
-
- [Product docs](https://
|
|
22
|
+
- [Product docs](https://virastack.com/start/docs): ViraStack Start documentation
|
|
23
23
|
|
|
24
24
|
## Key Files & Entry Points
|
|
25
25
|
- [`src/routes/__root.tsx`](https://github.com/virastack/start/blob/main/templates/tanstack/src/routes/__root.tsx): Root route, document shell, providers, SEO head
|