-
Notifications
You must be signed in to change notification settings - Fork 32
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
fixing restapi gh actions flake #3139
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||
---|---|---|---|---|
|
@@ -8,14 +8,14 @@ | |||
"scripts": { | ||||
"build": "tsc", | ||||
"build:go": " ", | ||||
"build:slither": " ", | ||||
"dev": "nodemon --watch src --exec ts-node src/app.ts", | ||||
"start": "node dist/app.js", | ||||
"lint:fix": "eslint src/**/*.ts --fix", | ||||
"lint:check": "eslint . --max-warnings=0", | ||||
"ci:lint": "npm run lint:check", | ||||
"test": "jest", | ||||
"test:coverage": "echo 'No tests defined.'", | ||||
"postinstall": "npm run build" | ||||
"test:coverage": "echo 'No tests defined.'" | ||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 'test:coverage' script provides no functional value The Apply this diff to remove the non-functional script: - "test:coverage": "echo 'No tests defined.'" Committable suggestion
Suggested change
|
||||
}, | ||||
"dependencies": { | ||||
"@ethersproject/bignumber": "^5.7.0", | ||||
|
@@ -26,7 +26,9 @@ | |||
"ethers": "5.7.2", | ||||
"express": "^4.18.2", | ||||
"express-validator": "^7.2.0", | ||||
"lodash": "^4.17.21" | ||||
"lodash": "^4.17.21", | ||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Duplicate 'lodash' dependency The If - "lodash": "^4.17.21",
|
||||
"supertest": "^6.3.3", | ||||
"typescript": "^4.8.3" | ||||
Comment on lines
+30
to
+31
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Move 'supertest' and 'typescript' back to 'devDependencies'
Apply this diff to move them back to - "supertest": "^6.3.3",
- "typescript": "^4.8.3" Add them to + "supertest": "^6.3.3",
+ "typescript": "^4.8.3"
|
||||
}, | ||||
"description": "A node.js project exposing a rest api for synapse sdk quotes", | ||||
"devDependencies": { | ||||
|
@@ -39,9 +41,7 @@ | |||
"jest": "^29.7.0", | ||||
"lodash": "^4.17.21", | ||||
"nodemon": "^3.0.1", | ||||
"supertest": "^6.3.3", | ||||
"ts-jest": "^29.2.5", | ||||
"ts-node": "^10.9.2", | ||||
"typescript": "^4.8.3" | ||||
"ts-node": "^10.9.2" | ||||
} | ||||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Empty 'build:slither' script may cause confusion
The
build:slither
script has been added with an empty command (" "
). This could lead to confusion or unintended behavior if someone tries to execute it. If the script is not yet implemented, consider removing it until it's ready or providing a meaningful command.Apply this diff to remove the empty script:
- "build:slither": " ",
Committable suggestion