Skip to content

Commit 6e8a251

Browse files
committed
chore: Replaced autochangelog to changeset.
1 parent 1d2af1c commit 6e8a251

27 files changed

+196
-144
lines changed

.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)

.changeset/chilly-insects-pull.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'bagon-hooks': patch
3+
---
4+
5+
feat: Added use-debounced-signal.

.changeset/cold-camels-buy.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'bagon-hooks': patch
3+
---
4+
5+
feat: Added use-document-title.

.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+
}

.changeset/good-gorillas-sneeze.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'bagon-hooks': patch
3+
---
4+
5+
feat: Added use-did-update.

.changeset/healthy-penguins-teach.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'bagon-hooks': patch
3+
---
4+
5+
feat: Added use-debounced-callback.

.changeset/khaki-hairs-ring.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'bagon-hooks': patch
3+
---
4+
5+
feat: Added use-local-storage-store (improvement for SolidJS specifically).

.changeset/lazy-lizards-build.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'bagon-hooks': patch
3+
---
4+
5+
feat: Added use-fullscreen.

.changeset/mighty-bananas-speak.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'bagon-hooks': patch
3+
---
4+
5+
feat: Added use-hash.

.changeset/modern-horses-do.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'bagon-hooks': patch
3+
---
4+
5+
feat: Added use-orientation.

.changeset/nasty-tips-arrive.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'bagon-hooks': patch
3+
---
4+
5+
feat: Added use-color-scheme.

.changeset/orange-eggs-bow.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'bagon-hooks': patch
3+
---
4+
5+
feat: Added use-debounced-value.

.changeset/polite-lies-kick.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'bagon-hooks': patch
3+
---
4+
5+
feat: Added use-media-query.

.changeset/poor-tomatoes-drop.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'bagon-hooks': patch
3+
---
4+
5+
feat: Added use-id.

.changeset/real-eggs-grin.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'bagon-hooks': patch
3+
---
4+
5+
feat: Added use-keyboard.

.changeset/short-guests-tease.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'bagon-hooks': patch
3+
---
4+
5+
feat: Added use-move.

.changeset/tall-months-beg.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'bagon-hooks': patch
3+
---
4+
5+
feat: Added use-clipboard.

.changeset/tiny-guests-teach.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'bagon-hooks': patch
3+
---
4+
5+
feat: Added use-mouse.

.github/workflows/codeql.yml

-46
This file was deleted.

.github/workflows/format.yml

-39
This file was deleted.

.github/workflows/main.yml

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches:
6+
- '**'
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v4
13+
- uses: oven-sh/setup-bun@v2
14+
- run: bun install --frozen-lockfile
15+
- run: bun run ci

.github/workflows/publish.yml

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Publish
2+
on:
3+
push:
4+
branches:
5+
- 'main'
6+
7+
# Publish workflows don't happen at the same time.
8+
concurrency: ${{ github.workflow }}-${{ github.ref }}
9+
10+
jobs:
11+
publish:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v4
15+
- uses: oven-sh/setup-bun@v2
16+
with:
17+
bun-version: latest
18+
- run: bun install --frozen-lockfile
19+
- run: bun run build
20+
21+
- name: Create Release Pull Request or Publish
22+
id: changesets
23+
uses: changesets/action@v1
24+
with:
25+
publish: bun run publish-ci
26+
env:
27+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} # TAKE NOTE, you have to generate this in NPM
28+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # You DON'T need to generate this, it's automatic by GitHub Workflows.

.github/workflows/tests.yml

-40
This file was deleted.

CHANGELOG.md

+23-18
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,32 @@
1-
### Changelog
1+
# bagon-hooks
22

3-
All notable changes to this project will be documented in this file. Dates are displayed in UTC.
3+
## 0.0.3
44

5-
Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
5+
### Patch Changes
66

7-
#### [0.0.3](https://github.com/Blankeos/bagon-hooks/compare/0.0.2...0.0.3)
7+
- feat: Improved use-favicon (added more ways to set it).
8+
- feat: Added use-counter.
9+
- feat: Added use-eye-dropper (with improvements).
810

