Skip to content

Commit

Permalink
Add sqids w/ npm auto-update (#1903)
Browse files Browse the repository at this point in the history
* Add sqids w/ npm auto-update

Resolves #1899

* fileMap
  • Loading branch information
uiolee authored Oct 28, 2024
1 parent 950e445 commit 9ad94b3
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions packages/s/sqids.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
"name": "sqids",
"description": "Generate YouTube-like ids from numbers.",
"keywords": ["sqids", "hashids", "encode", "ids"],
"license": "MIT",
"homepage": "https://sqids.org/javascript",
"repository": {
"type": "git",
"url": "git://github.com/sqids/sqids-javascript.git"
},
"authors": [
{
"name": "sqids.org"
}
],
"autoupdate": {
"source": "npm",
"target": "sqids",
"fileMap": [
{
"basePath": "",
"files": ["cjs/*.js", "cjs/*.map", "cjs/*.ts"]
},
{
"basePath": "",
"files": ["esm/*.js", "esm/*.map", "esm/*.ts", "esm/package.json"]
},
{
"basePath": "dist",
"files": ["*.js", "*.map"]
}
]
},
"filename": "sqids.js"
}

0 comments on commit 9ad94b3

Please sign in to comment.