sprint-es 0.0.51 → 0.0.54

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
@@ -67,6 +67,25 @@ function runCommand(cmd, envVars) {
67
67
  process.exit(code || 0);
68
68
  });
69
69
  }
70
+ function generateJWTSecret() {
71
+ const chars = crypto__namespace.randomBytes(24).toString("hex").split("");
72
+ const positions = /* @__PURE__ */ new Set();
73
+ while (positions.size < 5) {
74
+ const pos = crypto__namespace.randomInt(0, 48);
75
+ let valid = true;
76
+ for (const p of positions) {
77
+ if (Math.abs(p - pos) <= 1) {
78
+ valid = false;
79
+ break;
80
+ }
81
+ }
82
+ if (valid) positions.add(pos);
83
+ }
84
+ for (const pos of positions) {
85
+ chars[pos] = ".";
86
+ }
87
+ return chars.join("");
88
+ }
70
89
  switch (command) {
71
90
  case "dev":
72
91
  console.log("🚀 Starting development server with hot reload...");
@@ -51,31 +51,84 @@ const limiter = new rateLimit.RateLimiter({
51
51
  });
52
52
  const isDevelopment = isDev;
53
53
  const isProduction = isProd;
54
+ async function findProjectRoot(startDir) {
55
+ let currentDir = startDir;
56
+ while (currentDir !== path.parse(currentDir).root) {
57
+ const packageJsonPath = path.join(currentDir, "package.json");
58
+ if (fs.existsSync(packageJsonPath)) {
59
+ return currentDir;
60
+ }
61
+ currentDir = path.dirname(currentDir);
62
+ }
63
+ return null;
64
+ }
65
+ async function loadSprintConfig() {
66
+ const callerDir = process.argv[1] ? path.dirname(process.argv[1]) : process.cwd();
67
+ const projectRoot = await findProjectRoot(callerDir);
68
+ if (!projectRoot) {
69
+ return null;
70
+ }
71
+ const configFiles = ["sprint.config.ts", "sprint.config.js"];
72
+ for (const configFile of configFiles) {
73
+ const configPath = path.join(projectRoot, configFile);
74
+ if (fs.existsSync(configPath)) {
75
+ try {
76
+ const moduleUrl = url.pathToFileURL(configPath).href;
77
+ const config = await import(moduleUrl);
78
+ return config.default || config;
79
+ } catch (err) {
80
+ console.warn(`[Sprint] Failed to load config from ${configPath}:`, err);
81
+ }
82
+ }
83
+ }
84
+ return null;
85
+ }
54
86
  class Sprint {
55
- constructor({
56
- port = process.env.PORT,
57
- routesPath = "./routes",
58
- middlewaresPath = "./middlewares",
59
- cronjobsPath = "./cronjobs",
60
- jsonLimit = "50mb",
61
- urlEncodedLimit = "50mb",
62
- prefix = "",
63
- autoListen = true
64
- } = {}) {
87
+ constructor() {
88
+ this.port = process.env.PORT;
89
+ this.routesPath = "./routes";
90
+ this.middlewaresPath = "./middlewares";
91
+ this.cronjobsPath = "./cronjobs";
92
+ this.jsonLimit = "50mb";
93
+ this.urlEncodedLimit = "50mb";
94
+ this.prefix = "";
65
95
  this.loadedMiddlewares = [];
96
+ this.openapi = { generateOnBuild: false };
66
97
  this.app = express();
67
- this.port = port;
68
- this.routesPath = routesPath;
69
- this.middlewaresPath = middlewaresPath;
70
- this.cronjobsPath = cronjobsPath;
71
- this.jsonLimit = jsonLimit;
72
- this.urlEncodedLimit = urlEncodedLimit;
73
- this.prefix = prefix ? "/" + prefix.replace(/^\/+|\/+$/g, "") : "";
74
- this.server = http.createServer(this.app);
75
- this.loadDefaults();
76
- this.loadHealthcheck();
77
- this.routesLoaded = this.init();
78
- if (autoListen) this.routesLoaded.then(() => this.listen());
98
+ loadSprintConfig().then((config) => {
99
+ const defaults = {
100
+ port: process.env.PORT,
101
+ routesPath: "./routes",
102
+ middlewaresPath: "./middlewares",
103
+ cronjobsPath: "./cronjobs",
104
+ jsonLimit: "50mb",
105
+ urlEncodedLimit: "50mb",
106
+ prefix: "",
107
+ autoListen: true,
108
+ openapi: {
109
+ generateOnBuild: false
110
+ }
111
+ };
112
+ const finalConfig = { ...defaults, ...config };
113
+ this.port = finalConfig.port;
114
+ this.routesPath = finalConfig.routesPath || "./routes";
115
+ this.middlewaresPath = finalConfig.middlewaresPath || "./middlewares";
116
+ this.cronjobsPath = finalConfig.cronjobsPath || "./cronjobs";
117
+ this.jsonLimit = finalConfig.jsonLimit || "50mb";
118
+ this.urlEncodedLimit = finalConfig.urlEncodedLimit || "50mb";
119
+ this.prefix = finalConfig.prefix ? "/" + finalConfig.prefix.replace(/^\/+|\/+$/g, "") : "";
120
+ this.openapi = {
121
+ generateOnBuild: finalConfig.openapi?.generateOnBuild ?? false
122
+ };
123
+ if (this.openapi.generateOnBuild === true) {
124
+ console.log(`[Sprint] ⚠️ openapi.generateOnBuild is enabled but this option makes nothing for now`);
125
+ }
126
+ this.server = http.createServer(this.app);
127
+ this.loadDefaults();
128
+ this.loadHealthcheck();
129
+ this.routesLoaded = this.init();
130
+ if (finalConfig.autoListen) this.routesLoaded.then(() => this.listen());
131
+ });
79
132
  }
80
133
  async init() {
81
134
  const callerDir = process.argv[1] ? path.dirname(process.argv[1]) : process.cwd();
package/dist/esm/cli.js CHANGED
@@ -49,6 +49,25 @@ function runCommand(cmd, envVars) {
49
49
  process.exit(code || 0);
50
50
  });
51
51
  }
52
+ function generateJWTSecret() {
53
+ const chars = crypto.randomBytes(24).toString("hex").split("");
54
+ const positions = /* @__PURE__ */ new Set();
55
+ while (positions.size < 5) {
56
+ const pos = crypto.randomInt(0, 48);
57
+ let valid = true;
58
+ for (const p of positions) {
59
+ if (Math.abs(p - pos) <= 1) {
60
+ valid = false;
61
+ break;
62
+ }
63
+ }
64
+ if (valid) positions.add(pos);
65
+ }
66
+ for (const pos of positions) {
67
+ chars[pos] = ".";
68
+ }
69
+ return chars.join("");
70
+ }
52
71
  switch (command) {
53
72
  case "dev":
54
73
  console.log("🚀 Starting development server with hot reload...");
package/dist/esm/index.js CHANGED
@@ -48,31 +48,84 @@ const limiter = new RateLimiter({
48
48
  });
49
49
  const isDevelopment = isDev;
50
50
  const isProduction = isProd;
51
+ async function findProjectRoot(startDir) {
52
+ let currentDir = startDir;
53
+ while (currentDir !== path.parse(currentDir).root) {
54
+ const packageJsonPath = path.join(currentDir, "package.json");
55
+ if (fs.existsSync(packageJsonPath)) {
56
+ return currentDir;
57
+ }
58
+ currentDir = path.dirname(currentDir);
59
+ }
60
+ return null;
61
+ }
62
+ async function loadSprintConfig() {
63
+ const callerDir = process.argv[1] ? path.dirname(process.argv[1]) : process.cwd();
64
+ const projectRoot = await findProjectRoot(callerDir);
65
+ if (!projectRoot) {
66
+ return null;
67
+ }
68
+ const configFiles = ["sprint.config.ts", "sprint.config.js"];
69
+ for (const configFile of configFiles) {
70
+ const configPath = path.join(projectRoot, configFile);
71
+ if (fs.existsSync(configPath)) {
72
+ try {
73
+ const moduleUrl = pathToFileURL(configPath).href;
74
+ const config = await import(moduleUrl);
75
+ return config.default || config;
76
+ } catch (err) {
77
+ console.warn(`[Sprint] Failed to load config from ${configPath}:`, err);
78
+ }
79
+ }
80
+ }
81
+ return null;
82
+ }
51
83
  class Sprint {
52
- constructor({
53
- port = process.env.PORT,
54
- routesPath = "./routes",
55
- middlewaresPath = "./middlewares",
56
- cronjobsPath = "./cronjobs",
57
- jsonLimit = "50mb",
58
- urlEncodedLimit = "50mb",
59
- prefix = "",
60
- autoListen = true
61
- } = {}) {
84
+ constructor() {
85
+ this.port = process.env.PORT;
86
+ this.routesPath = "./routes";
87
+ this.middlewaresPath = "./middlewares";
88
+ this.cronjobsPath = "./cronjobs";
89
+ this.jsonLimit = "50mb";
90
+ this.urlEncodedLimit = "50mb";
91
+ this.prefix = "";
62
92
  this.loadedMiddlewares = [];
93
+ this.openapi = { generateOnBuild: false };
63
94
  this.app = express();
64
- this.port = port;
65
- this.routesPath = routesPath;
66
- this.middlewaresPath = middlewaresPath;
67
- this.cronjobsPath = cronjobsPath;
68
- this.jsonLimit = jsonLimit;
69
- this.urlEncodedLimit = urlEncodedLimit;
70
- this.prefix = prefix ? "/" + prefix.replace(/^\/+|\/+$/g, "") : "";
71
- this.server = http.createServer(this.app);
72
- this.loadDefaults();
73
- this.loadHealthcheck();
74
- this.routesLoaded = this.init();
75
- if (autoListen) this.routesLoaded.then(() => this.listen());
95
+ loadSprintConfig().then((config) => {
96
+ const defaults = {
97
+ port: process.env.PORT,
98
+ routesPath: "./routes",
99
+ middlewaresPath: "./middlewares",
100
+ cronjobsPath: "./cronjobs",
101
+ jsonLimit: "50mb",
102
+ urlEncodedLimit: "50mb",
103
+ prefix: "",
104
+ autoListen: true,
105
+ openapi: {
106
+ generateOnBuild: false
107
+ }
108
+ };
109
+ const finalConfig = { ...defaults, ...config };
110
+ this.port = finalConfig.port;
111
+ this.routesPath = finalConfig.routesPath || "./routes";
112
+ this.middlewaresPath = finalConfig.middlewaresPath || "./middlewares";
113
+ this.cronjobsPath = finalConfig.cronjobsPath || "./cronjobs";
114
+ this.jsonLimit = finalConfig.jsonLimit || "50mb";
115
+ this.urlEncodedLimit = finalConfig.urlEncodedLimit || "50mb";
116
+ this.prefix = finalConfig.prefix ? "/" + finalConfig.prefix.replace(/^\/+|\/+$/g, "") : "";
117
+ this.openapi = {
118
+ generateOnBuild: finalConfig.openapi?.generateOnBuild ?? false
119
+ };
120
+ if (this.openapi.generateOnBuild === true) {
121
+ console.log(`[Sprint] ⚠️ openapi.generateOnBuild is enabled but this option makes nothing for now`);
122
+ }
123
+ this.server = http.createServer(this.app);
124
+ this.loadDefaults();
125
+ this.loadHealthcheck();
126
+ this.routesLoaded = this.init();
127
+ if (finalConfig.autoListen) this.routesLoaded.then(() => this.listen());
128
+ });
76
129
  }
77
130
  async init() {
78
131
  const callerDir = process.argv[1] ? path.dirname(process.argv[1]) : process.cwd();
@@ -1,4 +1,4 @@
1
- import { Handler, SprintOptions, MiddlewareConfig } from './types';
1
+ import { Handler, MiddlewareConfig } from './types';
2
2
  import { default as express, Application } from 'express';
3
3
  export declare const isDevelopment: boolean;
4
4
  export declare const isProduction: boolean;
@@ -14,7 +14,8 @@ export declare class Sprint {
14
14
  private routesLoaded;
15
15
  private server;
16
16
  private loadedMiddlewares;
17
- constructor({ port, routesPath, middlewaresPath, cronjobsPath, jsonLimit, urlEncodedLimit, prefix, autoListen }?: SprintOptions);
17
+ private openapi;
18
+ constructor();
18
19
  private init;
19
20
  private loadDefaults;
20
21
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"sprint.d.ts","sourceRoot":"","sources":["../../src/sprint.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,OAAO,EAAE,aAAa,EAAE,gBAAgB,EAAoB,MAAM,SAAS,CAAC;AACrF,OAAO,OAAO,EAAE,EAAE,WAAW,EAAoD,MAAM,SAAS,CAAC;AAejG,eAAO,MAAM,aAAa,SAAQ,CAAC;AACnC,eAAO,MAAM,YAAY,SAAS,CAAC;AAEnC,qBAAa,MAAM;IACR,GAAG,EAAE,WAAW,CAAC;IACxB,OAAO,CAAC,IAAI,CAAqC;IACjD,OAAO,CAAC,UAAU,CAAS;IAC3B,OAAO,CAAC,eAAe,CAAS;IAChC,OAAO,CAAC,YAAY,CAAS;IAC7B,OAAO,CAAC,SAAS,CAAS;IAC1B,OAAO,CAAC,eAAe,CAAS;IAChC,OAAO,CAAC,MAAM,CAAS;IACvB,OAAO,CAAC,YAAY,CAAgB;IACpC,OAAO,CAAC,MAAM,CAAc;IAC5B,OAAO,CAAC,iBAAiB,CAA0B;gBAEvC,EACR,IAAuB,EACvB,UAAuB,EACvB,eAAiC,EACjC,YAA2B,EAC3B,SAAkB,EAClB,eAAwB,EACxB,MAAW,EACX,UAAiB,EACpB,GAAE,aAAkB;YAkBP,IAAI;IA+BlB,OAAO,CAAC,YAAY;IAiDpB;;OAEG;IACH,OAAO,CAAC,sBAAsB;IA4B9B;;OAEG;YACW,eAAe;IAgC7B,OAAO,CAAC,eAAe;YAcT,UAAU;YAgDV,YAAY;IAmB1B,OAAO,CAAC,YAAY;IAgCpB,+BAA+B;IAC/B,OAAO,CAAC,WAAW;IAMZ,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO;IAClC,IAAI,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO;IACnC,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO;I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AAE,OAAO;IAClC,IAAI,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO;IACnC,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO;IAClC,MAAM,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO;IACrC,KAAK,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO;IACpC,GAAG,CAAC,aAAa,EAAE,MAAM,GAAG,OAAO,GAAG,gBAAgB,EAAE,YAAY,CAAC,EAAE,OAAO;IAclF,MAAM,CAAC,QAAQ,CAAC,EAAE,MAAM,IAAI,GAAG,IAAI;CAsDzC"}
@@ -67,6 +67,22 @@ export interface SprintOptions {
67
67
  prefix?: string;
68
68
  /** Auto-start the server. Default: true */
69
69
  autoListen?: boolean;
70
+ openapi?: {
71
+ generateOnBuild?: boolean;
72
+ };
73
+ }
74
+ export interface SprintConfig {
75
+ port?: string | number | null;
76
+ routesPath?: string;
77
+ middlewaresPath?: string;
78
+ cronjobsPath?: string;
79
+ jsonLimit?: string;
80
+ urlEncodedLimit?: string;
81
+ prefix?: string;
82
+ autoListen?: boolean;
83
+ openapi?: {
84
+ generateOnBuild?: boolean;
85
+ };
70
86
  }
71
87
  export type { NextFunction } from 'express';
72
88
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAE1E,MAAM,MAAM,mBAAmB,GAAG,CAAC,GAAG,EAAE,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,IAAI,EAAE,YAAY,KAAK,OAAO,CAAC,GAAG,CAAC,CAAC;AAEpG,MAAM,MAAM,OAAO,GAAG,CAAC,GAAG,EAAE,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,IAAI,EAAE,Y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S,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sprint-es",
3
- "version": "0.0.51",
3
+ "version": "0.0.54",
4
4
  "description": "Sprint - Quickly API",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",