From fcb340305ff08fbba0bbf47117a4ec6803a8c7be Mon Sep 17 00:00:00 2001 From: Philip Langer Date: Mon, 26 Sep 2022 10:11:47 +0200 Subject: [PATCH] Add `theia check:theia-version` by default This will run the Theia version check after yarn install to check whether multiple versions of @theia/* packages are pulled by direct or indirect dependencies. See also https://github.com/eclipse-theia/theia/pull/11483 --- templates/root-package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/templates/root-package.json b/templates/root-package.json index 55e3961..bdfaaa1 100644 --- a/templates/root-package.json +++ b/templates/root-package.json @@ -2,6 +2,7 @@ "private": true, "scripts": { "prepare": "lerna run prepare", + "postinstall": "theia check:theia-version", "rebuild:browser": "theia rebuild:browser", "rebuild:electron": "theia rebuild:electron", "start:browser": "yarn rebuild:browser && yarn --cwd browser-app start",