@secret-momo/github-db 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md ADDED
@@ -0,0 +1,3 @@
1
+ # github-db
2
+
3
+ A lightweight wrapper that turns a GitHub repository into a simple database.
package/lib/index.d.ts ADDED
@@ -0,0 +1 @@
1
+ export declare function add(a: number, b: number): number;
package/lib/index.js ADDED
@@ -0,0 +1 @@
1
+ function t(n,r){return n+r}export{t as add};
package/package.json ADDED
@@ -0,0 +1,70 @@
1
+ {
2
+ "name": "@secret-momo/github-db",
3
+ "version": "0.0.1",
4
+ "description": "A lightweight wrapper that turns a GitHub repository into a simple database.",
5
+ "type": "module",
6
+ "packageManager": "bun@1.4.2",
7
+ "engines": {
8
+ "node": ">=24"
9
+ },
10
+ "publishConfig": {
11
+ "access": "public",
12
+ "registry": "https://registry.npmjs.org/"
13
+ },
14
+ "repository": {
15
+ "type": "git",
16
+ "url": "git+https://github.com/secretmomo/github-db.git"
17
+ },
18
+ "homepage": "https://github.com/secretmomo/github-db#readme",
19
+ "bugs": {
20
+ "url": "https://github.com/secretmomo/github-db/issues"
21
+ },
22
+ "files": [
23
+ "lib"
24
+ ],
25
+ "main": "./lib/index.js",
26
+ "types": "./lib/index.d.ts",
27
+ "exports": {
28
+ ".": {
29
+ "types": "./lib/index.d.ts",
30
+ "import": "./lib/index.js"
31
+ }
32
+ },
33
+ "scripts": {
34
+ "prepare": "bunx --no-install husky",
35
+ "prepack": "bun run build",
36
+ "prepublishOnly": "bun run check",
37
+ "typecheck": "tsc --noEmit",
38
+ "lint": "eslint . --max-warnings 0",
39
+ "lint:fix": "eslint . --fix",
40
+ "format": "prettier . --write",
41
+ "format:check": "prettier . --check",
42
+ "test": "bun test --pass-with-no-tests",
43
+ "check": "bun run typecheck && bun run lint && bun run format:check && bun run test",
44
+ "build": "rm -rf lib && rollup -c && tsc -p tsconfig.build.json"
45
+ },
46
+ "lint-staged": {
47
+ "*.{ts,tsx,js,jsx,mjs,cjs}": [
48
+ "eslint --fix --max-warnings 0",
49
+ "prettier --write"
50
+ ],
51
+ "*.{json,md,yml,yaml}": [
52
+ "prettier --write"
53
+ ]
54
+ },
55
+ "devDependencies": {
56
+ "@eslint/js": "10.0.1",
57
+ "@types/bun": "1.4.2",
58
+ "eslint": "10.11.0",
59
+ "eslint-plugin-import-x": "4.17.1",
60
+ "eslint-plugin-unused-imports": "4.4.1",
61
+ "husky": "9.1.7",
62
+ "jiti": "2.7.0",
63
+ "lint-staged": "17.5.1",
64
+ "prettier": "3.9.8",
65
+ "rollup": "4.63.4",
66
+ "rollup-plugin-esbuild": "6.2.1",
67
+ "typescript": "6.0.3",
68
+ "typescript-eslint": "8.70.0"
69
+ }
70
+ }