sprint-es 0.0.124 → 0.0.127
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 -2
- package/dist/esm/cli.js +2 -2
- package/package.json +1 -1
package/dist/cjs/cli.cjs
CHANGED
|
@@ -412,14 +412,14 @@ async function main() {
|
|
|
412
412
|
console.log("[Sprint] Type check completed ✓");
|
|
413
413
|
console.log("[Sprint] Compiling with tsup...");
|
|
414
414
|
await runCommand(
|
|
415
|
-
`tsup "${entryFile}" --outDir "${distPath}" --format cjs --target es2022 --sourcemap --clean --
|
|
415
|
+
`tsup "${entryFile}" --outDir "${distPath}" --format cjs --target es2022 --sourcemap --clean --tsconfig "${tsconfigPath}"`,
|
|
416
416
|
{ NODE_ENV: "production" }
|
|
417
417
|
);
|
|
418
418
|
console.log("[Sprint] Compilation completed ✓");
|
|
419
419
|
if (isTS) {
|
|
420
420
|
console.log("[Sprint] Compiling sprint.config.ts...");
|
|
421
421
|
await runCommand(
|
|
422
|
-
`tsup sprint.config.ts --outDir "${distPath}" --format cjs --
|
|
422
|
+
`tsup sprint.config.ts --outDir "${distPath}" --format cjs --tsconfig "${tsconfigPath}"`,
|
|
423
423
|
{ NODE_ENV: "production" }
|
|
424
424
|
);
|
|
425
425
|
console.log("[Sprint] sprint.config.js generated ✓");
|
package/dist/esm/cli.js
CHANGED
|
@@ -393,14 +393,14 @@ async function main() {
|
|
|
393
393
|
console.log("[Sprint] Type check completed ✓");
|
|
394
394
|
console.log("[Sprint] Compiling with tsup...");
|
|
395
395
|
await runCommand(
|
|
396
|
-
`tsup "${entryFile}" --outDir "${distPath}" --format cjs --target es2022 --sourcemap --clean --
|
|
396
|
+
`tsup "${entryFile}" --outDir "${distPath}" --format cjs --target es2022 --sourcemap --clean --tsconfig "${tsconfigPath}"`,
|
|
397
397
|
{ NODE_ENV: "production" }
|
|
398
398
|
);
|
|
399
399
|
console.log("[Sprint] Compilation completed ✓");
|
|
400
400
|
if (isTS) {
|
|
401
401
|
console.log("[Sprint] Compiling sprint.config.ts...");
|
|
402
402
|
await runCommand(
|
|
403
|
-
`tsup sprint.config.ts --outDir "${distPath}" --format cjs --
|
|
403
|
+
`tsup sprint.config.ts --outDir "${distPath}" --format cjs --tsconfig "${tsconfigPath}"`,
|
|
404
404
|
{ NODE_ENV: "production" }
|
|
405
405
|
);
|
|
406
406
|
console.log("[Sprint] sprint.config.js generated ✓");
|