vedatrace 0.2.1 → 0.3.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.
package/package.json CHANGED
@@ -1,143 +1,152 @@
1
1
  {
2
- "name": "vedatrace",
3
- "description": "Universal JavaScript logging SDK for VedaTrace - type-safe, lightweight, and developer-friendly",
4
- "version": "0.2.1",
5
- "scripts": {
6
- "setup": "rm -rf node_modules && npm i && git init && husky",
7
- "prepublishOnly": "npm run build",
8
- "build": "pkgroll --clean-dist",
9
- "test": "vitest --run",
10
- "lint": "bunx @biomejs/biome check --write",
11
- "changeset": "changeset",
12
- "version": "changeset version",
13
- "release": "bun run build && changeset publish",
14
- "ci:version": "changeset version",
15
- "ci:publish": "bun run build && changeset publish --provenance"
16
- },
17
- "publishConfig": {
18
- "provenance": true,
19
- "access": "public"
20
- },
21
- "files": [
22
- "dist"
23
- ],
24
- "lint-staged": {
25
- "*.{ts,tsx}": [
26
- "bun run lint"
27
- ]
28
- },
29
- "type": "module",
30
- "main": "./dist/index.cjs",
31
- "module": "./dist/index.mjs",
32
- "types": "./dist/index.d.cts",
33
- "exports": {
34
- ".": {
35
- "require": {
36
- "types": "./dist/index.d.cts",
37
- "default": "./dist/index.cjs"
38
- },
39
- "import": {
40
- "types": "./dist/index.d.mts",
41
- "default": "./dist/index.mjs"
42
- }
43
- },
44
- "./express": {
45
- "require": {
46
- "types": "./dist/integrations/express.d.cts",
47
- "default": "./dist/integrations/express.cjs"
48
- },
49
- "import": {
50
- "types": "./dist/integrations/express.d.mts",
51
- "default": "./dist/integrations/express.mjs"
52
- }
53
- },
54
- "./next": {
55
- "require": {
56
- "types": "./dist/integrations/nextjs.d.cts",
57
- "default": "./dist/integrations/nextjs.cjs"
58
- },
59
- "import": {
60
- "types": "./dist/integrations/nextjs.d.mts",
61
- "default": "./dist/integrations/nextjs.mjs"
62
- }
63
- },
64
- "./react": {
65
- "require": {
66
- "types": "./dist/integrations/react.d.cts",
67
- "default": "./dist/integrations/react.cjs"
68
- },
69
- "import": {
70
- "types": "./dist/integrations/react.d.mts",
71
- "default": "./dist/integrations/react.mjs"
72
- }
73
- },
74
- "./transports": {
75
- "require": {
76
- "types": "./dist/transports/index.d.cts",
77
- "default": "./dist/transports/index.cjs"
78
- },
79
- "import": {
80
- "types": "./dist/transports/index.d.mts",
81
- "default": "./dist/transports/index.mjs"
82
- }
83
- }
84
- },
85
- "keywords": [
86
- "logging",
87
- "logs",
88
- "observability",
89
- "monitoring",
90
- "typescript",
91
- "javascript",
92
- "cloudflare",
93
- "edge",
94
- "serverless"
95
- ],
96
- "devDependencies": {
97
- "@biomejs/biome": "^2.3.14",
98
- "@changesets/cli": "^2.29.8",
99
- "@vitest/coverage-v8": "^4.0.18",
100
- "execa": "^9.6.1",
101
- "husky": "^9.1.7",
102
- "lint-staged": "^16.2.7",
103
- "pkgroll": "^2.23.0",
104
- "react": "^19.2.4",
105
- "tsup": "^8.5.1",
106
- "tsx": "^4.21.0",
107
- "typescript": "^5.9.3",
108
- "vitest": "^4.0.18"
109
- },
110
- "peerDependencies": {
111
- "express": "latest",
112
- "react": ">=16.8.0",
113
- "@types/express": "^5.0.6",
114
- "@types/react": "^19.2.13"
115
- },
116
- "peerDependenciesMeta": {
117
- "react": {
118
- "optional": true
119
- },
120
- "express": {
121
- "optional": true
122
- },
123
- "@types/express": {
124
- "optional": true
125
- },
126
- "@types/react": {
127
- "optional": true
128
- }
129
- },
130
- "repository": {
131
- "type": "git",
132
- "url": "git+https://github.com/kurtiz/vedatrace-npm.git"
133
- },
134
- "bugs": {
135
- "url": "https://github.com/kurtiz/vedatrace-npm/issues"
136
- },
137
- "author": {
138
- "name": "Aaron Will Djaba",
139
- "email": "aaronwilldjaba@outlook.com",
140
- "url": "https://iamaaronwilldjaba.me"
141
- },
142
- "license": "MIT"
2
+ "name": "vedatrace",
3
+ "description": "Universal JavaScript logging SDK for VedaTrace - type-safe, lightweight, and developer-friendly",
4
+ "version": "0.3.1",
5
+ "scripts": {
6
+ "setup": "rm -rf node_modules && npm i && git init && husky",
7
+ "prepublishOnly": "npm run build",
8
+ "build": "node scripts/sync-version.mjs && pkgroll --clean-dist",
9
+ "test": "vitest --run",
10
+ "lint": "bunx @biomejs/biome check --write",
11
+ "release": "node scripts/tegami.mts",
12
+ "typecheck": "tsc --noEmit -p tsconfig.json",
13
+ "lint:ci": "bunx @biomejs/biome ci .",
14
+ "smoke": "node scripts/smoke-test.mjs",
15
+ "release:version": "node scripts/tegami.mts version",
16
+ "release:publish": "node scripts/tegami.mts publish",
17
+ "release:check": "node scripts/tegami.mts check-publish"
18
+ },
19
+ "publishConfig": {
20
+ "provenance": true,
21
+ "access": "public"
22
+ },
23
+ "files": [
24
+ "dist"
25
+ ],
26
+ "lint-staged": {
27
+ "*.{ts,tsx}": [
28
+ "bun run lint"
29
+ ]
30
+ },
31
+ "type": "module",
32
+ "main": "./dist/index.cjs",
33
+ "module": "./dist/index.mjs",
34
+ "types": "./dist/index.d.cts",
35
+ "exports": {
36
+ ".": {
37
+ "require": {
38
+ "types": "./dist/index.d.cts",
39
+ "default": "./dist/index.cjs"
40
+ },
41
+ "import": {
42
+ "types": "./dist/index.d.mts",
43
+ "default": "./dist/index.mjs"
44
+ }
45
+ },
46
+ "./express": {
47
+ "require": {
48
+ "types": "./dist/integrations/express.d.cts",
49
+ "default": "./dist/integrations/express.cjs"
50
+ },
51
+ "import": {
52
+ "types": "./dist/integrations/express.d.mts",
53
+ "default": "./dist/integrations/express.mjs"
54
+ }
55
+ },
56
+ "./next": {
57
+ "require": {
58
+ "types": "./dist/integrations/nextjs.d.cts",
59
+ "default": "./dist/integrations/nextjs.cjs"
60
+ },
61
+ "import": {
62
+ "types": "./dist/integrations/nextjs.d.mts",
63
+ "default": "./dist/integrations/nextjs.mjs"
64
+ }
65
+ },
66
+ "./react": {
67
+ "require": {
68
+ "types": "./dist/integrations/react.d.cts",
69
+ "default": "./dist/integrations/react.cjs"
70
+ },
71
+ "import": {
72
+ "types": "./dist/integrations/react.d.mts",
73
+ "default": "./dist/integrations/react.mjs"
74
+ }
75
+ },
76
+ "./transports": {
77
+ "require": {
78
+ "types": "./dist/transports/index.d.cts",
79
+ "default": "./dist/transports/index.cjs"
80
+ },
81
+ "import": {
82
+ "types": "./dist/transports/index.d.mts",
83
+ "default": "./dist/transports/index.mjs"
84
+ }
85
+ }
86
+ },
87
+ "keywords": [
88
+ "logging",
89
+ "logs",
90
+ "observability",
91
+ "monitoring",
92
+ "typescript",
93
+ "javascript",
94
+ "cloudflare",
95
+ "edge",
96
+ "serverless"
97
+ ],
98
+ "devDependencies": {
99
+ "@biomejs/biome": "^2.3.14",
100
+ "@types/express": "^5.0.6",
101
+ "@types/react": "^19.2.13",
102
+ "@vitest/coverage-v8": "^4.0.18",
103
+ "execa": "^9.6.1",
104
+ "express": "^5.1.0",
105
+ "husky": "^9.1.7",
106
+ "lint-staged": "^16.2.7",
107
+ "pkgroll": "^2.23.0",
108
+ "react": "^19.2.4",
109
+ "tegami": "^1.5.0",
110
+ "tsup": "^8.5.1",
111
+ "tsx": "^4.21.0",
112
+ "typescript": "^5.9.3",
113
+ "vitest": "^4.0.18"
114
+ },
115
+ "peerDependencies": {
116
+ "@types/express": "^5.0.6",
117
+ "@types/react": "^19.2.13",
118
+ "express": ">=4",
119
+ "react": ">=16.8.0"
120
+ },
121
+ "peerDependenciesMeta": {
122
+ "@types/express": {
123
+ "optional": true
124
+ },
125
+ "@types/react": {
126
+ "optional": true
127
+ },
128
+ "express": {
129
+ "optional": true
130
+ },
131
+ "react": {
132
+ "optional": true
133
+ }
134
+ },
135
+ "repository": {
136
+ "type": "git",
137
+ "url": "git+https://github.com/VedaTrace/vedatrace-npm.git"
138
+ },
139
+ "bugs": {
140
+ "url": "https://github.com/VedaTrace/vedatrace-npm/issues"
141
+ },
142
+ "author": {
143
+ "name": "Aaron Will Djaba",
144
+ "email": "aaronwilldjaba@outlook.com",
145
+ "url": "https://iamaaronwilldjaba.me"
146
+ },
147
+ "license": "MIT",
148
+ "sideEffects": false,
149
+ "engines": {
150
+ "node": ">=18"
151
+ }
143
152
  }