Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 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
f4f6046
Merge pull request #2 from cis-oss/feature/message-sending
B00tLoad Aug 31, 2025
98cd99e
chore(package.json): split main files between dev and release
B00tLoad Aug 31, 2025
93716ba
build(devDependencies): add shx
B00tLoad Aug 31, 2025
1ea099f
chore(package.json): script cleanup and addition of preRelease script
B00tLoad Aug 31, 2025
61ac47f
chore(package.json): add maintainers
B00tLoad Aug 31, 2025
ae34160
Merge pull request #3 from cis-oss/feature/release-prep
B00tLoad Aug 31, 2025
421821f
docs(README): Add ReadMe file
B00tLoad Aug 31, 2025
a8e03e5
Merge pull request #4 from cis-oss/feature/readme
B00tLoad Aug 31, 2025
c1c8eda
release(v0.1.0): set version string, remove private: true
B00tLoad Aug 31, 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
32 changes: 28 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,24 +1,48 @@
# CIS Pushover Client

![GitHub License](https://img.shields.io/github/license/cis-oss/pushover)
![NPM Version](https://img.shields.io/npm/v/%40cis-oss%2Fpushover)
![npm bundle size (scoped)](https://img.shields.io/bundlephobia/min/cis-oss/pushover?label=bundle%20size)

A client for Pushover, a service for sending notifications. Typesafe.
Supports sending the same message to multiple users.

## Installation

⚠️ This package is **not yet published** to npm.

```bash
pnpm add @cis-oss/pushover
```

<details>
<summary>Or using npm</summary>

```bash
npm install @cis-oss/pushover
```

</details>

<details>
<summary>Or use our meta-packages</summary>

```bash
yarn add @cis-oss/pushover
pnpm add @cis-oss/notify
```

```bash
bun add @cis-oss/pushover
pnpm add @cis-oss/notify-push
```

</details>

# Documentation

Documentation can be found at [https://cis-oss.github.io/pushover](https://cis-oss.github.io/pushover).

# Contributing

Contributions are welcome! Please see [CONTRIBUTING.md](https://github.com/cis-oss/.github/blob/main/CONTRIBUTING.md) for details.

Please make sure to read our [Code of Conduct](https://github.com/cis-oss/.github/blob/main/CODE_OF_CONDUCT.md) and [Support Policy](https://github.com/cis-oss/.github/blob/main/SUPPORT.md).

Disclose security issues responsibly by following our [Security Policy](https://github.com/cis-oss/.github/blob/main/SECURITY.md).
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", {}],
},
};
41 changes: 35 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
"name": "@cis-oss/pushover",
"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",
"main": "dist/index.js",
"version": "0.1.0",
"main": "src/index.ts",
"author": {
"email": "hi@b00tload.space",
"name": "Alix von Schirp",
Expand All @@ -29,14 +29,20 @@
"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",
"shx": "^0.4.0",
"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,24 +54,47 @@
"typescript": "^5.5.3",
"typescript-eslint": "^8.26.0"
},
"files": [
"dist/**/*.{js,ts,map}"
],
"scripts": {
"build": "tsc",
"check": "pnpm lint && pnpm typecheck",
"build:watch": "tsc --watch",
"check": "pnpm run lint && pnpm run typecheck",
"clean": "shx rm -rf dist/",
"docs:generate": "typedoc",
"format:check": "prettier --check .",
"lint": "eslint --cache .",
"prepare": "husky",
"prepublishOnly": "pnpm run clean && pnpm run build",
"test": "jest",
"typecheck": "tsc --noEmit"
},
"private": true,
"license": "MIT",
"husky": {
"shell": "bash"
},
"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"
},
"maintainers": [
{
"name": "Alix von Schirp",
"email": "hi@b00tload.space",
"url": "https://b00tload.space"
},
{
"name": "Ole",
"email": "jateute123@gmail.com",
"url": "https://github.com/jateute"
}
],
"packageManager": "pnpm@10.6.5",
"publishConfig": {
"main": "dist/index.js",
"types": "dist/index.d.ts"
},
"type": "module"
}
}
Loading