create-typescript-app 2.69.1 → 2.70.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -31,6 +31,7 @@ const blockGitHubActionsCI = base.createBlock({
|
|
|
31
31
|
}
|
|
32
32
|
}, { run: "pnpm install --prod --engine-strict --ignore-scripts" }]
|
|
33
33
|
}].toSorted((a, b) => a.name.localeCompare(b.name));
|
|
34
|
+
const prReviewLabelsUses = resolveUses("JoshuaKGoldberg/pr-review-labels-action", "v0.1.0", options.workflowsVersions);
|
|
34
35
|
return {
|
|
35
36
|
addons: [blockRepositoryBranchRuleset({ requiredStatusChecks: jobsWithEnginesCheck?.map((job) => job.name) })],
|
|
36
37
|
files: { ".github": {
|
|
@@ -61,18 +62,27 @@ const blockGitHubActionsCI = base.createBlock({
|
|
|
61
62
|
name: "CI",
|
|
62
63
|
workflowsVersions: options.workflowsVersions
|
|
63
64
|
}), ["ci.yml"]),
|
|
64
|
-
"pr-review-
|
|
65
|
-
name: "PR Review
|
|
66
|
-
on: {
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
65
|
+
"pr-review-labels.yaml": withPreviously(createSoloWorkflowFile({
|
|
66
|
+
name: "PR Review Labels",
|
|
67
|
+
on: {
|
|
68
|
+
pull_request_target: { types: ["review_requested"] },
|
|
69
|
+
workflow_run: {
|
|
70
|
+
types: ["completed"],
|
|
71
|
+
workflows: ["PR Review Submitted"]
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
permissions: {
|
|
75
|
+
actions: "read",
|
|
76
|
+
"pull-requests": "write"
|
|
77
|
+
},
|
|
78
|
+
steps: [{ uses: prReviewLabelsUses }]
|
|
79
|
+
}), ["pr-review-requested.yaml", "pr-review-requested.yml"]),
|
|
80
|
+
"pr-review-submitted.yaml": createSoloWorkflowFile({
|
|
81
|
+
name: "PR Review Submitted",
|
|
82
|
+
on: { pull_request_review: { types: ["submitted"] } },
|
|
83
|
+
permissions: {},
|
|
84
|
+
steps: [{ uses: prReviewLabelsUses }]
|
|
85
|
+
})
|
|
76
86
|
}
|
|
77
87
|
} }
|
|
78
88
|
};
|
|
@@ -20,6 +20,9 @@ interface WorkflowFileOn {
|
|
|
20
20
|
branches?: string | string[];
|
|
21
21
|
types?: string[];
|
|
22
22
|
};
|
|
23
|
+
pull_request_review?: {
|
|
24
|
+
types: string[];
|
|
25
|
+
};
|
|
23
26
|
pull_request_review_comment?: {
|
|
24
27
|
types: string[];
|
|
25
28
|
};
|
|
@@ -33,6 +36,10 @@ interface WorkflowFileOn {
|
|
|
33
36
|
types: string[];
|
|
34
37
|
};
|
|
35
38
|
workflow_dispatch?: null | string;
|
|
39
|
+
workflow_run?: {
|
|
40
|
+
types: string[];
|
|
41
|
+
workflows: string[];
|
|
42
|
+
};
|
|
36
43
|
}
|
|
37
44
|
interface WorkflowFileOptions {
|
|
38
45
|
concurrency?: WorkflowFileConcurrency;
|
|
@@ -44,6 +51,7 @@ interface WorkflowFileOptions {
|
|
|
44
51
|
steps: WorkflowFileStep[];
|
|
45
52
|
}
|
|
46
53
|
interface WorkflowFilePermissions {
|
|
54
|
+
actions?: string;
|
|
47
55
|
contents?: string;
|
|
48
56
|
discussions?: string;
|
|
49
57
|
"id-token"?: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-typescript-app",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.70.0",
|
|
4
4
|
"description": "Quickstart-friendly TypeScript template with comprehensive, configurable, opinionated tooling. 🎁",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -89,7 +89,7 @@
|
|
|
89
89
|
"bingo-testers": "0.8.0",
|
|
90
90
|
"console-fail-test": "0.9.0",
|
|
91
91
|
"cspell": "10.3.3",
|
|
92
|
-
"eslint": "10.
|
|
92
|
+
"eslint": "10.12.0",
|
|
93
93
|
"eslint-plugin-jsdoc": "65.0.1",
|
|
94
94
|
"eslint-plugin-jsonc": "3.4.1",
|
|
95
95
|
"eslint-plugin-markdown-links": "0.9.1",
|
|
@@ -112,7 +112,7 @@
|
|
|
112
112
|
"typescript-eslint": "8.71.0",
|
|
113
113
|
"vitest": "5.0.1"
|
|
114
114
|
},
|
|
115
|
-
"packageManager": "pnpm@12.
|
|
115
|
+
"packageManager": "pnpm@12.9.0",
|
|
116
116
|
"engines": {
|
|
117
117
|
"node": "^22.13.0 || ^24.11.0 || >=26.0.0"
|
|
118
118
|
}
|