- `logger.debug('message', async () => ({ asyncReturn: await asyncFn() }))` is now supported
- NOTE: this may result in logging occurring out of band for these calls if other events fire befor they settle
Update CI labels to direct jobs to correct servers
60 lines
1.7 KiB
JSON
60 lines
1.7 KiB
JSON
{
|
|
"name": "@mifi/logger",
|
|
"version": "1.0.1",
|
|
"description": "Intentional, namespaced logging for browser and Node.js TypeScript applications.",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://git.mifi.dev/mifi/logger.git"
|
|
},
|
|
"type": "module",
|
|
"sideEffects": false,
|
|
"packageManager": "pnpm@11.0.0",
|
|
"engines": {
|
|
"node": ">=24.0.0"
|
|
},
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/index.d.ts",
|
|
"import": "./dist/index.js",
|
|
"require": "./dist/index.cjs"
|
|
},
|
|
"./sentry": {
|
|
"types": "./dist/sentry.d.ts",
|
|
"import": "./dist/sentry.js",
|
|
"require": "./dist/sentry.cjs"
|
|
}
|
|
},
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"publishConfig": {
|
|
"registry": "https://git.mifi.dev/api/packages/mifi/npm/"
|
|
},
|
|
"scripts": {
|
|
"build": "tsup",
|
|
"prepack": "npm run build",
|
|
"check": "tsc --noEmit",
|
|
"format": "prettier --write .",
|
|
"format:check": "prettier --check .",
|
|
"lint": "oxlint src test",
|
|
"lint:fix": "oxlint src test --fix",
|
|
"test": "vitest run",
|
|
"test:watch": "vitest",
|
|
"pack:check": "pnpm pack --pack-destination .artifacts",
|
|
"release": "semantic-release"
|
|
},
|
|
"devDependencies": {
|
|
"@semantic-release/changelog": "^7.0.0",
|
|
"@semantic-release/git": "^11.0.1",
|
|
"@sentry/node": "^10.69.0",
|
|
"@types/node": "^24.0.0",
|
|
"@vitest/coverage-v8": "^3.0.0",
|
|
"oxlint": "^1.0.0",
|
|
"prettier": "^3.5.0",
|
|
"semantic-release": "^25.0.8",
|
|
"tsup": "^8.4.0",
|
|
"typescript": "^6.0.0",
|
|
"vitest": "^3.0.0"
|
|
}
|
|
}
|