-
Notifications
You must be signed in to change notification settings - Fork 16
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
Discover endpoints #188
Discover endpoints #188
Conversation
package.json
Outdated
@@ -88,7 +88,8 @@ | |||
"typecheck:src": "tsc --noEmit -p ./tsconfig.prod.json", | |||
"typecheck:examples": "tsc --noEmit -p ./examples/tsconfig.json", | |||
"typecheck": "npm run typecheck:src && npm run typecheck:examples", | |||
"cloudapi:update": "git submodule update --remote" | |||
"cloudapi:update": "git submodule update --remote", | |||
"discover_endpoints": "ts-node scripts/discover_endpoints" |
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.
Давай придерживаться какого-то консистентного нейминга?)
<subsystem>:<action>
В данном случае предлагаю cloudapi:discover-endpoints
.
generate_services
можно под этот же шаблон подогнать.
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.
discover-endpoints никак не взаимодействует с cloudapi
tsconfig.json
Outdated
"strict": true, | ||
"skipLibCheck": true, | ||
"resolveJsonModule": true, | ||
"lib": ["ES2021", "DOM"], |
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.
fetch же часть nodejs api, зачем DOM то?)
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.
fetch же часть nodejs api
- нет, это браузерный сахар
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.
- Можно обновить
@types/node
до 18, там уже есть fetch-api. - В проекте есть
axios
.
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.
6b3d260
to
7ef96e4
Compare
🎉 This PR is included in version 3.0.0-alpha.12 🎉 The release is available on: Your semantic-release bot 📦🚀 |
No description provided.