From 3844538f2c53b3c2e4c7b0f670a199fbb940b7ce Mon Sep 17 00:00:00 2001 From: Josh Goldberg Date: Mon, 4 Sep 2023 18:09:48 -0400 Subject: [PATCH] fix: include lint-package-json in generated workflows files --- src/steps/writing/creation/dotGitHub/workflows.ts | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/steps/writing/creation/dotGitHub/workflows.ts b/src/steps/writing/creation/dotGitHub/workflows.ts index 0dcb33eb..5d209bb2 100644 --- a/src/steps/writing/creation/dotGitHub/workflows.ts +++ b/src/steps/writing/creation/dotGitHub/workflows.ts @@ -103,11 +103,17 @@ export function createWorkflows(options: Options) { }), }), ...(!options.excludeLintPackageJson && { - "lint-package.yml": createWorkflowFile({ + "lint-package-json.yml": createWorkflowFile({ name: "Lint Package JSON", runs: ["pnpm lint:package-json"], }), }), + ...(!options.excludeLintPackageJson && { + "lint-packages.yml": createWorkflowFile({ + name: "Lint Packages", + runs: ["pnpm lint:package"], + }), + }), ...(!options.excludeLintSpelling && { "lint-spelling.yml": createWorkflowFile({ name: "Lint spelling",