Skip to content

WIP - AIO: Third party library guide#16486

Closed
filipesilva wants to merge 7 commits intoangular:masterfrom
IdeaBlade:new-cb-third-party-lib
Closed

WIP - AIO: Third party library guide#16486
filipesilva wants to merge 7 commits intoangular:masterfrom
IdeaBlade:new-cb-third-party-lib

Conversation

@filipesilva
Copy link
Copy Markdown
Contributor

@filipesilva filipesilva commented May 2, 2017

Please check if the PR fulfills these requirements

What kind of change does this PR introduce? (check one with "x")

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[x] Other... Please describe: AIO third party lib guide

What is the current behavior? (You can also link to an open issue here)
N/A

What is the new behavior?
A guide for third party library development is added. This PR is a port from angular/angular.io#3411.

Does this PR introduce a breaking change? (check one with "x")

[ ] Yes
[x] No

If this PR contains a breaking change, please describe the impact and migration path for existing applications: ...

Other information:
For now the quickstart lib seed is hosted at https://github.com/filipesilva/angular-quickstart-lib. It should be hosted under the angular org upon release.

/cc @wardbell @alxhub

@mary-poppins
Copy link
Copy Markdown

The angular.io preview for 1c9e4ce4cd170640def0191d93a57c88a22bf7aa is available here.

Copy link
Copy Markdown
Member

@gkalpak gkalpak left a comment

Choose a reason for hiding this comment

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

That will be really helpful for library authors 👍

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.

Inconsistent capitalization AOT (here) vs AOT (above).

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.

Fixed

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.

I've noticed several variations throughout the text for terms like AOT anf JIT (e.g. "AoT" vs "AOT", "Ahead of Time" vs "Ahead-of-time" etc). I think we should be consistent.

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.

Fixed

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.

bundle --> code (?)

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.

Fixed

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.

were followed copied onto the same file file --> ?

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.

Fixed

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.

The link is invalid. Is the project supposed to be created later?

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.

Correct, for now it is in https://github.com/filipesilva/angular-quickstart-lib. When this guide is approved we can move the codebase under the Angular org.

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.

Wrong link. It should be guide/third-party-lib#appendix-dependency-management.

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.

Fixed

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.

? --> . (?)

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.

Fixed

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.

app --> library

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.

Fixed

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.

Remove this line.

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.

Fixed

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.

peer Dependency --> peer dependency (?)

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.

Fixed

@FriOne
Copy link
Copy Markdown

FriOne commented May 10, 2017

@filipesilva It would be nice to have a seed on github for this instead of text(or both). Thanks, It should help me to solve a problem.

@filipesilva
Copy link
Copy Markdown
Contributor Author

@FriOne the seed is temporarily at https://github.com/filipesilva/angular-quickstart-lib

@filipesilva
Copy link
Copy Markdown
Contributor Author

Thank you for the review @gkalpak, lots of improvements there.

@danwulff
Copy link
Copy Markdown

I'm looking forward to this being merged and the quickstart-lib codebase being added to @angular.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Add a comma after 'publishing', otherwise the sentence can be confusing the first time it is read.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

All mentions of 'meta data' here are inconsistent with references to 'metadata' elsewhere in the document. It should be 'metadata' everywhere.

@wardbell wardbell added area: packaging Issues related to Angular's creation of npm packages area: build & ci Related the build and CI infrastructure of the project area: core Issues related to the framework runtime and removed comp: aio labels Jun 21, 2017
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Typo: are correctly build: -> are correctly built:

@johnpapa
Copy link
Copy Markdown
Contributor

johnpapa commented Oct 9, 2017

What is the status on this? Would love to have official Angular team guidance on creating these library apps.

@IgorMinar
Copy link
Copy Markdown
Contributor

@filipesilva should we try to resurrect this guide and reuse it for the docs we'll need for the upcoming library support in CLI? or should we close this PR?

cc: @jenniferfell

@filipesilva
Copy link
Copy Markdown
Contributor Author

filipesilva commented Feb 8, 2018

@IgorMinar I think at this point too much has changed. The examples will not be applicable to the new source, and neither will be the explanations about internals.

I think it should be closed but used as inspiration for a new one. The structure and the peripheral explanations still apply.

@jenniferfell jenniferfell added the state: community Someone from the Angular community is working on this issue or submitted this PR label Jul 23, 2018
@brandonroberts
Copy link
Copy Markdown
Contributor

Closing this one for now.

@angular-automatic-lock-bot
Copy link
Copy Markdown

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 13, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area: build & ci Related the build and CI infrastructure of the project area: core Issues related to the framework runtime area: packaging Issues related to Angular's creation of npm packages cla: yes state: community Someone from the Angular community is working on this issue or submitted this PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.