-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
187 lines (187 loc) · 7.29 KB
/
Copy pathpackage.json
File metadata and controls
187 lines (187 loc) · 7.29 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
{
"name": "@smooai/logger",
"version": "4.2.0",
"description": "A powerful contextual logging system designed for AWS Lambda and Browser environments, with built-in support for structured logging, correlation tracking, and automatic context gathering.",
"homepage": "https://github.com/SmooAI/logger#readme",
"bugs": {
"url": "https://github.com/SmooAI/logger/issues"
},
"license": "MIT",
"author": {
"name": "SmooAI",
"email": "brent@smooai.com",
"url": "https://smooai.com"
},
"repository": {
"type": "git",
"url": "https://github.com/SmooAI/logger.git"
},
"bin": {
"smooai-log-viewer": "./dist/cli/log-viewer.cjs"
},
"files": [
"dist/**",
"scripts/**/*.mjs",
"log-viewer/Cargo.toml",
"log-viewer/Cargo.lock",
"log-viewer/README.md",
"log-viewer/src/**"
],
"main": "./dist/index.cjs",
"module": "./dist/index.mjs",
"types": "./dist/index.d.mts",
"exports": {
".": {
"browser": {
"import": {
"types": "./dist/browser/index.d.mts",
"default": "./dist/browser/index.mjs"
},
"require": {
"types": "./dist/browser/index.d.cts",
"default": "./dist/browser/index.cjs"
},
"default": "./dist/browser/index.cjs"
},
"import": {
"types": "./dist/index.d.mts",
"default": "./dist/index.mjs"
},
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/index.cjs"
},
"default": "./dist/index.cjs"
},
"./*": {
"import": {
"types": "./dist/*.d.mts",
"default": "./dist/*.mjs"
},
"require": {
"types": "./dist/*.d.cts",
"default": "./dist/*.cjs"
}
},
"./browser": {
"import": {
"types": "./dist/browser/index.d.mts",
"default": "./dist/browser/index.mjs"
},
"require": {
"types": "./dist/browser/index.d.cts",
"default": "./dist/browser/index.cjs"
},
"default": "./dist/browser/index.cjs"
},
"./browser/*": {
"import": {
"types": "./dist/browser/*.d.mts",
"default": "./dist/browser/*.mjs"
},
"require": {
"types": "./dist/browser/*.d.cts",
"default": "./dist/browser/*.cjs"
}
}
},
"publishConfig": {
"access": "public"
},
"scripts": {
"aibranch": "pnpm generate-git-branch",
"build": "pnpm tsdown && cp src/decycle.cjs dist/ && pnpm run python:build && pnpm run rust:build && pnpm run go:build && pnpm run log-viewer:bundle",
"check-all": "pnpm run typecheck && pnpm run lint && pnpm run test && pnpm run rust:fmt:check && pnpm run rust:lint && pnpm run rust:test && pnpm run go:fmt:check && pnpm run go:lint && pnpm run go:test && pnpm run log-viewer:validate && pnpm run build",
"ci:publish": "node scripts/ci-publish.mjs",
"format": "oxfmt --write . && pnpm run python:format && pnpm run rust:fmt && pnpm run go:fmt && pnpm run log-viewer:format",
"go:build": "(cd go && go build ./...)",
"go:fmt": "(cd go && gofmt -w .)",
"go:fmt:check": "(cd go && test -z \"$(gofmt -l .)\")",
"go:lint": "(cd go && go vet ./...)",
"go:test": "(cd go && go test -v ./...)",
"postinstall": "pnpm run log-viewer:bundle",
"lint": "oxlint . && pnpm run python:lint && pnpm run rust:lint && pnpm run go:lint && pnpm run log-viewer:lint",
"lint:fix": "oxlint --fix . && pnpm run python:lint:fix && pnpm run log-viewer:lint",
"log-viewer": "cargo run --release --manifest-path log-viewer/Cargo.toml",
"log-viewer:bundle": "node scripts/bundle-log-viewer.mjs",
"log-viewer:check:all": "pnpm run log-viewer:fmt:check && pnpm run log-viewer:lint && pnpm run log-viewer:typecheck && pnpm run log-viewer:test",
"log-viewer:fmt": "cargo fmt --manifest-path log-viewer/Cargo.toml",
"log-viewer:fmt:check": "cargo fmt --manifest-path log-viewer/Cargo.toml --all -- --check",
"log-viewer:format": "cargo fmt --manifest-path log-viewer/Cargo.toml",
"log-viewer:format:check": "cargo fmt --manifest-path log-viewer/Cargo.toml --all -- --check",
"log-viewer:lint": "cargo clippy --manifest-path log-viewer/Cargo.toml --all-targets -- -D warnings",
"log-viewer:lint:simd": "cargo clippy --manifest-path log-viewer/Cargo.toml --all-targets --features simd -- -D warnings",
"log-viewer:test": "cargo test --manifest-path log-viewer/Cargo.toml",
"log-viewer:typecheck": "cargo check --manifest-path log-viewer/Cargo.toml --all-targets",
"log-viewer:validate": "pnpm run log-viewer:fmt:check && pnpm run log-viewer:lint && pnpm run log-viewer:check",
"pre-commit-check": "(zsh .husky/pre-commit)",
"python:build": "(cd python && uv run poe build)",
"python:format": "(cd python && uv run poe format)",
"python:install-dev": "(cd python && uv run poe install-dev)",
"python:lint": "(cd python && uv run poe lint)",
"python:lint:fix": "(cd python && uv run poe lint:fix)",
"python:publish": "(cd python && uv run poe publish)",
"python:test": "(cd python && uv run poe test)",
"python:typecheck": "(cd python && uv run poe typecheck)",
"python:typecheck:errors": "(cd python && uv run poe typecheck-errors)",
"rust:build": "(cd rust/logger && cargo build --release)",
"rust:check": "(cd rust/logger && cargo check --all-targets)",
"rust:fmt": "(cd rust/logger && cargo fmt)",
"rust:fmt:check": "(cd rust/logger && cargo fmt --all -- --check)",
"rust:lint": "(cd rust/logger && cargo clippy --all-targets -- -D warnings)",
"rust:test": "(cd rust/logger && cargo test)",
"test": "vitest run --passWithNoTests && pnpm python:test && pnpm rust:test && pnpm go:test && pnpm log-viewer:test",
"typecheck": "tsc --noEmit --skipLibCheck && pnpm run python:typecheck:errors && pnpm run rust:check && pnpm run go:build && pnpm run log-viewer:typecheck",
"version:sync": "node scripts/sync-versions.mjs",
"watch": "tsdown --watch"
},
"dependencies": {
"@aws-sdk/client-sqs": "^3.504.0",
"browser-dtector": "^4.1.0",
"dayjs": "^1.11.13",
"esbuild-plugin-alias": "^0.2.1",
"esm-utils": "^4.2.1",
"json-stable-stringify": "^1.2.1",
"merge-anything": "^6.0.6",
"picocolors": "^1.1.1",
"rotating-file-stream": "^3.2.6",
"serialize-error": "^11.0.3",
"source-map-support": "^0.5.21",
"uuid": "^9.0.0",
"zod": "^4.0.0"
},
"devDependencies": {
"@changesets/cli": "^2.28.1",
"@oclif/core": "^4.2.9",
"@rollup/plugin-alias": "latest",
"@smooai/config-typescript": "^1.0.16",
"@smooai/utils": "^1.3.0",
"@types/aws-lambda": "^8.10.119",
"@types/lodash.merge": "^4.6.9",
"@types/node": "^22.13.10",
"@types/source-map-support": "^0.5.10",
"@types/uuid": "^9.0.2",
"glob": "^11.0.1",
"oxfmt": "^0.28.0",
"oxlint": "^0.16.0",
"tsdown": "latest",
"unrun": "latest",
"vite": "^6.2.4",
"vite-node": "^3.1.1",
"vite-tsconfig-paths": "^5.1.4",
"vitest": "^3.1.1"
},
"engines": {
"node": ">=20.0.0"
},
"packageManager": "pnpm@10.6.1+sha512.40ee09af407fa9fbb5fbfb8e1cb40fbb74c0af0c3e10e9224d7b53c7658528615b2c92450e74cfad91e3a2dcafe3ce4050d80bda71d757756d2ce2b66213e9a3",
"pnpm": {
"onlyBuiltDependencies": [
"@smooai/config-typescript"
],
"ignoredBuiltDependencies": [
"@smooai/config-typescript",
"esbuild"
]
}
}