create-typescript-app 2.42.1 → 2.44.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.
|
@@ -29,6 +29,12 @@ const blockCTATransitions = base.createBlock({
|
|
|
29
29
|
transition: {
|
|
30
30
|
"action.yml": formatYaml({
|
|
31
31
|
description: "Runs create-typescript-app in transition mode",
|
|
32
|
+
inputs: {
|
|
33
|
+
token: {
|
|
34
|
+
description: "GitHub personal access token with repo, workflow, and read:org permissions.",
|
|
35
|
+
required: true
|
|
36
|
+
}
|
|
37
|
+
},
|
|
32
38
|
name: "Transition",
|
|
33
39
|
runs: {
|
|
34
40
|
steps: [
|
|
@@ -71,6 +77,34 @@ const blockCTATransitions = base.createBlock({
|
|
|
71
77
|
"> \u2139\uFE0F These automatic commits keep your repository up-to-date with new versions of [create-typescript-app](https://github.com/JoshuaKGoldberg/create-typescript-app). If you want to opt out, delete your `.github/workflows/cta-transitions.yml` file."
|
|
72
78
|
].join("\n")
|
|
73
79
|
}
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
id: "package-change",
|
|
83
|
+
uses: resolveUses(
|
|
84
|
+
"JoshuaKGoldberg/package-change-detector-action",
|
|
85
|
+
"0.1.0",
|
|
86
|
+
options.workflowsVersions
|
|
87
|
+
),
|
|
88
|
+
with: {
|
|
89
|
+
properties: "engines"
|
|
90
|
+
}
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
if: `steps.package-change.outputs.changed == 'true'`,
|
|
94
|
+
uses: resolveUses(
|
|
95
|
+
"JoshuaKGoldberg/draft-pull-request-once-action",
|
|
96
|
+
"0.0.1",
|
|
97
|
+
options.workflowsVersions
|
|
98
|
+
),
|
|
99
|
+
with: {
|
|
100
|
+
"github-token": "${{ inputs.token }}",
|
|
101
|
+
message: [
|
|
102
|
+
"\u{1F916} Beep boop! This PR changes the `engines` field in `package.json`. That might be a breaking change. It's been set to a draft so that it doesn't automatically merge. Go ahead and un-draft the PR if the change is ready for release.",
|
|
103
|
+
"",
|
|
104
|
+
"Cheers!",
|
|
105
|
+
" \u2014 _The Friendly Bingo Bot_ \u{1F49D}"
|
|
106
|
+
].join("\n")
|
|
107
|
+
}
|
|
74
108
|
}
|
|
75
109
|
],
|
|
76
110
|
using: "composite"
|
|
@@ -108,7 +142,10 @@ const blockCTATransitions = base.createBlock({
|
|
|
108
142
|
},
|
|
109
143
|
{
|
|
110
144
|
if: "steps.checkout.outcome != 'skipped'",
|
|
111
|
-
uses: "./.github/actions/transition"
|
|
145
|
+
uses: "./.github/actions/transition",
|
|
146
|
+
with: {
|
|
147
|
+
token: "${{ secrets.ACCESS_TOKEN }}"
|
|
148
|
+
}
|
|
112
149
|
},
|
|
113
150
|
{
|
|
114
151
|
if: "steps.checkout.outcome == 'skipped'",
|
package/lib/constants.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
var name = "create-typescript-app";
|
|
2
|
-
var version = "2.
|
|
2
|
+
var version = "2.43.0";
|
|
3
3
|
var description = "Quickstart-friendly TypeScript template with comprehensive, configurable, opinionated tooling. 🎁";
|
|
4
4
|
var repository = {
|
|
5
5
|
type: "git",
|
|
@@ -117,7 +117,7 @@ var devDependencies = {
|
|
|
117
117
|
};
|
|
118
118
|
var packageManager = "pnpm@10.8.0";
|
|
119
119
|
var engines = {
|
|
120
|
-
node: ">=
|
|
120
|
+
node: ">=20.19.0"
|
|
121
121
|
};
|
|
122
122
|
var publishConfig = {
|
|
123
123
|
provenance: true
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-typescript-app",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.44.0",
|
|
4
4
|
"description": "Quickstart-friendly TypeScript template with comprehensive, configurable, opinionated tooling. 🎁",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -121,7 +121,7 @@
|
|
|
121
121
|
},
|
|
122
122
|
"packageManager": "pnpm@10.8.0",
|
|
123
123
|
"engines": {
|
|
124
|
-
"node": ">=
|
|
124
|
+
"node": ">=20.19.0"
|
|
125
125
|
},
|
|
126
126
|
"publishConfig": {
|
|
127
127
|
"provenance": true
|