Skip to content

Commit e11c554

Browse files
committed
chore: update .npmrc and package.json for GitHub Packages, and modify README links
1 parent a6a39ad commit e11c554

File tree

3 files changed

+14
-8
lines changed

3 files changed

+14
-8
lines changed

.npmrc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1-
@hey-api:c12=https://npm.pkg.github.com
1+
# Use GitHub Packages for @hey-api scope
2+
@hey-api:registry=https://npm.pkg.github.com
3+
//npm.pkg.github.com/:_authToken=${GITHUB_TOKEN}

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
<!-- automd:badges color=yellow codecov -->
44

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://npm.chart.dev/c12)
7-
[![codecov](https://img.shields.io/codecov/c/gh/unjs/c12?color=yellow)](https://codecov.io/gh/unjs/c12)
5+
[![npm version](https://img.shields.io/npm/v/@hey-api/c12?color=yellow)](https://npmjs.com/package/@hey-api/c12)
6+
[![npm downloads](https://img.shields.io/npm/dm/@hey-api/c12?color=yellow)](https://npm.chart.dev/@hey-api/c12)
7+
[![codecov](https://img.shields.io/codecov/c/gh/hey-api/c12?color=yellow)](https://codecov.io/gh/hey-api/c12)
88

99
<!-- /automd -->
1010

@@ -440,11 +440,11 @@ const config = await loadConfig({
440440

441441
<!-- automd:contributors license=MIT author="pi0" -->
442442

443-
Published under the [MIT](https://github.com/unjs/c12/blob/main/LICENSE) license.
444-
Made by [@pi0](https://github.com/pi0) and [community](https://github.com/unjs/c12/graphs/contributors) 💛
443+
Published under the [MIT](https://github.com/hey-api/c12/blob/main/LICENSE) license.
444+
Made by [@pi0](https://github.com/pi0) and [community](https://github.com/hey-api/c12/graphs/contributors) 💛
445445
<br><br>
446-
<a href="https://github.com/unjs/c12/graphs/contributors">
447-
<img src="https://contrib.rocks/image?repo=unjs/c12" />
446+
<a href="https://github.com/hey-api/c12/graphs/contributors">
447+
<img src="https://contrib.rocks/image?repo=hey-api/c12" />
448448
</a>
449449

450450
<!-- /automd -->

package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@
66
"license": "MIT",
77
"sideEffects": false,
88
"type": "module",
9+
"publishConfig": {
10+
"access": "public",
11+
"registry": "https://npm.pkg.github.com"
12+
},
913
"exports": {
1014
".": {
1115
"types": "./dist/index.d.mts",

0 commit comments

Comments
 (0)