Skip to content

Commit

Permalink
chore: update
Browse files Browse the repository at this point in the history
  • Loading branch information
yuyinws committed Aug 12, 2024
1 parent 557ba35 commit 7751963
Show file tree
Hide file tree
Showing 5 changed files with 43 additions and 21 deletions.
2 changes: 0 additions & 2 deletions .github/FUNDING.yml

This file was deleted.

33 changes: 33 additions & 0 deletions .github/workflows/cr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: CR

on:
push:
pull_request:
branches: [main]
paths-ignore:
- '.github/**'
- 'tests/**'
- 'docs/**'
- '*.md'

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Set node
uses: actions/setup-node@v3
with:
node-version: 20

- name: Setup
run: npm i -g @antfu/ni

- name: Install
run: nci

- name: Build
run: nr build

- run: nlx pkg-pr-new publish
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2022 Anthony Fu <https://github.com/antfu>
Copyright (c) 2024 Leo <https://github.com/yuyinws>

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
16 changes: 4 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,11 @@
_description_

> **Note**:
> Replace `pkg-placeholder`, `_description_` and `antfu` globally to use this template.
## Sponsors

<p align="center">
<a href="https://cdn.jsdelivr.net/gh/antfu/static/sponsors.svg">
<img src='https://cdn.jsdelivr.net/gh/antfu/static/sponsors.svg'/>
</a>
</p>
> Replace `pkg-placeholder`, `_description_`
## License

[MIT](./LICENSE) License © 2024-PRESENT [Anthony Fu](https://github.com/antfu)
[MIT](./LICENSE) License © 2024-PRESENT [Leo](https://github.com/yuyinws)

<!-- Badges -->

Expand All @@ -31,7 +23,7 @@ _description_
[npm-downloads-href]: https://npmjs.com/package/pkg-placeholder
[bundle-src]: https://img.shields.io/bundlephobia/minzip/pkg-placeholder?style=flat&colorA=080f12&colorB=1fa669&label=minzip
[bundle-href]: https://bundlephobia.com/result?p=pkg-placeholder
[license-src]: https://img.shields.io/github/license/antfu/pkg-placeholder.svg?style=flat&colorA=080f12&colorB=1fa669
[license-href]: https://github.com/antfu/pkg-placeholder/blob/main/LICENSE
[license-src]: https://img.shields.io/github/license/yuyinws/pkg-placeholder.svg?style=flat&colorA=080f12&colorB=1fa669
[license-href]: https://github.com/yuyinws/pkg-placeholder/blob/main/LICENSE
[jsdocs-src]: https://img.shields.io/badge/jsdocs-reference-080f12?style=flat&colorA=080f12&colorB=1fa669
[jsdocs-href]: https://www.jsdocs.io/package/pkg-placeholder
11 changes: 5 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,16 @@
"name": "pkg-placeholder",
"type": "module",
"version": "0.0.0",
"packageManager": "pnpm@9.5.0",
"packageManager": "pnpm@9.7.0",
"description": "_description_",
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
"author": "Leo <https://github.com/yuyinws>",
"license": "MIT",
"funding": "https://github.com/sponsors/antfu",
"homepage": "https://github.com/antfu/pkg-placeholder#readme",
"homepage": "https://github.com/yuyinws/pkg-placeholder#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/antfu/pkg-placeholder.git"
"url": "git+https://github.com/yuyinws/pkg-placeholder.git"
},
"bugs": "https://github.com/antfu/pkg-placeholder/issues",
"bugs": "https://github.com/yuyinws/pkg-placeholder/issues",
"keywords": [],
"sideEffects": false,
"exports": {
Expand Down

0 comments on commit 7751963

Please sign in to comment.