From 5368cb31f62b0c12e59f1b63273423c128be6173 Mon Sep 17 00:00:00 2001 From: simeng-li Date: Mon, 7 Mar 2022 13:50:21 +0800 Subject: [PATCH] build(core): add prepare script to the logto root postinstall life cycle (#292) * build(core): add prepare script to the logto root postinstall life cycle add prepare script to the logto root postinstall life cycle * ci(core): update prepack script add prepare:pack script to the logto root level * fix(prepack): cr fix rename to prepack --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index f1296f741..4474cdbfd 100644 --- a/package.json +++ b/package.json @@ -7,6 +7,7 @@ "lerna": "lerna", "bootstrap": "lerna bootstrap", "prepare": "if test \"$NODE_ENV\" != \"production\" && test \"$CI\" != \"true\" ; then husky install ; fi", + "prepack": "lerna run --stream prepack", "dev": "lerna run --stream prepack && lerna --scope=@logto/{core,ui,console} exec -- pnpm dev" }, "devDependencies": {