migrate snowflake generator to new library
All checks were successful
Build and test / build-and-test (18.x) (push) Successful in 13s
Build and test / build-and-test (20.x) (push) Successful in 13s

This commit is contained in:
2023-08-21 19:45:34 -07:00
parent e8688c0b8f
commit abfbabf71f
6 changed files with 166 additions and 27 deletions

View File

@@ -1,7 +1,7 @@
{
"name": "@templates/typescript-library",
"version": "1.0.0",
"description": "Template project for creating new TypeScript library packages",
"name": "@js/snowflake-uid",
"version": "0.1.0",
"description": "Utility for generating Snowflake UIDs",
"main": "build/index.js",
"types": "build/index.d.ts",
"scripts": {
@@ -9,15 +9,16 @@
"clean": "rm -rf ./build"
},
"publishConfig": {
"registry": "https://gitea.jbrumond.me/api/packages/templates/npm/"
"registry": "https://gitea.jbrumond.me/api/packages/js/npm/"
},
"repository": {
"type": "git",
"url": "https://gitea.jbrumond.me/templates/typescript-library.git"
"url": "https://gitea.jbrumond.me/js/snowflake-uid.git"
},
"author": "James Brumond <https://jbrumond.me>",
"license": "ISC",
"devDependencies": {
"@types/node": "^20.5.1",
"typescript": "^5.1.3"
}
}