From 029d7fb8c8c926954ed305e1f7b79239e2a3657c Mon Sep 17 00:00:00 2001 From: Bojan Rajh Date: Wed, 6 Dec 2023 16:59:07 +0100 Subject: [PATCH] feat: add docs:env command --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index 0a1465f60..3eaedbb36 100644 --- a/package.json +++ b/package.json @@ -2,6 +2,7 @@ "name": "shopware/docs", "version": "0.0.1", "scripts": { + "docs:env": "[ -d \"../developer-portal\" ] && ../developer-portal/docs-cli.cjs pull || (git clone git@github.com:shopware/developer-portal.git ../developer-portal && pnpm i -C ../developer-portal)", "docs:link": "../developer-portal/docs-cli.cjs link --src . --dst docs --symlink", "docs:preview": "../developer-portal/docs-cli.cjs preview" }