@adonisjs/assembler 8.0.0-next.4 → 8.0.0-next.5
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/build/index.js +5 -0
- package/package.json +1 -1
package/build/index.js
CHANGED
|
@@ -336,6 +336,7 @@ import { cliui as cliui2 } from "@poppinss/cliui";
|
|
|
336
336
|
import prettyHrtime from "pretty-hrtime";
|
|
337
337
|
import { fileURLToPath as fileURLToPath4 } from "url";
|
|
338
338
|
import string3 from "@poppinss/utils/string";
|
|
339
|
+
import { RuntimeException } from "@poppinss/utils/exception";
|
|
339
340
|
|
|
340
341
|
// src/file_system.ts
|
|
341
342
|
import picomatch from "picomatch";
|
|
@@ -945,6 +946,7 @@ var DevServer = class {
|
|
|
945
946
|
async start(ts) {
|
|
946
947
|
const tsConfig = parseConfig(this.cwd, ts);
|
|
947
948
|
if (!tsConfig) {
|
|
949
|
+
this.#onError?.(new RuntimeException("Unable to parse tsconfig file"));
|
|
948
950
|
return;
|
|
949
951
|
}
|
|
950
952
|
this.#stickyPort = String(await getPort(this.cwd));
|
|
@@ -978,6 +980,7 @@ var DevServer = class {
|
|
|
978
980
|
async startAndWatch(ts, options) {
|
|
979
981
|
const tsConfig = parseConfig(this.cwd, ts);
|
|
980
982
|
if (!tsConfig) {
|
|
983
|
+
this.#onError?.(new RuntimeException("Unable to parse tsconfig file"));
|
|
981
984
|
return;
|
|
982
985
|
}
|
|
983
986
|
this.#mode = "watch";
|
|
@@ -1045,6 +1048,7 @@ var DevServer = class {
|
|
|
1045
1048
|
import { cliui as cliui3 } from "@poppinss/cliui";
|
|
1046
1049
|
import { fileURLToPath as fileURLToPath5 } from "url";
|
|
1047
1050
|
import string4 from "@poppinss/utils/string";
|
|
1051
|
+
import { RuntimeException as RuntimeException2 } from "@poppinss/utils/exception";
|
|
1048
1052
|
var TestRunner = class {
|
|
1049
1053
|
constructor(cwd, options) {
|
|
1050
1054
|
this.cwd = cwd;
|
|
@@ -1266,6 +1270,7 @@ var TestRunner = class {
|
|
|
1266
1270
|
async runAndWatch(ts, options) {
|
|
1267
1271
|
const tsConfig = parseConfig(this.cwd, ts);
|
|
1268
1272
|
if (!tsConfig) {
|
|
1273
|
+
this.#onError?.(new RuntimeException2("Unable to parse tsconfig file"));
|
|
1269
1274
|
return;
|
|
1270
1275
|
}
|
|
1271
1276
|
this.#stickyPort = String(await getPort(this.cwd));
|
package/package.json
CHANGED