@weapp-tailwindcss/logger 2.0.3 → 2.0.5

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.cjs CHANGED
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- //#region \0rolldown/runtime.js
2
+ // \0rolldown/runtime.js
3
3
  var __create = Object.create;
4
4
  var __defProp = Object.defineProperty;
5
5
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -20,12 +20,15 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
20
20
  value: mod,
21
21
  enumerable: true
22
22
  }) : target, mod));
23
- //#endregion
24
23
  let consola = require("consola");
25
24
  let picocolors = require("picocolors");
26
25
  picocolors = __toESM(picocolors, 1);
27
- //#region src/index.ts
26
+ // src/index.ts
28
27
  const logger = (0, consola.createConsola)();
29
- //#endregion
30
28
  exports.logger = logger;
31
- exports.pc = picocolors.default;
29
+ Object.defineProperty(exports, "pc", {
30
+ enumerable: true,
31
+ get: function() {
32
+ return picocolors.default;
33
+ }
34
+ });
@@ -0,0 +1,3 @@
1
+ import pc from "picocolors";
2
+ declare const logger: import("consola").ConsolaInstance;
3
+ export { logger, pc };
package/dist/index.d.ts CHANGED
@@ -1,5 +1,3 @@
1
1
  import pc from "picocolors";
2
- //#region src/index.d.ts
3
2
  declare const logger: import("consola").ConsolaInstance;
4
- //#endregion
5
3
  export { logger, pc };
package/dist/index.js CHANGED
@@ -1,6 +1,5 @@
1
1
  import { createConsola } from "consola";
2
2
  import pc from "picocolors";
3
- //#region src/index.ts
3
+ // src/index.ts
4
4
  const logger = createConsola();
5
- //#endregion
6
5
  export { logger, pc };
package/package.json CHANGED
@@ -1,26 +1,31 @@
1
1
  {
2
2
  "name": "@weapp-tailwindcss/logger",
3
3
  "type": "module",
4
- "version": "2.0.3",
4
+ "version": "2.0.5",
5
5
  "description": "Shared logging utilities for the weapp-tailwindcss cross-platform toolchain. weapp-tailwindcss 跨端工具链的共享日志工具。",
6
6
  "author": "ice breaker <1324318532@qq.com>",
7
7
  "license": "MIT",
8
8
  "homepage": "https://tw.weapp.dev",
9
9
  "repository": {
10
10
  "type": "git",
11
- "url": "git+https://github.com/sonofmagic/weapp-tailwindcss.git",
11
+ "url": "git+https://github.com/weapp-tailwindcss/weapp-tailwindcss.git",
12
12
  "directory": "packages/logger"
13
13
  },
14
14
  "bugs": {
15
- "url": "https://github.com/sonofmagic/weapp-tailwindcss/issues"
15
+ "url": "https://github.com/weapp-tailwindcss/weapp-tailwindcss/issues"
16
16
  },
17
17
  "keywords": [],
18
18
  "sideEffects": false,
19
19
  "exports": {
20
20
  ".": {
21
- "types": "./dist/index.d.ts",
22
- "import": "./dist/index.js",
23
- "require": "./dist/index.cjs"
21
+ "import": {
22
+ "types": "./dist/index.d.ts",
23
+ "default": "./dist/index.js"
24
+ },
25
+ "require": {
26
+ "types": "./dist/index.d.cts",
27
+ "default": "./dist/index.cjs"
28
+ }
24
29
  }
25
30
  },
26
31
  "main": "./dist/index.cjs",