Skip to content

Commit

Permalink
deps(web-client): work around bug with @angular-devkit/build-angular …
Browse files Browse the repository at this point in the history
…12.0.4+

@angular-devkit/build-angular 12.0.4+ makes build-storybook hang.

Constraining it to 12.0.3 avoids the hang.

Upstream issue, and workaround:

storybookjs/storybook#15227 (comment)

Also jump through some hoops to downgrade webpack from 5.39.1 to 5.38.1,
to match the exact dependency expected by @angular-devkit/build-angular,
and avoid this problem:

angular/angular-cli#20773
  • Loading branch information
PiDelport committed Jul 6, 2021
1 parent 90d8c91 commit ac7bc77
Show file tree
Hide file tree
Showing 2 changed files with 164 additions and 46 deletions.
208 changes: 163 additions & 45 deletions web-client/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion web-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"zone.js": "~0.11.4"
},
"devDependencies": {
"@angular-devkit/build-angular": "~12.0.1",
"@angular-devkit/build-angular": "~12.0.1 <12.0.4",
"@angular-eslint/builder": "~12.0.0",
"@angular-eslint/eslint-plugin": "~12.0.0",
"@angular-eslint/eslint-plugin-template": "~12.0.0",
Expand Down

0 comments on commit ac7bc77

Please sign in to comment.