@moduna/otel 1.0.0 → 1.1.1

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/README.md +17 -0
  2. package/package.json +16 -4
package/README.md CHANGED
@@ -2,6 +2,7 @@
2
2
 
3
3
  [![npm version](https://img.shields.io/npm/v/%40moduna%2Fotel.svg)](https://www.npmjs.com/package/@moduna/otel)
4
4
  [![npm downloads](https://img.shields.io/npm/dm/%40moduna%2Fotel.svg)](https://www.npmjs.com/package/@moduna/otel)
5
+ [![CI](https://github.com/Moduna-AI/node-otel-sdk/actions/workflows/ci.yml/badge.svg)](https://github.com/Moduna-AI/node-otel-sdk/actions/workflows/ci.yml)
5
6
  [![license](https://img.shields.io/npm/l/%40moduna%2Fotel.svg)](./LICENSE)
6
7
  [![TypeScript](https://img.shields.io/badge/TypeScript-ready-3178c6.svg)](https://www.typescriptlang.org/)
7
8
  [![OpenTelemetry](https://img.shields.io/badge/OpenTelemetry-enabled-425cc7.svg)](https://opentelemetry.io/)
@@ -22,6 +23,22 @@ OpenTelemetry setup for Moduna AI traces in Node.js apps, including Vercel AI SD
22
23
  | Frameworks | Vercel AI SDK, LangChain |
23
24
  | Telemetry | OpenTelemetry traces |
24
25
 
26
+ ## Release Workflow
27
+
28
+ This package uses GitHub Actions and Changesets for CI, changelog updates, versioning, and publishing.
29
+
30
+ 1. Create a changeset for user-facing changes:
31
+
32
+ ```bash
33
+ pnpm changeset
34
+ ```
35
+
36
+ 2. Merge the feature PR. The release workflow opens a version PR with `CHANGELOG.md` and `package.json` updates.
37
+
38
+ 3. Merge the version PR. The release workflow publishes the package to npm.
39
+
40
+ The release workflow requires an `NPM_TOKEN` repository secret with permission to publish `@moduna/otel`.
41
+
25
42
  ## Install
26
43
 
27
44
  ```bash
package/package.json CHANGED
@@ -1,10 +1,18 @@
1
1
  {
2
2
  "name": "@moduna/otel",
3
- "version": "1.0.0",
3
+ "version": "1.1.1",
4
4
  "private": false,
5
5
  "description": "One-line OpenTelemetry setup for Moduna AI traces.",
6
6
  "license": "MIT",
7
7
  "type": "module",
8
+ "repository": {
9
+ "type": "git",
10
+ "url": "git+https://github.com/Moduna-AI/node-otel-sdk.git"
11
+ },
12
+ "bugs": {
13
+ "url": "https://github.com/Moduna-AI/node-otel-sdk/issues"
14
+ },
15
+ "homepage": "https://github.com/Moduna-AI/node-otel-sdk#readme",
8
16
  "main": "./dist/src/index.js",
9
17
  "types": "./dist/src/index.d.ts",
10
18
  "exports": {
@@ -32,10 +40,11 @@
32
40
  "openai": "^6.38.0"
33
41
  },
34
42
  "devDependencies": {
35
- "@ai-sdk/google": "^3.0.73",
43
+ "@ai-sdk/google": "^3.0.75",
44
+ "@changesets/cli": "^2.31.0",
36
45
  "@langchain/google-genai": "^2.1.30",
37
- "@types/node": "^25.6.2",
38
- "ai": "^6.0.182",
46
+ "@types/node": "^25.8.0",
47
+ "ai": "^6.0.184",
39
48
  "biome": "^0.3.3",
40
49
  "tsx": "^4.12.0",
41
50
  "typescript": "^6.0.3"
@@ -47,6 +56,9 @@
47
56
  "typecheck": "tsc --noEmit -p tsconfig.test.json",
48
57
  "test": "pnpm run build && pnpm run typecheck",
49
58
  "pack:dry-run": "pnpm pack --dry-run",
59
+ "changeset": "changeset",
60
+ "changeset:version": "changeset version",
61
+ "release": "pnpm run lint && pnpm test && pnpm publish --access public",
50
62
  "test:vercel-ai-sdk": "tsx test/vercel-ai-sdk.ts",
51
63
  "test:langchain": "tsx test/langchain.ts"
52
64
  }