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

[BUGFIX release] fix type overrides #6256

Merged
merged 2 commits into from
Jul 18, 2019
Merged

[BUGFIX release] fix type overrides #6256

merged 2 commits into from
Jul 18, 2019

Conversation

runspired
Copy link
Contributor

Updates how we guard against stripping types by:

  • not running ts:precompile
  • ignoring any .d.ts files in our .npmignore
  • ignoring the /types/ directory in each package where overrides live

See https://typed-ember.github.io/ember-cli-typescript/versions/master/docs/ts-guide/with-addons#publishing

@mike-north
Copy link
Contributor

Given that this is a fix for a regression, can we write a test (maybe just a shell script we can && with the existing tests) to ensure this covers all of our bases?

Copy link
Member

@igorT igorT left a comment

Choose a reason for hiding this comment

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

Good point on a test

@runspired
Copy link
Contributor Author

Opened an issue for adding a test: #6261

Likely what we want is something that uses the latest ember-cli, ember-cli-typescript, ember-data to create an app, scaffold a few things (adapters / serializers / models) and ensure it can build without erring

@runspired runspired merged commit 9cc2adc into master Jul 18, 2019
@delete-merged-branch delete-merged-branch bot deleted the bugfix/type-stripping branch July 18, 2019 21:05
runspired added a commit that referenced this pull request Jul 18, 2019
* [BUGFIX release] safer type stripping strategy

* remove uneeded command parts
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