Skip to content

Commit 9304459

Browse files
committed
feat: wont fetch prompts in every building
1 parent 30676d1 commit 9304459

File tree

4 files changed

+1166
-11
lines changed

4 files changed

+1166
-11
lines changed

.gitignore

+1-3
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,8 @@ yarn-error.log*
3636
next-env.d.ts
3737
dev
3838

39-
public/prompts.json
40-
4139
.vscode
4240
.idea
4341

4442
# docker-compose env files
45-
.env
43+
.env

package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
"private": false,
55
"license": "Anti 996",
66
"scripts": {
7-
"dev": "yarn fetch && next dev",
8-
"build": "yarn fetch && next build",
7+
"dev": "next dev",
8+
"build": "next build",
99
"start": "next start",
1010
"lint": "next lint",
11-
"fetch": "node ./scripts/fetch-prompts.mjs",
11+
"prompts": "node ./scripts/fetch-prompts.mjs",
1212
"prepare": "husky install",
1313
"proxy-dev": "sh ./scripts/init-proxy.sh && proxychains -f ./scripts/proxychains.conf yarn dev"
1414
},

0 commit comments

Comments
 (0)