sprint-es 0.0.89 → 0.0.91
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/dist/cjs/cli.cjs +2 -7
- package/dist/esm/cli.js +2 -7
- package/dist/types/utils.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/cjs/cli.cjs
CHANGED
|
@@ -303,16 +303,11 @@ switch (command) {
|
|
|
303
303
|
break;
|
|
304
304
|
case "build":
|
|
305
305
|
console.log("🚀 Building for production...");
|
|
306
|
-
|
|
307
|
-
if (hasViteConfig) runCommand("vite build", { NODE_ENV: "production" });
|
|
308
|
-
else {
|
|
309
|
-
console.error("❌ Error: no vite config found.");
|
|
310
|
-
process.exit(1);
|
|
311
|
-
}
|
|
306
|
+
runCommand("tsc && tsc-alias", { NODE_ENV: "production" });
|
|
312
307
|
break;
|
|
313
308
|
case "start":
|
|
314
309
|
console.log("🚀 Starting production server...");
|
|
315
|
-
runCommand("node
|
|
310
|
+
runCommand("node -r ts-node/register/transpile-only -r tsconfig-paths/register build/app.js", { NODE_ENV: "production" });
|
|
316
311
|
break;
|
|
317
312
|
case "doctor":
|
|
318
313
|
runDoctor();
|
package/dist/esm/cli.js
CHANGED
|
@@ -285,16 +285,11 @@ switch (command) {
|
|
|
285
285
|
break;
|
|
286
286
|
case "build":
|
|
287
287
|
console.log("🚀 Building for production...");
|
|
288
|
-
|
|
289
|
-
if (hasViteConfig) runCommand("vite build", { NODE_ENV: "production" });
|
|
290
|
-
else {
|
|
291
|
-
console.error("❌ Error: no vite config found.");
|
|
292
|
-
process.exit(1);
|
|
293
|
-
}
|
|
288
|
+
runCommand("tsc && tsc-alias", { NODE_ENV: "production" });
|
|
294
289
|
break;
|
|
295
290
|
case "start":
|
|
296
291
|
console.log("🚀 Starting production server...");
|
|
297
|
-
runCommand("node
|
|
292
|
+
runCommand("node -r ts-node/register/transpile-only -r tsconfig-paths/register build/app.js", { NODE_ENV: "production" });
|
|
298
293
|
break;
|
|
299
294
|
case "doctor":
|
|
300
295
|
runDoctor();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/utils.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,KAAK,SAAiC,CAAC;AACpD,eAAO,MAAM,SAAS,SAAqC,CAAC;AAE5D,QAAA,IAAI,UAAU,EAAE,MAAM,CAAC;AACvB,QAAA,IAAI,SAAS,EAAE,MAAM,CAAC;AAYtB,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,CAAC;AAEjC;;;GAGG;AACH,wBAAgB,YAAY,CAAC,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,GAAG,OAAO,CAoBxE;AAED;;GAEG;AACH,wBAAgB,eAAe,CAAC,QAAQ,EAAE,MAAM,EAAE,EAAE,SAAS,EAAE,MAAM,GAAG,OAAO,CAE9E;AAED;;;;;GAKG;AACH,wBAAgB,gBAAgB,CAAC,SAAS,EAAE,MAAM,GAAG,MAAM,
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/utils.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,KAAK,SAAiC,CAAC;AACpD,eAAO,MAAM,SAAS,SAAqC,CAAC;AAE5D,QAAA,IAAI,UAAU,EAAE,MAAM,CAAC;AACvB,QAAA,IAAI,SAAS,EAAE,MAAM,CAAC;AAYtB,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,CAAC;AAEjC;;;GAGG;AACH,wBAAgB,YAAY,CAAC,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,GAAG,OAAO,CAoBxE;AAED;;GAEG;AACH,wBAAgB,eAAe,CAAC,QAAQ,EAAE,MAAM,EAAE,EAAE,SAAS,EAAE,MAAM,GAAG,OAAO,CAE9E;AAED;;;;;GAKG;AACH,wBAAgB,gBAAgB,CAAC,SAAS,EAAE,MAAM,GAAG,MAAM,CAE1D;AAED,wBAAgB,SAAS,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,GAAG,CAAC,CAS7D"}
|