@mark1russell7/otel-ts 0.8.7 → 0.9.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 (1) hide show
  1. package/package.json +25 -5
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package",
3
3
  "name": "@mark1russell7/otel-ts",
4
- "version": "0.8.7",
4
+ "version": "0.9.1",
5
5
  "description": "Frontend observability in one init() call — OpenTelemetry + Grafana Faro for any TypeScript web app",
6
6
  "license": "MIT",
7
7
  "author": "Mark Russell (https://github.com/mark1russell7)",
@@ -72,7 +72,7 @@
72
72
  ],
73
73
  "sideEffects": false,
74
74
  "dependencies": {
75
- "@mark1russell7/text": "^0.0.18",
75
+ "@mark1russell7/text": "^0.0.19",
76
76
  "@grafana/faro-web-sdk": "^2.13.0",
77
77
  "@opentelemetry/api": "^1.10.0",
78
78
  "@opentelemetry/auto-instrumentations-web": "^0.70.1",
@@ -107,7 +107,8 @@
107
107
  }
108
108
  },
109
109
  "devDependencies": {
110
- "@mark1russell7/grafana-infra": "github:mark1russell7/grafana-infra",
110
+ "@mark1russell7/conventions": "^0.52.8",
111
+ "@mark1russell7/grafana-infra": "github:mark1russell7/grafana-infra#618d1ab7042455f81a81e219af6d33022551305e",
111
112
  "@mark1russell7/lag": "^0.5.0",
112
113
  "@mark1russell7/rigor-bench": "^0.3.2",
113
114
  "@mark1russell7/rigor-testkit": "^0.2.0",
@@ -118,13 +119,32 @@
118
119
  "typescript": "^5.9.0",
119
120
  "vitest": "^4.1.12"
120
121
  },
122
+ "conventions": {
123
+ "rules": {
124
+ "no-console": {
125
+ "baseline": 2,
126
+ "failFrom": "2026-12-23",
127
+ "reason": "Wave 2 of the no-console plan: src has 2 console calls. A new call fails at once, and the last ones fail from 2026-12-23."
128
+ },
129
+ "typed-scripts": {
130
+ "ignore": [
131
+ "bench/*.mjs"
132
+ ],
133
+ "reason": "The memory bench (bench/*.mjs) moves to TypeScript with its own types and test in a later change. A new script must be TypeScript."
134
+ },
135
+ "api-report-script": {
136
+ "off": "The API report of the package comes in a later change: its first report needs a build and a review of each export."
137
+ }
138
+ }
139
+ },
121
140
  "scripts": {
122
141
  "build": "tsc -b",
123
- "typecheck": "tsc --noEmit",
142
+ "typecheck": "tsc --noEmit && tsc -p tsconfig.test.json",
124
143
  "clean": "rm -rf dist .tsbuildinfo",
125
144
  "infra:up": "cd node_modules/@mark1russell7/grafana-infra && docker compose up -d",
126
145
  "infra:down": "cd node_modules/@mark1russell7/grafana-infra && docker compose down",
127
146
  "infra:logs": "cd node_modules/@mark1russell7/grafana-infra && docker compose logs -f",
128
- "test": "vitest run"
147
+ "test": "vitest run",
148
+ "check:conventions": "conventions check"
129
149
  }
130
150
  }