Skip to content

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

Merged
kamilogorek merged 2 commits into
nextfrom
sentry-types
May 17, 2018
Merged

feat(types): Introduce @sentry/types package#1332
kamilogorek merged 2 commits into
nextfrom
sentry-types

Conversation

@kamilogorek
Copy link
Copy Markdown
Contributor

@kamilogorek kamilogorek commented May 16, 2018

"The more packages, the better"™

screen shot 2018-05-16 at 15 56 40

Comment thread packages/core/src/sdk.ts
import * as Shim from '@sentry/shim';
import {
bindClient as shimBindClient,
getCurrentClient as shimGetCurrentClient,
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Really?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Ah, alright then :)

"access": "public"
},
"dependencies": {
"@sentry/types": "0.5.4"
Copy link
Copy Markdown
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.

Comment thread packages/types/package-lock.json Outdated
{
"name": "@sentry/types",
"version": "0.5.4",
"lockfileVersion": 1,
Copy link
Copy Markdown
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
Copy Markdown
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.

2 participants