lqy-log-toolkit 0.0.0-stage → 1.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/index.js ADDED
@@ -0,0 +1,9 @@
1
+ const toolkit = require('lqy-log-toolkit');
2
+
3
+ console.log("=== Package Attributes ===");
4
+ console.log("Author:", toolkit.authorName);
5
+ console.log("Version:", toolkit.version);
6
+
7
+ console.log("\n=== Package Methods ===");
8
+ toolkit.logSuccess("Install and call success!");
9
+ toolkit.logError("This is a test error log.");
package/info.js ADDED
@@ -0,0 +1,7 @@
1
+ const authorName = "你的名字";
2
+ const version = "1.0.0";
3
+
4
+ module.exports = {
5
+ authorName,
6
+ version
7
+ };
package/logger.js ADDED
@@ -0,0 +1,12 @@
1
+ function logSuccess(msg) {
2
+ console.log(`✅ [Success] ${msg}`);
3
+ }
4
+
5
+ function logError(msg) {
6
+ console.log(`❌ [Error] ${msg}`);
7
+ }
8
+
9
+ module.exports = {
10
+ logSuccess,
11
+ logError
12
+ };
package/package.json CHANGED
@@ -1,6 +1,13 @@
1
1
  {
2
2
  "name": "lqy-log-toolkit",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "1.0.1",
4
+ "description": "",
5
+ "main": "index.js",
6
+ "scripts": {
7
+ "test": "echo \"Error: no test specified\" && exit 1"
8
+ },
9
+ "keywords": [],
10
+ "author": "",
11
+ "license": "ISC",
12
+ "type": "commonjs"
13
+ }
package/README.md DELETED
@@ -1,3 +0,0 @@
1
- # Temporary Holding Version
2
-
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.