-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: introduce monorepo-like layout (#323)
Introduce the following repository layout: - `bin` contains scripts shared by all components, currently `bin/migrate.js` - `migrations` contains SQL migrations scripts and `index.js` for running them - each component has its own directory with its own fly.toml - logshipper - api - spark-db - publish - there is a single Dockerfile shared by all workspaces - `publish` and `api` are npm workspaces with their own `package.json` file - the top-level `package.json` file is a npm workspace root Signed-off-by: Miroslav Bajtoš <[email protected]>
- Loading branch information
Showing
37 changed files
with
2,700 additions
and
7,698 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,3 +3,4 @@ Dockerfile | |
.dockerignore | ||
node_modules | ||
.git | ||
.env |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
{ | ||
"name": "@filecoin-station/spark-api", | ||
"private": true, | ||
"version": "0.0.0", | ||
"license": "MIT", | ||
"repository": "filecoin-station/spark-api", | ||
"type": "module", | ||
"description": "API for SPARK", | ||
"scripts": { | ||
"start": "node bin/spark.js", | ||
"lint": "standard", | ||
"test": "mocha" | ||
}, | ||
"devDependencies": { | ||
"light-my-request": "^5.13.0", | ||
"mocha": "^10.4.0", | ||
"standard": "^17.1.0", | ||
"varint": "^6.0.0" | ||
}, | ||
"dependencies": { | ||
"@filecoin-station/spark-impact-evaluator": "^1.1.1", | ||
"@glif/filecoin-address": "^3.0.5", | ||
"@sentry/node": "^8.7.0", | ||
"compare-versions": "^6.1.0", | ||
"ethers": "^6.12.1", | ||
"http-assert": "^1.5.0", | ||
"http-responders": "^2.0.2", | ||
"multiformats": "^13.1.0", | ||
"pg": "^8.11.5", | ||
"postgrator": "^7.2.0", | ||
"raw-body": "^2.5.2" | ||
}, | ||
"standard": { | ||
"env": [ | ||
"mocha" | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
Oops, something went wrong.