Skip to content

Commit 60fe202

Browse files
committed
chore: tooling changes
1 parent 6eeb44f commit 60fe202

23 files changed

+4803
-4315
lines changed

.changeset/README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Changesets
2+
3+
Hello and welcome! This folder has been automatically generated by `@changesets/cli`, a build tool that works
4+
with multi-package repos, or single-package repos to help you version and publish your code. You can
5+
find the full documentation for it [in our repository](https://github.com/changesets/changesets)
6+
7+
We have a quick list of common questions to get you started engaging with this project in
8+
[our documentation](https://github.com/changesets/changesets/blob/main/docs/common-questions.md)

.changeset/config.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"$schema": "https://unpkg.com/@changesets/config@3.0.4/schema.json",
3+
"changelog": "@changesets/cli/changelog",
4+
"commit": false,
5+
"fixed": [],
6+
"linked": [],
7+
"access": "restricted",
8+
"baseBranch": "main",
9+
"updateInternalDependencies": "patch",
10+
"ignore": []
11+
}

.changeset/tall-crews-impress.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"hexashades": minor
3+
---
4+
5+
tooling and config changed

.github/CODEOWNERS

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# Each line is a file pattern followed by one or more owners.
2+
3+
# These owners will be the default owners for everything in this repo.
4+
* @arjunkdot
5+
6+
# Order is important; the last matching pattern takes the most
7+
# precedence. When someone opens a pull request that only
8+
# modifies JS files, only @js-owner and not the global
9+
# owner(s) will be requested for a review.
10+
# *.js @js-owner #This is an inline comment.
11+
12+
# You can also use email addresses if you prefer. They'll be
13+
# used to look up users just like we do for commit author
14+
# emails.
15+
# *.go docs@example.com

.github/workflows/main.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: CI
2+
on:
3+
push:
4+
branches:
5+
- "**"
6+
7+
jobs:
8+
build:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v3
12+
- uses: pnpm/action-setup@v2
13+
with:
14+
version: 7
15+
- uses: actions/setup-node@v3
16+
with:
17+
node-version: 16.x
18+
cache: "pnpm"
19+
20+
- run: pnpm install --frozen-lockfile
21+
- run: pnpm run test && pnpm run typecheck && pnpm run lint && pnpm run build

.github/workflows/release.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: Release
2+
on:
3+
workflow_run:
4+
workflows: [CI]
5+
branches: [main]
6+
types: [completed]
7+
8+
concurrency: ${{ github.workflow }}-${{ github.ref }}
9+
10+
permissions:
11+
contents: write
12+
pull-requests: write
13+
14+
jobs:
15+
publish:
16+
if: ${{ github.event.workflow_run.conclusion == 'success' }}
17+
runs-on: ubuntu-latest
18+
steps:
19+
- uses: actions/checkout@v3
20+
- uses: pnpm/action-setup@v2
21+
with:
22+
version: 7
23+
- uses: actions/setup-node@v3
24+
with:
25+
node-version: 16.x
26+
cache: "pnpm"
27+
28+
- run: pnpm install --frozen-lockfile
29+
- name: Create Release Pull Request or Publish
30+
id: changesets
31+
uses: changesets/action@v1
32+
with:
33+
publish: pnpm run release
34+
env:
35+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
36+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

.gitignore

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
.DS_Store
21
node_modules
32
dist
4-
coverage
3+
.DS_Store

CHANGELOG.md

Lines changed: 0 additions & 14 deletions
This file was deleted.

LICENSE

Lines changed: 0 additions & 9 deletions
This file was deleted.

README.md

Lines changed: 0 additions & 51 deletions
This file was deleted.

0 commit comments

Comments
 (0)