canx-starter-api 1.0.0 → 1.0.2

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.
Files changed (2) hide show
  1. package/package.json +3 -3
  2. package/src/app.ts +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "canx-starter-api",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "description": "Minimal API Starter Kit for CanxJS - REST API with JWT Authentication",
5
5
  "author": "CanxJS Team",
6
6
  "license": "MIT",
@@ -20,11 +20,11 @@
20
20
  },
21
21
  "scripts": {
22
22
  "dev": "bun --watch src/app.ts",
23
- "build": "bun build src/app.ts --outdir dist",
23
+ "build": "bun build src/app.ts --outdir dist --target bun",
24
24
  "start": "bun run dist/app.js"
25
25
  },
26
26
  "dependencies": {
27
- "canxjs": "^1.2.1"
27
+ "canxjs": "^1.3.1"
28
28
  },
29
29
  "devDependencies": {
30
30
  "@types/node": "^20.0.0",
package/src/app.ts CHANGED
@@ -7,7 +7,7 @@ const app = new Canx();
7
7
  app.routes(routes);
8
8
 
9
9
  // Start the server
10
- app.start({
10
+ app.listen({
11
11
  port: 3001,
12
12
  development: true,
13
13
  });