-
Notifications
You must be signed in to change notification settings - Fork 0
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
fix: remove public-api files to reduce import possibilities #412
fix: remove public-api files to reduce import possibilities #412
Conversation
This stack of pull requests is managed by Graphite. Learn more about stacking. Join @davidlj95 and the rest of your teammates on Graphite |
@@ -2,7 +2,6 @@ | |||
"$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", | |||
"dest": "../dist", | |||
"lib": { | |||
"entryFile": "public-api.ts" | |||
}, | |||
"assets": ["tsdoc-metadata.json"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
whooops, this was a leftover from when trying to publish that file
📦 Bundle size (Angular v16)Git ref:
Base size data is not available yet. Try again when the CI/CD has finished running on main branch |
📦 Bundle size (Angular v17)Git ref:
Base size data is not available yet. Try again when the CI/CD has finished running on main branch |
📦 Bundle size (Angular v15)Git ref:
Base size data is not available yet. Try again when the CI/CD has finished running on main branch |
🎉 This PR is included in version 1.0.0-alpha.46 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Proposed changes
Removes a chance from importing from
public-api.ts
whilst we solve Typescript definitions rollup (see #411)Uses
index.ts
asng-packagr
entry point instead, which will be used for Typescript path mappings too. A file less to maintain indeed.And given we were not separating from public / internal APIs in there, it wasn't really used. So was there to follow the convention mostly
Quick reminders