-
Notifications
You must be signed in to change notification settings - Fork 4
refactor: introduce monorepo-like layout #323
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Changes from all commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
dc718ce
refactor: `lib/migrate.js` → `migrations/index.js`
bajtos a737aae
refactor: move spark-api files to a subdir
bajtos 03237f0
fixup! fix tests + run per-project tests only
bajtos 55f946e
Merge branch 'main' into monorepo
bajtos a202151
fixup! add mocha config
bajtos 6a82285
fixup! update package lock
bajtos a88a17b
docs: update start scripts & README
bajtos 3166bd7
fix: "npm run migrate"
bajtos d77af20
ci: update GHA workflow
bajtos 1c4d223
fixup! build-api should test only spark-api
bajtos 6e7af32
docker build using a shared Dockerfile
bajtos 19c46a1
single Dockerfile shared by all pckages
bajtos 554f426
remove per-project .dockerignore files
bajtos a668dae
fix GHA CI cmd for testing spark api
bajtos c7d99f5
fixup! commit .gitignore
bajtos bdbe7e9
feat: npm workspaces (#326)
bajtos fabab97
Merge branch 'main' into monorepo
bajtos dea9f21
drop `spark-` prefix from directory names
bajtos 052a4b7
shared ie-contract-config and test-helpers
bajtos 6371ae5
simplify Dockerfile - rework ARG SERVICE to ENV
bajtos 00da105
update fly.toml to match the new Dockerfile
bajtos d964af9
ci: update the deployment command
bajtos 568f597
fixup! dependabot config - remove /spark-publish
bajtos 30ed273
Merge branch 'main' into monorepo
bajtos File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.