Skip to content

Feat/migration docs #1959

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

Merged
merged 8 commits into from
Mar 28, 2019
Merged

Feat/migration docs #1959

merged 8 commits into from
Mar 28, 2019

Conversation

HazAT
Copy link
Member

@HazAT HazAT commented Mar 26, 2019

This makes sure we upload and expose @sentry/integrations the right way.
Also, we added integrations to sdk in the event.

@HazAT HazAT self-assigned this Mar 26, 2019
@HazAT HazAT requested a review from kamilogorek as a code owner March 26, 2019 11:56
@getsentry-bot
Copy link
Contributor

getsentry-bot commented Mar 26, 2019

Warnings
⚠️ Please add a changelog entry for your changes.
Messages
📖 ✅ TSLint passed
📖

@sentry/browser bundle gzip'ed minified size: (ES5: 15.6279 kB) (ES6: 14.2871 kB)

Generated by 🚫 dangerJS against bb45e0d


```js
import * as Sentry from '@sentry/browser';
import * as Integrations from '@sentry/integrations';
Copy link
Contributor

@wong2 wong2 Mar 27, 2019

Choose a reason for hiding this comment

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

I tried 5.0.0-rc.3 with node

> require('@sentry/integrations')
{ Error: Cannot find module '@sentry/integrations'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:580:15)
    at Function.Module._load (internal/modules/cjs/loader.js:506:25)
    at Module.require (internal/modules/cjs/loader.js:636:17)
    at require (internal/modules/cjs/helpers.js:20:18) code: 'MODULE_NOT_FOUND' }

Copy link
Member Author

Choose a reason for hiding this comment

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

@wong2 Yeah, I changed it in this PR to expose index.js in package.json
This will work with rc.4 sorry

Copy link
Contributor

Choose a reason for hiding this comment

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

@HazAT oh I missed that, thanks a lot

@HazAT
Copy link
Member Author

HazAT commented Mar 27, 2019

@mitsuhiko this also fixed the integration array in sdk info
image

kamilogorek and others added 2 commits March 27, 2019 11:03
Co-Authored-By: HazAT <daniel.griesser.86@gmail.com>
@HazAT HazAT merged commit b8691d3 into master Mar 28, 2019
@HazAT HazAT deleted the feat/migration-docs branch March 28, 2019 07:33
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.

4 participants