sprint-es 0.0.155 → 0.0.156

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 CHANGED
@@ -387,31 +387,6 @@ async function runDoctor() {
387
387
  }
388
388
  logger.break();
389
389
  }
390
- const commandDependencies = {
391
- build: {
392
- ts: ["tsup", "typescript"]
393
- }
394
- };
395
- function checkDependencies(command2, isTS) {
396
- const config = commandDependencies[command2];
397
- if (!config) return [];
398
- const deps = config.ts ?? [];
399
- const missing = [];
400
- for (const dep of deps) {
401
- const binPath = path.join(projectRoot, "node_modules", ".bin", dep);
402
- if (!fs.existsSync(binPath)) missing.push(dep);
403
- }
404
- if (missing.length > 0) {
405
- console.error("\n❌ Missing required dependencies:");
406
- for (const dep of missing) {
407
- console.error(` • ${dep}`);
408
- }
409
- console.error("\n👉 Install with:");
410
- console.error(" npm install --save-dev " + missing.join(" "));
411
- console.error("");
412
- process.exit(1);
413
- }
414
- }
415
390
  async function main() {
416
391
  const hasDist = fs.existsSync(path.join(projectRoot, "dist"));
417
392
  const hasTsConfig = fs.existsSync(path.join(projectRoot, "tsconfig.json"));
@@ -432,7 +407,6 @@ async function main() {
432
407
  }
433
408
  case "build": {
434
409
  console.log("🚀 Building for production...");
435
- checkDependencies("build");
436
410
  const distPath = path.join(projectRoot, "dist");
437
411
  const tsconfigPath = path.join(projectRoot, "tsconfig.json");
438
412
  const hasSprintConfigTs = fs.existsSync(path.join(projectRoot, "sprint.config.ts"));
package/dist/esm/cli.js CHANGED
@@ -368,31 +368,6 @@ async function runDoctor() {
368
368
  }
369
369
  logger.break();
370
370
  }
371
- const commandDependencies = {
372
- build: {
373
- ts: ["tsup", "typescript"]
374
- }
375
- };
376
- function checkDependencies(command2, isTS) {
377
- const config = commandDependencies[command2];
378
- if (!config) return [];
379
- const deps = config.ts ?? [];
380
- const missing = [];
381
- for (const dep of deps) {
382
- const binPath = join(projectRoot, "node_modules", ".bin", dep);
383
- if (!existsSync(binPath)) missing.push(dep);
384
- }
385
- if (missing.length > 0) {
386
- console.error("\n❌ Missing required dependencies:");
387
- for (const dep of missing) {
388
- console.error(` • ${dep}`);
389
- }
390
- console.error("\n👉 Install with:");
391
- console.error(" npm install --save-dev " + missing.join(" "));
392
- console.error("");
393
- process.exit(1);
394
- }
395
- }
396
371
  async function main() {
397
372
  const hasDist = existsSync(join(projectRoot, "dist"));
398
373
  const hasTsConfig = existsSync(join(projectRoot, "tsconfig.json"));
@@ -413,7 +388,6 @@ async function main() {
413
388
  }
414
389
  case "build": {
415
390
  console.log("🚀 Building for production...");
416
- checkDependencies("build");
417
391
  const distPath = join(projectRoot, "dist");
418
392
  const tsconfigPath = join(projectRoot, "tsconfig.json");
419
393
  const hasSprintConfigTs = existsSync(join(projectRoot, "sprint.config.ts"));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sprint-es",
3
- "version": "0.0.155",
3
+ "version": "0.0.156",
4
4
  "description": "Sprint - Quickly API",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",