Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
src/abi
src/model

15 changes: 12 additions & 3 deletions .prettierrc
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,18 @@
"trailingComma": "all",
"tabWidth": 2,
"semi": false,
"importOrder": ["^@core/(.*)$", "^@server/(.*)$", "^@ui/(.*)$", "^[./]"],
"importOrder": [
"<THIRD_PARTY_MODULES>",
"^@",
"^[./]"
],
"importOrderSeparation": true,
"importOrderSortSpecifiers": true,
"importOrderParserPlugins": ["typescript", "decorators-legacy"],
"plugins": ["@trivago/prettier-plugin-sort-imports"]
"importOrderParserPlugins": [
"typescript",
"decorators-legacy"
],
"plugins": [
"@trivago/prettier-plugin-sort-imports"
]
}
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ sqd down # Bring down squid container
sqd up # Bring up squid container
sqd process:oeth # Run OETH processor
sqd process:ousd # Run OUSD processor
sqd process:other # Run misc processor
sqd process:mainnet # Run misc processor
sqd migration:generate # Generate migration (sqd down && sqd up first)
```

Expand Down
19 changes: 15 additions & 4 deletions commands.json
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@
"cmd": [
"node",
"--require=dotenv/config",
"--require=tsconfig-paths/register",
"lib/main.js"
]
},
Expand All @@ -108,6 +109,7 @@
"cmd": [
"node",
"--require=dotenv/config",
"--require=tsconfig-paths/register",
"lib/main-arbitrum.js"
]
},
Expand All @@ -119,6 +121,7 @@
"cmd": [
"node",
"--require=dotenv/config",
"--require=tsconfig-paths/register",
"lib/main-oeth.js"
]
},
Expand All @@ -130,6 +133,7 @@
"cmd": [
"node",
"--require=dotenv/config",
"--require=tsconfig-paths/register",
"lib/main-ousd.js"
]
},
Expand All @@ -141,18 +145,20 @@
"cmd": [
"node",
"--require=dotenv/config",
"--require=tsconfig-paths/register",
"lib/main-ogv.js"
]
},
"process:other": {
"process:mainnet": {
"description": "Load .env and start the squid processor",
"deps": [
"build"
],
"cmd": [
"node",
"--require=dotenv/config",
"lib/main-other.js"
"--require=tsconfig-paths/register",
"lib/main-mainnet.js"
]
},
"process:arbitrum:prod": {
Expand All @@ -162,6 +168,7 @@
],
"cmd": [
"node",
"--require=tsconfig-paths/register",
"lib/main-arbitrum.js"
],
"hidden": true
Expand All @@ -173,6 +180,7 @@
],
"cmd": [
"node",
"--require=tsconfig-paths/register",
"lib/main-oeth.js"
],
"hidden": true
Expand All @@ -184,6 +192,7 @@
],
"cmd": [
"node",
"--require=tsconfig-paths/register",
"lib/main-ousd.js"
],
"hidden": true
Expand All @@ -195,18 +204,20 @@
],
"cmd": [
"node",
"--require=tsconfig-paths/register",
"lib/main-ogv.js"
],
"hidden": true
},
"process:other:prod": {
"process:mainnet:prod": {
"description": "Start the squid processor",
"deps": [
"migration:apply"
],
"cmd": [
"node",
"lib/main-other.js"
"--require=tsconfig-paths/register",
"lib/main-mainnet.js"
],
"hidden": true
},
Expand Down

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions dev.env
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
TS_NODE_BASEURL=./lib
DB_NAME=squid
DB_PORT=23798
GQL_PORT=4350
Expand Down
5 changes: 5 additions & 0 deletions graphql.config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ projects:
schema: schema-general.graphql
include:
- types.graphql
otoken:
schema: schema-otoken.graphql
include:
- schema-general.graphql
- types.graphql
oeth:
schema: schema-oeth.graphql
include:
Expand Down
Loading