dinou 6.0.1 → 6.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/CHANGELOG.md CHANGED
@@ -5,6 +5,19 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/).
7
7
 
8
+ ## [6.1.1] - 2026-09-19
9
+
10
+ ### Bug Fixes
11
+ - **TypeScript exports**: Added missing `"types"` condition to the root `"."` export mapping in `package.json`, fixing module declaration resolution under `"moduleResolution": "bundler"`.
12
+
13
+ ## [6.1.0] - 2026-09-18
14
+
15
+ ### Added
16
+ - **Ambient types export**: Added `./env` subpath export for built-in asset and CSS module type declarations via `dinou-env.d.ts` (supporting both Server and Client Components without cluttering `src/`).
17
+
18
+ ### Fixed
19
+ - **Package exports**: Added missing `./server` export mapping in root `package.json`, fixing TypeScript resolution for non-ejected installations.
20
+
8
21
  ## [6.0.1] - 2026-09-14
9
22
 
10
23
  ### Fixed
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # **Dinou**
2
2
 
3
- [![Documentation](https://img.shields.io/badge/docs-dinou.dev-blue?style=flat-square)](https://dinou.dev) [![Version](https://img.shields.io/badge/version-6.0.1-orange?style=flat-square)](https://www.npmjs.com/package/dinou)
3
+ [![Documentation](https://img.shields.io/badge/docs-dinou.dev-blue?style=flat-square)](https://dinou.dev) [![Version](https://img.shields.io/badge/version-6.1.1-orange?style=flat-square)](https://www.npmjs.com/package/dinou)
4
4
 
5
5
  ### **Lightweight-Ejectable Full-Stack React 19 Framework**
6
6
 
@@ -0,0 +1,108 @@
1
+ // Images
2
+ declare module "*.png" {
3
+ const value: string;
4
+ export default value;
5
+ }
6
+
7
+ declare module "*.jpg" {
8
+ const value: string;
9
+ export default value;
10
+ }
11
+
12
+ declare module "*.jpeg" {
13
+ const value: string;
14
+ export default value;
15
+ }
16
+
17
+ declare module "*.gif" {
18
+ const value: string;
19
+ export default value;
20
+ }
21
+
22
+ declare module "*.svg" {
23
+ const value: string;
24
+ export default value;
25
+ }
26
+
27
+ declare module "*.webp" {
28
+ const value: string;
29
+ export default value;
30
+ }
31
+
32
+ declare module "*.avif" {
33
+ const value: string;
34
+ export default value;
35
+ }
36
+
37
+ declare module "*.ico" {
38
+ const value: string;
39
+ export default value;
40
+ }
41
+
42
+ // Video
43
+ declare module "*.mp4" {
44
+ const value: string;
45
+ export default value;
46
+ }
47
+
48
+ declare module "*.webm" {
49
+ const value: string;
50
+ export default value;
51
+ }
52
+
53
+ declare module "*.ogg" {
54
+ const value: string;
55
+ export default value;
56
+ }
57
+
58
+ declare module "*.mov" {
59
+ const value: string;
60
+ export default value;
61
+ }
62
+
63
+ declare module "*.avi" {
64
+ const value: string;
65
+ export default value;
66
+ }
67
+
68
+ declare module "*.mkv" {
69
+ const value: string;
70
+ export default value;
71
+ }
72
+
73
+ declare module "*.mjpeg" {
74
+ const value: string;
75
+ export default value;
76
+ }
77
+
78
+ declare module "*.mjpg" {
79
+ const value: string;
80
+ export default value;
81
+ }
82
+
83
+ // Audio
84
+ declare module "*.mp3" {
85
+ const value: string;
86
+ export default value;
87
+ }
88
+
89
+ declare module "*.wav" {
90
+ const value: string;
91
+ export default value;
92
+ }
93
+
94
+ declare module "*.flac" {
95
+ const value: string;
96
+ export default value;
97
+ }
98
+
99
+ declare module "*.m4a" {
100
+ const value: string;
101
+ export default value;
102
+ }
103
+
104
+ declare module "*.aac" {
105
+ const value: string;
106
+ export default value;
107
+ }
108
+
package/dinou/css.d.ts ADDED
@@ -0,0 +1,4 @@
1
+ declare module "*.module.css" {
2
+ const classes: { [key: string]: string };
3
+ export default classes;
4
+ }
package/dinou/env.d.ts ADDED
@@ -0,0 +1,3 @@
1
+ // dinou/client.d.ts
2
+ /// <reference path="./assets.d.ts" />
3
+ /// <reference path="./css.d.ts" />
@@ -1,13 +1,17 @@
1
1
  {
2
2
  "name": "dinou-ejected",
3
- "version": "6.0.1",
3
+ "version": "6.1.1",
4
4
  "main": "index.js",
5
5
  "private": true,
6
6
  "exports": {
7
7
  ".": {
8
+ "types": "./index.d.ts",
8
9
  "import": "./index.mjs",
9
10
  "require": "./index.js"
10
11
  },
12
+ "./env": {
13
+ "types": "./env.d.ts"
14
+ },
11
15
  "./server": {
12
16
  "types": "./server.d.ts",
13
17
  "import": "./server.mjs",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dinou",
3
- "version": "6.0.1",
3
+ "version": "6.1.1",
4
4
  "description": "Lightweight-Ejectable Full-Stack React 19 Framework with support for React Server Components (RSC), Server Functions, Server-Side Rendering (SSR), Static Generation (SSG), Incremental Static Generation (ISG), and Incremental Static Regeneration (ISR)",
5
5
  "main": "index.js",
6
6
  "bin": {
@@ -8,8 +8,17 @@
8
8
  },
9
9
  "exports": {
10
10
  ".": {
11
+ "types": "./dinou/index.d.ts",
11
12
  "import": "./dinou/index.mjs",
12
13
  "require": "./dinou/index.js"
14
+ },
15
+ "./env": {
16
+ "types": "./dinou/env.d.ts"
17
+ },
18
+ "./server": {
19
+ "types": "./dinou/server.d.ts",
20
+ "import": "./dinou/server.mjs",
21
+ "require": "./dinou/server.js"
13
22
  }
14
23
  },
15
24
  "types": "./dinou/index.d.ts",