Skip to content

Commit

Permalink
fix: run go mod tidy and add some go: commands to package.json
Browse files Browse the repository at this point in the history
Signed-off-by: tylerslaton <[email protected]>
  • Loading branch information
tylerslaton committed Mar 19, 2024
1 parent 846bfb5 commit 78923ad
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,7 @@ logs
.env
.env.*
!.env.example

# Go binaries
indexer/indexer
parser/parser
2 changes: 1 addition & 1 deletion indexer/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ go 1.22.1
require (
github.com/gptscript-ai/gptscript v0.1.5
github.com/lib/pq v1.10.9
github.com/sirupsen/logrus v1.9.3
)

require (
Expand All @@ -14,7 +15,6 @@ require (
github.com/mattn/go-runewidth v0.0.9 // indirect
github.com/olekukonko/tablewriter v0.0.5 // indirect
github.com/sashabaranov/go-openai v1.20.1 // indirect
github.com/sirupsen/logrus v1.9.3 // indirect
github.com/ssor/bom v0.0.0-20170718123548-6386211fdfcf // indirect
golang.org/x/net v0.20.0 // indirect
golang.org/x/sys v0.16.0 // indirect
Expand Down
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@
"preview": "nuxt preview",
"postinstall": "nuxt prepare",
"start": "nuxt start",
"start:migrate": "npx prisma migrate deploy && yarn start"
"start:migrate": "npx prisma migrate deploy && yarn start",
"go:tidy": "(cd indexer && go mod tidy) && (cd parser && go mod tidy)",
"go:build": "(cd indexer && go build) && (cd parser && go build)"
},
"dependencies": {
"@octokit/core": "^6.0.1",
Expand Down

0 comments on commit 78923ad

Please sign in to comment.