Skip to content

Commit 2231398

Browse files
feat: release 2.0 as stable (#1955)
## PR Checklist - [x] Addresses an existing open issue: fixes #1831 - [x] That issue was marked as [`status: accepting prs`](https://github.com/JoshuaKGoldberg/create-typescript-app/issues?q=is%3Aopen+is%3Aissue+label%3A%22status%3A+accepting+prs%22) - [x] Steps in [CONTRIBUTING.md](https://github.com/JoshuaKGoldberg/create-typescript-app/blob/main/.github/CONTRIBUTING.md) were taken ## Overview Switches the release flow back to the default so versions will release without the `--tag beta`. Hooray, 2.0 stable releasing to users! 🎁
1 parent 33ad458 commit 2231398

File tree

9 files changed

+106
-146
lines changed

9 files changed

+106
-146
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,7 @@ jobs:
1515
- env:
1616
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }}
1717
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
18-
run: |
19-
git config --global user.email "[email protected]"
20-
git config --global user.name "Josh Goldberg"
21-
npm config set //registry.npmjs.org/:_authToken $NPM_TOKEN
22-
- run: npx release-it --preRelease=beta
18+
uses: JoshuaKGoldberg/[email protected]
2319

2420
name: Release
2521

README.md

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,6 @@ It includes options not just for building and testing but also automated release
2525

2626
## Usage
2727

28-
> **Note:** create-typescript-app is preparing to promote the 2.0 beta version to stable soon.
29-
> The repository's `main` branch shows commands for the `beta` version.
30-
> The published package's 1.x versions still show commands for the 1.x version.
31-
3228
First make sure you have the following installed:
3329

