From 1d8d1bdfc39c4b1e238770a69d7c8e0cad593251 Mon Sep 17 00:00:00 2001 From: MohammadMahdi Zamanian Date: Tue, 27 Dec 2022 00:08:22 +0330 Subject: [PATCH] feat(core/type): make package --- core/type/README.md | 3 +++ core/type/package.json | 33 +++++++++++++++++++++++++++++++++ core/type/src/type.ts | 1 + core/type/tsconfig.json | 19 +++++++++++++++++++ tsconfig.json | 1 + 5 files changed, 57 insertions(+) create mode 100644 core/type/README.md create mode 100644 core/type/package.json create mode 100644 core/type/src/type.ts create mode 100644 core/type/tsconfig.json diff --git a/core/type/README.md b/core/type/README.md new file mode 100644 index 000000000..f1433c508 --- /dev/null +++ b/core/type/README.md @@ -0,0 +1,3 @@ +# Alwatr Types - `@alwatr/type` + +Alwatr Types. diff --git a/core/type/package.json b/core/type/package.json new file mode 100644 index 000000000..7e46b594b --- /dev/null +++ b/core/type/package.json @@ -0,0 +1,33 @@ +{ + "name": "@alwatr/type", + "version": "0.26.0", + "description": "Alwatr Types", + "private": true, + "keywords": [ + "type", + "typescript", + "esm", + "alwatr" + ], + "type": "module", + "author": "S. Ali Mihandoost (https://ali.mihandoost.com)", + "license": "MIT", + "files": [ + "**/**/*.{d.ts.map,d.ts,js.map,js,md}" + ], + "publishConfig": { + "access": "public" + }, + "repository": { + "type": "git", + "url": "https://github.com/AliMD/alwatr", + "directory": "core/type" + }, + "homepage": "https://github.com/AliMD/alwatr/tree/main/core/type#readme", + "bugs": { + "url": "https://github.com/AliMD/alwatr/issues" + }, + "dependencies": { + "tslib": "~2.4.1" + } +} diff --git a/core/type/src/type.ts b/core/type/src/type.ts new file mode 100644 index 000000000..cb0ff5c3b --- /dev/null +++ b/core/type/src/type.ts @@ -0,0 +1 @@ +export {}; diff --git a/core/type/tsconfig.json b/core/type/tsconfig.json new file mode 100644 index 000000000..59ff989e7 --- /dev/null +++ b/core/type/tsconfig.json @@ -0,0 +1,19 @@ +{ + "extends": "../../tsconfig.base", + "compilerOptions": { + "composite": true, + "tsBuildInfoFile": ".tsbuildinfo", + "rootDir": "src", + "outDir": ".", + "plugins": [ + { + "name": "ts-lit-plugin", + "strict": true + } + ] + }, + // files, include and exclude from the inheriting config are always overwritten. + "include": ["src/**/*.ts"], + "exclude": [], + "references": [] +} diff --git a/tsconfig.json b/tsconfig.json index a89e4db12..c5c50bc56 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -20,6 +20,7 @@ {"path": "./core/storage-engine"}, {"path": "./core/storage-client"}, {"path": "./core/token"}, + {"path": "./core/type"}, // ui {"path": "./ui/element"},