Skip to content

Commit

Permalink
feat(util): new package
Browse files Browse the repository at this point in the history
  • Loading branch information
njfamirm authored and AliMD committed Jan 30, 2023
1 parent 016ae32 commit a7b1fb3
Show file tree
Hide file tree
Showing 5 changed files with 54 additions and 0 deletions.
3 changes: 3 additions & 0 deletions core/util/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Alwatr Util - `@alwatr/util`

Util library written in tiny TypeScript module.
37 changes: 37 additions & 0 deletions core/util/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
"name": "@alwatr/util",
"version": "0.28.0",
"description": "Util library written in tiny TypeScript module.",
"keywords": [
"util",
"typescript",
"esm",
"alwatr"
],
"main": "index.js",
"type": "module",
"types": "index.d.ts",
"author": "S. Ali Mihandoost <ali.mihandoost@gmail.com>",
"contributors": [
"S. Amir Mohammad Najafi <njfamirm@gmail.com> (njfamirm.ir)"
],
"license": "MIT",
"files": [
"**/*.{d.ts.map,d.ts,js.map,js,html,md}"
],
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "https://github.com/AliMD/alwatr",
"directory": "core/util"
},
"homepage": "https://github.com/AliMD/alwatr/tree/main/core/util#readme",
"bugs": {
"url": "https://github.com/AliMD/alwatr/issues"
},
"dependencies": {
"tslib": "^2.4.1"
}
}
Empty file added core/util/src/index.ts
Empty file.
13 changes: 13 additions & 0 deletions core/util/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"extends": "../../tsconfig.base",
"compilerOptions": {
"composite": true,
"tsBuildInfoFile": ".tsbuildinfo",
"rootDir": "src",
"outDir": "."
},

"include": ["src/**/*.ts"],
"exclude": [],
"references": [{"path": "../math"}]
}
1 change: 1 addition & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
{"path": "./core/storage-client"},
{"path": "./core/token"},
{"path": "./core/validator"},
{"path": "./core/util"},
{"path": "./core/type"},

// ui
Expand Down

0 comments on commit a7b1fb3

Please sign in to comment.