Skip to content

ref(ember): Add type definitions for Ember #3531

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 1 commit into from
May 12, 2021

Conversation

k-fish
Copy link
Member

@k-fish k-fish commented May 11, 2021

Summary

Since we aren't running 'prepublishOnly' via Lerna, Ember-cli-typescript's precompile wasn't getting called. A pre and post publish call will temporarily create the definitions for publishing and remove them afterwards. This is required since .ts files can't be included in the app folder in Ember since they get merged as-is into a project file structure.

Note: Can someone from sdk confirm that prepublishOnly will get called before our release script is run?

Refs #3516

Since we aren't running 'prepublishOnly' via Lerna, Ember-cli-typescript's precompile wasn't getting called. A pre and post publish call will temporarily create the definitions for publishing and remove them afterwards. This is required since .ts files can't be included in the app folder in Ember since they get merged as-is into a project file structure.
@k-fish k-fish requested a review from kamilogorek as a code owner May 11, 2021 19:16
@github-actions
Copy link
Contributor

size-limit report

Path Size
@sentry/browser - CDN Bundle (gzipped) 20.65 KB (+0.01% 🔺)
@sentry/browser - Webpack 21.52 KB (0%)
@sentry/react - Webpack 21.55 KB (0%)
@sentry/browser + @sentry/tracing - CDN Bundle (gzipped) 28.01 KB (+0.01% 🔺)

@HazAT HazAT merged commit bb323bc into master May 12, 2021
@HazAT HazAT deleted the ref/ember-add-precompile-type-definition branch May 12, 2021 07:51
@kamilogorek
Copy link
Contributor

Note: Can someone from sdk confirm that prepublishOnly will get called before our release script is run?

It will.

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.

3 participants