@dyrected/admin 1.0.1 → 1.0.3

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 CHANGED
@@ -1,5 +1,18 @@
1
1
  # @dyrected/admin
2
2
 
3
+ ## 1.0.3
4
+
5
+ ### Patch Changes
6
+
7
+ - Standardized environment variable handling across Next.js and Nuxt integrations.
8
+ - CLI now generates .env templates with framework-specific prefixes (NEXT*PUBLIC* / NUXT*PUBLIC*).
9
+ - Next.js and Nuxt clients automatically resolve these prefixed variables for client-side use.
10
+ - Added a dedicated `@dyrected/next/admin` component for easy dashboard embedding in Next.js.
11
+ - Fixed TypeScript type generation for the Admin UI package.
12
+ - Updated dependencies
13
+ - @dyrected/core@1.0.3
14
+ - @dyrected/sdk@1.0.3
15
+
3
16
  ## 1.0.1
4
17
 
5
18
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dyrected/admin",
3
- "version": "1.0.1",
3
+ "version": "1.0.3",
4
4
  "type": "module",
5
5
  "main": "./dist/index.mjs",
6
6
  "module": "./dist/index.mjs",
@@ -58,8 +58,8 @@
58
58
  "tailwind-merge": "^3.5.0",
59
59
  "tailwindcss-animate": "^1.0.7",
60
60
  "zod": "^3.25.76",
61
- "@dyrected/core": "^1.0.1",
62
- "@dyrected/sdk": "^1.0.1"
61
+ "@dyrected/core": "^1.0.3",
62
+ "@dyrected/sdk": "^1.0.3"
63
63
  },
64
64
  "devDependencies": {
65
65
  "@eslint/js": "^10.0.1",
@@ -77,6 +77,7 @@
77
77
  "typescript": "~6.0.2",
78
78
  "typescript-eslint": "^8.58.2",
79
79
  "vite": "^8.0.10",
80
+ "vite-plugin-dts": "^5.0.0",
80
81
  "vite-plugin-node-polyfills": "^0.26.0"
81
82
  },
82
83
  "license": "BSL-1.1",
package/vite.config.ts CHANGED
@@ -2,11 +2,16 @@ import path from "path";
2
2
  import { defineConfig } from "vite";
3
3
  import react from "@vitejs/plugin-react";
4
4
  import { nodePolyfills } from "vite-plugin-node-polyfills";
5
+ import dts from "vite-plugin-dts";
5
6
 
6
7
  // https://vite.dev/config/
7
8
  export default defineConfig({
8
9
  plugins: [
9
10
  react(),
11
+ dts({
12
+ tsconfigPath: "./tsconfig.app.json",
13
+ insertTypesEntry: true,
14
+ }),
10
15
  nodePolyfills({
11
16
  // Whether to polyfill `node:` protocol imports.
12
17
  protocolImports: true,
@@ -33,4 +38,3 @@ export default defineConfig({
33
38
  },
34
39
  },
35
40
  });
36
-