Skip to content
This repository was archived by the owner on Dec 4, 2017. It is now read-only.

New cb third party lib #3411

Open
wants to merge 31 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
76c99e9
docs(cb-third-party-lib) create a third party lib
thelgevold Oct 16, 2016
38a9000
addressing PR review items
thelgevold Nov 7, 2016
21bc5eb
minor copy-edits
filipesilva Feb 28, 2017
e1423e7
update example
filipesilva Mar 2, 2017
9435b65
add intro, download
filipesilva Mar 22, 2017
1f24d04
add core file descriptions
filipesilva Mar 22, 2017
ed14ce0
add entry points and build step
filipesilva Mar 22, 2017
423e6f5
add testing
filipesilva Mar 22, 2017
a73370f
add publishing
filipesilva Mar 22, 2017
4fce4b8
add AOT and JIT appendix
filipesilva Mar 22, 2017
8657312
remove old example
filipesilva Mar 22, 2017
9bbc128
whitespace
filipesilva Mar 22, 2017
274a207
add v4 message
filipesilva Mar 22, 2017
0f65921
add dep management
filipesilva Mar 22, 2017
e2e7738
whitespace
filipesilva Mar 22, 2017
aef571f
add externals/globals note
filipesilva Mar 22, 2017
5bf5337
fix headers
filipesilva Mar 22, 2017
3ef8d45
add example
filipesilva Mar 22, 2017
d38aedc
remove unused changes
filipesilva Mar 22, 2017
2e9bfbd
spelling
filipesilva Mar 23, 2017
97a7df0
line breaks
filipesilva Mar 23, 2017
24455bc
emphasize package format over starter
filipesilva Mar 23, 2017
d0f6209
put aot first
filipesilva Mar 23, 2017
50cbb91
add note about customization
filipesilva Mar 23, 2017
59a80e0
add preliminary folder structure
filipesilva Mar 23, 2017
c5e7de3
update folder struture
filipesilva Mar 23, 2017
e9e8898
add a couple more points to library maintenance
filipesilva Mar 23, 2017
9961bdc
rename a file
filipesilva Mar 23, 2017
c121cb3
add sourcemaps note
filipesilva Mar 23, 2017
31b1f50
add consumer table
filipesilva Mar 23, 2017
f801cfd
update layout, add checklist
filipesilva Mar 27, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
whitespace
  • Loading branch information
filipesilva committed Mar 27, 2017
commit 9bbc128fc242ac01d6e62a1a16d0a2dceae76f2d
31 changes: 10 additions & 21 deletions public/docs/ts/latest/cookbook/third-party-lib.jade
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ include ../_util-fns

TODO finish this

a#develop-locally
.l-main-section
:marked
## Setup a local development environment

Expand Down Expand Up @@ -71,6 +71,7 @@ code-example(language="sh" class="code-shell").
npm install
npm start


.l-main-section
:marked
## Initialize your repository
Expand Down Expand Up @@ -230,13 +231,15 @@ code-example(language="json").
There is also a minified UMD bundle (`angular-quickstart-lib.umd.min.js`) for smaller payloads
in Plunkers and script tags.


.l-sub-section
:marked
A flat ECMAScript module (FESM) is a bundled ECMAScript module where all imports were followed
copied onto the same file file.
It always contains ES module import/export statements but can have different levels of ES code
inside.


.l-main-section
:marked
## The build step
Expand All @@ -251,6 +254,7 @@ code-example(language="json").
- Copy typings, metatada, html and css.
- Create each bundle using Rollup.


.l-main-section
:marked
## Testing libraries
Expand Down Expand Up @@ -281,6 +285,7 @@ code-example(language="json").
In addition to integration tests, you can also run unit tests in watch mode via `npm run test`,
or single-run via `npm run test:once`.


.l-main-section
:marked
## Publishing your library
Expand Down Expand Up @@ -318,28 +323,11 @@ code-example(language="json").
You'll need to create a NPM account, login on your local machine, and then you can publish updated
by running `npm publish`.

Remember to follow [Semantic Versioning](http://semver.org/) and document your library!

.l-main-section
:marked
## title

content
Remember to document your library, follow [Semantic Versioning](http://semver.org/) and
setup a Continuous Integration solution to test your library (included is a `travis.yml`
file for [Travis CI](https://docs.travis-ci.com/user/getting-started/))!


.l-main-section
:marked
## title

content


.l-main-section
:marked
## Appendix: Library Setup Anatomy

content

.l-main-section
:marked
## Appendix: Supporting AOT
Expand Down Expand Up @@ -382,6 +370,7 @@ code-example(language="json").

Publishing plain JavaScript with typings and meta data allows the consuming application to remain agnostic of the library's build environment.


.l-main-section
:marked
## Appendix: Supporting JIT
Expand Down