Skip to content

Commit

Permalink
ci: downgrade yarn to v1.0.2
Browse files Browse the repository at this point in the history
With [email protected] `aio/` and some guide examples fail to build. The failures seem
to be caused by something (possibly `@ngtools/webpack`, which is a dependency of
`@angular/cli`) which peer-depends on TypeScript (TS@^2.0.2), getting linked to
a higher version ([email protected]) with [email protected], which is stricter than the 2.3.2
version we use on `aio/` (and which that something gets linked to with
[email protected]).

[This change][1] is what is causing this difference in behavior.

Downgrading yarn to v1.0.2 (same we use on master) for now.

[1]: yarnpkg/yarn#4478
  • Loading branch information
gkalpak committed Oct 5, 2017
1 parent 6001d45 commit af14ac9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion aio/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2002,7 +2002,7 @@ [email protected]:
chrome-devtools-frontend "1.0.401423"
resolve "1.1.7"

dgeni-packages@^0.21.3:
dgeni-packages@^0.21.4:
version "0.21.4"
resolved "https://registry.yarnpkg.com/dgeni-packages/-/dgeni-packages-0.21.4.tgz#c77a0730b52ac5dbab00f10fae47dd148374aeb4"
dependencies:
Expand Down
2 changes: 1 addition & 1 deletion scripts/ci/env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ fi
#######################

setEnvVar NODE_VERSION 6.9.5
setEnvVar YARN_VERSION 1.1.0
setEnvVar YARN_VERSION 1.0.2
setEnvVar SAUCE_CONNECT_VERSION 4.4.9
setEnvVar PROJECT_ROOT $(cd ${thisDir}/../..; pwd)

Expand Down

0 comments on commit af14ac9

Please sign in to comment.