Skip to content
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

feat(types): Introduce @sentry/types package #1332

Merged
merged 2 commits into from
May 17, 2018
Merged

feat(types): Introduce @sentry/types package #1332

merged 2 commits into from
May 17, 2018

Conversation

kamilogorek
Copy link
Contributor

@kamilogorek kamilogorek commented May 16, 2018

"The more packages, the better"™

screen shot 2018-05-16 at 15 56 40

import * as Shim from '@sentry/shim';
import {
bindClient as shimBindClient,
getCurrentClient as shimGetCurrentClient,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Really?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, alright then :)

@@ -14,6 +14,9 @@
"publishConfig": {
"access": "public"
},
"dependencies": {
"@sentry/types": "0.5.4"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Going forward, we should probably also provide a rollup build without that dependency for our CDN, just like the @sentry/browser package. This would allow users to include a single javascript file to shim sentry instead of having to install multiple packages for use cases without sophisticated bundlers.

{
"name": "@sentry/types",
"version": "0.5.4",
"lockfileVersion": 1,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did that lockfile get here by accident?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yup, removed it.

@kamilogorek kamilogorek merged commit b394c73 into next May 17, 2018
@kamilogorek kamilogorek deleted the sentry-types branch May 17, 2018 09:05
@kamilogorek kamilogorek restored the sentry-types branch August 28, 2018 12:31
@kamilogorek kamilogorek deleted the sentry-types branch August 28, 2018 13:34
@kamilogorek kamilogorek restored the sentry-types branch August 28, 2018 16:01
@HazAT HazAT deleted the sentry-types branch September 17, 2018 14:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants