@viliha/vui-ui 1.6.0 → 1.6.2
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/CHANGELOG.md +18 -0
- package/package.json +1 -1
- package/template/.env.example +3 -0
- package/template/lib/seo.ts +3 -1
- package/template/next.config.ts +3 -0
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,24 @@ backward-compatible features, **major** for breaking changes.
|
|
|
7
7
|
|
|
8
8
|
To upgrade, see [Upgrading](./AGENT.md#upgrading) in the agent guide.
|
|
9
9
|
|
|
10
|
+
## 1.6.2 — 2026-07-25
|
|
11
|
+
|
|
12
|
+
### Fixed
|
|
13
|
+
|
|
14
|
+
- The scaffolded `next.config.ts` now pins `turbopack.root` to the app dir, so
|
|
15
|
+
Next.js no longer infers the workspace root from a stray lockfile higher up the
|
|
16
|
+
tree (a home-dir `bun.lock`, or an outer monorepo) and emits the "inferred your
|
|
17
|
+
workspace root, but it may not be correct" warning.
|
|
18
|
+
|
|
19
|
+
## 1.6.1 — 2026-07-25
|
|
20
|
+
|
|
21
|
+
### Added
|
|
22
|
+
|
|
23
|
+
- `NEXT_PUBLIC_APP_URL` sets the deploy origin (`SITE.url`), so `metadataBase`,
|
|
24
|
+
canonical URLs, and Open Graph URLs resolve against your domain instead of the
|
|
25
|
+
hard-coded demo host. Falls back to the demo URL when unset. Completes the
|
|
26
|
+
env-driven brand set (`APP_NAME` / `APP_TAGLINE` / `APP_DESCRIPTION` / `APP_URL`).
|
|
27
|
+
|
|
10
28
|
## 1.6.0 — 2026-07-25
|
|
11
29
|
|
|
12
30
|
### Changed
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@viliha/vui-ui",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.2",
|
|
4
4
|
"description": "Vui UI — a clean, token-driven React admin/CRM component library built on Tailwind CSS v4, shadcn-style patterns, and Radix Icons. Ships as TypeScript source (Just-in-Time), compiled by the consuming app.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Suman Bonakurthi",
|
package/template/.env.example
CHANGED
|
@@ -7,6 +7,9 @@
|
|
|
7
7
|
NEXT_PUBLIC_APP_NAME="Vui Starter"
|
|
8
8
|
NEXT_PUBLIC_APP_TAGLINE="React Admin & CRM Design System"
|
|
9
9
|
NEXT_PUBLIC_APP_DESCRIPTION="Your app description for search engines and social cards."
|
|
10
|
+
# Deploy origin (no trailing slash) — drives metadataBase, canonical + OG URLs.
|
|
11
|
+
# Set this to your domain in production.
|
|
12
|
+
NEXT_PUBLIC_APP_URL="https://vui.viliha.com"
|
|
10
13
|
|
|
11
14
|
# Runtime branding (multi-tenant / white-label). Point this at a JSON endpoint
|
|
12
15
|
# returning any of { name, tagline, description, logoUrl, company, companyUrl };
|
package/template/lib/seo.ts
CHANGED
|
@@ -9,7 +9,9 @@ export const SITE = {
|
|
|
9
9
|
name: process.env.NEXT_PUBLIC_APP_NAME ?? "Vui Starter",
|
|
10
10
|
tagline:
|
|
11
11
|
process.env.NEXT_PUBLIC_APP_TAGLINE ?? "React Admin & CRM Design System",
|
|
12
|
-
|
|
12
|
+
// Deploy origin — drives metadataBase, canonical URLs, and OG image URLs.
|
|
13
|
+
// Set NEXT_PUBLIC_APP_URL to your domain (no trailing slash) per deployment.
|
|
14
|
+
url: process.env.NEXT_PUBLIC_APP_URL ?? "https://vui.viliha.com",
|
|
13
15
|
description:
|
|
14
16
|
process.env.NEXT_PUBLIC_APP_DESCRIPTION ??
|
|
15
17
|
"Vui Starter is a free, open-source React admin & CRM design system — a token-driven component library (@viliha/vui-ui) plus a full backoffice demo.",
|
package/template/next.config.ts
CHANGED
|
@@ -2,6 +2,9 @@ import type { NextConfig } from "next";
|
|
|
2
2
|
|
|
3
3
|
const nextConfig: NextConfig = {
|
|
4
4
|
reactStrictMode: true,
|
|
5
|
+
// Pin the workspace root to this app so Next doesn't infer it from a stray
|
|
6
|
+
// lockfile higher up the tree (e.g. a home-dir bun.lock or an outer monorepo).
|
|
7
|
+
turbopack: { root: __dirname },
|
|
5
8
|
// VUI ships as TypeScript source — Next must transpile it.
|
|
6
9
|
transpilePackages: ["@viliha/vui-ui"],
|
|
7
10
|
// Static export makes the open-tabs keep-alive work (all client at runtime).
|