@beecode/msh-util 2.0.0-alpha → 2.0.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.
- package/dist/index.d.ts +16 -16
- package/dist/index.js +13 -13
- package/lib/array-util.d.ts +23 -0
- package/lib/array-util.d.ts.map +1 -0
- package/lib/array-util.js +32 -0
- package/lib/class-factory-pattern.d.ts +25 -0
- package/lib/class-factory-pattern.d.ts.map +1 -0
- package/lib/class-factory-pattern.js +39 -0
- package/lib/express/error-handler.d.ts +17 -0
- package/lib/express/error-handler.d.ts.map +1 -0
- package/lib/express/error-handler.js +32 -0
- package/lib/index.d.ts +17 -0
- package/lib/index.d.ts.map +1 -0
- package/lib/index.js +108 -0
- package/lib/joi-util.d.ts +47 -0
- package/lib/joi-util.d.ts.map +1 -0
- package/lib/joi-util.js +107 -0
- package/lib/memoize-factory.d.ts +16 -0
- package/lib/memoize-factory.d.ts.map +1 -0
- package/lib/memoize-factory.js +34 -0
- package/lib/object-util.d.ts +72 -0
- package/lib/object-util.d.ts.map +1 -0
- package/lib/object-util.js +173 -0
- package/lib/package.json +1 -0
- package/lib/regex-util.d.ts +12 -0
- package/lib/regex-util.d.ts.map +1 -0
- package/lib/regex-util.js +17 -0
- package/lib/single-threshold-promise.d.ts +31 -0
- package/lib/single-threshold-promise.d.ts.map +1 -0
- package/lib/single-threshold-promise.js +95 -0
- package/lib/singleton/async.d.ts +50 -0
- package/lib/singleton/async.d.ts.map +1 -0
- package/lib/singleton/async.js +138 -0
- package/lib/singleton/pattern.d.ts +34 -0
- package/lib/singleton/pattern.d.ts.map +1 -0
- package/lib/singleton/pattern.js +46 -0
- package/lib/string-util.d.ts +10 -0
- package/lib/string-util.d.ts.map +1 -0
- package/lib/string-util.js +23 -0
- package/lib/time-util.d.ts +74 -0
- package/lib/time-util.d.ts.map +1 -0
- package/lib/time-util.js +127 -0
- package/lib/time-zone.d.ts +467 -0
- package/lib/time-zone.d.ts.map +1 -0
- package/lib/time-zone.js +473 -0
- package/lib/timeout.d.ts +15 -0
- package/lib/timeout.d.ts.map +1 -0
- package/lib/timeout.js +24 -0
- package/lib/type-util.d.ts +50 -0
- package/lib/type-util.d.ts.map +1 -0
- package/lib/type-util.js +59 -0
- package/lib/types/global.d.js +5 -0
- package/lib/types/types.d.js +3 -0
- package/package.json +4 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@beecode/msh-util",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.1",
|
|
4
4
|
"description": "",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"homepage": "https://github.com/beecode-rs/msh-util#readme",
|
|
@@ -58,12 +58,12 @@
|
|
|
58
58
|
],
|
|
59
59
|
"scripts": {
|
|
60
60
|
"babel": "npx babel --extensions .ts",
|
|
61
|
-
"build": "npm run clean && npm run tsc",
|
|
61
|
+
"build": "npm run clean && npm run tsc && npm run tsc-esm-alias",
|
|
62
62
|
"build-cjs": "npm run clean-cjs && npm run tsc-cjs && npm run tsc-types && npm run tsc-types-alias && npm run fix-hybrid-lib-cjs",
|
|
63
63
|
"clean": "rimraf ./dist",
|
|
64
64
|
"clean-cjs": "rimraf ./lib",
|
|
65
65
|
"doc": "concurrently -c auto 'npm:doc:*'",
|
|
66
|
-
"doc:api": "npx typedoc",
|
|
66
|
+
"doc:api": "npx typedoc --tsconfig ./resource/tsconfig/esm.json",
|
|
67
67
|
"doc:toc": "npx markdown-toc -i ./README.md",
|
|
68
68
|
"docker-build": "docker build -f ./resource/docker/Dockerfile -t bc-msh-util ./",
|
|
69
69
|
"docker-rmi": "docker rmi bc-msh-util",
|
|
@@ -100,6 +100,7 @@
|
|
|
100
100
|
"tsc-cjs": "npm run babel -- --out-dir ./lib ./src",
|
|
101
101
|
"tsc-cleaner": "ts-cleaner --dist ./dist",
|
|
102
102
|
"tsc-cleaner-watch": "npm run tsc-cleaner -- --watch",
|
|
103
|
+
"tsc-esm-alias": "tsc-alias -p ./resource/tsconfig/esm.json",
|
|
103
104
|
"tsc-time": "npm run tsc -- --diagnostics",
|
|
104
105
|
"tsc-types": "tsc -p ./resource/tsconfig/types.json",
|
|
105
106
|
"tsc-types-alias": "tsc-alias -p ./resource/tsconfig/types.json",
|