@dudousxd/nestjs-inertia 1.0.0 → 1.0.4
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 +24 -0
- package/dist/index.cjs +6 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +6 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,29 @@
|
|
|
1
1
|
# Changelog — @dudousxd/nestjs-inertia
|
|
2
2
|
|
|
3
|
+
## 1.0.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- fix(codegen): resolve DTOs imported from separate files — cross-file class resolution via ts-morph import following
|
|
8
|
+
|
|
9
|
+
## 1.0.3
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [`c79cc6d`](https://github.com/DavideCarvalho/nestjs-inertia/commit/c79cc6dad64342bce17c28a705ae27911c3f4c74) - Fix React Refresh preamble in @vite directive, watcher initial pass runs full discovery, auto-sync VERSION constants
|
|
14
|
+
|
|
15
|
+
## 1.0.2
|
|
16
|
+
|
|
17
|
+
### Patch Changes
|
|
18
|
+
|
|
19
|
+
- [`27e0bab`](https://github.com/DavideCarvalho/nestjs-inertia/commit/27e0bab4b7f8752a4dd179cc715b4e3d64161624) - Fix: @vite directive includes React Refresh preamble, watcher initial pass runs full route+contract discovery from DTOs
|
|
20
|
+
|
|
21
|
+
## 1.0.1
|
|
22
|
+
|
|
23
|
+
### Patch Changes
|
|
24
|
+
|
|
25
|
+
- [`a33c81b`](https://github.com/DavideCarvalho/nestjs-inertia/commit/a33c81b0a53077559b1f9433824cfaee1b01c80c) - Fix: @vite directive includes React Refresh preamble in dev, watcher initial pass runs full route+contract discovery
|
|
26
|
+
|
|
3
27
|
## 1.0.0
|
|
4
28
|
|
|
5
29
|
### Minor Changes
|
package/dist/index.cjs
CHANGED
|
@@ -1417,8 +1417,11 @@ function processDirectives(template, ctx) {
|
|
|
1417
1417
|
out = out.replace(/@viteRefresh\b/g, () => ctx.isDev ? VITE_REFRESH_PREAMBLE : "");
|
|
1418
1418
|
out = out.replace(/@vite\(\s*['"]([^'"]+)['"]\s*\)/g, (_full, entry) => {
|
|
1419
1419
|
if (ctx.isDev) {
|
|
1420
|
-
return
|
|
1421
|
-
|
|
1420
|
+
return [
|
|
1421
|
+
`<script type="module" src="/@vite/client"></script>`,
|
|
1422
|
+
VITE_REFRESH_PREAMBLE,
|
|
1423
|
+
`<script type="module" src="/${entry}"></script>`
|
|
1424
|
+
].join("\n");
|
|
1422
1425
|
}
|
|
1423
1426
|
const entryRecord = ctx.manifest?.[entry];
|
|
1424
1427
|
if (!entryRecord) {
|
|
@@ -2278,7 +2281,7 @@ CsrfGuard = _ts_decorate10([
|
|
|
2278
2281
|
], CsrfGuard);
|
|
2279
2282
|
|
|
2280
2283
|
// src/index.ts
|
|
2281
|
-
var VERSION = "1.0.
|
|
2284
|
+
var VERSION = "1.0.4";
|
|
2282
2285
|
// Annotate the CommonJS export names for ESM import in node:
|
|
2283
2286
|
0 && (module.exports = {
|
|
2284
2287
|
CsrfCookieInterceptor,
|