This is an automated email from the ASF dual-hosted git repository.

gerben pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-annotator.git

commit dec784913d90b29c335bc8e3ad39f67bc949642f
Author: Gerben <[email protected]>
AuthorDate: Mon Apr 5 20:29:02 2021 +0200

    Actually, don’t always build the docs.
    
    Also build docs *after* the type declarations, not concurrently.
    
    We still want to remove the docs directory upon cleaning, I suppose.
---
 package.json | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/package.json b/package.json
index 978418a..1552487 100644
--- a/package.json
+++ b/package.json
@@ -15,14 +15,14 @@
     ]
   },
   "scripts": {
-    "build": "concurrently yarn:build:lib:* yarn:build:misc yarn:build:docs",
-    "build:docs": "typedoc",
+    "build": "concurrently yarn:build:lib:* yarn:build:misc",
     "build:lib": "lerna exec --parallel -- babel -d lib -s inline -x .ts 
--root-mode upward src",
     "build:lib:cjs": "cross-env BABEL_ENV=cjs yarn build:lib",
     "build:lib:esm": "cross-env BABEL_ENV=esm yarn build:lib 
--out-file-extension .mjs",
     "build:lib:types": "tsc --build",
     "build:misc": "lerna exec --parallel -- cp ../../DISCLAIMER-WIP 
../../LICENSE ../../NOTICE ../../README.md .",
     "clean": "tsc --build --clean && lerna exec -- rimraf DISCLAIMER-WIP 
LICENSE NOTICE README.md lib && rimraf docs",
+    "docs": "tsc --build && typedoc",
     "lint": "tsc --build && eslint .",
     "prepare": "yarn run build:lib:types && lerna run prepare",
     "prepublishOnly": "yarn run build",

Reply via email to