Skip to content
Merged
Show file tree
Hide file tree
Changes from 25 commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
7db7cad
build(pre-commit): fixing eslint for windows
B00tLoad Mar 13, 2025
4750b3b
revert(pre-commit)!: slapping windows specific linting back in
B00tLoad Mar 13, 2025
09645c3
build(tsconfig): specify include globs to /src/**/*
B00tLoad Mar 13, 2025
ac239fd
feat: sends message
B00tLoad Mar 13, 2025
f48bd35
fix: log request error to console
B00tLoad Mar 13, 2025
d520d52
feat: Adds typechecking via zod for message
B00tLoad Mar 14, 2025
e5a3e04
build(tsconfig): Updates config, adds build:watch script
B00tLoad Apr 15, 2025
a72a2c3
ci(pre-commit): Pre-commit hook now should no longer block commits
B00tLoad Apr 15, 2025
2106734
feat: sending messages is now feature complete
B00tLoad Apr 15, 2025
6a8cf52
build(tests): Adds jest to run tests
B00tLoad Apr 15, 2025
52b11ee
feat: Adds user validation via api
B00tLoad Apr 15, 2025
65524da
chore(package.json): add types
B00tLoad Apr 15, 2025
2007e90
fix: removes module.exports
B00tLoad Apr 17, 2025
b09b0bc
refactor: recipient handling
B00tLoad Apr 17, 2025
6482944
build(package.json): adds tsx to test functionality using ts files
B00tLoad Apr 17, 2025
f9385c9
feat: Add receipt checking and retry cancellation
B00tLoad Apr 17, 2025
5cfbc8d
refactor: Split out zod input and output type
B00tLoad Apr 17, 2025
15beebf
docs: Documented methods
B00tLoad Apr 17, 2025
6d2743e
feat: exports types
B00tLoad Apr 17, 2025
609e6dc
build(tsconfig.json): sets strictNullChecks to true
B00tLoad Apr 17, 2025
37fdebd
chore(package.json): added packageManager field
B00tLoad Apr 17, 2025
143796f
ci(pre-commit): fix hook t user pnpm instead of npm
B00tLoad Aug 30, 2025
8d711af
style: add missing brackets in template
B00tLoad Aug 30, 2025
9b88ae8
fix(user-validation): remove nullish coalescing operator
B00tLoad Aug 30, 2025
5e46450
fix: fix syntax errors introduced by copilot in previous commit
B00tLoad Aug 30, 2025
4f6015a
docs(Message): added missing comma
B00tLoad Aug 30, 2025
8566327
fix(send): added missing return
B00tLoad Aug 30, 2025
d66c54d
docs: reformat code examples to follow prettier styling
B00tLoad Aug 30, 2025
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 .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1 +1 @@
npx lint-staged
pnpm exec lint-staged
6 changes: 6 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import globals from "globals";
import pluginJs from "@eslint/js";
import tseslint from "typescript-eslint";
import eslintConfigPrettier from "eslint-config-prettier";
import onlyWarn from "eslint-plugin-only-warn";

/** @type {import('eslint').Linter.Config[]} */
export default [
Expand All @@ -11,4 +12,9 @@ export default [
pluginJs.configs.recommended,
...tseslint.configs.recommended,
eslintConfigPrettier,
{
plugins: {
onlyWarn,
},
},
];
7 changes: 7 additions & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
/** @type {import('ts-jest').JestConfigWithTsJest} **/
export default {
testEnvironment: "node",
transform: {
"^.+\.tsx?$": ["ts-jest", {}],
},
};
16 changes: 14 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"description": "A client for Pushover, a service for sending notifications. Written in TypeScript. Supports sending to multiple users.",
"homepage": "https://cis-oss.github.io/pushover",
"version": "0.0.1",
"types": "dist/index.d.ts",
"main": "dist/index.js",
"author": {
"email": "hi@b00tload.space",
Expand All @@ -29,14 +30,19 @@
"devDependencies": {
"@eslint/js": "^9.22.0",
"@shipgirl/typedoc-plugin-versions": "^0.3.0",
"@types/jest": "^29.5.14",
"@types/node": "^22.13.10",
"eslint": "^9.22.0",
"eslint-config-prettier": "^10.1.1",
"eslint-plugin-only-warn": "^1.1.0",
"finepack": "^2.12.7",
"globals": "^16.0.0",
"husky": "^9.1.7",
"jest": "^29.7.0",
"lint-staged": "^15.4.3",
"prettier": "3.5.3",
"ts-jest": "^29.2.6",
"tsx": "^4.19.3",
"typedoc": "^0.27.9",
"typedoc-github-theme": "^0.2.1",
"typedoc-plugin-coverage": "^3.4.1",
Expand All @@ -48,13 +54,18 @@
"typescript": "^5.5.3",
"typescript-eslint": "^8.26.0"
},
"files": [
"dist/**/*.{js,ts,map}"
],
"scripts": {
"build": "tsc",
"build:watch": "tsc --watch",
"check": "pnpm lint && pnpm typecheck",
"docs:generate": "typedoc",
"format:check": "prettier --check .",
"lint": "eslint --cache .",
"prepare": "husky",
"test": "jest",
"typecheck": "tsc --noEmit"
},
"private": true,
Expand All @@ -64,8 +75,9 @@
},
"lint-staged": {
"package.json": "finepack",
"*.{js,ts,jsx,tsx}": "eslint --cache --fix . || true",
"*.{js,ts,jsx,tsx}": "eslint --cache --fix .",
"*.{js,ts,jsx,tsx,json,css,md}": "prettier --write"
},
"packageManager": "pnpm@10.6.5",
"type": "module"
}
}
Loading