@yamato-daiwa/es-extensions-nodejs 0.0.1 → 1.5.0-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,7 +1,9 @@
1
1
  /*!
2
- * @yamato-daiwa/es-extensions-nodejs v0.0.0
2
+ * @yamato-daiwa/es-extensions-nodejs v1.5
3
3
  * (c) 2021 Sole proprietorship "Yamato Daiwa" Takeshi Tokugawa
4
4
  * Released under the MIT License.
5
5
  */
6
- import NodeJS_Timer from "./DateTime/NodeJS_Timer";
7
- export { NodeJS_Timer };
6
+ export { default as NodeJS_Timer } from "./DateTime/NodeJS_Timer";
7
+ export { default as ConsoleApplicationLogger } from "./ConsoleApplicationLogger";
8
+ export { default as ConsoleCommandsParser } from "./ConsoleCommandsParser/ConsoleCommandsParser";
9
+ export { default as InvalidConsoleCommandError } from "./Logging/Errors/InvalidConsoleCommandError";
@@ -1,7 +1,19 @@
1
+ "use strict";
1
2
  /*!
2
- * @yamato-daiwa/es-extensions-nodejs v0.0.0
3
+ * @yamato-daiwa/es-extensions-nodejs v1.5
3
4
  * (c) 2021 Sole proprietorship "Yamato Daiwa" Takeshi Tokugawa
4
5
  * Released under the MIT License.
5
6
  */
