@eggjs/extend2 4.0.0 → 4.1.0-beta.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.
Files changed (1) hide show
  1. package/package.json +17 -22
package/package.json CHANGED
@@ -1,25 +1,14 @@
1
1
  {
2
2
  "name": "@eggjs/extend2",
3
3
  "author": "popomore <sakura9515@gmail.com>",
4
- "version": "4.0.0",
4
+ "version": "4.1.0-beta.3",
5
5
  "engines": {
6
6
  "node": ">=18.7.0"
7
7
  },
8
8
  "publishConfig": {
9
- "access": "public",
10
- "exports": {
11
- ".": "./dist/index.js",
12
- "./package.json": "./package.json"
13
- }
9
+ "access": "public"
14
10
  },
15
11
  "description": "Port of jQuery.extend for Node.js",
16
- "scripts": {
17
- "build": "tsdown",
18
- "clean": "rimraf dist",
19
- "lint": "oxlint",
20
- "test": "vitest run",
21
- "prepublishOnly": "pnpm run build"
22
- },
23
12
  "keywords": [
24
13
  "extend",
25
14
  "clone",
@@ -31,12 +20,12 @@
31
20
  "directory": "packages/extend2"
32
21
  },
33
22
  "devDependencies": {
34
- "@eggjs/tsconfig": "catalog:",
35
- "@types/node": "catalog:",
36
- "oxlint": "catalog:",
37
- "tsdown": "catalog:",
38
- "typescript": "catalog:",
39
- "vitest": "catalog:"
23
+ "@types/node": "24",
24
+ "oxlint": "^1.14.0",
25
+ "tsdown": "^0.15.0",
26
+ "typescript": "5",
27
+ "vitest": "beta",
28
+ "@eggjs/tsconfig": "3.1.0-beta.3"
40
29
  },
41
30
  "license": "MIT",
42
31
  "files": [
@@ -44,10 +33,16 @@
44
33
  ],
45
34
  "type": "module",
46
35
  "exports": {
47
- ".": "./src/index.ts",
36
+ ".": "./dist/index.js",
48
37
  "./package.json": "./package.json"
49
38
  },
50
39
  "main": "./dist/index.js",
51
40
  "types": "./dist/index.d.ts",
52
- "module": "./dist/index.js"
53
- }
41
+ "module": "./dist/index.js",
42
+ "scripts": {
43
+ "build": "tsdown",
44
+ "clean": "rimraf dist",
45
+ "lint": "oxlint",
46
+ "test": "vitest run"
47
+ }
48
+ }