Skip to content

Commit

Permalink
chore: Migrated from auto-changelog to changeset.
Browse files Browse the repository at this point in the history
  • Loading branch information
Blankeos committed Jan 16, 2025
1 parent f4b121f commit b5c0118
Show file tree
Hide file tree
Showing 13 changed files with 146 additions and 156 deletions.
8 changes: 8 additions & 0 deletions .changeset/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Changesets

Hello and welcome! This folder has been automatically generated by `@changesets/cli`, a build tool that works
with multi-package repos, or single-package repos to help you version and publish your code. You can
find the full documentation for it [in our repository](https://github.com/changesets/changesets)

We have a quick list of common questions to get you started engaging with this project in
[our documentation](https://github.com/changesets/changesets/blob/main/docs/common-questions.md)
11 changes: 11 additions & 0 deletions .changeset/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"$schema": "https://unpkg.com/@changesets/config@3.0.4/schema.json",
"changelog": ["@changesets/changelog-github", { "repo": "blankeos/solid-number-flow" }],
"commit": false,
"fixed": [],
"linked": [],
"access": "public",
"baseBranch": "main",
"updateInternalDependencies": "patch",
"ignore": []
}
46 changes: 0 additions & 46 deletions .github/workflows/codeql.yml

This file was deleted.

39 changes: 0 additions & 39 deletions .github/workflows/format.yml

This file was deleted.

19 changes: 19 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# I got this from Matt Pockock
# https://www.youtube.com/watch?v=eh89VE3Mk5g
name: CI

on:
push:
branches:
- '**'

jobs:
build:
runs-on: ubuntu-latest
steps:
# ...
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v2

- run: bun install --frozen-lockfile
- run: bun run ci
30 changes: 30 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# I got this from Matt Pockock
# https://www.youtube.com/watch?v=eh89VE3Mk5g
name: Publish
on:
push:
branches:
- 'main'

# Publish workflows don't happen at the same time.
concurrency: ${{ github.workflow }}-${{ github.ref }}

jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v2
with:
bun-version: latest
- run: bun install --frozen-lockfile
- run: bun run build

- name: Create Release Pull Request or Publish
id: changesets
uses: changesets/action@v1
with:
publish: bun run publish
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
40 changes: 0 additions & 40 deletions .github/workflows/tests.yml

This file was deleted.

1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
_docs/ch-template.hbs
53 changes: 25 additions & 28 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,44 +1,41 @@
### Changelog
# solid-number-flow

All notable changes to this project will be documented in this file. Dates are displayed in UTC.
## 0.3.3

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

#### [0.3.3](https://github.com/Blankeos/solid-number-flow/compare/0.3.2...0.3.3)
- chore: Add max as contributor.

- feat: Non parts props work + examples in docs. [`#4`](https://github.com/Blankeos/solid-number-flow/pull/4)
- feat: Added support for non-parts props. Fixes #3 [`#3`](https://github.com/Blankeos/solid-number-flow/issues/3)
- feat: Added examples for trend and continuous. [`0ea1c9c`](https://github.com/Blankeos/solid-number-flow/commit/0ea1c9c167385b4834a6333a790792d74a2de27c)

#### [0.3.2](https://github.com/Blankeos/solid-number-flow/compare/0.3.1...0.3.2)
- docs: Added examples for trend and continuous.

> 20 October 2024
- fix: Non parts props work + examples in docs. [`#4`](https://github.com/Blankeos/solid-number-flow/pull/4) Thanks @blankeos!

- chore: Updated deps, npm keywords, better landing page. [`d0c310b`](https://github.com/Blankeos/solid-number-flow/commit/d0c310ba7e9fa453e4bcdab38d87aabaebd5c3e0)
- chore: release 0.3.2 [`77fd36c`](https://github.com/Blankeos/solid-number-flow/commit/77fd36c98fa270adef5eb6700baafb647e3eaf13)
## 0.3.2

#### [0.3.1](https://github.com/Blankeos/solid-number-flow/compare/0.3.0...0.3.1)
### Patch Changes

> 17 October 2024
- chore: Updated deps, npm keywords, better landing page.

- fix: formatting and locales. [`#2`](https://github.com/Blankeos/solid-number-flow/pull/2)
- fix: don't define more than once [`#1`](https://github.com/Blankeos/solid-number-flow/pull/1)
- chore: more docs on site and readme. [`6350841`](https://github.com/Blankeos/solid-number-flow/commit/635084107e60669f3c33cb0e343b81200ebbb783)
- chore: release 0.3.1 [`f6ee64a`](https://github.com/Blankeos/solid-number-flow/commit/f6ee64a36de678766a34a7939de7404d7dd51b98)
- Define outside component [`9388853`](https://github.com/Blankeos/solid-number-flow/commit/9388853615ebfc58bd7e8f74cd1e80aa6fc35217)
## 0.3.1

#### [0.3.0](https://github.com/Blankeos/solid-number-flow/compare/0.0.3...0.3.0)
### Patch Changes

> 16 October 2024
- fix: formatting and locales [`#2`](https://github.com/Blankeos/solid-number-flow/pull/2) Thanks @blankeos!

#### 0.0.3
- fix: don't define more than once [`#1`](https://github.com/Blankeos/solid-number-flow/pull/1) Thanks @brenelz!

> 22 October 2024
- chore: more docs on site and readme.

- feat: Non parts props work + examples in docs. [`#4`](https://github.com/Blankeos/solid-number-flow/pull/4)
- fix: formatting and locales. [`#2`](https://github.com/Blankeos/solid-number-flow/pull/2)
- fix: don't define more than once [`#1`](https://github.com/Blankeos/solid-number-flow/pull/1)
- feat: Added support for non-parts props. Fixes #3 [`#3`](https://github.com/Blankeos/solid-number-flow/issues/3)
- feat: Finished port + landing page. [`7852ff7`](https://github.com/Blankeos/solid-number-flow/commit/7852ff7db4062558d557e47985bbac8c12de70e7)
- feat: Added examples for trend and continuous. [`0ea1c9c`](https://github.com/Blankeos/solid-number-flow/commit/0ea1c9c167385b4834a6333a790792d74a2de27c)
- chore: Better dev environment, docs, landing, and tests. [`a5b09b0`](https://github.com/Blankeos/solid-number-flow/commit/a5b09b030d79128c5ab82128b88bd0e76587047f)
## 0.3.0

### Patch Changes

- fix: Bug fixes on ssr.

- chore: Better dev environment, docs, landing, and tests.

- feat: Finished port + landing page.

- chore: Codebase formatting.
46 changes: 46 additions & 0 deletions _docs/_OLD_CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
### Changelog

All notable changes to this project will be documented in this file. Dates are displayed in UTC.

Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).

#### [0.3.3](https://github.com/Blankeos/solid-number-flow/compare/0.3.2...0.3.3)

- feat: Non parts props work + examples in docs. [`#4`](https://github.com/Blankeos/solid-number-flow/pull/4) Thanks!
- feat: Added support for non-parts props. Fixes #3 [`#3`](https://github.com/Blankeos/solid-number-flow/issues/3)
- feat: Added examples for trend and continuous. [`0ea1c9c`](https://github.com/Blankeos/solid-number-flow/commit/0ea1c9c167385b4834a6333a790792d74a2de27c)
- chore: release 0.0.3 [`588cbe2`](https://github.com/Blankeos/solid-number-flow/commit/588cbe21ac5d9ac2c1b3dcf8eb0f2c00d3fdf255)
- chore: Added max as contributor. [`f4b121f`](https://github.com/Blankeos/solid-number-flow/commit/f4b121f881d14b3f2c89fdafe30945e1d3d23a55)

#### [0.3.2](https://github.com/Blankeos/solid-number-flow/compare/0.3.1...0.3.2)

> 20 October 2024
- chore: Updated deps, npm keywords, better landing page. [`d0c310b`](https://github.com/Blankeos/solid-number-flow/commit/d0c310ba7e9fa453e4bcdab38d87aabaebd5c3e0)
- chore: release 0.3.2 [`77fd36c`](https://github.com/Blankeos/solid-number-flow/commit/77fd36c98fa270adef5eb6700baafb647e3eaf13)

#### [0.3.1](https://github.com/Blankeos/solid-number-flow/compare/0.3.0...0.3.1)

> 17 October 2024
- fix: formatting and locales. [`#2`](https://github.com/Blankeos/solid-number-flow/pull/2) Thanks!
- fix: don't define more than once [`#1`](https://github.com/Blankeos/solid-number-flow/pull/1) Thanks!
- chore: more docs on site and readme. [`6350841`](https://github.com/Blankeos/solid-number-flow/commit/635084107e60669f3c33cb0e343b81200ebbb783)
- chore: release 0.3.1 [`f6ee64a`](https://github.com/Blankeos/solid-number-flow/commit/f6ee64a36de678766a34a7939de7404d7dd51b98)
- Define outside component [`9388853`](https://github.com/Blankeos/solid-number-flow/commit/9388853615ebfc58bd7e8f74cd1e80aa6fc35217)

#### [0.3.0](https://github.com/Blankeos/solid-number-flow/compare/0.0.3...0.3.0)

> 16 October 2024
#### 0.0.3

> 22 October 2024
- feat: Non parts props work + examples in docs. [`#4`](https://github.com/Blankeos/solid-number-flow/pull/4) Thanks!
- fix: formatting and locales. [`#2`](https://github.com/Blankeos/solid-number-flow/pull/2) Thanks!
- fix: don't define more than once [`#1`](https://github.com/Blankeos/solid-number-flow/pull/1) Thanks!
- feat: Added support for non-parts props. Fixes #3 [`#3`](https://github.com/Blankeos/solid-number-flow/issues/3)
- feat: Finished port + landing page. [`7852ff7`](https://github.com/Blankeos/solid-number-flow/commit/7852ff7db4062558d557e47985bbac8c12de70e7)
- feat: Added examples for trend and continuous. [`0ea1c9c`](https://github.com/Blankeos/solid-number-flow/commit/0ea1c9c167385b4834a6333a790792d74a2de27c)
- chore: Better dev environment, docs, landing, and tests. [`a5b09b0`](https://github.com/Blankeos/solid-number-flow/commit/a5b09b030d79128c5ab82128b88bd0e76587047f)
Binary file modified bun.lockb
Binary file not shown.
8 changes: 6 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@
"dev": "vite serve dev",
"build": "tsup",
"build:site": "vite build dev",
"preview:site": "vite preview dev",
"test": "concurrently bun:test:*",
"test:client": "vitest",
"test:ssr": "bun run test:client --mode ssr",
Expand All @@ -59,12 +60,15 @@
"lint:code": "eslint --ignore-path .gitignore --max-warnings 0 src/**/*.{js,ts,tsx,jsx}",
"lint:types": "tsc --noEmit",
"update-deps": "bunx npm-check-updates --format group --interactive",
"version": "auto-changelog -p && git add CHANGELOG.md"
"ci": "bun run lint && bun run build",
"publish": "bun run lint && bun run build && changeset publish"
},
"peerDependencies": {
"solid-js": "^1.6.0"
},
"devDependencies": {
"@changesets/changelog-github": "^0.5.0",
"@changesets/cli": "^2.27.10",
"@kobalte/core": "^0.13.7",
"@tailwindcss/typography": "^0.5.15",
"@types/node": "^20.12.12",
Expand All @@ -85,7 +89,7 @@
"prettier-plugin-tailwindcss": "^0.6.8",
"shiki": "^1.22.0",
"shikiji": "^0.10.2",
"solid-js": "^1.9.2",
"solid-js": "^1.6.0",
"solid-marked": "^0.6.3",
"tailwindcss": "^3.4.14",
"tsup": "^8.3.0",
Expand Down
1 change: 0 additions & 1 deletion src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,6 @@ function NumberFlowImpl(props: VoidProps<NumberFlowImplProps>) {
// https://docs.solidjs.com/reference/jsx-attributes/attr
attr:data-will-change={props.willChange ? '' : undefined}
{...others}
prop:parts={props.parts()}
attr:parts={JSON.stringify(props.parts())}
>
<Dynamic component={SlottedTag} style={slottedStyles({ willChange: props.willChange })}>
Expand Down

0 comments on commit b5c0118

Please sign in to comment.