comfy-pr 0.2.24 → 0.2.26
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 +247 -225
- package/index.ts +6 -0
- package/next-env.d.ts +5 -5
- package/package.json +52 -25
- package/src/Authors.ts +42 -48
- package/src/CMNodes.ts +60 -60
- package/src/CNRepos.ts +78 -74
- package/src/CRNodes.ts +27 -27
- package/src/CRPulls.ts +4 -4
- package/src/EmailTasks.ts +101 -0
- package/src/FORK_OWNER.ts +5 -5
- package/src/FORK_PREFIX.ts +5 -5
- package/src/FollowRules.ts +25 -25
- package/src/GIT_USEREMAIL.ts +5 -5
- package/src/GIT_USERNAME.ts +9 -9
- package/src/GithubIssueComments.ts +3 -3
- package/src/PushedBranch.ts +3 -3
- package/src/Totals.ts +24 -9
- package/src/TrackingPRs.ts +12 -12
- package/src/WorkerInstances.ts +89 -89
- package/src/addCommentAction.ts +73 -65
- package/src/analyzePullsStatus.ts +219 -170
- package/src/analyzeTotals.test.ts +5 -5
- package/src/analyzeTotals.ts +118 -118
- package/src/bypassRepos.spec.ts +10 -0
- package/src/bypassRepos.ts +8 -0
- package/src/checkComfyActivated.ts +39 -39
- package/src/checkPRsFailures.ts +18 -0
- package/src/cli.ts +40 -40
- package/src/clone_modify_push_Branches.ts +21 -21
- package/src/createComfyRegistryPRsFromCandidates.ts +55 -55
- package/src/createComfyRegistryPullRequests.ts +32 -22
- package/src/createGithubForkForRepo.ts +54 -37
- package/src/createGithubPullRequest.ts +157 -94
- package/src/createIssueComment.ts +34 -29
- package/src/fetchCMNodes.ts +22 -22
- package/src/fetchComfyRegistryNodes.ts +11 -11
- package/src/fetchCurrentGeoInfo.ts +6 -6
- package/src/fetchRelatedPullWithComments.ts +15 -15
- package/src/fetchRepoDescriptionMap.ts +15 -15
- package/src/followRuleSchema.ts +79 -76
- package/src/getActivatedShell.ts +18 -18
- package/src/getBranchWorkingDir.ts +16 -16
- package/src/getRepoWorkingDir.ts +5 -5
- package/src/ghUser.ts +9 -6
- package/src/index.ts +26 -22
- package/src/initializeFollowRules.ts +26 -26
- package/src/makePublishBranch.ts +58 -58
- package/src/makeTomlBranch.ts +53 -53
- package/src/makeUpdateTomlLicenseBranch.ts +245 -0
- package/src/matchRelatedPulls.ts +47 -60
- package/src/muteInstances.ts +16 -16
- package/src/parseIssueUrl.ts +6 -6
- package/src/parseOwnerRepo.ts +33 -33
- package/src/parsePullUrl.ts +6 -6
- package/src/parsePullsState.ts +6 -6
- package/src/parseTitleBodyOfMarkdown.ts +8 -8
- package/src/postSlackMessage.ts +21 -21
- package/src/preload.ts +30 -30
- package/src/pullStatusFollowSchema.ts +12 -12
- package/src/readTemplateTitle.ts +11 -11
- package/src/sendEmailAction.ts +56 -0
- package/src/sendGmail.ts +105 -0
- package/src/showFollowRuleSet.ts +12 -12
- package/src/summaryLastPullComment.ts +8 -8
- package/src/tomlFillDescription.ts +17 -17
- package/src/updateAuthors.ts +7 -7
- package/src/updateAuthorsForGithub.ts +54 -50
- package/src/updateAuthorsFromCNRepo.ts +30 -30
- package/src/updateCMNodesDuplicationWarnings.ts +56 -56
- package/src/updateCMRepos.ts +27 -27
- package/src/updateCNRepos.ts +58 -58
- package/src/updateCNReposCRPullsComments.ts +40 -40
- package/src/updateCNReposInfo.ts +58 -57
- package/src/updateCNReposPRCandidate.ts +85 -85
- package/src/updateCNReposPulls.ts +31 -28
- package/src/updateCNReposPullsDashboard.ts +49 -49
- package/src/updateCNReposRelatedPulls.ts +25 -25
- package/src/updateCRNodes.ts +50 -50
- package/src/updateCRRepos.ts +26 -26
- package/src/updateComfyTotals.ts +43 -43
- package/src/updateFollowRuleSet.ts +136 -127
- package/src/updateOutdatedPullsTemplates.ts +165 -160
- package/src/updateSlackMessages.ts +43 -43
- package/tailwind.config.ts +75 -20
package/README.md
CHANGED
|
@@ -1,225 +1,247 @@
|
|
|
1
|
-
# Comfy-PR
|
|
2
|
-
|
|
3
|
-
Make PRs that
|
|
4
|
-
|
|
5
|
-
## Project Goals: (aka roadmap)
|
|
6
|
-
|
|
7
|
-
### Cli usage:
|
|
8
|
-
|
|
9
|
-
- [x] fork repo
|
|
10
|
-
- [x] clone repo locally
|
|
11
|
-
- [x] create pyproject branch, run comfy node init . Push branch.
|
|
12
|
-
- [x] create publish branch, create in a Github workflow file. Push branch.
|
|
13
|
-
- [x] create PR to original repository with template PR description.
|
|
14
|
-
- [x] Submit PR
|
|
15
|
-
- [x] Clean local debris before clone
|
|
16
|
-
- [
|
|
17
|
-
|
|
18
|
-
### Github Actions
|
|
19
|
-
|
|
20
|
-
- [x] Fetch repos from CM & CR list
|
|
21
|
-
- [x] Make diff
|
|
22
|
-
- [x] Notify to slack channel
|
|
23
|
-
- [x] Fetch repo status (private or archived or ...)
|
|
24
|
-
- [x] Fetch pr status (open / merged / closed) + comments
|
|
25
|
-
- [x] Fetch pr comments
|
|
26
|
-
- [x] Automaticaly find candidates, and do the cli does
|
|
27
|
-
- [x] Mention related prs in dashboard https://github.com/drip-art/Comfy-Registry-PR/issues/1
|
|
28
|
-
- [x] Analyze Totals
|
|
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
|
-
```sh
|
|
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
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
#
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
#
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
```
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
```
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
```
|
|
1
|
+
# Comfy-PR
|
|
2
|
+
|
|
3
|
+
Make PRs that helps comfy community grow with [Comfy.org](https://comfy.org/).
|
|
4
|
+
|
|
5
|
+
## Project Goals: (aka roadmap)
|
|
6
|
+
|
|
7
|
+
### Cli usage:
|
|
8
|
+
|
|
9
|
+
- [x] fork repo
|
|
10
|
+
- [x] clone repo locally
|
|
11
|
+
- [x] create pyproject branch, run comfy node init . Push branch.
|
|
12
|
+
- [x] create publish branch, create in a Github workflow file. Push branch.
|
|
13
|
+
- [x] create PR to original repository with template PR description.
|
|
14
|
+
- [x] Submit PR
|
|
15
|
+
- [x] Clean local debris before clone
|
|
16
|
+
- [x] DOING: Export PR status into csv for @haohao
|
|
17
|
+
|
|
18
|
+
### Github Actions Workerds
|
|
19
|
+
|
|
20
|
+
- [x] Fetch repos from CM & CR list
|
|
21
|
+
- [x] Make diff
|
|
22
|
+
- [x] Notify to slack channel
|
|
23
|
+
- [x] Fetch repo status (private or archived or ...)
|
|
24
|
+
- [x] Fetch pr status (open / merged / closed) + comments
|
|
25
|
+
- [x] Fetch pr comments
|
|
26
|
+
- [x] Automaticaly find candidates, and do the cli does
|
|
27
|
+
- [x] Mention related prs in dashboard https://github.com/drip-art/Comfy-Registry-PR/issues/1
|
|
28
|
+
- [x] Analyze Totals
|
|
29
|
+
- [x] license schema updator
|
|
30
|
+
- [x] bypass repo
|
|
31
|
+
- [ ] Follow-up prs by state
|
|
32
|
+
- [ ] Issues Comment
|
|
33
|
+
- [ ] Slack
|
|
34
|
+
- [ ] Email
|
|
35
|
+
- [ ] Delete the forked repo which is Merged
|
|
36
|
+
|
|
37
|
+
### Web Site https://comfy-pr.vercel.app
|
|
38
|
+
|
|
39
|
+
- [x] A dashboard csv/yaml exporter site for @haohao
|
|
40
|
+
- [x] pr dashboard
|
|
41
|
+
|
|
42
|
+
## Admin
|
|
43
|
+
|
|
44
|
+
### Changing PR Owner
|
|
45
|
+
|
|
46
|
+
If you wish to change which Github account the Pull Requests come from, then you need to place a Github token into the **[Actions Secrets](https://github.com/drip-art/Comfy-Registry-PR/settings/secrets/actions )**
|
|
47
|
+
|
|
48
|
+
`GH_TOKEN_COMFY_PR = ************`
|
|
49
|
+
|
|
50
|
+
## Usages
|
|
51
|
+
|
|
52
|
+
### CLI Usage: Get Started by
|
|
53
|
+
|
|
54
|
+
```
|
|
55
|
+
bunx comfy-pr [...GITHUB_REPO_URLS]
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
### 1. Setup Envs
|
|
59
|
+
|
|
60
|
+
A demo .env should be sth like:
|
|
61
|
+
|
|
62
|
+
```sh
|
|
63
|
+
# your github token
|
|
64
|
+
GH_TOKEN=ghp_WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW
|
|
65
|
+
|
|
66
|
+
# the pr source organization/ leave it blank to use yourself's account.
|
|
67
|
+
FORK_OWNER="ComfyNodePRs"
|
|
68
|
+
|
|
69
|
+
# PR prefix
|
|
70
|
+
FORK_PREFIX="PR-"
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
#### Github API Token (GH_TOKEN)
|
|
74
|
+
|
|
75
|
+
GO https://github.com/settings/tokens?type=beta to get an Github Access key
|
|
76
|
+
|
|
77
|
+
Check 3 permissions for all of your repositories
|
|
78
|
+
|
|
79
|
+
- Pull requests Access: Read and write
|
|
80
|
+
- Workflows Access: Read and write
|
|
81
|
+
- Metadata Access: Read-only
|
|
82
|
+
|
|
83
|
+
And save your GH_TOKEN into .env file
|
|
84
|
+
|
|
85
|
+
#### Github SSH Key (.ssh/id_rsa, .ssh/id_rsa.pub)
|
|
86
|
+
|
|
87
|
+
Must provide to push code automaticaly, btw prob. you've already setup.
|
|
88
|
+
|
|
89
|
+
Run `ssh-keygen`, got `id_rsa.pub`, Then add into here https://github.com/settings/keys
|
|
90
|
+
|
|
91
|
+
### 2. Run!
|
|
92
|
+
|
|
93
|
+
Ways to run this script
|
|
94
|
+
|
|
95
|
+
1. Local run
|
|
96
|
+
2. Docker run (also local)
|
|
97
|
+
3. Docker run at cloud (TODO)
|
|
98
|
+
|
|
99
|
+
#### 1. Launch by Docker Compose
|
|
100
|
+
|
|
101
|
+
After configured your .env file, run docker compose build and up.
|
|
102
|
+
|
|
103
|
+
```sh
|
|
104
|
+
git clone https://github.com/drip-art/Comfy-Registry-PR
|
|
105
|
+
cd Comfy-Registry-PR
|
|
106
|
+
docker compose build
|
|
107
|
+
docker compose up
|
|
108
|
+
```
|
|
109
|
+
|
|
110
|
+
#### 2. Docker usage (not stable)
|
|
111
|
+
|
|
112
|
+
```sh
|
|
113
|
+
docker run --rm -it \
|
|
114
|
+
-v $HOME/.ssh:/root/.ssh:ro \
|
|
115
|
+
-e GH_TOKEN=ghp_WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW \
|
|
116
|
+
-e REPO=https://github.com/snomiao/ComfyNode-Registry-test \
|
|
117
|
+
snomiao/comfy-registry-pr
|
|
118
|
+
```
|
|
119
|
+
|
|
120
|
+
#### 3. Run native in Unix/Linux/MacOS/WSL
|
|
121
|
+
|
|
122
|
+
```sh
|
|
123
|
+
git clone https://github.com/drip-art/Comfy-Registry-PR
|
|
124
|
+
|
|
125
|
+
# setup comfy-cli environment
|
|
126
|
+
cd Comfy-Registry-PR
|
|
127
|
+
python3 -m venv .venv
|
|
128
|
+
chmod +x ./.venv/bin/*
|
|
129
|
+
source ./.venv/bin/activate
|
|
130
|
+
pip3 install comfy-cli
|
|
131
|
+
|
|
132
|
+
|
|
133
|
+
|
|
134
|
+
# setup bun for js-script
|
|
135
|
+
curl -fsSL https://bun.sh/install | bash
|
|
136
|
+
bun i
|
|
137
|
+
|
|
138
|
+
# and
|
|
139
|
+
bun src/cli.ts [REPO_PATH_NEED_TO_PR]
|
|
140
|
+
# for example
|
|
141
|
+
bun src/cli.ts https://github.com/snomiao/ComfyNode-Registry-test
|
|
142
|
+
|
|
143
|
+
```
|
|
144
|
+
|
|
145
|
+
#### 4. Run natively in Windows
|
|
146
|
+
|
|
147
|
+
```bat
|
|
148
|
+
|
|
149
|
+
git clone https://github.com/drip-art/Comfy-Registry-PR
|
|
150
|
+
|
|
151
|
+
@REM setup comfy-cli environment
|
|
152
|
+
cd Comfy-Registry-PR
|
|
153
|
+
python3 -m venv .venv
|
|
154
|
+
.\.venv\Scripts\activate
|
|
155
|
+
pip3 install comfy-cli
|
|
156
|
+
|
|
157
|
+
@REM run with tsx
|
|
158
|
+
npx -y cross-env REPO=https://github.com/snomiao/ComfyNode-Registry-test npx -y tsx src/cli.ts
|
|
159
|
+
|
|
160
|
+
```
|
|
161
|
+
|
|
162
|
+
#### Other Configurations in dockerfile
|
|
163
|
+
|
|
164
|
+
Don't change it unless you know what you are doing.
|
|
165
|
+
|
|
166
|
+
```dockerfile
|
|
167
|
+
|
|
168
|
+
ENV FORK_OWNER=drip-art
|
|
169
|
+
ENV FORK_PREFIX=PR-
|
|
170
|
+
|
|
171
|
+
# Unset it into current authorized user's name and email (from your github api token).
|
|
172
|
+
ENV GIT_USEREMAIL=comfy-ci@drip.art
|
|
173
|
+
ENV GIT_USERNAME=comfy-ci
|
|
174
|
+
```
|
|
175
|
+
|
|
176
|
+
## Development
|
|
177
|
+
|
|
178
|
+
### Cli
|
|
179
|
+
|
|
180
|
+
```sh
|
|
181
|
+
# Create comfy pr dir and go into it
|
|
182
|
+
mkdir comfy-pr
|
|
183
|
+
cd comfy-pr
|
|
184
|
+
|
|
185
|
+
# Prepare code and environments
|
|
186
|
+
git clone https://github.com/drip-art/Comfy-Registry-PR .
|
|
187
|
+
|
|
188
|
+
# Prepare bun
|
|
189
|
+
# go here - [Installation \| Bun Docs]( https://bun.sh/docs/installation )
|
|
190
|
+
|
|
191
|
+
# Install project
|
|
192
|
+
bun i
|
|
193
|
+
|
|
194
|
+
# Prepare bun
|
|
195
|
+
bun i
|
|
196
|
+
```
|
|
197
|
+
|
|
198
|
+
### Github Action Worker & server
|
|
199
|
+
|
|
200
|
+
1. Setup envs in the usages section above (plz check bun src/cli.ts runnable first)
|
|
201
|
+
|
|
202
|
+
2. Run mongodb with docker compose
|
|
203
|
+
|
|
204
|
+
```sh
|
|
205
|
+
docker compose -f docker-compose.mongodb.yml up
|
|
206
|
+
```
|
|
207
|
+
|
|
208
|
+
```yaml
|
|
209
|
+
services:
|
|
210
|
+
mongdb:
|
|
211
|
+
restart: always
|
|
212
|
+
image: mongo
|
|
213
|
+
ports: ["27017:27017"]
|
|
214
|
+
volumes: [./data/mongodb:/data/db]
|
|
215
|
+
```
|
|
216
|
+
|
|
217
|
+
And fill URI into env
|
|
218
|
+
|
|
219
|
+
```env
|
|
220
|
+
MONGODB_URI=mongodb://localhost:27017
|
|
221
|
+
```
|
|
222
|
+
|
|
223
|
+
3. Play with codes...
|
|
224
|
+
|
|
225
|
+
```sh
|
|
226
|
+
# To initialize your database, run:
|
|
227
|
+
bun src/index.ts
|
|
228
|
+
|
|
229
|
+
# To start develop in any of other scripts:
|
|
230
|
+
# Feel free to run any scripts in src/, they are safe to re-run and stop in any time.
|
|
231
|
+
bun src/THAT_FILE_YOU_WANT_TO_RUN.ts
|
|
232
|
+
|
|
233
|
+
# To check if you didn't break anything?
|
|
234
|
+
bun test --watch
|
|
235
|
+
```
|
|
236
|
+
|
|
237
|
+
|
|
238
|
+
## DB Inspecting
|
|
239
|
+
|
|
240
|
+
Make .env.development.local as
|
|
241
|
+
|
|
242
|
+
```sh
|
|
243
|
+
MONGODB_URI_INSPECT_HAOHAO={{that readonly db link sno gave you}}
|
|
244
|
+
MONGODB_URI=$MONGODB_URI_INSPECT_HAOHAO
|
|
245
|
+
```
|
|
246
|
+
|
|
247
|
+
And inspect db with script, e.g. `src/checkPRsFailures.ts`
|
package/index.ts
ADDED
package/next-env.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/// <reference types="next" />
|
|
2
|
-
/// <reference types="next/image-types/global" />
|
|
3
|
-
|
|
4
|
-
// NOTE: This file should not be edited
|
|
5
|
-
// see https://nextjs.org/docs/basic-features/typescript for more information.
|
|
1
|
+
/// <reference types="next" />
|
|
2
|
+
/// <reference types="next/image-types/global" />
|
|
3
|
+
|
|
4
|
+
// NOTE: This file should not be edited
|
|
5
|
+
// see https://nextjs.org/docs/basic-features/typescript for more information.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "comfy-pr",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.26",
|
|
4
4
|
"description": "Make PRs that publishes ComfyUI Custom Nodes to [ComfyUI Registry]( https://www.comfyregistry.org/ ).",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"license": "ISC",
|
|
@@ -24,7 +24,10 @@
|
|
|
24
24
|
"vercel:dev": "vercel dev",
|
|
25
25
|
"vercel:build": "vercel build",
|
|
26
26
|
"build": "next build",
|
|
27
|
+
"build:worker": "bun build . --define 'import.meta.main=false' --define 'import.meta.env.IS_BUNDLE=true' --target=bun > dist/index.js",
|
|
28
|
+
"predev": "bun i",
|
|
27
29
|
"dev": "next dev",
|
|
30
|
+
"dev:tsc": "tsc -w",
|
|
28
31
|
"lint": "next lint",
|
|
29
32
|
"prerelease": "bun run build && bun run test && vercel --prod",
|
|
30
33
|
"release": "bunx standard-version && npm publish",
|
|
@@ -32,74 +35,98 @@
|
|
|
32
35
|
"test": "bun test"
|
|
33
36
|
},
|
|
34
37
|
"dependencies": {
|
|
35
|
-
"@auth/mongodb-adapter": "^3.2
|
|
38
|
+
"@auth/mongodb-adapter": "^3.4.2",
|
|
36
39
|
"@ctrl/mac-address": "^3.0.3",
|
|
40
|
+
"@kbox-labs/react-echarts": "^1.2.0",
|
|
37
41
|
"@monaco-editor/react": "^4.6.0",
|
|
38
|
-
"@slack/web-api": "^7.
|
|
39
|
-
"@snomiao/die": "^1.
|
|
42
|
+
"@slack/web-api": "^7.3.1",
|
|
43
|
+
"@snomiao/die": "^1.2.3",
|
|
40
44
|
"@trpc/server": "^10.45.2",
|
|
41
45
|
"@types/d3": "^7.4.3",
|
|
42
46
|
"@types/file-saver": "^2.0.7",
|
|
47
|
+
"@types/git-diff": "^2.0.7",
|
|
48
|
+
"@types/jest": "^29.5.12",
|
|
49
|
+
"@types/markdown-it": "^14.1.2",
|
|
50
|
+
"@types/open": "^6.2.1",
|
|
51
|
+
"bun": "^1.1.21",
|
|
52
|
+
"class-variance-authority": "^0.7.0",
|
|
53
|
+
"clsx": "^2.1.1",
|
|
43
54
|
"d3": "^7.9.0",
|
|
44
|
-
"daisyui": "^4.12.
|
|
55
|
+
"daisyui": "^4.12.10",
|
|
45
56
|
"dotenv": "^16.4.5",
|
|
46
57
|
"enhanced-ms": "^3.0.0",
|
|
47
58
|
"file-saver": "^2.0.5",
|
|
48
|
-
"
|
|
59
|
+
"flat": "^6.0.1",
|
|
60
|
+
"git-diff": "^2.0.6",
|
|
61
|
+
"globby": "^14.0.2",
|
|
62
|
+
"google-auth-library": "^9.12.0",
|
|
63
|
+
"googleapis": "^140.0.1",
|
|
64
|
+
"googleapis-common": "^7.2.0",
|
|
49
65
|
"js-yaml": "^4.1.0",
|
|
50
66
|
"json-stable-stringify": "^1.1.1",
|
|
51
67
|
"keyv": "^4.5.4",
|
|
52
68
|
"keyv-cached-with": "^0.0.13",
|
|
53
69
|
"lodash-es": "^4.17.21",
|
|
70
|
+
"lucide-react": "^0.408.0",
|
|
71
|
+
"mail-mime-builder": "^0.1.0",
|
|
72
|
+
"markdown-it": "^14.1.0",
|
|
54
73
|
"md5": "^2.3.0",
|
|
55
74
|
"minimist": "^1.2.8",
|
|
56
75
|
"monaco-editor": "^0.50.0",
|
|
57
|
-
"mongodb": "^6.
|
|
58
|
-
"next-auth": "^5.0.0-beta.
|
|
76
|
+
"mongodb": "^6.8.0",
|
|
77
|
+
"next-auth": "^5.0.0-beta.20",
|
|
59
78
|
"nodemailer": "^6.9.14",
|
|
60
79
|
"octokit": "^4.0.2",
|
|
80
|
+
"open": "^10.1.0",
|
|
81
|
+
"openai": "^4.53.2",
|
|
61
82
|
"p-map": "^7.0.2",
|
|
62
83
|
"peek-log": "^0.0.8",
|
|
63
|
-
"
|
|
64
|
-
"
|
|
84
|
+
"polyfill-text-decoder-stream": "^0.0.9",
|
|
85
|
+
"polyfill-text-encoder-stream": "^0.0.8",
|
|
86
|
+
"pretty-ms": "^9.1.0",
|
|
87
|
+
"promise-all-properties": "^4.0.4",
|
|
65
88
|
"rambda": "^9.2.1",
|
|
66
89
|
"react-api-doc": "^0.0.9",
|
|
67
|
-
"react-hook-form": "^7.52.
|
|
90
|
+
"react-hook-form": "^7.52.1",
|
|
91
|
+
"react-hot-toast": "^2.4.1",
|
|
68
92
|
"react-markdown": "^9.0.1",
|
|
69
|
-
"
|
|
93
|
+
"sflow": "^1.16.17",
|
|
94
|
+
"snoflow": "^1.9.1",
|
|
70
95
|
"sparse-bitfield": "^3.0.3",
|
|
96
|
+
"tailwind-merge": "^2.4.0",
|
|
97
|
+
"tailwindcss-animate": "^1.0.7",
|
|
71
98
|
"toml": "^3.0.0",
|
|
72
99
|
"trpc-openapi": "^1.2.0",
|
|
73
100
|
"ts-pattern": "^5.2.0",
|
|
74
101
|
"unwind-array": "^1.1.4",
|
|
75
102
|
"use-swr-component": "^0.0.5",
|
|
76
|
-
"vercel": "^34.
|
|
77
|
-
"yaml": "^2.
|
|
103
|
+
"vercel": "^34.4.0",
|
|
104
|
+
"yaml": "^2.5.0",
|
|
78
105
|
"zod": "^3.23.8",
|
|
79
|
-
"zx": "^8.1.
|
|
106
|
+
"zx": "^8.1.4"
|
|
80
107
|
},
|
|
81
108
|
"devDependencies": {
|
|
82
|
-
"@types/bun": "^1.1.
|
|
109
|
+
"@types/bun": "^1.1.6",
|
|
83
110
|
"@types/js-yaml": "^4.0.9",
|
|
84
111
|
"@types/json-stable-stringify": "^1.0.36",
|
|
85
112
|
"@types/lodash-es": "^4.17.12",
|
|
86
113
|
"@types/md5": "^2.3.5",
|
|
87
114
|
"@types/minimist": "^1.2.5",
|
|
88
|
-
"@types/node": "^20",
|
|
115
|
+
"@types/node": "^20.14.13",
|
|
89
116
|
"@types/nodemailer": "^6.4.15",
|
|
90
|
-
"@types/react": "^18",
|
|
91
|
-
"@types/react-dom": "^18",
|
|
92
|
-
"eslint": "^8",
|
|
117
|
+
"@types/react": "^18.3.3",
|
|
118
|
+
"@types/react-dom": "^18.3.0",
|
|
119
|
+
"eslint": "^8.57.0",
|
|
93
120
|
"eslint-config-next": "14.2.4",
|
|
94
|
-
"next": "^14.2.
|
|
95
|
-
"postcss": "^8",
|
|
121
|
+
"next": "^14.2.5",
|
|
122
|
+
"postcss": "^8.4.40",
|
|
96
123
|
"prettier-plugin-organize-imports": "^3.2.4",
|
|
97
|
-
"prettier-plugin-packagejson": "^2.5.
|
|
124
|
+
"prettier-plugin-packagejson": "^2.5.1",
|
|
98
125
|
"react": "^18.3.1",
|
|
99
126
|
"react-dom": "^18.3.1",
|
|
100
|
-
"tailwindcss": "^3.4.
|
|
127
|
+
"tailwindcss": "^3.4.7",
|
|
101
128
|
"ts-toolbelt": "^9.6.0",
|
|
102
|
-
"typescript": "^5.5.
|
|
129
|
+
"typescript": "^5.5.4"
|
|
103
130
|
},
|
|
104
131
|
"peerDependencies": {
|
|
105
132
|
"typescript": "^5.4.5"
|