3430
- [Node.js](https://nodejs.org)
@@ -38,14 +34,14 @@ First make sure you have the following installed:
3834
Then in an existing repository or in your directory where you'd like to make a new repository:
3935

4036
```shell
41-
npx create-typescript-app@beta
37+
npx create-typescript-app
4238
```
4339

44-
You can read more about the supported setup modes in their docs pages:
40+
You can read more about the supported runtime modes in their docs pages:
4541

46-
- [**Creating from the terminal**](./docs/Creation.md): creating a new repository locally on the command-line _(recommended)_
47-
- [**Initializing from the template**](./docs/Initialization.md): creating a new repository with the [_Use this template_](https://github.com/JoshuaKGoldberg/create-typescript-app/generate) button on GitHub
48-
- [**Migrating an existing repository**](./docs/Migration.md): adding this template's tooling on top of an existing repository
42+
- [**Setting up from the terminal**](./docs/Setup.md): creating a new repository locally on the command-line _(recommended)_
43+
- [**Transitioning an existing repository**](./docs/Transition.md): adding this template's tooling on top of an existing repository
44+
- [**Using the template repository**](./docs/UseThisTemplate.md): creating a new repository with the [_Use this template_](https://github.com/JoshuaKGoldberg/create-typescript-app/generate) button on GitHub
4945

5046
## Documentation
5147

docs/Options.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
`create-typescript-app` is built on top of [Bingo](https://create.bingo).
44
It supports all the flags supported by [Bingo CLIs](https://www.create.bingo/cli).
55

6-
`npx create-typescript-app@beta` provides three `--preset` options:
6+
`npx create-typescript-app` provides three `--preset` options:
77

88
1. **Minimal**: Just bare starter tooling: building, formatting, linting, and type checking.
99
2. **Common**: Bare starters plus testing and automation for all-contributors and releases.
@@ -12,7 +12,7 @@ It supports all the flags supported by [Bingo CLIs](https://www.create.bingo/cli
1212
For example, to create a new repository with the _Everything_ preset:
1313

1414
```shell
15-
npx create-typescript-app@beta --preset everything
15+
npx create-typescript-app --preset everything
1616
```
1717

1818
`create-typescript-app` itself adds in two sections of flags:
@@ -35,7 +35,7 @@ Each will be prompted for when creating a new repository if not explicitly provi
3535
For example, pre-populating all required base options:
3636

3737
```shell
38-
npx create-typescript-app@beta --directory my-typescript-app --description "My awesome TypeScript app! 💖" --preset everything
38+
npx create-typescript-app --directory my-typescript-app --description "My awesome TypeScript app! 💖" --preset everything
3939
```
4040

4141
That script will run completely autonomously, no prompted inputs required. ✨
@@ -58,7 +58,7 @@ They will be inferred from the running user, and if migrating an existing reposi
5858
For example, customizing the npm author and funding source:
5959

6060
```shell
61-
npx create-typescript-app@beta --author my-npm-username --funding MyGitHubOrganization
61+
npx create-typescript-app --author my-npm-username --funding MyGitHubOrganization
6262
```
6363

6464
## Block Exclusions
@@ -67,7 +67,7 @@ Per [Bingo > Stratum > Configurations > `blocks`](https://www.create.bingo/engin
6767
For example, initializing with all tooling except for Renovate:
6868

6969
```shell
70-
npx create-typescript-app@beta --exclude-renovate
70+
npx create-typescript-app --exclude-renovate
7171
```
7272

7373
See [Blocks.md](./Blocks.md) for the list of blocks and their corresponding presets.

docs/Creation.md renamed to docs/Setup.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
# Creating from the Terminal
1+
# Setup Mode
22

3-
You can run `npx create-typescript-app@beta` in your terminal to interactively create a new repository:
3+
You can run `npx create-typescript-app` in your terminal to interactively create a new repository:
44

55
```shell
6-
npx create-typescript-app@beta
6+
npx create-typescript-app
77
```
88

9-
The creation script will by default:
9+
The setup script will by default:
1010

1111
1. Prompt you for a directory, which template preset to run with, and some starting information
1212
2. Initialize new directory as a local Git repository
@@ -34,7 +34,7 @@ See [Options.md](./Options.md).
3434
For example, skipping the _"This package was templated with..."_ block:
3535

3636
```shell
37-
npx create-typescript-app@beta --mode create --exclude-templated-with
37+
npx create-typescript-app --mode create --exclude-templated-with
3838
```
3939

4040
See [Blocks.md](./Blocks.md) for details on the tooling pieces and which presets they're included in.

docs/Migration.md renamed to docs/Transition.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
# Migrating an Existing Repository
1+
# Transition Mode
22

3-
If you have an existing repository that you'd like to give the files from this repository, you can run `npx create-typescript-app@beta` in it to "migrate" its tooling to this template's.
3+
If you have an existing repository that you'd like to migrate to the files from this template, you can run `npx create-typescript-app` in it to "migrate" its tooling to this template's.
44

55
```shell
6-
npx create-typescript-app@beta
6+
npx create-typescript-app
77
```
88

9-
The migration script will:
9+
The transition script will:
1010

1111
- Uninstall any known old packages that conflict with this template's tooling
1212
- Delete configuration files used with those old packages
@@ -46,7 +46,7 @@ See [Options.md](./Options.md).
4646
For example, skipping the _"This package was templated with..."_ block:
4747

4848
```shell
49-
npx create-typescript-app@beta --exclude-templated-with
49+
npx create-typescript-app --exclude-templated-with
5050
```
5151

5252
See [Blocks.md](./Blocks.md) for details on the tooling pieces and which presets they're included in.

docs/Initialization.md renamed to docs/UseThisTemplate.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
# Initializing from the Template
1+
# Using the Template Repository
22

3-
As an alternative to [creating with `npx create-typescript-app@beta`](./Creation.md), the [_Use this template_](https://github.com/JoshuaKGoldberg/create-typescript-app/generate) button on GitHub can be used to quickly create a new repository from the template.
3+
As an alternative to [creating with `npx create-typescript-app`](./Setup.md), the [_Use this template_](https://github.com/JoshuaKGoldberg/create-typescript-app/generate) button on GitHub can be used to quickly create a new repository from the template.
44
You can set up the new repository locally by cloning it and installing packages:
55

66
```shell
77
git clone https://github.com/YourUsername/YourRepositoryName
88
cd YourRepositoryName
9-
npx create-typescript-app@beta
9+
npx create-typescript-app
1010
```
1111

1212
You'll then need to manually go through the following two steps to set up tooling on GitHub:
@@ -29,7 +29,7 @@ See [Options.md](./Options.md).
2929
For example, skipping the _"This package was templated with..."_ block:
3030

3131
```shell
32-
npx create-typescript-app@beta --exclude-templated-with
32+
npx create-typescript-app --exclude-templated-with
3333
```
3434

3535
See [Blocks.md](./Blocks.md) for details on the tooling pieces and which presets they're included in.

package.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "create-typescript-app",
3-
"version": "2.0.0-beta.27",
3+
"version": "2.0.0",
44
"description": "Quickstart-friendly TypeScript template with comprehensive, configurable, opinionated tooling. 🎁",
55
"repository": {
66
"type": "git",
@@ -37,18 +37,18 @@
3737
"*": "prettier --ignore-unknown --write"
3838
},
3939
"dependencies": {
40-
"bingo": "^0.5.3",
41-
"bingo-fs": "^0.5.3",
40+
"bingo": "^0.5.4",
41+
"bingo-fs": "^0.5.4",
4242
"bingo-stratum": "^0.5.4",
4343
"cspell-populate-words": "^0.3.0",
4444
"execa": "^9.5.2",
4545
"git-remote-origin-url": "^4.0.0",
4646
"git-url-parse": "^16.0.1",
4747
"html-to-text": "^9.0.5",
4848
"image-size": "^1.2.0",
49-
"input-from-file": "^0.5.3",
50-
"input-from-file-json": "^0.5.3",
51-
"input-from-script": "^0.5.3",
49+
"input-from-file": "^0.5.4",
50+
"input-from-file-json": "^0.5.4",
51+
"input-from-script": "^0.5.4",
5252
"js-yaml": "^4.1.0",
5353
"lazy-value": "^3.0.0",
5454
"lodash": "^4.17.21",
@@ -78,8 +78,8 @@
7878
"@vitest/coverage-v8": "3.0.7",
7979
"@vitest/eslint-plugin": "1.1.36",
8080
"all-contributors-cli": "6.26.1",
81-
"bingo-stratum-testers": "0.5.3",
82-
"bingo-testers": "0.5.3",
81+
"bingo-stratum-testers": "0.5.4",
82+
"bingo-testers": "0.5.4",
8383
"console-fail-test": "0.5.0",
8484
"cspell": "8.17.5",
8585
"eslint": "9.21.0",

0 commit comments

Comments
 (0)