sprint-es 0.0.119 → 0.0.120
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 -8
- package/dist/esm/cli.js +2 -8
- package/package.json +1 -1
package/dist/cjs/cli.cjs
CHANGED
|
@@ -199,15 +199,9 @@ async function buildWithEsbuild(srcPath, distPath, external) {
|
|
|
199
199
|
outbase: srcPath,
|
|
200
200
|
platform: "node",
|
|
201
201
|
format: "cjs",
|
|
202
|
-
bundle:
|
|
203
|
-
// bundle=true es necesario para que external funcione
|
|
202
|
+
bundle: false,
|
|
204
203
|
sourcemap: true,
|
|
205
|
-
external,
|
|
206
|
-
// todos los paquetes npm marcados como externos
|
|
207
|
-
treeShaking: false,
|
|
208
|
-
// no eliminar exports, queremos todos los archivos
|
|
209
204
|
packages: "external"
|
|
210
|
-
// cualquier paquete de node_modules es externo automáticamente
|
|
211
205
|
});
|
|
212
206
|
}
|
|
213
207
|
function generateJWTSecret() {
|
|
@@ -449,7 +443,7 @@ async function main() {
|
|
|
449
443
|
...Object.keys(packageJson.peerDependencies ?? {})
|
|
450
444
|
];
|
|
451
445
|
console.log("[Sprint] Compiling with esbuild...");
|
|
452
|
-
await buildWithEsbuild(srcPath, distPath
|
|
446
|
+
await buildWithEsbuild(srcPath, distPath);
|
|
453
447
|
console.log("[Sprint] Compilation completed ✓");
|
|
454
448
|
console.log("[Sprint] Type checking...");
|
|
455
449
|
await runCommand(`tsc --project "${tsconfigPath}" --noEmit`, { NODE_ENV: "production" });
|
package/dist/esm/cli.js
CHANGED
|
@@ -180,15 +180,9 @@ async function buildWithEsbuild(srcPath, distPath, external) {
|
|
|
180
180
|
outbase: srcPath,
|
|
181
181
|
platform: "node",
|
|
182
182
|
format: "cjs",
|
|
183
|
-
bundle:
|
|
184
|
-
// bundle=true es necesario para que external funcione
|
|
183
|
+
bundle: false,
|
|
185
184
|
sourcemap: true,
|
|
186
|
-
external,
|
|
187
|
-
// todos los paquetes npm marcados como externos
|
|
188
|
-
treeShaking: false,
|
|
189
|
-
// no eliminar exports, queremos todos los archivos
|
|
190
185
|
packages: "external"
|
|
191
|
-
// cualquier paquete de node_modules es externo automáticamente
|
|
192
186
|
});
|
|
193
187
|
}
|
|
194
188
|
function generateJWTSecret() {
|
|
@@ -430,7 +424,7 @@ async function main() {
|
|
|
430
424
|
...Object.keys(packageJson.peerDependencies ?? {})
|
|
431
425
|
];
|
|
432
426
|
console.log("[Sprint] Compiling with esbuild...");
|
|
433
|
-
await buildWithEsbuild(srcPath, distPath
|
|
427
|
+
await buildWithEsbuild(srcPath, distPath);
|
|
434
428
|
console.log("[Sprint] Compilation completed ✓");
|
|
435
429
|
console.log("[Sprint] Type checking...");
|
|
436
430
|
await runCommand(`tsc --project "${tsconfigPath}" --noEmit`, { NODE_ENV: "production" });
|