Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"fastify": "^5.2.0",
"pino-loki": "^3.0.0",
"testcontainers": "11.12.0",
"tsup": "^8.3.5",
"tsdown": "^0.21.7",
"typescript": "^5.7.2",
"vitepress": "^1.5.0"
},
Expand Down
12 changes: 5 additions & 7 deletions src/agent/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,19 @@
"version": "4.1.1",
"description": "Loki alerting agent",
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"main": "./dist/index.mjs",
"types": "./dist/index.d.mts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"require": "./dist/index.cjs",
"import": "./dist/index.js"
"types": "./dist/index.d.mts",
"default": "./dist/index.mjs"
}
},
"engines": {
"node": ">=24"
},
"scripts": {
"build": "npm exec allow-scripts && tsup src/index.ts --format cjs,esm --dts --clean",
"build": "npm exec allow-scripts && tsdown src/index.ts --format esm --dts --clean",
"dev": "npm run build -- --watch",
"prepublishOnly": "npm run build",
"test": "node --env-file-if-exists=.env --test-concurrency=1 --test ./test/**/*.spec.ts",
Expand Down
12 changes: 5 additions & 7 deletions src/config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,19 @@
"version": "4.0.0",
"description": "Sigyn configuration manager",
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"main": "./dist/index.mjs",
"types": "./dist/index.d.mts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"require": "./dist/index.cjs",
"import": "./dist/index.js"
"types": "./dist/index.d.mts",
"default": "./dist/index.mjs"
}
},
"engines": {
"node": ">=24"
},
"scripts": {
"build": "tsup src/index.ts --format cjs,esm --dts --clean",
"build": "tsdown src/index.ts --format esm --dts --clean",
"prepublishOnly": "npm run build",
"test": "node --test ./test/**/*.spec.ts",
"coverage": "c8 -r html npm test",
Expand Down
12 changes: 5 additions & 7 deletions src/discord/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,19 @@
"version": "2.0.0",
"description": "Send Sigyn alerts to Discord via webhook",
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"main": "./dist/index.mjs",
"types": "./dist/index.d.mts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"require": "./dist/index.cjs",
"import": "./dist/index.js"
"types": "./dist/index.d.mts",
"default": "./dist/index.mjs"
}
},
"engines": {
"node": ">=24"
},
"scripts": {
"build": "tsup src/index.ts --format cjs,esm --dts --clean",
"build": "tsdown src/index.ts --format esm --dts --clean",
"prepublishOnly": "npm run build",
"test": "node --test ./test/**/*.spec.ts",
"coverage": "c8 -r html npm test",
Expand Down
12 changes: 5 additions & 7 deletions src/logql/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,19 @@
"version": "2.2.0",
"description": "Parse and serialize LogQL queries",
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"main": "./dist/index.mjs",
"types": "./dist/index.d.mts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"require": "./dist/index.cjs",
"import": "./dist/index.js"
"types": "./dist/index.d.mts",
"default": "./dist/index.mjs"
}
},
"engines": {
"node": ">=24"
},
"scripts": {
"build": "tsup src/index.ts --format cjs,esm --dts --clean",
"build": "tsdown src/index.ts --format esm --dts --clean",
"prepublishOnly": "npm run build",
"test": "node --test ./test/**/*.spec.ts",
"coverage": "c8 -r html npm test",
Expand Down
12 changes: 5 additions & 7 deletions src/morphix/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,19 @@
"version": "1.1.0",
"description": "Micro templating with function pipes support",
"type": "module",
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"main": "./dist/index.mjs",
"types": "./dist/index.d.mts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"require": "./dist/index.cjs",
"import": "./dist/index.js"
"types": "./dist/index.d.mts",
"default": "./dist/index.mjs"
}
},
"engines": {
"node": ">=24"
},
"scripts": {
"build": "tsup src/index.ts --format cjs,esm --dts --clean",
"build": "tsdown src/index.ts --format esm --dts --clean",
"prepublishOnly": "npm run build",
"test": "node --test ./test/**/*.spec.ts",
"coverage": "c8 -r html npm test",
Expand Down
12 changes: 5 additions & 7 deletions src/notifiers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,19 @@
"version": "1.0.0",
"description": "Helpers to build a Sigyn notifier",
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"main": "./dist/index.mjs",
"types": "./dist/index.d.mts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"require": "./dist/index.cjs",
"import": "./dist/index.js"
"types": "./dist/index.d.mts",
"default": "./dist/index.mjs"
}
},
"engines": {
"node": ">=24"
},
"scripts": {
"build": "tsup src/index.ts --format cjs,esm --dts --clean --external @myunisoft/httpie",
"build": "tsdown src/index.ts --format esm --dts --clean",
"prepublishOnly": "npm run build",
"test": "node --test ./test/**/*.spec.ts",
"coverage": "c8 -r html npm test",
Expand Down
12 changes: 5 additions & 7 deletions src/pattern/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,19 @@
"name": "@sigyn/pattern",
"version": "1.1.0",
"description": "Loki pattern in JavaScript",
"main": "./dist/pattern.cjs",
"module": "./dist/pattern.js",
"types": "./dist/pattern.d.ts",
"main": "./dist/pattern.mjs",
"types": "./dist/pattern.d.mts",
"exports": {
".": {
"types": "./dist/pattern.d.ts",
"require": "./dist/pattern.cjs",
"import": "./dist/pattern.js"
"types": "./dist/pattern.d.mts",
"default": "./dist/pattern.mjs"
}
},
"engines": {
"node": ">=24"
},
"scripts": {
"build": "tsup src/pattern.ts --format cjs,esm --dts --clean",
"build": "tsdown src/pattern.ts --format esm --dts --clean",
"prepublishOnly": "npm run build",
"test-types": "npm run build && tsd",
"test-only": "node --test ./test/**/*.spec.ts",
Expand Down
12 changes: 5 additions & 7 deletions src/slack/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,19 @@
"version": "2.0.0",
"description": "Send Sigyn alerts to Slack via webhook",
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"main": "./dist/index.mjs",
"types": "./dist/index.d.mts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"require": "./dist/index.cjs",
"import": "./dist/index.js"
"types": "./dist/index.d.mts",
"default": "./dist/index.mjs"
}
},
"engines": {
"node": ">=24"
},
"scripts": {
"build": "tsup src/index.ts --format cjs,esm --dts --clean",
"build": "tsdown src/index.ts --format esm --dts --clean",
"prepublishOnly": "npm run build",
"test": "node --test ./test/**/*.spec.ts",
"coverage": "c8 -r html npm test",
Expand Down
12 changes: 5 additions & 7 deletions src/teams/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,19 @@
"version": "2.0.0",
"description": "Send Sigyn alerts to Teams via webhook",
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"main": "./dist/index.mjs",
"types": "./dist/index.d.mts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"require": "./dist/index.cjs",
"import": "./dist/index.js"
"types": "./dist/index.d.mts",
"default": "./dist/index.mjs"
}
},
"engines": {
"node": ">=24"
},
"scripts": {
"build": "tsup src/index.ts --format cjs,esm --dts --clean",
"build": "tsdown src/index.ts --format esm --dts --clean",
"prepublishOnly": "npm run build",
"test": "node --test ./test/**/*.spec.ts",
"coverage": "c8 -r html npm test",
Expand Down
8 changes: 8 additions & 0 deletions tsdown.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
// Import Third-party Dependencies
import { defineConfig } from "tsdown";

export default defineConfig({
deps: {
onlyBundle: false
}
});
5 changes: 0 additions & 5 deletions tsup.config.ts

This file was deleted.

Loading