Skip to content

Commit

Permalink
chore: add automd
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 committed Oct 5, 2024
1 parent 6a6d2d9 commit e067210
Show file tree
Hide file tree
Showing 3 changed files with 139 additions and 8 deletions.
29 changes: 22 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,26 +1,41 @@
# untyped

[![npm version][npm-version-src]][npm-version-href]
[![npm downloads][npm-downloads-src]][npm-downloads-href]
[![Github Actions][github-actions-src]][github-actions-href]
[![Codecov][codecov-src]][codecov-href]
[![bundle][bundle-src]][bundle-href]
<!-- automd:badges bundlejs -->

[![npm version](https://img.shields.io/npm/v/untyped)](https://npmjs.com/package/untyped)
[![npm downloads](https://img.shields.io/npm/dm/untyped)](https://npm.chart.dev/untyped)
[![bundle size](https://img.shields.io/bundlejs/size/untyped)](https://bundlejs.com/?q=untyped)

<!-- /automd -->

**▶️ Check [online playground](https://untyped.unjs.io)**

## Install

<!-- automd:pm-i -->

```sh
# ✨ Auto-detect
npx nypm install untyped

# npm
npm i untyped
npm install untyped

# yarn
yarn add untyped

# pnpm
pnpm add untyped
pnpm install untyped

# bun
bun install untyped

# deno
deno install untyped
```

<!-- /automd -->

## Usage

First we have to define a reference object that describes types, defaults, and a `$resolve` method (normalizer).
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
"build": "unbuild",
"dev": "vitest",
"lint": "eslint . && prettier -c src test web",
"lint:fix": "eslint --fix . && prettier -w src test web",
"lint:fix": "automd && eslint --fix . && prettier -w src test web",
"prepack": "pnpm build",
"release": "pnpm test && changelogen --release --push && npm publish",
"test": "pnpm lint && vitest run --coverage",
Expand All @@ -84,6 +84,7 @@
"@types/node": "^22.7.4",
"@vitest/coverage-v8": "^2.1.2",
"@vue/compiler-sfc": "^3.5.11",
"automd": "^0.3.10",
"changelogen": "^0.5.7",
"eslint": "^9.12.0",
"eslint-config-unjs": "^0.4.1",
Expand Down
115 changes: 115 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit e067210

Please sign in to comment.