@weapp-core/logger 1.0.0 → 1.0.2

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/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2021 ice breaker
3
+ Copyright (c) 2024 ice breaker
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
package/dist/index.cjs CHANGED
@@ -18,10 +18,10 @@ var __copyProps = (to, from, except, desc) => {
18
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
19
 
20
20
  // src/index.ts
21
- var src_exports = {};
22
- __export(src_exports, {
23
- default: () => src_default
21
+ var index_exports = {};
22
+ __export(index_exports, {
23
+ default: () => index_default
24
24
  });
25
- module.exports = __toCommonJS(src_exports);
25
+ module.exports = __toCommonJS(index_exports);
26
26
  var import_consola = require("consola");
27
- var src_default = (0, import_consola.createConsola)();
27
+ var index_default = (0, import_consola.createConsola)();
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  // src/index.ts
2
2
  import { createConsola } from "consola";
3
- var src_default = createConsola();
3
+ var index_default = createConsola();
4
4
  export {
5
- src_default as default
5
+ index_default as default
6
6
  };
package/package.json CHANGED
@@ -1,10 +1,18 @@
1
1
  {
2
2
  "name": "@weapp-core/logger",
3
3
  "type": "module",
4
- "version": "1.0.0",
4
+ "version": "1.0.2",
5
5
  "description": "@weapp-core/logger",
6
- "author": "",
7
- "license": "ISC",
6
+ "author": "ice breaker <1324318532@qq.com>",
7
+ "license": "MIT",
8
+ "repository": {
9
+ "type": "git",
10
+ "url": "git+https://github.com/weapp-vite/weapp-vite.git",
11
+ "directory": "@weapp-core/logger"
12
+ },
13
+ "bugs": {
14
+ "url": "https://github.com/weapp-vite/weapp-vite/issues"
15
+ },
8
16
  "keywords": [],
9
17
  "sideEffects": false,
10
18
  "exports": {
@@ -21,7 +29,7 @@
21
29
  "dist"
22
30
  ],
23
31
  "dependencies": {
24
- "consola": "^3.2.3"
32
+ "consola": "^3.3.1"
25
33
  },
26
34
  "scripts": {
27
35
  "dev": "tsup --watch --sourcemap",
@@ -30,6 +38,7 @@
30
38
  "test:dev": "vitest",
31
39
  "release": "pnpm publish",
32
40
  "lint": "eslint .",
33
- "lint:fix": "eslint . --fix"
41
+ "lint:fix": "eslint . --fix",
42
+ "sync": "cnpm sync @weapp-core/logger"
34
43
  }
35
44
  }