From d5c0e8b36a00ea5ee51c88b0e9443e42e4d6fe0d Mon Sep 17 00:00:00 2001 From: "nick.tessier" <22119573+nick4598@users.noreply.github.com> Date: Tue, 7 Jan 2025 15:01:39 -0500 Subject: [PATCH] copy learning folder over to build folder (docs output) --- packages/transformer/package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/transformer/package.json b/packages/transformer/package.json index ff7a5f4c..373e4ff1 100644 --- a/packages/transformer/package.json +++ b/packages/transformer/package.json @@ -13,8 +13,9 @@ "build:ci": "npm run -s build", "build:cjs": "tsc 1>&2 --outDir lib/cjs", "clean": "rimraf lib", - "docs": "npm run -s docs:extract && npm run -s docs:reference && npm run -s docs:changelog", + "docs": "npm run -s docs:extract && npm run -s docs:reference && npm run -s docs:changelog && npm run -s docs:copyLearning", "docs:changelog": "cpx ./CHANGELOG.md ../../build/docs/reference/imodel-transformer", + "docs:copyLearning": "cpx \"../../docs/learning/transformer/**/*\" ../../build/docs/learning/transformer", "# env var is workaround, need to contribute a better rush-less root-package.json detector to betools": "", "docs:reference": "cross-env RUSHSTACK_FILE_ERROR_BASE_FOLDER='../..' betools docs --includes=../../build/docs/extract --json=../../build/docs/reference/imodel-transformer/file.json --tsIndexFile=imodel-transformer.ts --onlyJson", "docs:extract": "betools extract --fileExt=ts --extractFrom=./src/test --recursive --out=../../build/docs/extract",