From 154fb37210657e96d6bfbc2073e4d77249301621 Mon Sep 17 00:00:00 2001 From: John Haugeland Date: Wed, 15 Jun 2022 11:18:08 -0700 Subject: [PATCH] Attempt to install git submodules automatically, set up workspaces automatically, and build once on install. Also, stub the standard build call to point to project build. Currently untested due to KnodesCommunity/typedoc-plugins#82 --- package.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index a98ada11..304381cc 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@knodes/typedoc-plugins", - "version": "0.22.5", + "version": "0.22.6", "description": "A monorepo containing all knodes-published TypeDoc plugins", "license": "MIT", "private": true, @@ -24,6 +24,8 @@ "./packages/*" ], "scripts": { + "postinstall": "git submodule update --init --recursive && npm i --workspaces && npm run projects:build", + "build": "npm run projects:build", "changelog": "conventional-changelog -p angular -i CHANGELOG.md -s", "docs": "typedoc", "format:pkg": "format-package --write",