lujiejie-test 0.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.md +21 -0
- package/README.md +42 -0
- package/dist/index.d.mts +5 -0
- package/dist/index.mjs +6 -0
- package/package.json +61 -0
package/LICENSE.md
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025-PRESENT Anthony Fu <https://github.com/antfu>
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
# lujiejie-test
|
|
2
|
+
|
|
3
|
+
[![npm version][npm-version-src]][npm-version-href]
|
|
4
|
+
[![npm downloads][npm-downloads-src]][npm-downloads-href]
|
|
5
|
+
[![bundle][bundle-src]][bundle-href]
|
|
6
|
+
[![JSDocs][jsdocs-src]][jsdocs-href]
|
|
7
|
+
[![License][license-src]][license-href]
|
|
8
|
+
|
|
9
|
+
_description_
|
|
10
|
+
|
|
11
|
+
## Note for Developers
|
|
12
|
+
|
|
13
|
+
This starter recommands using [npm Trusted Publisher](https://github.com/e18e/ecosystem-issues/issues/201), where the release is done on CI to ensure the security of the packages.
|
|
14
|
+
|
|
15
|
+
To do so, you need to run `pnpm publish` manually for the very first time to create the package on npm, and then go to `https://www.npmjs.com/package/<your-package-name>/access` to set the connection to your GitHub repo.
|
|
16
|
+
|
|
17
|
+
Then for the future releases, you can run `pnpm run release` to do the release and the GitHub Actions will take care of the release process.
|
|
18
|
+
|
|
19
|
+
## Sponsors
|
|
20
|
+
|
|
21
|
+
<p align="center">
|
|
22
|
+
<a href="https://cdn.jsdelivr.net/gh/antfu/static/sponsors.svg">
|
|
23
|
+
<img src='https://cdn.jsdelivr.net/gh/antfu/static/sponsors.svg'/>
|
|
24
|
+
</a>
|
|
25
|
+
</p>
|
|
26
|
+
|
|
27
|
+
## License
|
|
28
|
+
|
|
29
|
+
[MIT](./LICENSE) License © [Anthony Fu](https://github.com/antfu)
|
|
30
|
+
|
|
31
|
+
<!-- Badges -->
|
|
32
|
+
|
|
33
|
+
[npm-version-src]: https://img.shields.io/npm/v/lujiejie-test?style=flat&colorA=080f12&colorB=1fa669
|
|
34
|
+
[npm-version-href]: https://npmjs.com/package/lujiejie-test
|
|
35
|
+
[npm-downloads-src]: https://img.shields.io/npm/dm/lujiejie-test?style=flat&colorA=080f12&colorB=1fa669
|
|
36
|
+
[npm-downloads-href]: https://npmjs.com/package/lujiejie-test
|
|
37
|
+
[bundle-src]: https://img.shields.io/bundlephobia/minzip/lujiejie-test?style=flat&colorA=080f12&colorB=1fa669&label=minzip
|
|
38
|
+
[bundle-href]: https://bundlephobia.com/result?p=lujiejie-test
|
|
39
|
+
[license-src]: https://img.shields.io/github/license/antfu/lujiejie-test.svg?style=flat&colorA=080f12&colorB=1fa669
|
|
40
|
+
[license-href]: https://github.com/antfu/lujiejie-test/blob/main/LICENSE
|
|
41
|
+
[jsdocs-src]: https://img.shields.io/badge/jsdocs-reference-080f12?style=flat&colorA=080f12&colorB=1fa669
|
|
42
|
+
[jsdocs-href]: https://www.jsdocs.io/package/lujiejie-test
|
package/dist/index.d.mts
ADDED
package/dist/index.mjs
ADDED
package/package.json
ADDED
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "lujiejie-test",
|
|
3
|
+
"type": "module",
|
|
4
|
+
"version": "0.0.0",
|
|
5
|
+
"description": "_description_",
|
|
6
|
+
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
|
|
7
|
+
"license": "MIT",
|
|
8
|
+
"funding": "https://github.com/sponsors/antfu",
|
|
9
|
+
"homepage": "https://github.com/antfu/lujiejie-test#readme",
|
|
10
|
+
"repository": {
|
|
11
|
+
"type": "git",
|
|
12
|
+
"url": "git+https://github.com/antfu/lujiejie-test.git"
|
|
13
|
+
},
|
|
14
|
+
"bugs": "https://github.com/antfu/lujiejie-test/issues",
|
|
15
|
+
"keywords": [],
|
|
16
|
+
"sideEffects": false,
|
|
17
|
+
"exports": {
|
|
18
|
+
".": "./dist/index.mjs",
|
|
19
|
+
"./package.json": "./package.json"
|
|
20
|
+
},
|
|
21
|
+
"main": "./dist/index.mjs",
|
|
22
|
+
"module": "./dist/index.mjs",
|
|
23
|
+
"types": "./dist/index.d.mts",
|
|
24
|
+
"files": [
|
|
25
|
+
"dist"
|
|
26
|
+
],
|
|
27
|
+
"devDependencies": {
|
|
28
|
+
"@antfu/eslint-config": "^6.6.1",
|
|
29
|
+
"@antfu/ni": "^28.0.0",
|
|
30
|
+
"@antfu/utils": "^9.3.0",
|
|
31
|
+
"@types/node": "^25.0.1",
|
|
32
|
+
"bumpp": "^10.3.2",
|
|
33
|
+
"eslint": "^9.39.2",
|
|
34
|
+
"lint-staged": "^16.2.7",
|
|
35
|
+
"publint": "^0.3.16",
|
|
36
|
+
"simple-git-hooks": "^2.13.1",
|
|
37
|
+
"tinyexec": "^1.0.2",
|
|
38
|
+
"tsdown": "^0.17.3",
|
|
39
|
+
"tsx": "^4.21.0",
|
|
40
|
+
"typescript": "^5.9.3",
|
|
41
|
+
"vite": "^7.2.7",
|
|
42
|
+
"vitest": "^4.0.15",
|
|
43
|
+
"vitest-package-exports": "^0.1.1",
|
|
44
|
+
"yaml": "^2.8.2"
|
|
45
|
+
},
|
|
46
|
+
"simple-git-hooks": {
|
|
47
|
+
"pre-commit": "pnpm i --frozen-lockfile --ignore-scripts --offline && npx lint-staged"
|
|
48
|
+
},
|
|
49
|
+
"lint-staged": {
|
|
50
|
+
"*": "eslint --fix"
|
|
51
|
+
},
|
|
52
|
+
"scripts": {
|
|
53
|
+
"build": "tsdown",
|
|
54
|
+
"dev": "tsdown --watch",
|
|
55
|
+
"lint": "eslint",
|
|
56
|
+
"release": "bumpp",
|
|
57
|
+
"start": "tsx src/index.ts",
|
|
58
|
+
"test": "vitest",
|
|
59
|
+
"typecheck": "tsc"
|
|
60
|
+
}
|
|
61
|
+
}
|