@mdxui/auth 1.4.1 → 1.4.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/app/index.html ADDED
@@ -0,0 +1,15 @@
1
+ <!doctype html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8" />
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0" />
6
+ <meta name="color-scheme" content="dark light" />
7
+ <title>Auth</title>
8
+ <link rel="icon" type="image/svg+xml" href="/favicon.svg" />
9
+ <script type="module" crossorigin src="/assets/index-C6xHcx9J.js"></script>
10
+ <link rel="stylesheet" crossorigin href="/assets/index-DunLT2Gt.css">
11
+ </head>
12
+ <body>
13
+ <div id="root"></div>
14
+ </body>
15
+ </html>
@@ -0,0 +1,9 @@
1
+ {
2
+ "clientId": "client_01EXAMPLE",
3
+ "appName": "My App",
4
+ "tagline": "Optional tagline",
5
+ "redirectUri": "https://myapp.com/callback",
6
+ "apiHostname": "auth.myapp.com",
7
+ "devMode": false,
8
+ "logoUrl": "/logo.svg"
9
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mdxui/auth",
3
- "version": "1.4.1",
3
+ "version": "1.4.2",
4
4
  "description": "Authentication components and WorkOS AuthKit wrappers for mdxui",
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -67,38 +67,37 @@
67
67
  },
68
68
  "files": [
69
69
  "dist",
70
+ "app",
71
+ "auth-config.example.json",
70
72
  "README.md"
71
73
  ],
72
- "scripts": {
73
- "build": "tsup",
74
- "test": "vitest",
75
- "test:run": "vitest run",
76
- "typecheck": "tsc --noEmit",
77
- "clean": "rm -rf dist .turbo node_modules",
78
- "prepublishOnly": "pnpm build"
79
- },
80
74
  "devDependencies": {
81
- "@mdxui/typescript-config": "workspace:*",
75
+ "@tailwindcss/vite": "^4.1.0",
82
76
  "@testing-library/jest-dom": "^6.6.3",
83
77
  "@testing-library/react": "^16.3.0",
84
78
  "@types/react": "^19.2.7",
85
79
  "@types/react-dom": "^19.2.3",
86
80
  "@vitejs/plugin-react": "^5.1.2",
87
81
  "jsdom": "^26.1.0",
82
+ "tailwindcss": "^4.1.0",
88
83
  "tsup": "^8.0.0",
84
+ "tw-animate-css": "^1.4.0",
89
85
  "typescript": "5.9.3",
90
- "vitest": "^3.2.4"
86
+ "vite": "^6.0.0",
87
+ "vitest": "^3.2.4",
88
+ "@mdxui/typescript-config": "6.0.0"
91
89
  },
92
90
  "dependencies": {
93
- "@mdxui/navigation": "workspace:*",
94
- "@mdxui/primitives": "workspace:*",
91
+ "@radix-ui/themes": "^3.2.0",
95
92
  "@workos-inc/authkit-react": "^0.16.0",
96
93
  "@workos-inc/widgets": "^1.7.2",
97
94
  "lucide-react": "^0.511.0",
98
- "mdxui": "workspace:*",
99
95
  "next-themes": "^0.4.4",
100
96
  "sonner": "^1.5.0",
101
- "zod": "^4.3.5"
97
+ "zod": "^4.3.5",
98
+ "@mdxui/navigation": "6.0.0",
99
+ "@mdxui/primitives": "6.0.0",
100
+ "mdxui": "6.1.0"
102
101
  },
103
102
  "peerDependencies": {
104
103
  "react": "^18.0.0 || ^19.0.0",
@@ -106,5 +105,14 @@
106
105
  },
107
106
  "publishConfig": {
108
107
  "access": "public"
108
+ },
109
+ "scripts": {
110
+ "build": "tsup",
111
+ "build:app": "vite build --config vite.app.config.ts",
112
+ "build:all": "pnpm build && pnpm build:app",
113
+ "test": "vitest",
114
+ "test:run": "vitest run",
115
+ "typecheck": "tsc --noEmit",
116
+ "clean": "rm -rf dist app .turbo node_modules"
109
117
  }
110
- }
118
+ }