Skip to content

Commit

Permalink
chore: update config
Browse files Browse the repository at this point in the history
  • Loading branch information
Levix committed Jan 5, 2024
1 parent 7e32b4d commit 3066672
Show file tree
Hide file tree
Showing 6 changed files with 99 additions and 73 deletions.
1 change: 0 additions & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1 +0,0 @@
Please refer to https://github.com/antfu/contribute
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) 2022 Levix <https://github.com/Levix>

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
31 changes: 14 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,37 +1,34 @@
# pkg-placeholder
# vite-plugin-runtime-cdn

[![npm version][npm-version-src]][npm-version-href]
[![npm downloads][npm-downloads-src]][npm-downloads-href]
[![bundle][bundle-src]][bundle-href]
[![JSDocs][jsdocs-src]][jsdocs-href]
[![License][license-src]][license-href]

_description_

> **Note**:
> Replace `pkg-placeholder`, `_description_` and `antfu` globally to use this template.
A Vite plugin that supports runtime CDN configuration.

## 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 href="https://cdn.jsdelivr.net/gh/Levix/static/sponsors.svg">
<img src='https://cdn.jsdelivr.net/gh/Levix/static/sponsors.svg'/>
</a>
</p>

## License

[MIT](./LICENSE) License © 2023-PRESENT [Anthony Fu](https://github.com/antfu)
[MIT](./LICENSE) License © 2023-PRESENT [Levix](https://github.com/Levix)

<!-- Badges -->

[npm-version-src]: https://img.shields.io/npm/v/pkg-placeholder?style=flat&colorA=080f12&colorB=1fa669
[npm-version-href]: https://npmjs.com/package/pkg-placeholder
[npm-downloads-src]: https://img.shields.io/npm/dm/pkg-placeholder?style=flat&colorA=080f12&colorB=1fa669
[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
[npm-version-src]: https://img.shields.io/npm/v/vite-plugin-runtime-cdn?style=flat&colorA=080f12&colorB=1fa669
[npm-version-href]: https://npmjs.com/package/vite-plugin-runtime-cdn
[npm-downloads-src]: https://img.shields.io/npm/dm/vite-plugin-runtime-cdn?style=flat&colorA=080f12&colorB=1fa669
[npm-downloads-href]: https://npmjs.com/package/vite-plugin-runtime-cdn
[bundle-src]: https://img.shields.io/bundlephobia/minzip/vite-plugin-runtime-cdn?style=flat&colorA=080f12&colorB=1fa669&label=minzip
[bundle-href]: https://bundlephobia.com/result?p=vite-plugin-runtime-cdn
[license-src]: https://img.shields.io/github/license/Levix/vite-plugin-runtime-cdn.svg?style=flat&colorA=080f12&colorB=1fa669
[license-href]: https://github.com/Levix/vite-plugin-runtime-cdn/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
[jsdocs-href]: https://www.jsdocs.io/package/vite-plugin-runtime-cdn
3 changes: 3 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ export default antfu(
{
rules: {
// overrides
'no-cond-assign': 'off',
'jsdoc/require-returns-check': 'off',
'no-template-curly-in-string': 'off',
},
},
)
17 changes: 10 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
{
"name": "pkg-placeholder",
"name": "vite-plugin-runtime-cdn",
"type": "module",
"version": "0.0.0",
"packageManager": "[email protected]",
"description": "_description_",
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
"description": "A Vite plugin that supports runtime CDN configuration.",
"author": "Levix<levix.dev@gmail.com>",
"license": "MIT",
"funding": "https://github.com/sponsors/antfu",
"homepage": "https://github.com/antfu/pkg-placeholder#readme",
"funding": "https://github.com/sponsors/Levix",
"homepage": "https://github.com/Levix/vite-plugin-runtime-cdn#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/antfu/pkg-placeholder.git"
"url": "git+https://github.com/Levix/vite-plugin-runtime-cdn.git"
},
"bugs": "https://github.com/antfu/pkg-placeholder/issues",
"bugs": "https://github.com/Levix/vite-plugin-runtime-cdn/issues",
"keywords": [],
"sideEffects": false,
"exports": {
Expand Down Expand Up @@ -53,11 +53,14 @@
"@antfu/utils": "^0.7.7",
"@types/node": "^20.10.5",
"bumpp": "^9.2.1",
"es-module-lexer": "^1.4.1",
"eslint": "^8.56.0",
"esno": "^4.0.0",
"lint-staged": "^15.2.0",
"magic-string": "^0.30.5",
"pnpm": "^8.12.1",
"rimraf": "^5.0.5",
"rollup": "^4.9.3",
"simple-git-hooks": "^2.9.0",
"typescript": "^5.3.3",
"unbuild": "^2.0.0",
Expand Down
118 changes: 71 additions & 47 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 3066672

Please sign in to comment.