@adonisjs/assembler 8.0.0-next.18 → 8.0.0-next.19

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.
@@ -3,7 +3,7 @@ import {
3
3
  debug_default,
4
4
  removeExtension,
5
5
  throttle
6
- } from "./chunk-OHOSIKRT.js";
6
+ } from "./chunk-JFBQ4OEM.js";
7
7
 
8
8
  // src/index_generator/source.ts
9
9
  import string from "@poppinss/utils/string";
@@ -10,7 +10,7 @@ import {
10
10
  VirtualFileSystem,
11
11
  debug_default,
12
12
  isRelative
13
- } from "./chunk-OHOSIKRT.js";
13
+ } from "./chunk-JFBQ4OEM.js";
14
14
 
15
15
  // src/code_scanners/routes_scanner/main.ts
16
16
  import { cliui } from "@poppinss/cliui";
@@ -73,14 +73,15 @@ function readTsConfig(cwd) {
73
73
  const tsConfig = parseTsconfig(tsConfigPath);
74
74
  if (tsConfig.include) {
75
75
  tsConfig.include = tsConfig.include.map((resolvedPath) => {
76
- return resolvedPath.replace(`${cwd}/`, "");
76
+ return resolvedPath.replace(cwd, "");
77
77
  });
78
78
  }
79
79
  if (tsConfig.exclude) {
80
80
  tsConfig.exclude = tsConfig.exclude.map((resolvedPath) => {
81
- return resolvedPath.replace(`${cwd}/`, "");
81
+ return resolvedPath.replace(cwd, "");
82
82
  });
83
83
  }
84
+ debug_default("read tsconfig %O", tsConfig);
84
85
  return {
85
86
  path: tsConfigPath,
86
87
  config: tsConfig
package/build/index.js CHANGED
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  FileBuffer,
3
3
  IndexGenerator
4
- } from "./chunk-RIQD2IFD.js";
4
+ } from "./chunk-4452KFDQ.js";
5
5
  import {
6
6
  RoutesScanner
7
- } from "./chunk-5AU4VKV7.js";
7
+ } from "./chunk-CSRLGGAO.js";
8
8
  import "./chunk-TIKQQRMX.js";
9
9
  import {
10
10
  VirtualFileSystem,
@@ -19,7 +19,7 @@ import {
19
19
  runNode,
20
20
  throttle,
21
21
  watch
22
- } from "./chunk-OHOSIKRT.js";
22
+ } from "./chunk-JFBQ4OEM.js";
23
23
 
24
24
  // src/bundler.ts
25
25
  import dedent from "dedent";
@@ -998,7 +998,7 @@ var DevServer = class _DevServer {
998
998
  this.#handleFileChange(relativePath, absolutePath, "add");
999
999
  });
1000
1000
  this.#hooks.add("fileChanged", (relativePath, absolutePath, info) => {
1001
- if (info.hotReloaded) {
1001
+ if (info.hotReloaded || !info.hotReloaded && !info.fullReload) {
1002
1002
  this.#reScanRoutes(absolutePath);
1003
1003
  }
1004
1004
  this.#handleFileChange(relativePath, absolutePath, "update", info);
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  RoutesScanner
3
- } from "../../../chunk-5AU4VKV7.js";
3
+ } from "../../../chunk-CSRLGGAO.js";
4
4
  import "../../../chunk-TIKQQRMX.js";
5
- import "../../../chunk-OHOSIKRT.js";
5
+ import "../../../chunk-JFBQ4OEM.js";
6
6
  export {
7
7
  RoutesScanner
8
8
  };
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  IndexGenerator
3
- } from "../../chunk-RIQD2IFD.js";
4
- import "../../chunk-OHOSIKRT.js";
3
+ } from "../../chunk-4452KFDQ.js";
4
+ import "../../chunk-JFBQ4OEM.js";
5
5
  export {
6
6
  IndexGenerator
7
7
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@adonisjs/assembler",
3
3
  "description": "Provides utilities to run AdonisJS development server and build project for production",
4
- "version": "8.0.0-next.18",
4
+ "version": "8.0.0-next.19",
5
5
  "engines": {
6
6
  "node": ">=24.0.0"
7
7
  },