Skip to content

Built for people who want to own their automations. Join the waitlist for an invite.

Package listing

@kentcdodds/lineage

package.json

69 lines · 1.8 KB · JSON
{
	"name": "@kentcdodds/lineage",
	"private": false,
	"license": "MIT",
	"type": "module",
	"exports": {
		".": "./src/index.ts",
		"./backfill": "./src/backfill.ts",
		"./backfill-continue": "./src/backfill-continue.ts",
		"./ingest-missing": "./src/ingest-missing.ts",
		"./handle-github-webhook": "./src/handle-github-webhook.ts",
		"./series": "./src/series.ts",
		"./settings": "./src/settings.ts",
		"./commentary": "./src/commentary.ts",
		"./status": "./src/status.ts",
		"./inspect-commit": "./src/inspect-commit.ts",
		"./reset-ingest": "./src/reset-ingest.ts",
		"./seed-highlights": "./src/seed-highlights.ts",
		"./seed-primitive-story": "./src/seed-primitive-story.ts",
		"./record-version": "./src/record-version.ts"
	},
	"kody": {
		"id": "lineage",
		"description": "Interactive commit-level lines of kody, minus generated noise, as an offline-ready chart.",
		"category": "apps",
		"tags": [
			"github",
			"loc",
			"chart",
			"pwa",
			"kody",
			"webhook",
			"lineage"
		],
		"searchText": "lines of code commit graph language tests docs source generated files webhook PWA offline IndexedDB lineage loc-explorer",
		"dependencies": {
			"@kentcdodds/github": "*"
		},
		"app": {
			"entry": "./src/app.ts"
		},
		"jobs": {
			"backfill-missing": {
				"entry": "./src/backfill.ts",
				"schedule": {
					"type": "cron",
					"expression": "*/5 * * * *"
				},
				"timezone": "America/Denver",
				"enabled": true,
				"description": "Fill any main-branch commits that are still missing from Lineage storage."
			}
		},
		"webhooks": [
			{
				"name": "github-push",
				"export": "./handle-github-webhook",
				"responseMode": "ack",
				"verification": {
					"type": "hmac-sha256",
					"header": "x-hub-signature-256",
					"secretName": "githubLocWebhookSecret",
					"encoding": "hex",
					"prefix": "sha256="
				}
			}
		]
	}
}