Skip to content

Commit

Permalink
chore: update module size
Browse files Browse the repository at this point in the history
  • Loading branch information
lukeed committed Aug 6, 2024
1 parent 15d8c8e commit faace25
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# tschema [![CI](https://github.com/lukeed/tschema/workflows/CI/badge.svg)](https://github.com/lukeed/tschema/actions?query=workflow%3ACI) [![licenses](https://licenses.dev/b/npm/tschema)](https://licenses.dev/npm/tschema)

> A tiny (359b) utility to build [JSON schema](https://json-schema.org/understanding-json-schema/reference) types.
> A tiny (408b) utility to build [JSON schema](https://json-schema.org/understanding-json-schema/reference) types.
## Install

Expand Down
4 changes: 3 additions & 1 deletion scripts/build.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import { join, resolve } from 'jsr:@std/path@^1.0';
import oxc from 'npm:oxc-transform@^0.23';

const bytes = 408;

const version = Deno.args[0];
console.log('? version:', version);

Expand Down Expand Up @@ -82,7 +84,7 @@ let pkg = {
name: 'tschema',
version: version,
repository: 'lukeed/tschema',
description: 'A tiny (359b) utility to build JSON schema types.',
description: `A tiny (${bytes}b) utility to build JSON schema types.`,
module: 'index.mjs',
types: 'index.d.ts',
type: 'module',
Expand Down

0 comments on commit faace25

Please sign in to comment.