lqy-log-toolkit 1.0.1 → 1.0.3
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/index.js +6 -8
- package/info.js +1 -1
- package/package.json +5 -2
package/index.js
CHANGED
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
const
|
|
1
|
+
const info = require('./info');
|
|
2
|
+
const logger = require('./logger');
|
|
2
3
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
console.log("\n=== Package Methods ===");
|
|
8
|
-
toolkit.logSuccess("Install and call success!");
|
|
9
|
-
toolkit.logError("This is a test error log.");
|
|
4
|
+
module.exports = {
|
|
5
|
+
...info,
|
|
6
|
+
...logger
|
|
7
|
+
};
|
package/info.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lqy-log-toolkit",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.3",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -9,5 +9,8 @@
|
|
|
9
9
|
"keywords": [],
|
|
10
10
|
"author": "",
|
|
11
11
|
"license": "ISC",
|
|
12
|
-
"type": "commonjs"
|
|
12
|
+
"type": "commonjs",
|
|
13
|
+
"dependencies": {
|
|
14
|
+
"lqy-log-toolkit": "^1.0.0"
|
|
15
|
+
}
|
|
13
16
|
}
|