Skip to content

Commit 4785076

Browse files
committed
chore: changelog, version, actions, and docs.
1 parent a5b09b0 commit 4785076

File tree

7 files changed

+34
-13
lines changed

7 files changed

+34
-13
lines changed

.github/workflows/codeql.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
name: "CodeQL"
1+
name: 'CodeQL'
22

33
on:
44
push:
55
branches: [main]
66
pull_request:
77
branches: [main]
88
schedule:
9-
- cron: "30 1 * * 0"
9+
- cron: '30 1 * * 0'
1010

1111
jobs:
1212
analyze:

.github/workflows/format.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@ jobs:
1515

1616
steps:
1717
- uses: actions/checkout@v3
18-
- uses: pnpm/[email protected]
18+
- uses: oven-sh/setup-bun@v2
19+
with:
20+
bun-version: latest
1921

2022
- name: Setup Node.js environment
2123
uses: actions/setup-node@v3
@@ -25,11 +27,11 @@ jobs:
2527
# "git restore ." discards changes to package-lock.json
2628
- name: Install dependencies
2729
run: |
28-
pnpm install --no-frozen-lockfile --ignore-scripts
30+
bun install --no-frozen-lockfile --ignore-scripts
2931
git restore .
3032
3133
- name: Format
32-
run: pnpm run format
34+
run: bun run format
3335

3436
- name: Add, Commit and Push
3537
uses: stefanzweifel/git-auto-commit-action@v4

.github/workflows/tests.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,24 +16,25 @@ jobs:
1616
with:
1717
fetch-depth: 2
1818

19-
- uses: pnpm/[email protected]
19+
- uses: oven-sh/setup-bun@v2
20+
with:
21+
bun-version: latest
2022

2123
- name: Setup Node.js environment
2224
uses: actions/setup-node@v3
2325
with:
2426
node-version: 18
25-
cache: pnpm
2627

2728
- name: Install dependencies
28-
run: pnpm install
29+
run: bun install
2930

3031
- name: Build
31-
run: pnpm run build
32+
run: bun run build
3233

3334
- name: Test
34-
run: pnpm run test
35+
run: bun run test
3536
env:
3637
CI: true
3738

38-
- name: Lint
39-
run: pnpm run lint
39+
# - name: Lint
40+
# run: bun run lint

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
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.3.0
8+
9+
- feat: Finished port + landing page.
10+
- chore: Better dev environment, docs, landing, and tests.
11+
- fix: Bug fixes on ssr.

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@
44

55
# solid-number-flow
66

7+
<!-- ![Demo](/_docs/demo.gif) -->
8+
<div align="center">
9+
<img src="_docs/demo.gif" alt="Demo" />
10+
</div>
11+
712
<div align="center">
813
<img src="https://img.shields.io/badge/maintained%20with-bun-cc00ff.svg?style=for-the-badge&logo=bun)](https://bun.sh/" alt="Bun"></img>
914
<img src="https://img.shields.io/npm/dw/bagon-hooks?style=for-the-badge" alt="NPM Downloads"></img>
@@ -23,6 +28,8 @@ npm i solid-number-flow
2328
yarn add solid-number-flow
2429
# or
2530
pnpm add solid-number-flow
31+
# or
32+
bun add solid-number-flow
2633
```
2734

2835
Use it:

_docs/demo.gif

225 KB
Loading

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "solid-number-flow",
3-
"version": "0.1.0",
3+
"version": "0.3.0",
44
"description": "A SolidJS component to transition, format, and localize numbers. Forked from @barvian/number-flow.",
55
"license": "MIT",
66
"author": "Carlo Taleon",

0 commit comments

Comments
 (0)