From 99cc5f157e6608b2b87237985a736d3957317f3b Mon Sep 17 00:00:00 2001 From: Josh Goldberg Date: Wed, 5 Mar 2025 18:42:18 -0500 Subject: [PATCH 1/6] feat: release 2.0-stable --- .github/workflows/release.yml | 6 +- knip.json | 2 +- package.json | 2 +- src/integration.test.ts | 139 ++++++++++++++-------------------- 4 files changed, 61 insertions(+), 88 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 710b3b1b0..3fc3310d4 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -15,11 +15,7 @@ jobs: - env: GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }} - run: | - git config --global user.email "git@joshuakgoldberg.com" - git config --global user.name "Josh Goldberg" - npm config set //registry.npmjs.org/:_authToken $NPM_TOKEN - - run: npx release-it --preRelease=beta + uses: JoshuaKGoldberg/release-it-action@v0.2.2 name: Release diff --git a/knip.json b/knip.json index 32a0f9d38..4721b9800 100644 --- a/knip.json +++ b/knip.json @@ -1,5 +1,5 @@ { - "$schema": "https://unpkg.com/knip@5.44.1/schema.json", + "$schema": "https://unpkg.com/knip@5.45.0/schema.json", "entry": ["src/index.ts", "src/**/*.test.*"], "ignoreDependencies": [ "all-contributors-cli", diff --git a/package.json b/package.json index dde5db33b..3a536e295 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "create-typescript-app", - "version": "2.0.0-beta.25", + "version": "2.0.0", "description": "Quickstart-friendly TypeScript template with comprehensive, configurable, opinionated tooling. 🎁", "repository": { "type": "git", diff --git a/src/integration.test.ts b/src/integration.test.ts index e39829e23..de5a7fd70 100644 --- a/src/integration.test.ts +++ b/src/integration.test.ts @@ -40,67 +40,69 @@ test("Producing the everything preset matches the files in this repository", asy })) as IntakeDirectory; const created = producePreset(presets.everything, { - addons: [ - blockCodecov({ - env: { - CODECOV_TOKEN: "${{ secrets.CODECOV_TOKEN }}", - }, - }), - blockCSpell({ - words: [ - "Anson", - "apexskier", - "dbaeumer", - "joshuakgoldberg", - "markdownlintignore", - "mtfoley", - "infile", - "npmjs", - ], - }), - blockESLint({ - explanations: [ - `👋 Hi! This ESLint configuration contains a lot more stuff than many repos'! + options: (await prepareOptions(base)) as BaseOptions, + refinements: { + addons: [ + blockCodecov({ + env: { + CODECOV_TOKEN: "${{ secrets.CODECOV_TOKEN }}", + }, + }), + blockCSpell({ + words: [ + "Anson", + "apexskier", + "dbaeumer", + "joshuakgoldberg", + "markdownlintignore", + "mtfoley", + "infile", + "npmjs", + ], + }), + blockESLint({ + explanations: [ + `👋 Hi! This ESLint configuration contains a lot more stuff than many repos'! You can read from it to see all sorts of linting goodness, but don't worry - it's not something you need to exhaustively understand immediately. 💙 If you're interested in learning more, see the 'getting started' docs on: - ESLint: https://eslint.org - typescript-eslint: https://typescript-eslint.io`, - ], - rules: [ - { - comment: - "These on-by-default rules work well for this repo if configured", - entries: { - "@typescript-eslint/prefer-nullish-coalescing": [ - "error", - { ignorePrimitives: true }, - ], - "@typescript-eslint/restrict-template-expressions": [ - "error", - { allowBoolean: true, allowNullish: true, allowNumber: true }, - ], + ], + rules: [ + { + comment: + "These on-by-default rules work well for this repo if configured", + entries: { + "@typescript-eslint/prefer-nullish-coalescing": [ + "error", + { ignorePrimitives: true }, + ], + "@typescript-eslint/restrict-template-expressions": [ + "error", + { allowBoolean: true, allowNullish: true, allowNumber: true }, + ], + }, }, - }, - ], - }), - blockKnip({ - ignoreDependencies: [ - "all-contributors-cli", - "cspell-populate-words", - "remove-dependencies", - ], - }), - blockTSup({ - runArgs: ["--version"], - }), - ], - blocks: { - add: [blockAreTheTypesWrong], - exclude: [blockTemplatedWith], + ], + }), + blockKnip({ + ignoreDependencies: [ + "all-contributors-cli", + "cspell-populate-words", + "remove-dependencies", + ], + }), + blockTSup({ + runArgs: ["--version"], + }), + ], + blocks: { + add: [blockAreTheTypesWrong], + exclude: [blockTemplatedWith], + }, }, - options: (await prepareOptions(base)) as BaseOptions, }); const processText = (text: string, filePath: string) => @@ -108,32 +110,7 @@ If you're interested in learning more, see the 'getting started' docs on: ? prettier.format(text, { filepath: filePath, useTabs: true }) : text; - // Right now, there is exactly one change: the altered beta release flow - // TODO: That will be removed once releases switch back to stable: - // https://github.com/JoshuaKGoldberg/create-typescript-app/issues/1831 - expect(diffCreatedDirectory(actual, created.files, processText)) - .toMatchInlineSnapshot(` - { - ".github": { - "workflows": { - "release.yml": "@@ -14,13 +14,9 @@ - - run: pnpm build - - env: - GITHUB_TOKEN: \${{ secrets.ACCESS_TOKEN }} - NPM_TOKEN: \${{ secrets.NPM_TOKEN }} - - run: | - - git config --global user.email "git@joshuakgoldberg.com" - - git config --global user.name "Josh Goldberg" - - npm config set //registry.npmjs.org/:_authToken $NPM_TOKEN - - - run: npx release-it --preRelease=beta - + uses: JoshuaKGoldberg/release-it-action@v0.2.2 - - name: Release - - on: - ", - }, - }, - } - `); + expect( + diffCreatedDirectory(actual, created.files, processText), + ).toBeUndefined(); }); From 6a3db672050bf2fce3d55218c386fc777901ef3e Mon Sep 17 00:00:00 2001 From: Josh Goldberg Date: Wed, 5 Mar 2025 18:47:49 -0500 Subject: [PATCH 2/6] bingo-stratum@0.5.4 --- package.json | 2 +- pnpm-lock.yaml | 16 ++++++++-------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/package.json b/package.json index 3a536e295..b8343fc2c 100644 --- a/package.json +++ b/package.json @@ -39,7 +39,7 @@ "dependencies": { "bingo": "^0.5.3", "bingo-fs": "^0.5.3", - "bingo-stratum": "^0.5.3", + "bingo-stratum": "^0.5.4", "cspell-populate-words": "^0.3.0", "execa": "^9.5.2", "git-remote-origin-url": "^4.0.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index fc3cbf18d..d2a7e8253 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -15,8 +15,8 @@ importers: specifier: ^0.5.3 version: 0.5.3 bingo-stratum: - specifier: ^0.5.3 - version: 0.5.3(bingo-fs@0.5.3)(bingo-systems@0.5.3)(bingo@0.5.3)(zod@3.24.2) + specifier: ^0.5.4 + version: 0.5.4(bingo-fs@0.5.3)(bingo-systems@0.5.3)(bingo@0.5.3)(zod@3.24.2) cspell-populate-words: specifier: ^0.3.0 version: 0.3.0 @@ -128,7 +128,7 @@ importers: version: 6.26.1 bingo-stratum-testers: specifier: 0.5.3 - version: 0.5.3(bingo-fs@0.5.3)(bingo-stratum@0.5.3(bingo-fs@0.5.3)(bingo-systems@0.5.3)(bingo@0.5.3)(zod@3.24.2))(bingo-systems@0.5.3)(bingo-testers@0.5.3(bingo-fs@0.5.3)(bingo-systems@0.5.3)(bingo@0.5.3))(bingo@0.5.3) + version: 0.5.3(bingo-fs@0.5.3)(bingo-stratum@0.5.4(bingo-fs@0.5.3)(bingo-systems@0.5.3)(bingo@0.5.3)(zod@3.24.2))(bingo-systems@0.5.3)(bingo-testers@0.5.3(bingo-fs@0.5.3)(bingo-systems@0.5.3)(bingo@0.5.3))(bingo@0.5.3) bingo-testers: specifier: 0.5.3 version: 0.5.3(bingo-fs@0.5.3)(bingo-systems@0.5.3)(bingo@0.5.3) @@ -1671,8 +1671,8 @@ packages: bingo-systems: ^0.5.3 bingo-testers: ^0.5.3 - bingo-stratum@0.5.3: - resolution: {integrity: sha512-cBMgqqBbW7iagaX5pDHKMPQ3VMc18JnTCfn1+fJjGZQ0IGWDDW60IjAuPoY2JoS56w1uQeLSc3TcszRpU2wB1A==} + bingo-stratum@0.5.4: + resolution: {integrity: sha512-9+Aj3bob3DOdCK+BNkOP08BTh5my/PcK8ReDGImHZCpHEp0vtrAaI4rmyjWc0qL3GkK9d19n9SjaGWsQ4AUPqg==} engines: {node: '>=18'} peerDependencies: bingo: ^0.5.3 @@ -5650,15 +5650,15 @@ snapshots: bingo-fs@0.5.3: {} - bingo-stratum-testers@0.5.3(bingo-fs@0.5.3)(bingo-stratum@0.5.3(bingo-fs@0.5.3)(bingo-systems@0.5.3)(bingo@0.5.3)(zod@3.24.2))(bingo-systems@0.5.3)(bingo-testers@0.5.3(bingo-fs@0.5.3)(bingo-systems@0.5.3)(bingo@0.5.3))(bingo@0.5.3): + bingo-stratum-testers@0.5.3(bingo-fs@0.5.3)(bingo-stratum@0.5.4(bingo-fs@0.5.3)(bingo-systems@0.5.3)(bingo@0.5.3)(zod@3.24.2))(bingo-systems@0.5.3)(bingo-testers@0.5.3(bingo-fs@0.5.3)(bingo-systems@0.5.3)(bingo@0.5.3))(bingo@0.5.3): dependencies: bingo: 0.5.3 bingo-fs: 0.5.3 - bingo-stratum: 0.5.3(bingo-fs@0.5.3)(bingo-systems@0.5.3)(bingo@0.5.3)(zod@3.24.2) + bingo-stratum: 0.5.4(bingo-fs@0.5.3)(bingo-systems@0.5.3)(bingo@0.5.3)(zod@3.24.2) bingo-systems: 0.5.3 bingo-testers: 0.5.3(bingo-fs@0.5.3)(bingo-systems@0.5.3)(bingo@0.5.3) - bingo-stratum@0.5.3(bingo-fs@0.5.3)(bingo-systems@0.5.3)(bingo@0.5.3)(zod@3.24.2): + bingo-stratum@0.5.4(bingo-fs@0.5.3)(bingo-systems@0.5.3)(bingo@0.5.3)(zod@3.24.2): dependencies: bingo: 0.5.3 bingo-fs: 0.5.3 From 45793798866e1b24a13a6db1565076972806af15 Mon Sep 17 00:00:00 2001 From: Josh Goldberg Date: Thu, 6 Mar 2025 09:19:34 -0500 Subject: [PATCH 3/6] Bump packages to latest --- package.json | 14 ++--- pnpm-lock.yaml | 147 +++++++++++++++++++++++-------------------------- 2 files changed, 77 insertions(+), 84 deletions(-) diff --git a/package.json b/package.json index b8343fc2c..c77167718 100644 --- a/package.json +++ b/package.json @@ -37,8 +37,8 @@ "*": "prettier --ignore-unknown --write" }, "dependencies": { - "bingo": "^0.5.3", - "bingo-fs": "^0.5.3", + "bingo": "^0.5.4", + "bingo-fs": "^0.5.4", "bingo-stratum": "^0.5.4", "cspell-populate-words": "^0.3.0", "execa": "^9.5.2", @@ -46,9 +46,9 @@ "git-url-parse": "^16.0.1", "html-to-text": "^9.0.5", "image-size": "^1.2.0", - "input-from-file": "^0.5.3", - "input-from-file-json": "^0.5.3", - "input-from-script": "^0.5.3", + "input-from-file": "^0.5.4", + "input-from-file-json": "^0.5.4", + "input-from-script": "^0.5.4", "js-yaml": "^4.1.0", "lazy-value": "^3.0.0", "lodash": "^4.17.21", @@ -78,8 +78,8 @@ "@vitest/coverage-v8": "3.0.7", "@vitest/eslint-plugin": "1.1.36", "all-contributors-cli": "6.26.1", - "bingo-stratum-testers": "0.5.3", - "bingo-testers": "0.5.3", + "bingo-stratum-testers": "0.5.4", + "bingo-testers": "0.5.4", "console-fail-test": "0.5.0", "cspell": "8.17.5", "eslint": "9.21.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index d2a7e8253..f130b4bed 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -9,14 +9,14 @@ importers: .: dependencies: bingo: - specifier: ^0.5.3 - version: 0.5.3 + specifier: ^0.5.4 + version: 0.5.4 bingo-fs: - specifier: ^0.5.3 - version: 0.5.3 + specifier: ^0.5.4 + version: 0.5.4 bingo-stratum: specifier: ^0.5.4 - version: 0.5.4(bingo-fs@0.5.3)(bingo-systems@0.5.3)(bingo@0.5.3)(zod@3.24.2) + version: 0.5.4(bingo-fs@0.5.4)(bingo-systems@0.5.4)(bingo@0.5.4)(zod@3.24.2) cspell-populate-words: specifier: ^0.3.0 version: 0.3.0 @@ -36,14 +36,14 @@ importers: specifier: ^1.2.0 version: 1.2.0 input-from-file: - specifier: ^0.5.3 - version: 0.5.3(bingo@0.5.3) + specifier: ^0.5.4 + version: 0.5.4(bingo@0.5.4) input-from-file-json: - specifier: ^0.5.3 - version: 0.5.3(bingo@0.5.3)(zod@3.24.2) + specifier: ^0.5.4 + version: 0.5.4(bingo@0.5.4)(zod@3.24.2) input-from-script: - specifier: ^0.5.3 - version: 0.5.3(bingo@0.5.3) + specifier: ^0.5.4 + version: 0.5.4(bingo@0.5.4) js-yaml: specifier: ^4.1.0 version: 4.1.0 @@ -127,11 +127,11 @@ importers: specifier: 6.26.1 version: 6.26.1 bingo-stratum-testers: - specifier: 0.5.3 - version: 0.5.3(bingo-fs@0.5.3)(bingo-stratum@0.5.4(bingo-fs@0.5.3)(bingo-systems@0.5.3)(bingo@0.5.3)(zod@3.24.2))(bingo-systems@0.5.3)(bingo-testers@0.5.3(bingo-fs@0.5.3)(bingo-systems@0.5.3)(bingo@0.5.3))(bingo@0.5.3) + specifier: 0.5.4 + version: 0.5.4(bingo-fs@0.5.4)(bingo-stratum@0.5.4(bingo-fs@0.5.4)(bingo-systems@0.5.4)(bingo@0.5.4)(zod@3.24.2))(bingo-systems@0.5.4)(bingo-testers@0.5.4(bingo-fs@0.5.4)(bingo-systems@0.5.4)(bingo@0.5.4))(bingo@0.5.4) bingo-testers: - specifier: 0.5.3 - version: 0.5.3(bingo-fs@0.5.3)(bingo-systems@0.5.3)(bingo@0.5.3) + specifier: 0.5.4 + version: 0.5.4(bingo-fs@0.5.4)(bingo-systems@0.5.4)(bingo@0.5.4) console-fail-test: specifier: 0.5.0 version: 0.5.0 @@ -1657,19 +1657,19 @@ packages: before-after-hook@3.0.2: resolution: {integrity: sha512-Nik3Sc0ncrMK4UUdXQmAnRtzmNQTAAXmXIopizwZ1W1t8QmfJj+zL4OA2I7XPTPW5z5TDqv4hRo/JzouDJnX3A==} - bingo-fs@0.5.3: - resolution: {integrity: sha512-uFVR29Pyin3xmEU6tNNewzhIxkDdwWufY7O4nKwoZ6YLAjdBH0jyEVrxBbLvRv3/ffWyNdWba0yKxdtpHZH8gg==} + bingo-fs@0.5.4: + resolution: {integrity: sha512-0dP52RdNAff6F8MoHszk7YAZKZWes4+s9UYANNZVfr87g2KbgY56o6szVXEXytRtay6UuNIkjMHcRTGWw0ODzw==} engines: {node: '>=18'} - bingo-stratum-testers@0.5.3: - resolution: {integrity: sha512-a+/pjyl3wSFGeVXC6Gq4fxgAVvwA7lQjQgSNXaR0OeQ4VC0MEUo+eZsvUgVHJZidp1YHYHOtP1L18MswneR0cw==} + bingo-stratum-testers@0.5.4: + resolution: {integrity: sha512-6JzhLSuAcJKk+j+YOu4j9TPDZwSGEiAW7qiRCgf9f7FjLliSAcvx1s+3kfKDTUQiFalMAgD5LWIGBvpsandZ9A==} engines: {node: '>=18'} peerDependencies: - bingo: ^0.5.3 - bingo-fs: ^0.5.3 - bingo-stratum: ^0.5.3 - bingo-systems: ^0.5.3 - bingo-testers: ^0.5.3 + bingo: ^0.5.4 + bingo-fs: ^0.5.4 + bingo-stratum: ^0.5.4 + bingo-systems: ^0.5.4 + bingo-testers: ^0.5.4 bingo-stratum@0.5.4: resolution: {integrity: sha512-9+Aj3bob3DOdCK+BNkOP08BTh5my/PcK8ReDGImHZCpHEp0vtrAaI4rmyjWc0qL3GkK9d19n9SjaGWsQ4AUPqg==} @@ -1680,20 +1680,20 @@ packages: bingo-systems: ^0.5.3 zod: ^3.24.2 - bingo-systems@0.5.3: - resolution: {integrity: sha512-4Y7sAZSRSfTENd2Hdn7ikcu7KZMZ7Wb4ayUUi9midIZ/L/w8SUhcbIgfGk9ezdNbMlf93EPKMo7BZENqTNh/IQ==} + bingo-systems@0.5.4: + resolution: {integrity: sha512-DZJ/OGQtGeiw9neP6pDFXOBiuGO0vr1Nqlm70WJs3NfziozE1OeFLe8E4ol5t1sIfH8AAheM4Z/YnU2ftroWzw==} engines: {node: '>=18'} - bingo-testers@0.5.3: - resolution: {integrity: sha512-771GDlo0zy4QEGnUBVq87A47Hxp5r0CTXkYrsLV6eErbKlMfW46dWpkh197YVZ/R+K+aLnX29MbR9mVKtoJNOw==} + bingo-testers@0.5.4: + resolution: {integrity: sha512-YELX1R2EnFg9zcF33C5CbOFtOgJCvQ3Nu9QJveyM2oNmbhJig0vzuBdHkPFe4Otx0XPidY9d08KntUFDj+bXOg==} engines: {node: '>=18'} peerDependencies: - bingo: ^0.5.3 - bingo-fs: ^0.5.3 - bingo-systems: ^0.5.3 + bingo: ^0.5.4 + bingo-fs: ^0.5.4 + bingo-systems: ^0.5.4 - bingo@0.5.3: - resolution: {integrity: sha512-b7S+PzKxUXFzJQA+RFXf8tI0tFsB+0VgrZ0VUYqo1lUAGS5qoNcwDZ0caAojC7ooF/abG1Rgi5y5ZMh5rvHhTA==} + bingo@0.5.4: + resolution: {integrity: sha512-q9xZO+0tnVQS3LWNh3+n32fHGlkzaIRIHTEkZzfWNxrhnz1sljH0lbxHV6950n1BFJTF3dIWfenbckB/kShsyg==} engines: {node: '>=18'} hasBin: true @@ -2705,24 +2705,24 @@ packages: resolution: {integrity: sha512-X7rqawQBvfdjS10YU1y1YVreA3SsLrW9dX2CewP2EbBJM4ypVNLDkO5y04gejPwKIY9lR+7r9gn3rFPt/kmWFg==} engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} - input-from-file-json@0.5.3: - resolution: {integrity: sha512-y+h77DkZyoOqFhPHaHFfoHWJM4/UishQEnGuF4Do3Gqk/DyhOuvmssirW0QsFYhVLsSb7HF5HAEpnI7AfJNi6A==} + input-from-file-json@0.5.4: + resolution: {integrity: sha512-rLENfl3mlP5fShQ570MZ2hQStoO67qGO56PkeaOuwDg0VTh7yRBSC65+0N5lb3BMb0hxsiwRAIuxGCf58JY6LQ==} engines: {node: '>=18'} peerDependencies: - bingo: ^0.5.3 + bingo: ^0.5.4 zod: ^3.24.2 - input-from-file@0.5.3: - resolution: {integrity: sha512-9MX5JxwKqe3l37LNH/oc8TAPDY5i3XlJCaU3omztkD4VGSuZ8rJjbLpo72UltXFCiP1LzEsukojVIubiLnFXpA==} + input-from-file@0.5.4: + resolution: {integrity: sha512-maOF/jcv6lcPbi3Gup5+FPJqTjVg5m/caUARnMPiaNePXwGfmttljS4YJfpfpm79Vnr7HiPAbcerxBdOzS1XfA==} engines: {node: '>=18'} peerDependencies: - bingo: ^0.5.3 + bingo: ^0.5.4 - input-from-script@0.5.3: - resolution: {integrity: sha512-qAMZBJSjqiWQ6nrbb4aTOf+mhgI/HSvdWoe2cFyFrEG3kWjjoayOgPRdUceyRUb4/n9pPAOeePh/LsvVYjbTmg==} + input-from-script@0.5.4: + resolution: {integrity: sha512-QpPpKUI7hpVih2zoF/lRf14kmMutvUBpGCCb3E4nz1Ou5uqg+QH9UcST0Zpm/02GrAorWt4JUap1wdWKu45keA==} engines: {node: '>=18'} peerDependencies: - bingo: ^0.5.3 + bingo: ^0.5.4 inquirer@12.3.0: resolution: {integrity: sha512-3NixUXq+hM8ezj2wc7wC37b32/rHq1MwNZDYdvx+d6jokOD+r+i8Q4Pkylh9tISYP114A128LCX8RKhopC5RfQ==} @@ -3556,11 +3556,6 @@ packages: engines: {node: '>=10.13.0'} hasBin: true - prettier@3.5.1: - resolution: {integrity: sha512-hPpFQvHwL3Qv5AdRvBFMhnKo4tYxp0ReXiPn2bxkiohEX6mBeBwEpBSQTkD458RaaDKQMYSp4hX4UtfUTA5wDw==} - engines: {node: '>=14'} - hasBin: true - prettier@3.5.3: resolution: {integrity: sha512-QQtaxnoDJeAkDvDKWCLiwIXkTgRhwYDEQCghU9Z6q03iyek/rxRh/2lC3HB7P8sWT2xC/y5JDctPLBIGzHKbhw==} engines: {node: '>=14'} @@ -5648,21 +5643,21 @@ snapshots: before-after-hook@3.0.2: {} - bingo-fs@0.5.3: {} + bingo-fs@0.5.4: {} - bingo-stratum-testers@0.5.3(bingo-fs@0.5.3)(bingo-stratum@0.5.4(bingo-fs@0.5.3)(bingo-systems@0.5.3)(bingo@0.5.3)(zod@3.24.2))(bingo-systems@0.5.3)(bingo-testers@0.5.3(bingo-fs@0.5.3)(bingo-systems@0.5.3)(bingo@0.5.3))(bingo@0.5.3): + bingo-stratum-testers@0.5.4(bingo-fs@0.5.4)(bingo-stratum@0.5.4(bingo-fs@0.5.4)(bingo-systems@0.5.4)(bingo@0.5.4)(zod@3.24.2))(bingo-systems@0.5.4)(bingo-testers@0.5.4(bingo-fs@0.5.4)(bingo-systems@0.5.4)(bingo@0.5.4))(bingo@0.5.4): dependencies: - bingo: 0.5.3 - bingo-fs: 0.5.3 - bingo-stratum: 0.5.4(bingo-fs@0.5.3)(bingo-systems@0.5.3)(bingo@0.5.3)(zod@3.24.2) - bingo-systems: 0.5.3 - bingo-testers: 0.5.3(bingo-fs@0.5.3)(bingo-systems@0.5.3)(bingo@0.5.3) + bingo: 0.5.4 + bingo-fs: 0.5.4 + bingo-stratum: 0.5.4(bingo-fs@0.5.4)(bingo-systems@0.5.4)(bingo@0.5.4)(zod@3.24.2) + bingo-systems: 0.5.4 + bingo-testers: 0.5.4(bingo-fs@0.5.4)(bingo-systems@0.5.4)(bingo@0.5.4) - bingo-stratum@0.5.4(bingo-fs@0.5.3)(bingo-systems@0.5.3)(bingo@0.5.3)(zod@3.24.2): + bingo-stratum@0.5.4(bingo-fs@0.5.4)(bingo-systems@0.5.4)(bingo@0.5.4)(zod@3.24.2): dependencies: - bingo: 0.5.3 - bingo-fs: 0.5.3 - bingo-systems: 0.5.3 + bingo: 0.5.4 + bingo-fs: 0.5.4 + bingo-systems: 0.5.4 chalk: 5.4.1 hash-object: 5.0.1 octokit: 4.1.2 @@ -5670,34 +5665,34 @@ snapshots: without-undefined-properties: 0.1.1 zod: 3.24.2 - bingo-systems@0.5.3: + bingo-systems@0.5.4: dependencies: - bingo-fs: 0.5.3 + bingo-fs: 0.5.4 execa: 9.5.2 get-github-auth-token: 0.1.1 octokit: 4.1.2 - bingo-testers@0.5.3(bingo-fs@0.5.3)(bingo-systems@0.5.3)(bingo@0.5.3): + bingo-testers@0.5.4(bingo-fs@0.5.4)(bingo-systems@0.5.4)(bingo@0.5.4): dependencies: - bingo: 0.5.3 - bingo-fs: 0.5.3 - bingo-systems: 0.5.3 + bingo: 0.5.4 + bingo-fs: 0.5.4 + bingo-systems: 0.5.4 diff: 7.0.0 octokit: 4.1.2 without-undefined-properties: 0.1.1 - bingo@0.5.3: + bingo@0.5.4: dependencies: '@clack/prompts': 0.10.0 - bingo-fs: 0.5.3 - bingo-systems: 0.5.3 + bingo-fs: 0.5.4 + bingo-systems: 0.5.4 cached-factory: 0.1.0 call-id: 0.1.0 chalk: 5.4.1 get-github-auth-token: 0.1.1 hash-object: 5.0.1 hosted-git-info: 8.0.2 - prettier: 3.5.1 + prettier: 3.5.3 read-package-up: 11.0.0 read-pkg: 9.0.1 slugify: 1.6.6 @@ -6880,20 +6875,20 @@ snapshots: ini@4.1.3: {} - input-from-file-json@0.5.3(bingo@0.5.3)(zod@3.24.2): + input-from-file-json@0.5.4(bingo@0.5.4)(zod@3.24.2): dependencies: - bingo: 0.5.3 - input-from-file: 0.5.3(bingo@0.5.3) + bingo: 0.5.4 + input-from-file: 0.5.4(bingo@0.5.4) zod: 3.24.2 - input-from-file@0.5.3(bingo@0.5.3): + input-from-file@0.5.4(bingo@0.5.4): dependencies: - bingo: 0.5.3 + bingo: 0.5.4 zod: 3.24.2 - input-from-script@0.5.3(bingo@0.5.3): + input-from-script@0.5.4(bingo@0.5.4): dependencies: - bingo: 0.5.3 + bingo: 0.5.4 zod: 3.24.2 inquirer@12.3.0(@types/node@22.13.9): @@ -7842,8 +7837,6 @@ snapshots: prettier@2.8.8: optional: true - prettier@3.5.1: {} - prettier@3.5.3: {} pretty-ms@9.2.0: From e91c50c2d9de586cd05859c603dfa8d247d0dfb3 Mon Sep 17 00:00:00 2001 From: Josh Goldberg Date: Thu, 6 Mar 2025 09:19:47 -0500 Subject: [PATCH 4/6] Remove README.md note --- README.md | 4 ---- 1 file changed, 4 deletions(-) diff --git a/README.md b/README.md index e361b37bd..af211c930 100644 --- a/README.md +++ b/README.md @@ -25,10 +25,6 @@ It includes options not just for building and testing but also automated release ## Usage -> **Note:** create-typescript-app is preparing to promote the 2.0 beta version to stable soon. -> The repository's `main` branch shows commands for the `beta` version. -> The published package's 1.x versions still show commands for the 1.x version. - First make sure you have the following installed: - [Node.js](https://nodejs.org) From 1779a257576a68e84f5742506b33036f4a701aef Mon Sep 17 00:00:00 2001 From: Josh Goldberg Date: Thu, 6 Mar 2025 09:26:08 -0500 Subject: [PATCH 5/6] Updated docs files for Bingo nomenclature: Setup, Transition --- README.md | 8 ++++---- docs/{Creation.md => Setup.md} | 4 ++-- docs/{Migration.md => Transition.md} | 6 +++--- docs/{Initialization.md => UseThisTemplate.md} | 4 ++-- 4 files changed, 11 insertions(+), 11 deletions(-) rename docs/{Creation.md => Setup.md} (96%) rename docs/{Migration.md => Transition.md} (89%) rename docs/{Initialization.md => UseThisTemplate.md} (86%) diff --git a/README.md b/README.md index af211c930..ddac4cf91 100644 --- a/README.md +++ b/README.md @@ -37,11 +37,11 @@ Then in an existing repository or in your directory where you'd like to make a n npx create-typescript-app@beta ``` -You can read more about the supported setup modes in their docs pages: +You can read more about the supported runtime modes in their docs pages: -- [**Creating from the terminal**](./docs/Creation.md): creating a new repository locally on the command-line _(recommended)_ -- [**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 -- [**Migrating an existing repository**](./docs/Migration.md): adding this template's tooling on top of an existing repository +- [**Setting up from the terminal**](./docs/Setup.md): creating a new repository locally on the command-line _(recommended)_ +- [**Transitioning an existing repository**](./docs/Transition.md): adding this template's tooling on top of an existing repository +- [**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 ## Documentation diff --git a/docs/Creation.md b/docs/Setup.md similarity index 96% rename from docs/Creation.md rename to docs/Setup.md index 588da6ba0..23037ccb0 100644 --- a/docs/Creation.md +++ b/docs/Setup.md @@ -1,4 +1,4 @@ -# Creating from the Terminal +# Setup Mode You can run `npx create-typescript-app@beta` in your terminal to interactively create a new repository: @@ -6,7 +6,7 @@ You can run `npx create-typescript-app@beta` in your terminal to interactively c npx create-typescript-app@beta ``` -The creation script will by default: +The setup script will by default: 1. Prompt you for a directory, which template preset to run with, and some starting information 2. Initialize new directory as a local Git repository diff --git a/docs/Migration.md b/docs/Transition.md similarity index 89% rename from docs/Migration.md rename to docs/Transition.md index b97f19142..a30effac4 100644 --- a/docs/Migration.md +++ b/docs/Transition.md @@ -1,12 +1,12 @@ -# Migrating an Existing Repository +# Transition Mode -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. +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@beta` in it to "migrate" its tooling to this template's. ```shell npx create-typescript-app@beta ``` -The migration script will: +The transition script will: - Uninstall any known old packages that conflict with this template's tooling - Delete configuration files used with those old packages diff --git a/docs/Initialization.md b/docs/UseThisTemplate.md similarity index 86% rename from docs/Initialization.md rename to docs/UseThisTemplate.md index 673a9d37c..c2dd97fa3 100644 --- a/docs/Initialization.md +++ b/docs/UseThisTemplate.md @@ -1,6 +1,6 @@ -# Initializing from the Template +# Using the Template Repository -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. +As an alternative to [creating with `npx create-typescript-app@beta`](./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. You can set up the new repository locally by cloning it and installing packages: ```shell From 43c52ff903e65b0026ee04a6ff871bb44b978fe4 Mon Sep 17 00:00:00 2001 From: Josh Goldberg Date: Thu, 6 Mar 2025 09:26:57 -0500 Subject: [PATCH 6/6] Remove @beta notice too --- README.md | 2 +- docs/Options.md | 10 +++++----- docs/Setup.md | 6 +++--- docs/Transition.md | 6 +++--- docs/UseThisTemplate.md | 6 +++--- 5 files changed, 15 insertions(+), 15 deletions(-) diff --git a/README.md b/README.md index ddac4cf91..6ce46fc93 100644 --- a/README.md +++ b/README.md @@ -34,7 +34,7 @@ First make sure you have the following installed: Then in an existing repository or in your directory where you'd like to make a new repository: ```shell -npx create-typescript-app@beta +npx create-typescript-app ``` You can read more about the supported runtime modes in their docs pages: diff --git a/docs/Options.md b/docs/Options.md index 276c06e75..b31fe2cda 100644 --- a/docs/Options.md +++ b/docs/Options.md @@ -3,7 +3,7 @@ `create-typescript-app` is built on top of [Bingo](https://create.bingo). It supports all the flags supported by [Bingo CLIs](https://www.create.bingo/cli). -`npx create-typescript-app@beta` provides three `--preset` options: +`npx create-typescript-app` provides three `--preset` options: 1. **Minimal**: Just bare starter tooling: building, formatting, linting, and type checking. 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 For example, to create a new repository with the _Everything_ preset: ```shell -npx create-typescript-app@beta --preset everything +npx create-typescript-app --preset everything ``` `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 For example, pre-populating all required base options: ```shell -npx create-typescript-app@beta --directory my-typescript-app --description "My awesome TypeScript app! 💖" --preset everything +npx create-typescript-app --directory my-typescript-app --description "My awesome TypeScript app! 💖" --preset everything ``` 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 For example, customizing the npm author and funding source: ```shell -npx create-typescript-app@beta --author my-npm-username --funding MyGitHubOrganization +npx create-typescript-app --author my-npm-username --funding MyGitHubOrganization ``` ## Block Exclusions @@ -67,7 +67,7 @@ Per [Bingo > Stratum > Configurations > `blocks`](https://www.create.bingo/engin For example, initializing with all tooling except for Renovate: ```shell -npx create-typescript-app@beta --exclude-renovate +npx create-typescript-app --exclude-renovate ``` See [Blocks.md](./Blocks.md) for the list of blocks and their corresponding presets. diff --git a/docs/Setup.md b/docs/Setup.md index 23037ccb0..ae36930ee 100644 --- a/docs/Setup.md +++ b/docs/Setup.md @@ -1,9 +1,9 @@ # Setup Mode -You can run `npx create-typescript-app@beta` in your terminal to interactively create a new repository: +You can run `npx create-typescript-app` in your terminal to interactively create a new repository: ```shell -npx create-typescript-app@beta +npx create-typescript-app ``` The setup script will by default: @@ -34,7 +34,7 @@ See [Options.md](./Options.md). For example, skipping the _"This package was templated with..."_ block: ```shell -npx create-typescript-app@beta --mode create --exclude-templated-with +npx create-typescript-app --mode create --exclude-templated-with ``` See [Blocks.md](./Blocks.md) for details on the tooling pieces and which presets they're included in. diff --git a/docs/Transition.md b/docs/Transition.md index a30effac4..fc6e8c17f 100644 --- a/docs/Transition.md +++ b/docs/Transition.md @@ -1,9 +1,9 @@ # Transition Mode -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@beta` in it to "migrate" its tooling to this template's. +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. ```shell -npx create-typescript-app@beta +npx create-typescript-app ``` The transition script will: @@ -46,7 +46,7 @@ See [Options.md](./Options.md). For example, skipping the _"This package was templated with..."_ block: ```shell -npx create-typescript-app@beta --exclude-templated-with +npx create-typescript-app --exclude-templated-with ``` See [Blocks.md](./Blocks.md) for details on the tooling pieces and which presets they're included in. diff --git a/docs/UseThisTemplate.md b/docs/UseThisTemplate.md index c2dd97fa3..28f897532 100644 --- a/docs/UseThisTemplate.md +++ b/docs/UseThisTemplate.md @@ -1,12 +1,12 @@ # Using the Template Repository -As an alternative to [creating with `npx create-typescript-app@beta`](./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. +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. You can set up the new repository locally by cloning it and installing packages: ```shell git clone https://github.com/YourUsername/YourRepositoryName cd YourRepositoryName -npx create-typescript-app@beta +npx create-typescript-app ``` 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). For example, skipping the _"This package was templated with..."_ block: ```shell -npx create-typescript-app@beta --exclude-templated-with +npx create-typescript-app --exclude-templated-with ``` See [Blocks.md](./Blocks.md) for details on the tooling pieces and which presets they're included in.