Skip to content

Commit c380b8b

Browse files
committed
try
1 parent 825af86 commit c380b8b

File tree

8 files changed

+163
-358
lines changed

8 files changed

+163
-358
lines changed

Diff for: .autorc

-4
This file was deleted.

Diff for: .changeset/README.md

+8
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)

Diff for: .changeset/config.json

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

Diff for: .github/workflows/publish-canary.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,13 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- uses: actions/checkout@v3
14+
with:
15+
fetch-depth: 0
1416
- uses: jdx/mise-action@v2
1517
- name: Install deps
1618
run: bun install
1719
- name: Publish canary
20+
run: bun run release:canary
1821
env:
1922
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2023
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
21-
run: bun release:canary

Diff for: .github/workflows/release.yml

+7-4
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,16 @@ jobs:
1212
runs-on: ubuntu-latest
1313
steps:
1414
- uses: actions/checkout@v3
15-
- name: Fetch tags # we need them for auto to work correctly
16-
run: git fetch --unshallow --tags
15+
with:
16+
fetch-depth: 0
1717
- uses: jdx/mise-action@v2
1818
- name: Install deps
1919
run: bun install
20-
- name: Release new version
20+
- name: Create Release PR or Publish
21+
id: changesets
22+
uses: changesets/action@v1
23+
with:
24+
publish: bun run release
2125
env:
2226
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2327
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
24-
run: bun release

Diff for: README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ const {isRefreshing, onRefresh} = useRefresh(fetch)
155155

156156
## Thanks
157157

158-
We use [auto](https://github.com/intuit/auto) for automatic releases, an awesome tool by an awesome [dude](https://github.com/hipstersmoothie)!
158+
We use [Changesets](https://github.com/changesets/changesets) for managing releases and versioning.
159159

160160
## Contributors ✨
161161

Diff for: bun.lock

+128-342
Large diffs are not rendered by default.

Diff for: package.json

+5-6
Original file line numberDiff line numberDiff line change
@@ -12,24 +12,23 @@
1212
"lint": "eslint src/**/*.ts",
1313
"eslint:fix": "eslint src/**/*.ts --fix",
1414
"prettier:fix": "prettier --write \"**/*.{ts,tsx}\"",
15-
"release": "auto shipit",
16-
"release:canary": "auto canary"
15+
"release": "changeset publish",
16+
"release:canary": "changeset pre enter canary && changeset version && changeset publish --tag canary",
17+
"version": "changeset version",
18+
"changeset": "changeset"
1719
},
1820
"peerDependencies": {
1921
"react": ">=17.0.2",
2022
"react-native": ">=0.65"
2123
},
2224
"devDependencies": {
23-
"@auto-it/all-contributors": "10.46.0",
24-
"@auto-it/first-time-contributor": "10.46.0",
25+
"@changesets/cli": "^2.28.1",
2526
"@react-native-community/eslint-config": "3.2.0",
2627
"@testing-library/react-hooks": "8.0.1",
2728
"@testing-library/react-native": "12.1.3",
2829
"@types/jest": "29.5.3",
2930
"@types/react": "18.2.20",
3031
"@types/react-native": "0.72.2",
31-
"all-contributors-cli": "6.25.1",
32-
"auto": "10.46.0",
3332
"eslint": "8.41.0",
3433
"eslint-plugin-prettier": "4.2.1",
3534
"jest": "29.5.0",

0 commit comments

Comments
 (0)