Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
github: [antfu]
opencollective: antfu
github: [markterence]
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.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2025-PRESENT Anthony Fu <https://github.com/antfu>
Copyright (c) 2025-PRESENT Mark Terence Tiglao <https://github.com/markterence>

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
26 changes: 13 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,30 +1,30 @@
# pkg-placeholder
# utils

[![npm version][npm-version-src]][npm-version-href]
<!-- [![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]
[![License][license-src]][license-href] -->

_description_
Collection of helpers for Typescript/Javascript.

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

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

## License

[MIT](./LICENSE) License © [Anthony Fu](https://github.com/antfu)
[MIT](./LICENSE) License © [Mark Terence Tiglao](https://github.com/markterence)

<!-- 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
Expand All @@ -34,4 +34,4 @@ _description_
[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
[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/pkg-placeholder -->
8 changes: 6 additions & 2 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
// @ts-check
import antfu from '@antfu/eslint-config'
import antfu from '@antfu/eslint-config';

export default antfu(
{
type: 'lib',
stylistic: {
semi: true,
indent: 2,
},
},
)
);
44 changes: 31 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,26 +1,41 @@
{
"name": "pkg-placeholder",
"name": "@markterence/utils",
"type": "module",
"version": "0.0.0",
"version": "0.0.1",
"packageManager": "pnpm@9.15.4",
"description": "_description_",
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
"author": "Mark Terence Tiglao <markterencetiglao@gmail.com>",
"license": "MIT",
"funding": "https://github.com/sponsors/antfu",
"homepage": "https://github.com/antfu/pkg-placeholder#readme",
"funding": "https://github.com/sponsors/markterence",
"homepage": "https://github.com/markterence",
"repository": {
"type": "git",
"url": "git+https://github.com/antfu/pkg-placeholder.git"
"url": "git+https://github.com/markterence/utils.git"
},
"bugs": "https://github.com/antfu/pkg-placeholder/issues",
"bugs": "https://github.com/markterence/utils/issues",
"keywords": [],
"sideEffects": false,
"exports": {
".": "./dist/index.mjs"
".": {
"types": {
"import": "./dist/index.d.ts",
"require": "./dist/index.d.cts"
},
"import": "./dist/index.js",
"require": "./dist/index.cjs"
},
"./validator": {
"types": {
"import": "./dist/validator/index.d.ts",
"require": "./dist/validator/index.d.cts"
},
"import": "./dist/validator/index.js",
"require": "./dist/validator/index.cjs"
}
},
"main": "./dist/index.mjs",
"module": "./dist/index.mjs",
"types": "./dist/index.d.mts",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"typesVersions": {
"*": {
"*": [
Expand All @@ -33,9 +48,11 @@
"dist"
],
"scripts": {
"build": "unbuild",
"dev": "unbuild --stub",
"build": "tsup --format esm,cjs --clean --dts",
"stub": "tsup --format esm",
"watch": "npm run build -- --watch src",
"lint": "eslint .",
"lint:fix": "eslint --fix .",
"prepublishOnly": "nr build",
"release": "bumpp && pnpm publish",
"start": "tsx src/index.ts",
Expand All @@ -53,6 +70,7 @@
"lint-staged": "^15.3.0",
"pnpm": "^9.15.4",
"simple-git-hooks": "^2.11.1",
"tsup": "^8.3.5",
"tsx": "^4.19.2",
"typescript": "^5.7.3",
"unbuild": "^3.3.1",
Expand Down
Loading
Loading