Skip to content

Commit

Permalink
chore: update project structure
Browse files Browse the repository at this point in the history
  • Loading branch information
RebeccaStevens committed May 19, 2024
1 parent c8107d3 commit 5842f84
Show file tree
Hide file tree
Showing 70 changed files with 10,266 additions and 8,105 deletions.
13 changes: 0 additions & 13 deletions .c8rc.json

This file was deleted.

2 changes: 1 addition & 1 deletion .commitlintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module.exports = {
extends: ["@commitlint/config-conventional"],
parserPreset: {
parserOpts: {
headerPattern: /^(\w*)(?:\((.*)\))?!?: (.*)$/,
headerPattern: /^(\w*)(?:\((.*)\))?!?: (.*)$/u,
},
},
};
73 changes: 0 additions & 73 deletions .cspell.json

This file was deleted.

50 changes: 0 additions & 50 deletions .eslintrc.json

This file was deleted.

1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
**/tsconfig.json linguist-language=jsonc
**/tsconfig.*.json linguist-language=jsonc
/.lintstagedrc linguist-language=json
/.markdownlint.json linguist-language=jsonc
/.vscode/*.json linguist-language=jsonc

/dist/** linguist-generated
Expand Down
4 changes: 2 additions & 2 deletions .github/actions/prepare/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ inputs:
node-version:
required: false
description: "`node-version` passed to `actions/setup-node`."
default: latest
default: "20"

runs:
using: "composite"
Expand All @@ -16,7 +16,7 @@ runs:
git config --global user.name ${GITHUB_ACTOR}
shell: bash
- uses: pnpm/action-setup@v2
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: ${{ inputs.node-version }}
cache: "pnpm"
Expand Down
56 changes: 28 additions & 28 deletions .github/renovate.json
Original file line number Diff line number Diff line change
@@ -1,62 +1,62 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"automergeStrategy": "rebase",
"extends": [
":automergeAll",
":automergePr",
":ignoreModulesAndTests",
"replacements:all",
"workarounds:all",
":prConcurrentLimitNone",
":prHourlyLimitNone",
":semanticCommits",
"group:allNonMajor",
"group:monorepos",
"group:recommended",
":automergeAll",
":automergePr",
":semanticCommits",
":prHourlyLimitNone",
":prConcurrentLimitNone",
"helpers:disableTypesNodeMajor",
"schedule:weekly"
"replacements:all",
"schedule:monthly",
"workarounds:all"
],
"labels": ["Type: Maintenance", ":blue_heart:"],
"automergeStrategy": "rebase",
"postUpdateOptions": ["pnpmDedupe"],
"packageRules": [
{
"matchPaths": ["+(benchmark/package.json)"],
"rangeStrategy": "bump",
"semanticCommitType": "chore",
"semanticCommitScope": "benchmark"
"semanticCommitScope": "benchmark",
"semanticCommitType": "chore"
},
{
"matchManagers": ["npm"],
"major": {
"semanticCommitType": "build"
},
"matchDepTypes": ["dependencies"],
"matchManagers": ["npm"],
"rangeStrategy": "update-lockfile",
"semanticCommitType": "chore",
"semanticCommitScope": "deps",
"major": {
"semanticCommitType": "build"
}
"semanticCommitType": "chore"
},
{
"matchManagers": ["npm"],
"matchDepTypes": ["devDependencies"],
"matchManagers": ["npm"],
"rangeStrategy": "pin",
"semanticCommitType": "chore",
"semanticCommitScope": "dev-deps"
"semanticCommitScope": "dev-deps",
"semanticCommitType": "chore"
},
{
"matchManagers": ["npm"],
"major": {
"semanticCommitType": "build"
},
"matchDepTypes": ["peerDependencies"],
"matchManagers": ["npm"],
"rangeStrategy": "widen",
"semanticCommitType": "chore",
"semanticCommitScope": "peer-deps",
"major": {
"semanticCommitType": "build"
}
"semanticCommitType": "chore"
},
{
"matchManagers": ["github-actions"],
"rangeStrategy": "replace",
"semanticCommitType": "ci",
"semanticCommitScope": "dev-deps"
"semanticCommitScope": "dev-deps",
"semanticCommitType": "ci"
}
]
],
"postUpdateOptions": ["pnpmDedupe"]
}
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 @@
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

jobs:
accessibility_alt_text_bot:
if: ${{ !endsWith(github.actor, '[bot]') }}
runs-on: ubuntu-latest
steps:
- uses: github/accessibility-alt-text-bot@v1.5.0
2 changes: 1 addition & 1 deletion .github/workflows/build-node.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ jobs:
build_node:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: ./.github/actions/prepare
- run: pnpm run build:node
2 changes: 1 addition & 1 deletion .github/workflows/lint-js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ jobs:
lint_js:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: ./.github/actions/prepare
- run: pnpm run lint:js
2 changes: 1 addition & 1 deletion .github/workflows/lint-knip-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ jobs:
lint_knip_dev:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: ./.github/actions/prepare
- run: pnpm run lint:knip:development
2 changes: 1 addition & 1 deletion .github/workflows/lint-knip-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ jobs:
lint_knip_prod:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: ./.github/actions/prepare
- run: pnpm run lint:knip:production
2 changes: 1 addition & 1 deletion .github/workflows/lint-markdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ jobs:
lint_markdown:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: ./.github/actions/prepare
- run: pnpm run lint:md
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
name: Prettier
name: Lint Packages

on:
pull_request:
workflow_dispatch:
workflow_call:

jobs:
lint_prettier:
lint_packages:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: ./.github/actions/prepare
- run: pnpm run lint:prettier
- run: pnpm run lint:packages
2 changes: 1 addition & 1 deletion .github/workflows/lint-spelling.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ jobs:
lint_spelling:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: ./.github/actions/prepare
- run: pnpm run lint:spelling
Loading

0 comments on commit 5842f84

Please sign in to comment.