Skip to content

Commit d07f11e

Browse files
fix: bump to create-typescript-app@2 with transitions action (#26)
## PR Checklist - [x] Addresses an existing open issue: fixes #25 - [x] That issue was marked as [`status: accepting prs`](https://github.com/JoshuaKGoldberg/import-local-or-npx/issues?q=is%3Aopen+is%3Aissue+label%3A%22status%3A+accepting+prs%22) - [x] Steps in [CONTRIBUTING.md](https://github.com/JoshuaKGoldberg/import-local-or-npx/blob/main/.github/CONTRIBUTING.md) were taken ## Overview Runs `npx create-typescript-app --add-cta-transitions` to keep this repo's customizations through automated updates. Fun fact: this is the first repo I've gotten to through JoshuaKGoldberg/create-typescript-app#1966 that doesn't need an a `create-typescript-app.config.js` file for explicit Addons. Everything is inferable! 🙌 🚚
1 parent a7f5967 commit d07f11e

21 files changed

+2255
-1072
lines changed

.all-contributorsrc

Lines changed: 25 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,27 @@
11
{
2-
"badgeTemplate": "\t<a href=\"#contributors\" target=\"_blank\"><img alt=\"👪 All Contributors: <%= contributors.length %>\" src=\"https://img.shields.io/badge/%F0%9F%91%AA_all_contributors-<%= contributors.length %>-21bb42.svg\" /></a>",
3-
"commit": false,
4-
"commitConvention": "angular",
5-
"commitType": "docs",
6-
"contributors": [
7-
{
8-
"login": "JoshuaKGoldberg",
9-
"name": "Josh Goldberg ✨",
10-
"avatar_url": "https://avatars.githubusercontent.com/u/3335181?v=4",
11-
"profile": "http://www.joshuakgoldberg.com/",
12-
"contributions": [
13-
"code",
14-
"content",
15-
"doc",
16-
"ideas",
17-
"infra",
18-
"maintenance",
19-
"projectManagement",
20-
"tool"
21-
]
22-
}
23-
],
24-
"contributorsPerLine": 7,
25-
"contributorsSortAlphabetically": true,
26-
"files": [
27-
"README.md"
28-
],
29-
"imageSize": 100,
30-
"projectName": "import-local-or-npx",
31-
"projectOwner": "JoshuaKGoldberg",
32-
"repoHost": "https://github.com",
33-
"repoType": "github"
2+
"badgeTemplate": "\t<a href=\"#contributors\" target=\"_blank\"><img alt=\"👪 All Contributors: <%= contributors.length %>\" src=\"https://img.shields.io/badge/%F0%9F%91%AA_all_contributors-<%= contributors.length %>-21bb42.svg\" /></a>",
3+
"contributors": [
4+
{
5+
"login": "JoshuaKGoldberg",
6+
"name": "Josh Goldberg ✨",
7+
"avatar_url": "https://avatars.githubusercontent.com/u/3335181?v=4",
8+
"profile": "http://www.joshuakgoldberg.com/",
9+
"contributions": [
10+
"code",
11+
"content",
12+
"doc",
13+
"ideas",
14+
"infra",
15+
"maintenance",
16+
"projectManagement",
17+
"tool"
18+
]
19+
}
20+
],
21+
"contributorsSortAlphabetically": true,
22+
"projectName": "import-local-or-npx",
23+
"projectOwner": "JoshuaKGoldberg",
24+
"repoType": "github",
25+
"commitConvention": "angular"
3426
}
27+

.github/CONTRIBUTING.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Contributing
22

3-
Thanks for your interest in contributing to `import-local-or-npx`! 💖
3+
Thanks for your interest in contributing to `import-local-or-npx`! 🚚
44

55
> After this page, see [DEVELOPMENT.md](./DEVELOPMENT.md) for local development instructions.
66
@@ -93,5 +93,5 @@ Please do ping the maintainer who merged your PR if that doesn't happen within 2
9393
## Emojis & Appreciation
9494

9595
If you made it all the way to the end, bravo dear user, we love you.
96-
Please include your favorite emoji in the bottom of your issues and PRs to signal to us that you did in fact read this file and are trying to conform to it as best as possible.
97-
💖 is a good starter if you're not sure which to use.
96+
Please include an emoji in the bottom of your issues and PRs to signal to us that you did in fact read this file and are trying to conform to it as best as possible.
97+
🚚 is a good starter if you're not sure which to use.

.github/DEVELOPMENT.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
After [forking the repo from GitHub](https://help.github.com/articles/fork-a-repo) and [installing pnpm](https://pnpm.io/installation):
44

55
```shell
6-
git clone https://github.com/ < your-name-here > /import-local-or-npx
6+
git clone https://github.com/(your-name-here)/import-local-or-npx
77
cd import-local-or-npx
88
pnpm install
99
```

.github/ISSUE_TEMPLATE/02-documentation.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
body:
22
- attributes:
33
description: If any of these required steps are not taken, we may not be able to review your issue. Help us to help you!
4-
label: Bug Report Checklist
4+
label: Documentation Report Checklist
55
options:
66
- label: I have pulled the latest `main` branch of the repository.
77
required: true

.github/ISSUE_TEMPLATE/03-feature.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
body:
22
- attributes:
33
description: If any of these required steps are not taken, we may not be able to review your issue. Help us to help you!
4-
label: Bug Report Checklist
4+
label: Feature Request Checklist
55
options:
66
- label: I have pulled the latest `main` branch of the repository.
77
required: true

.github/ISSUE_TEMPLATE/04-tooling.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
body:
22
- attributes:
33
description: If any of these required steps are not taken, we may not be able to review your issue. Help us to help you!
4-
label: Bug Report Checklist
4+
label: Tooling Report Checklist
55
options:
66
- label: I have tried restarting my IDE and the issue persists.
77
required: true

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- 👋 Hi, thanks for sending a PR to import-local-or-npx! 💖.
1+
<!-- 👋 Hi, thanks for sending a PR to import-local-or-npx! 🚚
22
Please fill out all fields below and make sure each item is true and [x] checked.
33
Otherwise we may not be able to review your PR. -->
44

.github/actions/prepare/action.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ name: Prepare
55
runs:
66
steps:
77
- uses: pnpm/action-setup@v4
8-
with:
9-
version: 9
108
- uses: actions/setup-node@v4
119
with:
1210
cache: pnpm

.github/actions/transition/action.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
description: Runs create-typescript-app in transition mode
2+
3+
name: Transition
4+
5+
runs:
6+
steps:
7+
- uses: ./.github/actions/prepare
8+
- run: npx create-typescript-app
9+
shell: bash
10+
- id: auto-commit-action
11+
uses: stefanzweifel/git-auto-commit-action@v5
12+
with:
13+
commit_author: The Friendly Bingo Bot <[email protected]>
14+
commit_message: Check in changes from re-running npx create-typescript-app
15+
commit_user_email: [email protected]
16+
commit_user_name: The Friendly Bingo Bot
17+
- if: steps.auto-commit-action.outputs.changes_detected == 'true'
18+
uses: mshick/add-pr-comment@v2
19+
with:
20+
issue: ${{ github.event.pull_request.number }}
21+
message: >-
22+
🤖 Beep boop! I ran `npx create-typescript-app` and it updated some
23+
files.
24+
25+
I went ahead and checked those changes into this PR for you. Please
26+
review the latest commit to see if you want to merge it.
27+
28+
Cheers!
29+
— _The Friendly Bingo Bot_ 💝
30+
31+
> ℹ️ These automatic commits keep your repository up-to-date with new
32+
versions of
33+
[create-typescript-app](https://github.com/JoshuaKGoldberg/create-typescript-app).
34+
If you want to opt out, delete your
35+
`.github/workflows/cta-transitions.yml` file.
36+
using: composite

.github/renovate.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
{
22
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
33
"automerge": true,
4-
"extends": ["config:best-practices", "replacements:all"],
4+
"extends": [
5+
":preserveSemverRanges",
6+
"config:best-practices",
7+
"replacements:all"
8+
],
59
"ignoreDeps": ["codecov/codecov-action"],
610
"labels": ["dependencies"],
711
"minimumReleaseAge": "7 days",

0 commit comments

Comments
 (0)