6
- import NodeJS_Timer from "./DateTime/NodeJS_Timer";
7
- export { NodeJS_Timer };
7
+ var __importDefault = (this && this.__importDefault) || function (mod) {
8
+ return (mod && mod.__esModule) ? mod : { "default": mod };
9
+ };
10
+ Object.defineProperty(exports, "__esModule", { value: true });
11
+ exports.InvalidConsoleCommandError = exports.ConsoleCommandsParser = exports.ConsoleApplicationLogger = exports.NodeJS_Timer = void 0;
12
+ var NodeJS_Timer_1 = require("./DateTime/NodeJS_Timer");
13
+ Object.defineProperty(exports, "NodeJS_Timer", { enumerable: true, get: function () { return __importDefault(NodeJS_Timer_1).default; } });
14
+ var ConsoleApplicationLogger_1 = require("./ConsoleApplicationLogger");
15
+ Object.defineProperty(exports, "ConsoleApplicationLogger", { enumerable: true, get: function () { return __importDefault(ConsoleApplicationLogger_1).default; } });
16
+ var ConsoleCommandsParser_1 = require("./ConsoleCommandsParser/ConsoleCommandsParser");
17
+ Object.defineProperty(exports, "ConsoleCommandsParser", { enumerable: true, get: function () { return __importDefault(ConsoleCommandsParser_1).default; } });
18
+ var InvalidConsoleCommandError_1 = require("./Logging/Errors/InvalidConsoleCommandError");
19
+ Object.defineProperty(exports, "InvalidConsoleCommandError", { enumerable: true, get: function () { return __importDefault(InvalidConsoleCommandError_1).default; } });
package/README.md CHANGED
@@ -1,4 +1,7 @@
1
- # @yamato-daiwa/es-extensions
1
+ # @yamato-daiwa/es-extensions-nodejs
2
+
3
+ [![No any type](https://img.shields.io/badge/Type_safety-No_any-brightgreen.svg?style=flat)]()
4
+ [![NPM Version](https://img.shields.io/npm/v/@yamato-daiwa/es-extensions-nodejs)](https://www.npmjs.com/package/@yamato-daiwa/es-extensions-nodejs)
2
5
 
3
6
  Additional to [@yamato-daiwa/es-extensions](https://www.npmjs.com/package/@yamato-daiwa/es-extensions) functionality
4
7
  for Node.js environment. Helper functions and classes aimed to reduce the routine code.
@@ -8,5 +11,13 @@ Build-in TypeScript type safety without `any` type.
8
11
  ## Installation
9
12
 
10
13
  ```
11
- npm i @yamato-daiwa/es-extensions-nodejs -E
14
+ npm i @yamato-daiwa/es-extensions-nodejs @yamato-daiwa/es-extensions -E
12
15
  ```
16
+
17
+ ## Functionality
18
+
19
+ * [📖 **ConsoleCommandsParser**](Documentation/ConsoleCommandsParser/ConsoleCommandsParser.md) Parsing and validating of CLI commands.
20
+ * [📖 **ConsoleApplicationLogger**](Documentation/Logging/ConsoleApplicationLogger/ConsoleApplicationLogger.md) The implementation of
21
+ **ILogger** interface for Node.js environment.
22
+ * Errors
23
+ * **InvalidConsoleCommandError** - intended to be thrown the inputted console command does not satisfy to valid schema.
package/package.json CHANGED
@@ -1,9 +1,10 @@
1
1
  {
2
2
  "name": "@yamato-daiwa/es-extensions-nodejs",
3
- "version": "0.0.1",
3
+ "version": "1.5.0-alpha.1",
4
4
  "description": "Additional to @yamato-daiwa/es-extensions functionality for Node.js environment. Helper functions and classes aimed to reduce the routine code. Build-in TypeScript type safety.",
5
5
  "keywords": [
6
6
  "nodejs",
7
+ "typescript",
7
8
  "utils",
8
9
  "logger"
9
10
  ],
@@ -14,29 +15,37 @@
14
15
  "license": "MIT",
15
16
  "repository": {
16
17
  "type": "git",
17
- "url": "https://github.com/TokugawaTakeshi/yamato_daiwa-es_extensions-nodejs"
18
+ "url": "https://github.com/TokugawaTakeshi/Yamato-Daiwa-ES-Extensions.git"
18
19
  },
19
20
  "bugs": {
20
- "url": "https://github.com/TokugawaTakeshi/yamato_daiwa-es_extensions-nodejs/issues",
21
+ "url": "https://github.com/TokugawaTakeshi/Yamato-Daiwa-ES-Extensions.git/issues",
21
22
  "email": "tokugawa.takesi@gmail.com"
22
23
  },
23
24
  "main": "./Distributable/index.js",
24
25
  "types": "./Distributable/index.d.ts",
26
+ "files": [
27
+ "Distributable"
28
+ ],
25
29
  "devDependencies": {
26
- "@types/mocha": "9.0.0",
27
- "@types/node": "16.7.1",
28
- "mocha": "9.1.0",
29
- "ts-node": "10.2.1",
30
- "typescript": "4.3.5",
31
- "yamato-daiwa_code_quality_management": "0.0.17"
30
+ "@types/json5": "0.0.30",
31
+ "@types/mocha": "9.1.0",
32
+ "@types/node": "16.10.2",
33
+ "del-cli": "4.0.1",
34
+ "mocha": "9.2.2",
35
+ "ts-node": "10.7.0",
36
+ "typescript": "4.6.2",
37
+ "yamato-daiwa_code_quality_management": "0.3.0"
38
+ },
39
+ "dependencies": {
40
+ "@yamato-daiwa/es-extensions": "1.4.5",
41
+ "json5": "2.2.0"
32
42
  },
33
43
  "engines": {
34
44
  "node": ">=10.4.0"
35
45
  },
36
46
  "scripts": {
37
- "Lint": "eslint Source Tests"
38
- },
39
- "dependencies": {
40
- "@yamato-daiwa/es-extensions": "1.0.1"
47
+ "Rebuild distributable": "rimraf Distributable & tsc",
48
+ "Lint": "eslint Source Tests",
49
+ "Rebuild distributable and realize alpha": "npm run \"Rebuild distributable\" && npm publish --tag alpha"
41
50
  }
42
51
  }
@@ -1,4 +0,0 @@
1
- {
2
- "extends": "./tsconfig.json",
3
- "include": [ "Source/**/*", "Tests/**/*" ]
4
- }