Skip to content

Commit b114398

Browse files
committedFeb 7, 2024
chore: use automd
1 parent 9e998a8 commit b114398

File tree

3 files changed

+188
-8
lines changed

3 files changed

+188
-8
lines changed
 

‎README.md

+20-7
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
# ⚙️ c12
22

3-
[![npm version][npm-version-src]][npm-version-href]
4-
[![npm downloads][npm-downloads-src]][npm-downloads-href]
5-
[![Codecov][codecov-src]][codecov-href]
6-
[![License][license-src]][license-href]
3+
<!-- automd:badges color=yellow codecov -->
4+
5+
[![npm version](https://img.shields.io/npm/v/c12?color=yellow)](https://npmjs.com/package/c12)
6+
[![npm downloads](https://img.shields.io/npm/dm/c12?color=yellow)](https://npmjs.com/package/c12)
7+
[![codecov](https://img.shields.io/codecov/c/gh/unjs/c12?color=yellow)](https://codecov.io/gh/unjs/c12)
8+
9+
<!-- /automd -->
710

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

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

3336
Install package:
3437

38+
<!-- automd:pm-install -->
39+
3540
```sh
41+
# ✨ Auto-detect
42+
npx nypm i c12@^1.7.0
43+
3644
# npm
37-
npm install c12
45+
npm install c12@^1.7.0
3846

3947
# yarn
40-
yarn add c12
48+
yarn add c12@^1.7.0
4149

4250
# pnpm
43-
pnpm install c12
51+
pnpm install c12@^1.7.0
52+
53+
# bun
54+
bun install c12@^1.7.0
4455
```
4556

57+
<!-- /automd -->
58+
4659
Import:
4760

4861
```js

‎package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@
4747
"devDependencies": {
4848
"@types/node": "^20.11.5",
4949
"@vitest/coverage-v8": "^1.2.1",
50+
"automd": "^0.2.0",
5051
"changelogen": "^0.5.5",
5152
"eslint": "^8.56.0",
5253
"eslint-config-unjs": "^0.2.1",
@@ -57,4 +58,4 @@
5758
"vitest": "^1.2.1"
5859
},
5960
"packageManager": "pnpm@8.14.1"
60-
}
61+
}

‎pnpm-lock.yaml

+166
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)
Please sign in to comment.