Skip to content

Commit

Permalink
add prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
prevostc committed Mar 16, 2024
1 parent a7af2ea commit da7f12b
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 3 deletions.
File renamed without changes.
1 change: 1 addition & 0 deletions .prettierrc.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
module.exports = {
"plugins": ["assemblyscript-prettier"],
"endOfLine": "lf",
"printWidth": 120,
"tabWidth": 2,
Expand Down
8 changes: 6 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@
"postinstall": "npm run codegen",
"codegen": "rm -Rf generated && graph codegen",
"build": "graph build",
"test": "graph test",
"test": "yarn run --silent test:lint && yarn run --silent test:graph",
"test:graph": "graph test",
"test:lint": "prettier . --check",
"create-local": "graph create beefyfinance/beefy-cl --node http://127.0.0.1:8020",
"deploy-local": "graph deploy beefyfinance/beefy-cl --node http://127.0.0.1:8020 --ipfs http://localhost:5001",
"remove-local": "graph remove beefyfinance/beefy-cl --node http://127.0.0.1:8020",
Expand All @@ -25,5 +27,7 @@
"prettier": "^3.2.5",
"typescript": "^5.3.3"
},
"dependencies": {}
"dependencies": {
"assemblyscript-prettier": "^3.0.1"
}
}
22 changes: 21 additions & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -831,6 +831,13 @@ asn1js@^3.0.1, asn1js@^3.0.5:
pvutils "^1.1.3"
tslib "^2.4.0"

assemblyscript-prettier@^3.0.1:
version "3.0.1"
resolved "https://registry.yarnpkg.com/assemblyscript-prettier/-/assemblyscript-prettier-3.0.1.tgz#e0322f680655b96330c1252a966dc368ad9364d9"
integrity sha512-q5D9rJOr1xG8p2MdcAF3wvIBPrmHaKgenJbmYrwM1T96sHKFeTOfCtgHHmrDnrqoly7wSGfWtbE84omC1IUJEA==
dependencies:
assemblyscript "~0.27.0"

[email protected]:
version "0.19.10"
resolved "https://registry.yarnpkg.com/assemblyscript/-/assemblyscript-0.19.10.tgz#7ede6d99c797a219beb4fa4614c3eab9e6343c8e"
Expand All @@ -848,6 +855,14 @@ [email protected]:
long "^5.2.0"
source-map-support "^0.5.20"

assemblyscript@~0.27.0:
version "0.27.25"
resolved "https://registry.yarnpkg.com/assemblyscript/-/assemblyscript-0.27.25.tgz#28d41395f6da64fbf48dc4f06ab4ab2f9bcc7deb"
integrity sha512-hkx6Vz+EFVA2hqFfnTWfO14892scFIkJzdXyqfXUoBS76cLbar0PFJQ7yZuL9m/i5xpjFk9Bz2094uHLh7W5UA==
dependencies:
binaryen "116.0.0-nightly.20240114"
long "^5.2.1"

[email protected], assert-plus@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/assert-plus/-/assert-plus-1.0.0.tgz#f12e0f3c5d77b0b1cdd9146942e4e96c1e4dd525"
Expand Down Expand Up @@ -938,6 +953,11 @@ [email protected]:
resolved "https://registry.yarnpkg.com/binaryen/-/binaryen-102.0.0-nightly.20211028.tgz#8f1efb0920afd34509e342e37f84313ec936afb2"
integrity sha512-GCJBVB5exbxzzvyt8MGDv/MeUjs6gkXDvf4xOIItRBptYl0Tz5sm1o/uG95YK0L0VeG5ajDu3hRtkBP2kzqC5w==

[email protected]:
version "116.0.0-nightly.20240114"
resolved "https://registry.yarnpkg.com/binaryen/-/binaryen-116.0.0-nightly.20240114.tgz#ad8bfbde77d4cb4715b93997114eefc30f45155b"
integrity sha512-0GZrojJnuhoe+hiwji7QFaL3tBlJoA+KFUN7ouYSDGZLSo9CKM8swQX8n/UcbR0d1VuZKU+nhogNzv423JEu5A==

bl@^1.0.0:
version "1.2.3"
resolved "https://registry.yarnpkg.com/bl/-/bl-1.2.3.tgz#1e8dd80142eac80d7158c9dccc047fb620e035e7"
Expand Down Expand Up @@ -2601,7 +2621,7 @@ long@^4.0.0:
resolved "https://registry.yarnpkg.com/long/-/long-4.0.0.tgz#9a7b71cfb7d361a194ea555241c92f7468d5bf28"
integrity sha512-XsP+KhQif4bjX1kbuSiySJFNAehNxgLb6hPRGJ9QsUr8ajHkuXGdrHmFUTUUXhDwVX2R5bY4JNZEwbUiMhV+MA==

long@^5.2.0:
long@^5.2.0, long@^5.2.1:
version "5.2.3"
resolved "https://registry.yarnpkg.com/long/-/long-5.2.3.tgz#a3ba97f3877cf1d778eccbcb048525ebb77499e1"
integrity sha512-lcHwpNoggQTObv5apGNCTdJrO69eHOZMi4BNC+rTLER8iHAqGrUVeLh/irVIM7zTw2bOXA8T6uNPeujwOLg/2Q==
Expand Down

0 comments on commit da7f12b

Please sign in to comment.