mirror of
https://github.com/cocktailpeanut/dalai
synced 2025-02-21 11:40:59 +01:00
Add .prettierignore file to avoid auto-formatting files (and complicate PR merges); but also add .prettierrc and yarn script to auto-format the entire repo to encourage the decision to enable this ability
This commit is contained in:
parent
926303a3c9
commit
e62611fa2f
1
.prettierignore
Normal file
1
.prettierignore
Normal file
@ -0,0 +1 @@
|
||||
*
|
3
.prettierrc.json
Normal file
3
.prettierrc.json
Normal file
@ -0,0 +1,3 @@
|
||||
{
|
||||
"semi": true
|
||||
}
|
@ -8,7 +8,8 @@
|
||||
"scripts": {
|
||||
"download": "./dalai llama",
|
||||
"start": "./dalai serve",
|
||||
"just:run": "yarn && yarn download && yarn start"
|
||||
"just:run": "yarn && yarn download && yarn start",
|
||||
"just:fix": "npx prettier --write ."
|
||||
},
|
||||
"dependencies": {
|
||||
"node-pty": "^0.10.1",
|
||||
@ -19,5 +20,8 @@
|
||||
"ejs": "^3.1.8",
|
||||
"express": "^4.18.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"prettier": "^2.8.4"
|
||||
},
|
||||
"bin": "bin/cli.js"
|
||||
}
|
||||
|
18
yarn.lock
18
yarn.lock
@ -196,19 +196,6 @@ cwise-compiler@^1.1.2:
|
||||
dependencies:
|
||||
uniq "^1.0.0"
|
||||
|
||||
dalai@^0.0.13:
|
||||
version "0.0.13"
|
||||
resolved "https://registry.yarnpkg.com/dalai/-/dalai-0.0.13.tgz#60177144fd9268c2376978194f9f9b92c0649416"
|
||||
integrity sha512-ohmrr505UOQcZumDi5041A5lFB0tHg3D8o2H28d9rcHFmczAORw4ZJUDAbXPmFHzoIWYh4MfJ8PhcqpKGadfNQ==
|
||||
dependencies:
|
||||
ejs "^3.1.8"
|
||||
express "^4.18.2"
|
||||
node-pty "^0.10.1"
|
||||
nodejs-file-downloader "^4.10.6"
|
||||
socket.io "^4.6.1"
|
||||
socket.io-client "^4.6.1"
|
||||
terminal-kit "^3.0.0"
|
||||
|
||||
debug@2.6.9:
|
||||
version "2.6.9"
|
||||
resolved "https://registry.yarnpkg.com/debug/-/debug-2.6.9.tgz#5d128515df134ff327e90a4c93f4e077a536341f"
|
||||
@ -612,6 +599,11 @@ pngjs@^6.0.0:
|
||||
resolved "https://registry.yarnpkg.com/pngjs/-/pngjs-6.0.0.tgz#ca9e5d2aa48db0228a52c419c3308e87720da821"
|
||||
integrity sha512-TRzzuFRRmEoSW/p1KVAmiOgPco2Irlah+bGFCeNfJXxxYGwSw7YwAOAcd7X28K/m5bjBWKsC29KyoMfHbypayg==
|
||||
|
||||
prettier@^2.8.4:
|
||||
version "2.8.4"
|
||||
resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.8.4.tgz#34dd2595629bfbb79d344ac4a91ff948694463c3"
|
||||
integrity sha512-vIS4Rlc2FNh0BySk3Wkd6xmwxB0FpOndW5fisM5H8hsZSxU2VWVB5CWIkIjWvrHjIhxk2g3bfMKM87zNTrZddw==
|
||||
|
||||
proxy-addr@~2.0.7:
|
||||
version "2.0.7"
|
||||
resolved "https://registry.yarnpkg.com/proxy-addr/-/proxy-addr-2.0.7.tgz#f19fe69ceab311eeb94b42e70e8c2070f9ba1025"
|
||||
|
Loading…
x
Reference in New Issue
Block a user