Pinball DB

by tgrosinger
5
4
3
2
1
Score: 50/100

Description

Create notes for pinball machines

Reviews

No reviews yet.

Stats

0
stars
126
downloads
0
forks
155
days
131
days
131
days
0
total PRs
0
open PRs
0
closed PRs
0
merged PRs
0
total issues
0
open issues
0
closed issues
30
commits

Latest Version

4 months ago

Changelog

README file from

Github

Pinball DB

An Obsidian plugin to track and organize a database of pinball machines inside your vault. Quickly create notes with pinball machine details and deep links to the machine on popular pinball websites. Record your scores for each machine.

Pinball machine selector

Development

This project uses pnpm and bundles with esbuild.

pnpm install      # install dependencies
pnpm dev          # rebuild main.js on change (watch mode)
pnpm build        # type-check and produce a production main.js

Quality checks

pnpm typecheck    # tsc --noEmit (strict)
pnpm lint         # eslint (typescript-eslint strict + obsidianmd)
pnpm format       # prettier --write
pnpm test         # vitest (run once)
pnpm test:watch   # vitest (watch mode)
pnpm check        # typecheck + lint + format:check + test

Testing in a vault

Symlink or copy this repository into a vault's plugin directory so Obsidian can load the build output:

<vault>/.obsidian/plugins/pinball-db/

Obsidian loads main.js, manifest.json, and styles.css. Run pnpm dev (or pnpm build) to generate main.js, then enable the plugin in Obsidian's community-plugin settings.

Releasing

Bump the version with npm's version lifecycle, which runs version-bump.mjs:

pnpm version patch   # or minor / major

This updates manifest.json and versions.json and stages them. Build with pnpm build and attach main.js, manifest.json, and styles.css to the GitHub release.