diff --git a/.sfdevrc.json b/.sfdevrc.json index 6a0b07a81..2fba7b90c 100644 --- a/.sfdevrc.json +++ b/.sfdevrc.json @@ -9,6 +9,12 @@ "output": ["lib/**", "*.tsbuildinfo"], "clean": "if-file-deleted" }, + "build": { + "dependencies": ["compile", "lint"] + }, + "compile-typedoc": { + "command": "tsc -p typedocExamples" + }, "link-check": { "command": "node -e \"process.exit(process.env.CI ? 0 : 1)\" || linkinator \"./*.md\" --skip \"examples/README.md|CHANGELOG.md|node_modules|test/|confluence.internal.salesforce.com|my.salesforce.com|%s\" --markdown --retry --directory-listing --verbosity error", "files": ["./*.md", "./examples/**/*.md", "./messages/**/*.md", "./!(CHANGELOG).md"], diff --git a/package.json b/package.json index a7d7f9e13..c349f8819 100644 --- a/package.json +++ b/package.json @@ -18,7 +18,6 @@ "link-check": "wireit", "lint": "wireit", "lint-fix": "yarn sf-lint --fix", - "postcompile": "tsc -p typedocExamples", "prepack": "sf-prepack", "prepare": "sf-install", "test": "wireit", @@ -160,6 +159,9 @@ "./!(CHANGELOG).md" ], "output": [] + }, + "compile-typedoc": { + "command": "tsc -p typedocExamples" } } }