Skip to content

Commit

Permalink
chore: refresh to latest create-typescript-app template
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshuaKGoldberg committed Jun 3, 2024
1 parent 0acbd20 commit 0ed3bb1
Show file tree
Hide file tree
Showing 20 changed files with 2,315 additions and 2,178 deletions.
20 changes: 4 additions & 16 deletions .all-contributorsrc
Original file line number Diff line number Diff line change
@@ -1,25 +1,12 @@
{
"badgeTemplate": "<img alt=\"All Contributors: <%= contributors.length %> 👪\" src=\"https://img.shields.io/badge/all_contributors-<%= contributors.length %>_👪-21bb42.svg\" />",
"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>",
"commit": false,
"commitConvention": "angular",
"commitType": "docs",
"contributors": [
{
"avatar_url": "/~https://avatars.githubusercontent.com/u/3335181?v=4",
"contributions": [
"bug",
"code",
"content",
"example",
"ideas",
"infra",
"maintenance",
"platform",
"projectManagement",
"review",
"security",
"tool",
"test"
],
"contributions": ["code", "ideas", "infra", "maintenance", "tool"],
"login": "JoshuaKGoldberg",
"name": "Josh Goldberg",
"profile": "http://www.joshuakgoldberg.com"
Expand All @@ -34,3 +21,4 @@
"repoHost": "https://github.com",
"repoType": "github"
}

6 changes: 0 additions & 6 deletions .eslintignore

This file was deleted.

161 changes: 0 additions & 161 deletions .eslintrc.cjs

This file was deleted.

2 changes: 0 additions & 2 deletions .github/ISSUE_TEMPLATE/03-feature.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ body:
description: If any of these required steps are not taken, we may not be able to review your issue. Help us to help you!
label: Bug Report Checklist
options:
- label: I have tried restarting my IDE and the issue persists.
required: true
- label: I have pulled the latest `main` branch of the repository.
required: true
- label: I have [searched for related issues](/~https://github.com/JoshuaKGoldberg/ts-function-inliner/issues?q=is%3Aissue) and found none that matched my issue.
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/prepare/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ runs:
- uses: actions/setup-node@v4
with:
cache: pnpm
node-version: "18"
node-version: "20"
- run: pnpm install --frozen-lockfile
shell: bash
using: composite
2 changes: 2 additions & 0 deletions .github/renovate.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"automerge": true,
"extends": ["config:best-practices", "replacements:all"],
"ignoreDeps": ["codecov/codecov-action"],
"internalChecksFilter": "strict",
"labels": ["dependencies"],
"minimumReleaseAge": "3 days",
Expand Down
26 changes: 26 additions & 0 deletions .github/workflows/accessibility-alt-text-bot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
jobs:
accessibility_alt_text_bot:
if: ${{ !endsWith(github.actor, '[bot]') }}
runs-on: ubuntu-latest
steps:
- uses: github/accessibility-alt-text-bot@v1.4.0

name: Accessibility Alt Text Bot

on:
issue_comment:
types:
- created
- edited
issues:
types:
- edited
- opened
pull_request:
types:
- edited
- opened

permissions:
issues: write
pull-requests: write
1 change: 0 additions & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/prepare
- run: pnpm build || true
- run: pnpm lint

name: Lint
Expand Down
4 changes: 0 additions & 4 deletions .npmpackagejsonlintrc.json

This file was deleted.

2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
20.11.0
20.12.2
5 changes: 1 addition & 4 deletions .prettierrc → .prettierrc.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
{
"$schema": "http://json.schemastore.org/prettierrc",
"overrides": [
{ "files": ".*rc", "options": { "parser": "json" } },
{ "files": ".nvmrc", "options": { "parser": "yaml" } }
],
"overrides": [{ "files": ".nvmrc", "options": { "parser": "yaml" } }],
"plugins": ["prettier-plugin-curly", "prettier-plugin-packagejson"],
"useTabs": true
}
5 changes: 2 additions & 3 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
{
"editor.codeActionsOnSave": {
"source.fixAll.eslint": "explicit"
},
"editor.codeActionsOnSave": { "source.fixAll.eslint": "explicit" },
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true,
"editor.rulers": [80],
Expand All @@ -16,5 +14,6 @@
"yaml"
],
"eslint.rules.customizations": [{ "rule": "*", "severity": "warn" }],
"eslint.useFlatConfig": true,
"typescript.tsdk": "node_modules/typescript/lib"
}
11 changes: 11 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"tasks": [
{
"detail": "Build the project",
"label": "build",
"script": "build",
"type": "npm"
}
],
"version": "2.0.0"
}
34 changes: 11 additions & 23 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,28 +3,16 @@
<p align="center">TypeScript transformation that inlines calls to small functions. ⚡️</p>

<p align="center">
<a href="#contributors" target="_blank">
<!-- prettier-ignore-start -->
<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
<img alt="All Contributors: 1 👪" src="https://img.shields.io/badge/all_contributors-1_👪-21bb42.svg" />
<!-- prettier-ignore-start -->
<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
<a href="#contributors" target="_blank"><img alt="👪 All Contributors: 1" src="https://img.shields.io/badge/%F0%9F%91%AA_all_contributors-1-21bb42.svg" /></a>
<!-- ALL-CONTRIBUTORS-BADGE:END -->
<!-- prettier-ignore-end -->
</a>
<a href="https://codecov.io/gh/JoshuaKGoldberg/ts-function-inliner" target="_blank">
<img alt="Codecov Test Coverage" src="https://codecov.io/gh/JoshuaKGoldberg/ts-function-inliner/branch/main/graph/badge.svg"/>
</a>
<a href="/~https://github.com/JoshuaKGoldberg/ts-function-inliner/blob/main/.github/CODE_OF_CONDUCT.md" target="_blank">
<img alt="Contributor Covenant" src="https://img.shields.io/badge/code_of_conduct-enforced-21bb42" />
</a>
<a href="/~https://github.com/JoshuaKGoldberg/ts-function-inliner/blob/main/LICENSE.md" target="_blank">
<img alt="License: MIT" src="https://img.shields.io/github/license/JoshuaKGoldberg/ts-function-inliner?color=21bb42">
</a>
<a href="/~https://github.com/sponsors/JoshuaKGoldberg" target="_blank">
<img alt="Sponsor: On GitHub" src="https://img.shields.io/badge/sponsor-on_github-21bb42.svg" />
</a>
<img alt="Style: Prettier" src="https://img.shields.io/badge/style-prettier-21bb42.svg" />
<img alt="TypeScript: Strict" src="https://img.shields.io/badge/typescript-strict-21bb42.svg" />
<img alt="npm package version" src="https://img.shields.io/npm/v/ts-function-inliner?color=21bb42" />
<!-- prettier-ignore-end -->
<a href="/~https://github.com/JoshuaKGoldberg/ts-function-inliner/blob/main/.github/CODE_OF_CONDUCT.md" target="_blank"><img alt="🤝 Code of Conduct: Kept" src="https://img.shields.io/badge/%F0%9F%A4%9D_code_of_conduct-kept-21bb42" /></a>
<a href="https://codecov.io/gh/JoshuaKGoldberg/ts-function-inliner" target="_blank"><img alt="🧪 Coverage" src="https://img.shields.io/codecov/c/github/JoshuaKGoldberg/ts-function-inliner?label=%F0%9F%A7%AA%20coverage" /></a>
<a href="/~https://github.com/JoshuaKGoldberg/ts-function-inliner/blob/main/LICENSE.md" target="_blank"><img alt="📝 License: MIT" src="https://img.shields.io/badge/%F0%9F%93%9D_license-MIT-21bb42.svg"></a>
<a href="http://npmjs.com/package/ts-function-inliner"><img alt="📦 npm version" src="https://img.shields.io/npm/v/ts-function-inliner?color=21bb42&label=%F0%9F%93%A6%20npm" /></a>
<img alt="💪 TypeScript: Strict" src="https://img.shields.io/badge/%F0%9F%92%AA_typescript-strict-21bb42.svg" />
</p>

## Explanation
Expand Down Expand Up @@ -106,7 +94,7 @@ Thanks! 💖
<table>
<tbody>
<tr>
<td align="center" valign="top" width="14.28%"><a href="http://www.joshuakgoldberg.com"><img src="/~https://avatars.githubusercontent.com/u/3335181?v=4?s=100" width="100px;" alt="Josh Goldberg"/><br /><sub><b>Josh Goldberg</b></sub></a><br /><a href="#maintenance-JoshuaKGoldberg" title="Maintenance">🚧</a> <a href="#tool-JoshuaKGoldberg" title="Tools">🔧</a></td>
<td align="center" valign="top" width="14.28%"><a href="http://www.joshuakgoldberg.com"><img src="/~https://avatars.githubusercontent.com/u/3335181?v=4?s=100" width="100px;" alt="Josh Goldberg"/><br /><sub><b>Josh Goldberg</b></sub></a><br /><a href="/~https://github.com/JoshuaKGoldberg/ts-function-inliner/commits?author=JoshuaKGoldberg" title="Code">💻</a> <a href="#ideas-JoshuaKGoldberg" title="Ideas, Planning, & Feedback">🤔</a> <a href="#infra-JoshuaKGoldberg" title="Infrastructure (Hosting, Build-Tools, etc)">🚇</a> <a href="#maintenance-JoshuaKGoldberg" title="Maintenance">🚧</a> <a href="#tool-JoshuaKGoldberg" title="Tools">🔧</a></td>
</tr>
</tbody>
</table>
Expand All @@ -120,4 +108,4 @@ Thanks! 💖

[^1]: See [Microsoft/TypeScript: Added some Type type predicates internally #50010](/~https://github.com/microsoft/TypeScript/pull/50010), which caused a 1-2% performance hit in TypeScript.

> 💙 This package is based on [@JoshuaKGoldberg](/~https://github.com/JoshuaKGoldberg)'s [create-typescript-app](/~https://github.com/JoshuaKGoldberg/create-typescript-app).
> 💙 This package was templated with [create-typescript-app](/~https://github.com/JoshuaKGoldberg/create-typescript-app).
14 changes: 2 additions & 12 deletions cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,21 +10,11 @@
],
"words": [
"automerge",
"Codecov",
"codespace",
"commitlint",
"contributorsrc",
"conventionalcommits",
"gulpfile",
"inlines",
"knip",
"lcov",
"markdownlintignore",
"npmpackagejsonlintrc",
"outro",
"packagejson",
"quickstart",
"tsup",
"wontfix"
"tseslint",
"tsup"
]
}
Loading

0 comments on commit 0ed3bb1

Please sign in to comment.