From c1ae3c16e8456f62325269be5b9a09c856af13e0 Mon Sep 17 00:00:00 2001 From: Pete Bacon Darwin Date: Wed, 5 Sep 2018 08:54:09 +0100 Subject: [PATCH] build(docs-infra): ensure root node_modules exists (#25811) Now that the doc-gen parses the imports of TS source files we need to ensure that the root node_modules exists. Otherwise running `yarn docs` produces an obscure error: ``` Error: No SourceFile found with path node_modules/@types/jasmine/index.d.ts ``` Closes #25759 PR Close #25811 --- aio/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aio/package.json b/aio/package.json index d873119e76..da34125074 100644 --- a/aio/package.json +++ b/aio/package.json @@ -22,7 +22,7 @@ "test": "yarn check-env && ng test", "pree2e": "yarn check-env && yarn update-webdriver", "e2e": "ng e2e --no-webdriver-update", - "presetup": "yarn install --frozen-lockfile && yarn ~~check-env && yarn boilerplate:remove", + "presetup": "yarn --cwd .. install && yarn install --frozen-lockfile && yarn ~~check-env && yarn boilerplate:remove", "setup": "yarn aio-use-npm && yarn example-use-npm", "postsetup": "yarn boilerplate:add && yarn build-ie-polyfills && yarn docs", "presetup-local": "yarn presetup",