@weapp-core/shared 1.0.4 → 1.0.5-alpha.0

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
@@ -33,9 +33,9 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
33
33
  ));
34
34
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
35
35
 
36
- // ../../node_modules/.pnpm/tsup@8.3.5_@swc+core@1.9.1_jiti@2.3.1_postcss@8.4.47_tsx@4.19.2_typescript@5.6.3_yaml@2.6.0/node_modules/tsup/assets/cjs_shims.js
36
+ // ../../node_modules/.pnpm/tsup@8.3.5_@swc+core@1.10.4_jiti@2.4.2_postcss@8.4.49_tsx@4.19.2_typescript@5.7.2_yaml@2.6.1/node_modules/tsup/assets/cjs_shims.js
37
37
  var init_cjs_shims = __esm({
38
- "../../node_modules/.pnpm/tsup@8.3.5_@swc+core@1.9.1_jiti@2.3.1_postcss@8.4.47_tsx@4.19.2_typescript@5.6.3_yaml@2.6.0/node_modules/tsup/assets/cjs_shims.js"() {
38
+ "../../node_modules/.pnpm/tsup@8.3.5_@swc+core@1.10.4_jiti@2.4.2_postcss@8.4.49_tsx@4.19.2_typescript@5.7.2_yaml@2.6.1/node_modules/tsup/assets/cjs_shims.js"() {
39
39
  "use strict";
40
40
  }
41
41
  });
@@ -310,8 +310,8 @@ var require_set_value = __commonJS({
310
310
  });
311
311
 
312
312
  // src/index.ts
313
- var src_exports = {};
314
- __export(src_exports, {
313
+ var index_exports = {};
314
+ __export(index_exports, {
315
315
  addExtension: () => addExtension,
316
316
  arrify: () => arrify,
317
317
  defu: () => defu,
@@ -324,7 +324,7 @@ __export(src_exports, {
324
324
  removeExtensionDeep: () => removeExtensionDeep,
325
325
  set: () => import_set_value.default
326
326
  });
327
- module.exports = __toCommonJS(src_exports);
327
+ module.exports = __toCommonJS(index_exports);
328
328
  init_cjs_shims();
329
329
  var import_node_path = require("path");
330
330
 
package/dist/index.js CHANGED
@@ -27,9 +27,9 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
27
27
  mod
28
28
  ));
29
29
 
30
- // ../../node_modules/.pnpm/tsup@8.3.5_@swc+core@1.9.1_jiti@2.3.1_postcss@8.4.47_tsx@4.19.2_typescript@5.6.3_yaml@2.6.0/node_modules/tsup/assets/esm_shims.js
30
+ // ../../node_modules/.pnpm/tsup@8.3.5_@swc+core@1.10.4_jiti@2.4.2_postcss@8.4.49_tsx@4.19.2_typescript@5.7.2_yaml@2.6.1/node_modules/tsup/assets/esm_shims.js
31
31
  var init_esm_shims = __esm({
32
- "../../node_modules/.pnpm/tsup@8.3.5_@swc+core@1.9.1_jiti@2.3.1_postcss@8.4.47_tsx@4.19.2_typescript@5.6.3_yaml@2.6.0/node_modules/tsup/assets/esm_shims.js"() {
32
+ "../../node_modules/.pnpm/tsup@8.3.5_@swc+core@1.10.4_jiti@2.4.2_postcss@8.4.49_tsx@4.19.2_typescript@5.7.2_yaml@2.6.1/node_modules/tsup/assets/esm_shims.js"() {
33
33
  "use strict";
34
34
  }
35
35
  });
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@weapp-core/shared",
3
3
  "type": "module",
4
- "version": "1.0.4",
4
+ "version": "1.0.5-alpha.0",
5
5
  "description": "@weapp-core/shared",
6
6
  "author": "ice breaker <1324318532@qq.com>",
7
7
  "license": "MIT",
@@ -15,6 +15,17 @@
15
15
  },
16
16
  "keywords": [],
17
17
  "sideEffects": false,
18
+ "weapp-vite-dev": {
19
+ "exports": {
20
+ ".": {
21
+ "types": "./src/index.ts",
22
+ "default": "./src/index.ts"
23
+ }
24
+ },
25
+ "main": "./src/index.ts",
26
+ "module": "./src/index.ts",
27
+ "types": "./src/index.ts"
28
+ },
18
29
  "exports": {
19
30
  ".": {
20
31
  "types": "./dist/index.d.ts",
@@ -31,6 +42,7 @@
31
42
  "dependencies": {
32
43
  "object-hash": "^3.0.0"
33
44
  },
45
+ "devDependencies": {},
34
46
  "scripts": {
35
47
  "dev": "tsup --watch --sourcemap",
36
48
  "build": "tsup",