@kopai/app 0.4.0 → 0.5.0

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/cli.cjs CHANGED
@@ -1,5 +1,6 @@
1
1
  #!/usr/bin/env node
2
- const require_config = require('./config-Bf8VglYn.cjs');
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
3
+ const require_config = require('./config-CMlIhysM.cjs');
3
4
  let node_util = require("node:util");
4
5
  let node_module = require("node:module");
5
6
 
@@ -51,7 +52,7 @@ if (values.help || command === "help" || !command) {
51
52
  showHelp();
52
53
  process.exit(0);
53
54
  }
54
- if (command === "start") Promise.resolve().then(() => require("./server-BueiBhZ-.cjs"));
55
+ if (command === "start") Promise.resolve().then(() => require("./server-CNNMZFGo.cjs"));
55
56
  else {
56
57
  console.error(`Unknown command: ${command}`);
57
58
  showHelp();
@@ -1,4 +1,4 @@
1
- //#region rolldown:runtime
1
+ //#region \0rolldown/runtime.js
2
2
  var __create = Object.create;
3
3
  var __defProp = Object.defineProperty;
4
4
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
package/dist/index.cjs CHANGED
@@ -1,3 +1,4 @@
1
- const require_config = require('./config-Bf8VglYn.cjs');
1
+ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
+ const require_config = require('./config-CMlIhysM.cjs');
2
3
 
3
4
  exports.env = require_config.env;
@@ -1,4 +1,4 @@
1
- const require_config = require('./config-Bf8VglYn.cjs');
1
+ const require_config = require('./config-CMlIhysM.cjs');
2
2
  const require_cli = require('./cli.cjs');
3
3
  let fastify = require("fastify");
4
4
  fastify = require_config.__toESM(fastify);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kopai/app",
3
- "version": "0.4.0",
3
+ "version": "0.5.0",
4
4
  "description": "Local OpenTelemetry backend for testing instrumentation - no Docker, no config, just npx",
5
5
  "keywords": [
6
6
  "opentelemetry",
@@ -47,29 +47,27 @@
47
47
  "dist"
48
48
  ],
49
49
  "dependencies": {
50
- "@fastify/swagger": "^9.6.1",
50
+ "@fastify/swagger": "^9.7.0",
51
51
  "@fastify/swagger-ui": "^5.2.5",
52
52
  "close-with-grace": "^2.4.0",
53
- "fastify": "^5.7.2",
53
+ "fastify": "^5.7.4",
54
54
  "fastify-type-provider-zod": "^6.1.0",
55
55
  "zod": "^4.3.6",
56
56
  "@kopai/api": "0.2.3",
57
- "@kopai/collector": "0.3.1",
58
- "@kopai/core": "0.5.0",
59
- "@kopai/sqlite-datasource": "0.5.0"
57
+ "@kopai/collector": "0.4.0",
58
+ "@kopai/sqlite-datasource": "0.5.0",
59
+ "@kopai/core": "0.5.0"
60
60
  },
61
61
  "devDependencies": {
62
- "nodemon": "^3.1.11",
63
- "tsdown": "^0.20.1",
62
+ "tsdown": "^0.20.3",
64
63
  "typescript": "^5.9.3",
65
64
  "@kopai/tsconfig": "0.2.0"
66
65
  },
67
66
  "scripts": {
68
67
  "build": "tsdown",
69
- "dev": "tsdown --watch",
68
+ "dev": "node --env-file-if-exists=.env ./dist/cli.mjs start",
70
69
  "lint": "eslint src",
71
70
  "type-check": "tsc --noEmit",
72
- "start": "node ./dist/cli.mjs start",
73
- "start:dev": "nodemon --watch ./dist --watch '../*/dist' --env-file=.env ./dist/cli.mjs start"
71
+ "start": "node ./dist/cli.mjs start"
74
72
  }
75
73
  }