-
-
Notifications
You must be signed in to change notification settings - Fork 20
feat: Update normalize func to replace node- prefixes with javascript- #198
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
Conversation
constantinius
left a comment
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.
Looks like a sensible solution.
| node: "nodejs", | ||
| "node-awslambda": "awslambda", | ||
| "node-azurefunctions": "azure-functions", | ||
| "node-cloudflare-pages": "cloudflare", | ||
| "node-cloudflare-workers": "cloudflare", | ||
| "node-connect": "connect", | ||
| "node-express": "express", | ||
| "node-fastify": "fastify", | ||
| "node-gcpfunctions": "gcp-functions", | ||
| "node-hapi": "hapi", | ||
| "node-koa": "koa", | ||
| "node-nestjs": "nestjs", | ||
| "node-serverlesscloud": "serverless", | ||
| nvidia: "nvidia", |
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.
I agree that we do this, just note that this is a breaking change and we need to bump to the next major version on release.
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.
yeap. I am aware of that :)
Co-authored-by: ArthurKnaus <[email protected]>
This change will break the const platforms for users, but it’s likely only used in the Sentry icon stories. I considered adding
@deprecationwarning types, but since Object.keys() removes the types, it didn’t seem effective.Other than that, users using the component
<PlatformIcons />passing a platform with a 'node-' prefix will be unaffectedcontributes to
node-withjavascript-sentry#83988