From 3cf58b2ea8a6d7182a97252c35aa79b4177d4590 Mon Sep 17 00:00:00 2001 From: KillerBossOriginal Date: Sun, 29 Jan 2023 21:03:56 +0100 Subject: [PATCH 1/2] Fixed Imports --- README.md | 2 -- package.json | 12 ++++++------ tsconfig.json | 2 +- 3 files changed, 7 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index ac98a89..fa78db0 100644 --- a/README.md +++ b/README.md @@ -2,8 +2,6 @@ Standard module for NodeJS / TypeScript -Note: TypeScript support is in testing - ```js import { cin } from '@thundernetworkrad/std'; cin('Question').then((response) => { diff --git a/package.json b/package.json index 4c34752..c63b632 100644 --- a/package.json +++ b/package.json @@ -1,16 +1,15 @@ { "name": "@thundernetworkrad/std", - "version": "2023.01.28-2", - "description": "Standard module for javascript", + "version": "2023.01.29", + "description": "Standard module for JavaScript / TypeScript", "main": "build/index.js", "types": "dist/index.d.ts", - "type": "module", "scripts": { "install": "tsc" }, "repository": { "type": "git", - "url": "git+https://github.com/FIUSDevelopment/std.git" + "url": "git+https://github.com/ThunderNetworkRaD/std.git" }, "keywords": [ "std", @@ -23,12 +22,13 @@ "author": "Thunder Network RaD | Killer Boss Original", "license": "SEE LICENSE IN LICENSE.txt", "bugs": { - "url": "https://github.com/FIUSDevelopment/std/issues" + "url": "https://github.com/ThunderNetworkRaD/std/issues" }, - "homepage": "https://github.com/FIUSDevelopment/std#readme", + "homepage": "https://github.com/ThunderNetworkRaD/std#readme", "dependencies": { "@thundernetworkrad/readline-sync": "^2023.1.26-2", "@types/node": "^18.11.18", + "tslib": "^2.5.0", "typescript": "^4.9.4" } } diff --git a/tsconfig.json b/tsconfig.json index 6c5e701..a377134 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -25,7 +25,7 @@ // "moduleDetection": "auto", /* Control what method is used to detect module-format JS files. */ /* Modules */ - "module": "ESNext", /* Specify what module code is generated. */ + "module": "CommonJS", /* Specify what module code is generated. */ "rootDir": "./", /* Specify the root folder within your source files. */ "moduleResolution": "node", /* Specify how TypeScript looks up a file from a given module specifier. */ // "baseUrl": "./", /* Specify the base directory to resolve non-relative module names. */ -- 2.20.1 From 94fcad4e70bb5929573f52504e3197129b748e3b Mon Sep 17 00:00:00 2001 From: KillerBossOriginal Date: Sun, 29 Jan 2023 21:08:38 +0100 Subject: [PATCH 2/2] . --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index fa78db0..64b5cc8 100644 --- a/README.md +++ b/README.md @@ -29,4 +29,4 @@ log('test') // create a file at the first log, add the string to the log import { getTime } from '@thundernetworkrad/std'; let time = getTime() // return { year, month, day, hours, minutes, seconds } -``` +``` \ No newline at end of file -- 2.20.1