Skip to content

Commit

Permalink
reindamit
Browse files Browse the repository at this point in the history
  • Loading branch information
martrapp committed Nov 25, 2024
1 parent 0d43136 commit 3a4055b
Show file tree
Hide file tree
Showing 15 changed files with 376 additions and 580 deletions.
5 changes: 5 additions & 0 deletions .changeset/wild-laws-trade.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@vtbag/utensil-drawer': patch
---

Initial release
6 changes: 6 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"cSpell.words": [
"pagereveal",
"pageswap"
]
}
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# 🛠 The Utensil Drawer

Utensil Drawer: Pull out just the functions you need to craft seamless transitions.
Utensil Drawer: Pull out just the tools you need to craft polished transitions.

![Build Status](https://github.com/vtbag/utensil-drawer/actions/workflows/run-build.yml/badge.svg)
[![npm version](https://img.shields.io/npm/v/@vtbag/utensil-drawer/latest)](https://www.npmjs.com/package/@vtbag/utensil-drawer)
Expand All @@ -13,7 +13,7 @@ The @vtbag website can be found at https://vtbag.dev/

## !!! News !!!

Dependency updates
This is the initial release.

For details see the [CHANGELOG](https://github.com/vtbag/utensil-drawer/blob/main/CHANGELOG.md)

Expand All @@ -22,3 +22,4 @@ For details see the [CHANGELOG](https://github.com/vtbag/utensil-drawer/blob/mai

The Utensil Drawer holds reusable functions to help you build websites with view transitions. It is a bit sparse right now, but like the one in your kitchen, it is bound to fill up over time.

> This preliminary version of the package is not yet supported, not even tested. Be patient.
7 changes: 4 additions & 3 deletions bin/bundle
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
#! /bin/sh

rm -rf lib
#mkdir lib
if [ "$1" = "dev" ]; then
OPTS="--sourcemap --watch"
else
OPTS="--minify"
(cd lib && rm *.js.map) >> /dev/null 2>&1
fi
npx esbuild src/index.ts --bundle $OPTS --target=ESnext --outdir=lib

tsc
rm -rf lib/bundled
npx esbuild src/bundled/*.ts --bundle $OPTS --target=ESnext --outdir=lib/bundled
Loading

0 comments on commit 3a4055b

Please sign in to comment.