Skip to content

Commit

Permalink
chore: use automd
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 committed Feb 7, 2024
1 parent 9e998a8 commit b114398
Show file tree
Hide file tree
Showing 3 changed files with 188 additions and 8 deletions.
27 changes: 20 additions & 7 deletions README.md
@@ -1,9 +1,12 @@
# ⚙️ c12

[![npm version][npm-version-src]][npm-version-href]
[![npm downloads][npm-downloads-src]][npm-downloads-href]
[![Codecov][codecov-src]][codecov-href]
[![License][license-src]][license-href]
<!-- automd:badges color=yellow codecov -->

[![npm version](https://img.shields.io/npm/v/c12?color=yellow)](https://npmjs.com/package/c12)
[![npm downloads](https://img.shields.io/npm/dm/c12?color=yellow)](https://npmjs.com/package/c12)
[![codecov](https://img.shields.io/codecov/c/gh/unjs/c12?color=yellow)](https://codecov.io/gh/unjs/c12)

<!-- /automd -->

c12 (pronounced as /siːtwelv/, like c-twelve) is a smart configuration loader.

Expand Down Expand Up @@ -32,17 +35,27 @@ c12 (pronounced as /siːtwelv/, like c-twelve) is a smart configuration loader.

Install package:

<!-- automd:pm-install -->

```sh
# ✨ Auto-detect
npx nypm i c12@^1.7.0

# npm
npm install c12
npm install c12@^1.7.0

# yarn
yarn add c12
yarn add c12@^1.7.0

# pnpm
pnpm install c12
pnpm install c12@^1.7.0

# bun
bun install c12@^1.7.0
```

<!-- /automd -->

Import:

```js
Expand Down
3 changes: 2 additions & 1 deletion package.json
Expand Up @@ -47,6 +47,7 @@
"devDependencies": {
"@types/node": "^20.11.5",
"@vitest/coverage-v8": "^1.2.1",
"automd": "^0.2.0",
"changelogen": "^0.5.5",
"eslint": "^8.56.0",
"eslint-config-unjs": "^0.2.1",
Expand All @@ -57,4 +58,4 @@
"vitest": "^1.2.1"
},
"packageManager": "pnpm@8.14.1"
}
}
166 changes: 166 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 b114398

Please sign in to comment.