9-
- feat: Improved use favicon hook visuals. [`a0b0770`](https://github.com/Blankeos/bagon-hooks/commit/a0b07701ba0470f6039924355362081616b848cb)
10-
- feat: Added eye-dropper hook (improved). [`4b095ac`](https://github.com/Blankeos/bagon-hooks/commit/4b095ac64c42ff9d869e4ab539101320673e0cc5)
11-
- feat: Added use-counter. [`16a3900`](https://github.com/Blankeos/bagon-hooks/commit/16a39003d0ebef6f71511fb3d204b5f67832324e)
11+
## 0.0.2
1212

13-
#### [0.0.2](https://github.com/Blankeos/bagon-hooks/compare/0.0.1...0.0.2)
13+
### Patch Changes
1414

15-
> 20 October 2024
15+
- docs: Finished many examples for each hooks + code examples.
16+
- feat: Added use-resize-observer.
17+
- feat: Added use-favicon.
18+
- feat: Added use-network.
19+
- feat: Added use-mounted.
20+
- feat: Added use-local-storage.
21+
- fix: get-os to work in onMount (for SSR).
22+
- feat: Added use-toggle.
1623

17-
- feat: Finished many examples for each hooks + code examples. [`219380a`](https://github.com/Blankeos/bagon-hooks/commit/219380a977e6f1e808bcd689ca12e8ae5ede6fd1)
18-
- feat: Added use-local-storage. [`c3205eb`](https://github.com/Blankeos/bagon-hooks/commit/c3205ebd8b2d237209ccf3b5d986bd75a0da253a)
19-
- feat: Added use-favicon. [`1ed0d82`](https://github.com/Blankeos/bagon-hooks/commit/1ed0d829b5927e591d6ba13dba098b66f780c4d9)
24+
## 0.0.1
2025

21-
#### 0.0.1
26+
### Patch Changes
2227

23-
> 20 October 2024
24-
25-
- feat: initial commit + Added the use-hotkeys hook. [`fe858db`](https://github.com/Blankeos/bagon-hooks/commit/fe858db9cd1b626886bcb3b0e95cb798ebb15cee)
26-
- Format [`5b9e02a`](https://github.com/Blankeos/bagon-hooks/commit/5b9e02a0fd0cc7eeff8a6c078410dca0fa85639c)
27-
- chore: Changed formatting. [`f7e9f2b`](https://github.com/Blankeos/bagon-hooks/commit/f7e9f2b205091ddf0caff29693c7ba8aa60d654a)
28+
- feat: Added use-hover.
29+
- feat: Added use-os.
30+
- feat: Added use-click-outside.
31+
- chore: Changed formatting.
32+
- feat: Initial commit + added a use-hotkeys hook.

bun.lockb

24.7 KB
Binary file not shown.

old-CHANGELOG.md

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
### Changelog
2+
3+
All notable changes to this project will be documented in this file. Dates are displayed in UTC.
4+
5+
Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
6+
7+
#### [0.0.3](https://github.com/Blankeos/bagon-hooks/compare/0.0.2...0.0.3)
8+
9+
- feat: Improved use favicon hook visuals. [`a0b0770`](https://github.com/Blankeos/bagon-hooks/commit/a0b07701ba0470f6039924355362081616b848cb)
10+
- feat: Added eye-dropper hook (improved). [`4b095ac`](https://github.com/Blankeos/bagon-hooks/commit/4b095ac64c42ff9d869e4ab539101320673e0cc5)
11+
- feat: Added use-counter. [`16a3900`](https://github.com/Blankeos/bagon-hooks/commit/16a39003d0ebef6f71511fb3d204b5f67832324e)
12+
13+
#### [0.0.2](https://github.com/Blankeos/bagon-hooks/compare/0.0.1...0.0.2)
14+
15+
> 20 October 2024
16+
17+
- feat: Finished many examples for each hooks + code examples. [`219380a`](https://github.com/Blankeos/bagon-hooks/commit/219380a977e6f1e808bcd689ca12e8ae5ede6fd1)
18+
- feat: Added use-local-storage. [`c3205eb`](https://github.com/Blankeos/bagon-hooks/commit/c3205ebd8b2d237209ccf3b5d986bd75a0da253a)
19+
- feat: Added use-favicon. [`1ed0d82`](https://github.com/Blankeos/bagon-hooks/commit/1ed0d829b5927e591d6ba13dba098b66f780c4d9)
20+
21+
#### 0.0.1
22+
23+
> 20 October 2024
24+
25+
- feat: initial commit + Added the use-hotkeys hook. [`fe858db`](https://github.com/Blankeos/bagon-hooks/commit/fe858db9cd1b626886bcb3b0e95cb798ebb15cee)
26+
- Format [`5b9e02a`](https://github.com/Blankeos/bagon-hooks/commit/5b9e02a0fd0cc7eeff8a6c078410dca0fa85639c)
27+
- chore: Changed formatting. [`f7e9f2b`](https://github.com/Blankeos/bagon-hooks/commit/f7e9f2b205091ddf0caff29693c7ba8aa60d654a)

package.json

+4-1
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@
4545
"test:client": "vitest",
4646
"test:ssr": "bun run test:client --mode ssr",
4747
"prepublishOnly": "bun run build",
48+
"ci": "bun run lint && bun run build",
49+
"publish-ci": "bun run lint && bun run build && changeset publish",
4850
"format": "prettier --ignore-path .gitignore -w \"src/**/*.{js,ts,json,css,tsx,jsx}\" \"dev/**/*.{js,ts,json,css,tsx,jsx}\"",
4951
"lint": "concurrently bun:lint:*",
5052
"lint:code": "eslint --ignore-path .gitignore --max-warnings 0 src/**/*.{js,ts,tsx,jsx}",
@@ -56,11 +58,12 @@
5658
"solid-js": "^1.6.0"
5759
},
5860
"devDependencies": {
61+
"@changesets/changelog-github": "^0.5.0",
62+
"@changesets/cli": "^2.27.11",
5963
"@mdx-js/rollup": "^3.0.1",
6064
"@types/node": "^22.7.6",
6165
"@typescript-eslint/eslint-plugin": "^8.10.0",
6266
"@typescript-eslint/parser": "^8.10.0",
63-
"auto-changelog": "^2.5.0",
6467
"autoprefixer": "^10.4.20",
6568
"concurrently": "^9.0.1",
6669
"esbuild": "^0.24.0",

0 commit comments

Comments
 (0)