Skip to content

Commit

Permalink
feat: wont fetch prompts in every building
Browse files Browse the repository at this point in the history
  • Loading branch information
Yidadaa committed May 17, 2023
1 parent 30676d1 commit 9304459
Show file tree
Hide file tree
Showing 4 changed files with 1,166 additions and 11 deletions.
4 changes: 1 addition & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,8 @@ yarn-error.log*
next-env.d.ts
dev

public/prompts.json

.vscode
.idea

# docker-compose env files
.env
.env
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
"private": false,
"license": "Anti 996",
"scripts": {
"dev": "yarn fetch && next dev",
"build": "yarn fetch && next build",
"dev": "next dev",
"build": "next build",
"start": "next start",
"lint": "next lint",
"fetch": "node ./scripts/fetch-prompts.mjs",
"prompts": "node ./scripts/fetch-prompts.mjs",
"prepare": "husky install",
"proxy-dev": "sh ./scripts/init-proxy.sh && proxychains -f ./scripts/proxychains.conf yarn dev"
},
Expand Down
Loading

0 comments on commit 9304459

Please sign in to comment.