diff --git a/aio/tools/RELEASE.md b/aio/tools/RELEASE.md new file mode 100644 index 0000000000..2171bdf6d6 --- /dev/null +++ b/aio/tools/RELEASE.md @@ -0,0 +1,19 @@ +# Docs releases + +This document explains how to update the documentation examples after an Angular release. This is only needed for major and minor versions. + +All the packages for the docs' examples are specified in `/aio/tools/examples/shared/package.json` + +**1)** So within the `shared` folder, you need to issue the following command: + +``` +$ yarn upgrade-interactive --tilde +``` + +There, select all the packages that are updated on the new Angular release. + +**2)** Changes to the tsconfig.json? There is one to update at `/aio/tools/examples/shared/boilerplate/src/tsconfig.json` + +**3)** The file `/aio/tools/examples/shared/boilerplate/src/systemjs.config.web.js` contains the configuration for plunkers. It has some hardcoded versions that could be updated. + +**4)** As in step 3, more hardcoded versions at `/aio/tools/plunker-builder/translator/rules/indexHtml.js` diff --git a/aio/tools/examples/shared/package.json b/aio/tools/examples/shared/package.json index d2c8d5501a..4627b75488 100644 --- a/aio/tools/examples/shared/package.json +++ b/aio/tools/examples/shared/package.json @@ -12,19 +12,19 @@ "author": "", "license": "MIT", "dependencies": { - "@angular/animations": "~4.2.0", - "@angular/common": "~4.2.0", - "@angular/compiler": "~4.2.0", - "@angular/compiler-cli": "~4.2.0", - "@angular/core": "~4.2.0", - "@angular/forms": "~4.2.0", - "@angular/http": "~4.2.0", - "@angular/platform-browser": "~4.2.0", - "@angular/platform-browser-dynamic": "~4.2.0", - "@angular/platform-server": "~4.2.0", - "@angular/router": "~4.2.0", - "@angular/tsc-wrapped": "~4.2.0", - "@angular/upgrade": "~4.2.0", + "@angular/animations": "~4.3.1", + "@angular/common": "~4.3.1", + "@angular/compiler": "~4.3.1", + "@angular/compiler-cli": "~4.3.1", + "@angular/core": "~4.3.1", + "@angular/forms": "~4.3.1", + "@angular/http": "~4.3.1", + "@angular/platform-browser": "~4.3.1", + "@angular/platform-browser-dynamic": "~4.3.1", + "@angular/platform-server": "~4.3.1", + "@angular/router": "~4.3.1", + "@angular/tsc-wrapped": "~4.3.1", + "@angular/upgrade": "~4.3.1", "angular-in-memory-web-api": "~0.3.2", "core-js": "^2.4.1", "rxjs": "^5.1.0", diff --git a/aio/tools/examples/shared/yarn.lock b/aio/tools/examples/shared/yarn.lock index 9219bc5357..2fd742b899 100644 --- a/aio/tools/examples/shared/yarn.lock +++ b/aio/tools/examples/shared/yarn.lock @@ -1,10 +1,12 @@ # THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. # yarn lockfile v1 +# yarn v0.25.3 +# node v7.8.0 -"@angular/animations@~4.2.0": - version "4.2.0" - resolved "https://registry.yarnpkg.com/@angular/animations/-/animations-4.2.0.tgz#e964fc56c9621f28679f24d5e69026e2d1571425" +"@angular/animations@~4.3.1": + version "4.3.1" + resolved "https://registry.yarnpkg.com/@angular/animations/-/animations-4.3.1.tgz#1f7e0bb803efc21c608246e6765a1c647f3d1a5f" dependencies: tslib "^1.7.1" @@ -74,79 +76,79 @@ optionalDependencies: node-sass "^4.3.0" -"@angular/common@~4.2.0": - version "4.2.0" - resolved "https://registry.yarnpkg.com/@angular/common/-/common-4.2.0.tgz#5df34718bcefc49918bfcb2683f6c19720b66a61" +"@angular/common@~4.3.1": + version "4.3.1" + resolved "https://registry.yarnpkg.com/@angular/common/-/common-4.3.1.tgz#260f487a7cdca326c436bd3ea9515c797de2ff72" dependencies: tslib "^1.7.1" -"@angular/compiler-cli@~4.2.0": - version "4.2.0" - resolved "https://registry.yarnpkg.com/@angular/compiler-cli/-/compiler-cli-4.2.0.tgz#bd6f6b71f003df48a8f86184a8c16533afdf23ec" +"@angular/compiler-cli@~4.3.1": + version "4.3.1" + resolved "https://registry.yarnpkg.com/@angular/compiler-cli/-/compiler-cli-4.3.1.tgz#00b41afb6faeb4aef561b8427804ac8880aff63c" dependencies: - "@angular/tsc-wrapped" "4.2.0" + "@angular/tsc-wrapped" "4.3.1" minimist "^1.2.0" reflect-metadata "^0.1.2" -"@angular/compiler@~4.2.0": - version "4.2.0" - resolved "https://registry.yarnpkg.com/@angular/compiler/-/compiler-4.2.0.tgz#a21df81995b210f822ffd70b57247d474876fbed" +"@angular/compiler@~4.3.1": + version "4.3.1" + resolved "https://registry.yarnpkg.com/@angular/compiler/-/compiler-4.3.1.tgz#3a24d49ecf01ac2b6e07f63e378b8ff8e257fe09" dependencies: tslib "^1.7.1" -"@angular/core@~4.2.0": - version "4.2.0" - resolved "https://registry.yarnpkg.com/@angular/core/-/core-4.2.0.tgz#8bf57d01379c2a9e29476ad569dec9e20d5b17dc" +"@angular/core@~4.3.1": + version "4.3.1" + resolved "https://registry.yarnpkg.com/@angular/core/-/core-4.3.1.tgz#a9d0a7d644b96260674269b689a04feea632a8d3" dependencies: tslib "^1.7.1" -"@angular/forms@~4.2.0": - version "4.2.0" - resolved "https://registry.yarnpkg.com/@angular/forms/-/forms-4.2.0.tgz#cb3ae69172e254452fa77578605ebc1bb72138c9" +"@angular/forms@~4.3.1": + version "4.3.1" + resolved "https://registry.yarnpkg.com/@angular/forms/-/forms-4.3.1.tgz#33914da2cb146430ff901471e682c76654622dfe" dependencies: tslib "^1.7.1" -"@angular/http@~4.2.0": - version "4.2.0" - resolved "https://registry.yarnpkg.com/@angular/http/-/http-4.2.0.tgz#484af53639e04a68834c5167a1955d2d0cde8e1c" +"@angular/http@~4.3.1": + version "4.3.1" + resolved "https://registry.yarnpkg.com/@angular/http/-/http-4.3.1.tgz#e4f661f746711e88ecbea76a3c905babf97d315a" dependencies: tslib "^1.7.1" -"@angular/platform-browser-dynamic@~4.2.0": - version "4.2.0" - resolved "https://registry.yarnpkg.com/@angular/platform-browser-dynamic/-/platform-browser-dynamic-4.2.0.tgz#b84c05616bd824e15b52b2b85c47b58b25d0158a" +"@angular/platform-browser-dynamic@~4.3.1": + version "4.3.1" + resolved "https://registry.yarnpkg.com/@angular/platform-browser-dynamic/-/platform-browser-dynamic-4.3.1.tgz#84034da60a82ef36e7effda7b3ade6e645b330b3" dependencies: tslib "^1.7.1" -"@angular/platform-browser@~4.2.0": - version "4.2.0" - resolved "https://registry.yarnpkg.com/@angular/platform-browser/-/platform-browser-4.2.0.tgz#dfd782e7ebacba1bbe2ae0556d5d7fb012f2a6cd" +"@angular/platform-browser@~4.3.1": + version "4.3.1" + resolved "https://registry.yarnpkg.com/@angular/platform-browser/-/platform-browser-4.3.1.tgz#db727b06eed64bda5defec71815db26a4da2f690" dependencies: tslib "^1.7.1" -"@angular/platform-server@~4.2.0": - version "4.2.0" - resolved "https://registry.yarnpkg.com/@angular/platform-server/-/platform-server-4.2.0.tgz#90add7fcd9c4f568a31058c9d93a9aca09eb4c58" +"@angular/platform-server@~4.3.1": + version "4.3.1" + resolved "https://registry.yarnpkg.com/@angular/platform-server/-/platform-server-4.3.1.tgz#3b915fc4013c6a947a8c147b4db0279b025936eb" dependencies: parse5 "^3.0.1" tslib "^1.7.1" xhr2 "^0.1.4" -"@angular/router@~4.2.0": - version "4.2.0" - resolved "https://registry.yarnpkg.com/@angular/router/-/router-4.2.0.tgz#7cda9a23621ee41b466eced8bb4cbb62237ba6b9" +"@angular/router@~4.3.1": + version "4.3.1" + resolved "https://registry.yarnpkg.com/@angular/router/-/router-4.3.1.tgz#5219d44526156d816065841127610165a015b450" dependencies: tslib "^1.7.1" -"@angular/tsc-wrapped@4.2.0", "@angular/tsc-wrapped@~4.2.0": - version "4.2.0" - resolved "https://registry.yarnpkg.com/@angular/tsc-wrapped/-/tsc-wrapped-4.2.0.tgz#e62ce9953c27ba96e4c6daf117f10e31169ccea2" +"@angular/tsc-wrapped@4.3.1", "@angular/tsc-wrapped@~4.3.1": + version "4.3.1" + resolved "https://registry.yarnpkg.com/@angular/tsc-wrapped/-/tsc-wrapped-4.3.1.tgz#f6616a4d2a3bbec1cded664fd1f526edce99ef41" dependencies: tsickle "^0.21.0" -"@angular/upgrade@~4.2.0": - version "4.2.0" - resolved "https://registry.yarnpkg.com/@angular/upgrade/-/upgrade-4.2.0.tgz#2766c8a8bb507146b6d38bed2c379f77bbc70335" +"@angular/upgrade@~4.3.1": + version "4.3.1" + resolved "https://registry.yarnpkg.com/@angular/upgrade/-/upgrade-4.3.1.tgz#db80f9d428e4801b0a41618df71bf899882f39c8" dependencies: tslib "^1.7.1"