Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP support commit #27

Open
wants to merge 3 commits into
base: dev
Choose a base branch
from
Open

WIP support commit #27

wants to merge 3 commits into from

Conversation

shepherdwind
Copy link

now we can test commit by run this command

$ ./bin/cli.js commit --commit-diff ./test/mock/a.diff

package.json Outdated
"tsup": "^6.7.0",
"typescript": "^5.0.3"
},
"jest": {
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

加一个 jest config 配置文件吧, package json 东西少一点

@luffy-xu luffy-xu changed the base branch from main to dev April 7, 2023 16:29
@shepherdwind shepherdwind changed the title [WIP] support commit WIP support commit Apr 8, 2023
return sorted;
}

getFilePrompts(diffFile?: string, len = 5) {
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

可以这边就负责读 文件就行,在 prompt map 那边,根据读的diff 文件,生成 prompt?

{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

.vscode 可以 ignore 了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants