create-typescript-app 2.42.0 → 2.43.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'",
@@ -87,7 +87,7 @@ const blockOctoGuide = base.createBlock({
87
87
  addons: [
88
88
  blockRemoveFiles({
89
89
  files: [
90
- ".github/accessibility-alt-text-bot.yml",
90
+ ".github/workflows/accessibility-alt-text-bot.yml",
91
91
  ".github/workflows/compliance.yml"
92
92
  ]
93
93
  })
@@ -1,5 +1,5 @@
1
1
  var name = "create-typescript-app";
2
- var version = "2.41.2";
2
+ var version = "2.42.1";
3
3
  var description = "Quickstart-friendly TypeScript template with comprehensive, configurable, opinionated tooling. 🎁";
4
4
  var repository = {
5
5
  type: "git",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-typescript-app",
3
- "version": "2.42.0",
3
+ "version": "2.43.0",
4
4
  "description": "Quickstart-friendly TypeScript template with comprehensive, configurable, opinionated tooling. 🎁",
5
5
  "repository": {
6
6
  "type": "git",