Skip to content

Commit

Permalink
Merge branch 'main' of github.com:formkit/tempo
Browse files Browse the repository at this point in the history
  • Loading branch information
andrew-boyd committed Aug 15, 2024
2 parents 0f35a8b + 98bab94 commit 2afcef7
Show file tree
Hide file tree
Showing 59 changed files with 7,827 additions and 245 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ jobs:
permissions:
contents: write
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0

- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: lts/*

Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@ jobs:
vitest-run:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
with:
version: 8
- uses: actions/checkout@v4
- run: corepack enable
- run: pnpm install
- run: pnpm test
4 changes: 2 additions & 2 deletions .size-limit.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ module.exports = [

{ path, limit: "2.9 kb", import: "{ format }", name: "format" },
{ path, limit: "4.3 kb", import: "{ parse }", name: "parse" },
{ path, limit: "5.1 kb", import: "*", name: "all esm" },
{ path: "./dist/index.cjs", limit: "5.4 kb", import: "*", name: "all cjs" },
{ path, limit: "5.2 kb", import: "*", name: "all esm" },
{ path: "./dist/index.cjs", limit: "5.5 kb", import: "*", name: "all cjs" },
]
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Tempo is a new library in a proud tradition of JavaScript date and time librarie

Tempo is best thought of as a collection of utilities for working with `Date` objects — an important distinction from other libraries that provide custom date primitives. Under the hood, Tempo mines JavaScript's `Intl.DateTimeFormat` to extract complex data like timezones offsets and locale aware date formats giving you a simple API to format, parse, and manipulates dates.

Tempo is tiny tree-shakable framework, you can only take what you need. All functionality is available in **5.1 kB for esm** and **5.4 kB for cjs** modules (minified and brotlied). [Size Limit](https://github.com/ai/size-limit) controls the size.
Tempo is tiny tree-shakable framework, you can only take what you need. All functionality is available in **5.2 kB for esm** and **5.5 kB for cjs** modules (minified and brotlied). [Size Limit](https://github.com/ai/size-limit) controls the size.

<a href="https://tempo.formkit.com">
<img src="docs/public/read-the-docs.png" alt="Read the docs" width="200" height="43">
Expand Down
Loading

0 comments on commit 2afcef7

Please sign in to comment.