Skip to content

Commit 2afcef7

Browse files
committed
Merge branch 'main' of github.com:formkit/tempo
2 parents 0f35a8b + 98bab94 commit 2afcef7

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+7827
-245
lines changed

.github/workflows/release.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ jobs:
1111
permissions:
1212
contents: write
1313
steps:
14-
- uses: actions/checkout@v3
14+
- uses: actions/checkout@v4
1515
with:
1616
fetch-depth: 0
1717

18-
- uses: actions/setup-node@v3
18+
- uses: actions/setup-node@v4
1919
with:
2020
node-version: lts/*
2121

.github/workflows/tests.yml

+2-4
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,7 @@ jobs:
44
vitest-run:
55
runs-on: ubuntu-latest
66
steps:
7-
- uses: actions/checkout@v3
8-
- uses: pnpm/action-setup@v2
9-
with:
10-
version: 8
7+
- uses: actions/checkout@v4
8+
- run: corepack enable
119
- run: pnpm install
1210
- run: pnpm test

.size-limit.cjs

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@ module.exports = [
1414

1515
{ path, limit: "2.9 kb", import: "{ format }", name: "format" },
1616
{ path, limit: "4.3 kb", import: "{ parse }", name: "parse" },
17-
{ path, limit: "5.1 kb", import: "*", name: "all esm" },
18-
{ path: "./dist/index.cjs", limit: "5.4 kb", import: "*", name: "all cjs" },
17+
{ path, limit: "5.2 kb", import: "*", name: "all esm" },
18+
{ path: "./dist/index.cjs", limit: "5.5 kb", import: "*", name: "all cjs" },
1919
]

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Tempo is a new library in a proud tradition of JavaScript date and time librarie
1010

1111
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.
1212

13-
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.
13+
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.
1414

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

0 commit comments

Comments
 (0)