Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
155 lines (155 loc) · 5.08 KB
/
Copy pathpackage.json
File metadata and controls
155 lines (155 loc) · 5.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
{
"name": "forges",
"type": "module",
"version": "0.3.2",
"devEngines": {
"runtime": {
"name": "node",
"version": "26.13.0",
"onFail": "download"
},
"packageManager": {
"name": "pnpm",
"version": "12.18.0",
"onFail": "download"
}
},
"description": "One client, every forge: issues, pull requests, notifications, checks and webhooks",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/danielroe/forges.git"
},
"keywords": [
"forge",
"git",
"github",
"gitlab",
"bitbucket",
"forgejo",
"codeberg",
"gitea",
"gitee",
"azure-devops",
"tangled",
"atproto",
"issues",
"pull-requests",
"notifications",
"webhooks"
],
"sideEffects": false,
"exports": {
".": "./src/index.ts",
"./azure-devops": "./src/azure-devops/index.ts",
"./bitbucket": "./src/bitbucket/index.ts",
"./cloudflare-artifacts": "./src/cloudflare-artifacts/index.ts",
"./cursor-origin": "./src/cursor-origin/index.ts",
"./entire": "./src/entire/index.ts",
"./env": "./src/env.ts",
"./fake": "./src/fake/index.ts",
"./forgejo": "./src/forgejo/index.ts",
"./gitbucket": "./src/gitbucket/index.ts",
"./gitea": "./src/gitea/index.ts",
"./gitee": "./src/gitee/index.ts",
"./github": "./src/github/index.ts",
"./gitlab": "./src/gitlab/index.ts",
"./helpers": "./src/helpers.ts",
"./kit": "./src/kit.ts",
"./pushin": "./src/pushin/index.ts",
"./schema": "./src/schema/index.ts",
"./sourcehut": "./src/sourcehut/index.ts",
"./tangled": "./src/tangled/index.ts",
"./testing": "./src/testing/index.ts",
"./web": "./src/web/index.ts",
"./package.json": "./package.json",
"./schema/*.json": "./dist/schema/*.json"
},
"types": "./dist/index.d.mts",
"publishConfig": {
"exports": {
".": "./dist/index.mjs",
"./azure-devops": "./dist/azure-devops/index.mjs",
"./bitbucket": "./dist/bitbucket/index.mjs",
"./cloudflare-artifacts": "./dist/cloudflare-artifacts/index.mjs",
"./cursor-origin": "./dist/cursor-origin/index.mjs",
"./entire": "./dist/entire/index.mjs",
"./env": "./dist/env.mjs",
"./fake": "./dist/fake/index.mjs",
"./forgejo": "./dist/forgejo/index.mjs",
"./gitbucket": "./dist/gitbucket/index.mjs",
"./gitea": "./dist/gitea/index.mjs",
"./gitee": "./dist/gitee/index.mjs",
"./github": "./dist/github/index.mjs",
"./gitlab": "./dist/gitlab/index.mjs",
"./helpers": "./dist/helpers.mjs",
"./kit": "./dist/kit.mjs",
"./pushin": "./dist/pushin/index.mjs",
"./schema": "./dist/schema/index.mjs",
"./sourcehut": "./dist/sourcehut/index.mjs",
"./tangled": "./dist/tangled/index.mjs",
"./testing": "./dist/testing/index.mjs",
"./web": "./dist/web/index.mjs",
"./package.json": "./package.json",
"./schema/*.json": "./dist/schema/*.json"
}
},
"files": [
"dist"
],
"engines": {
"node": ">=22.18"
},
"scripts": {
"build": "tsdown",
"build:docs": "pnpm --filter forges-docs build",
"check:all": "pnpm lint && pnpm test && pnpm build && pnpm test:size",
"dev": "vitest dev",
"lint": "eslint --cache .",
"lint:fix": "eslint --cache --fix .",
"prepare": "simple-git-hooks",
"prepack": "pnpm build",
"test": "pnpm test:unit && pnpm test:capabilities && pnpm test:types && pnpm test:knip",
"test:unit": "vitest run --project unit",
"test:docs": "vitest run --project docs",
"test:capabilities": "node scripts/check-capabilities.ts",
"test:knip": "knip",
"test:links": "lychee --config lychee.toml --remap \"https://github\\.com/danielroe/forges/(?:blob|tree)/main/(.*) file://$PWD/\\$1\" --include-fragments docs/.output/public README.md CONTRIBUTING.md CODE_OF_CONDUCT.md docs/README.md docs/content examples test/fixtures",
"test:types": "tsc --noEmit",
"dev:docs": "pnpm --filter forges-docs dev",
"dev:playground": "pnpm --filter playground dev",
"record-fixtures": "node --env-file-if-exists=.env scripts/record-fixtures.ts",
"capability-matrix": "node scripts/capability-matrix.ts",
"capability-diff": "node scripts/capability-diff.ts",
"recorded-coverage": "node scripts/recorded-coverage.ts",
"docs:api": "node scripts/docs-api.ts",
"test:size": "node scripts/bundle-size.ts"
},
"devDependencies": {
"@antfu/eslint-config": "10.0.0",
"@arethetypeswrong/core": "0.18.5",
"@octokit/openapi-webhooks-types": "12.2.0",
"@octokit/rest": "22.0.1",
"@types/node": "26.6.6",
"@vitest/coverage-v8": "5.1.0",
"eslint": "10.14.0",
"knip": "6.44.2",
"nano-staged": "1.0.2",
"pkg-pr-new": "0.0.93",
"publint": "0.3.25",
"rolldown": "1.3.0",
"simple-git-hooks": "2.14.0",
"ts-json-schema-generator": "2.9.0",
"tsdown": "0.23.7",
"typescript": "6.0.3",
"vitest": "5.1.0"
},
"simple-git-hooks": {
"pre-commit": "pnpm nano-staged"
},
"nano-staged": {
"*.{js,ts,mjs,cjs,vue,json,yml,yaml,md,.*rc}": [
"pnpm eslint --fix"
]
}
}