Skip to content

Commit 537a1c3

Browse files
committed
correct fixtures
1 parent 4e6d4a3 commit 537a1c3

File tree

11 files changed

+8
-49
lines changed

11 files changed

+8
-49
lines changed

test/__fixtures__/simple-esm-only/package.json

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
"node": ">= 14.0.0"
66
},
77
"main": "dist/esm/index.js",
8-
"module": "dist/esm/index.js",
98
"exports": {
109
".": {
1110
"import": {
@@ -26,8 +25,5 @@
2625
},
2726
"bob": {
2827
"commonjs": false
29-
},
30-
"typescript": {
31-
"definition": "dist/typings/index.d.ts"
3228
}
3329
}

test/__fixtures__/simple-exports/package.json

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@
55
"node": ">= 12.0.0",
66
"pnpm": ">= 8.0.0"
77
},
8-
"main": "dist/cjs/index.js",
9-
"module": "dist/esm/index.js",
8+
"main": "dist/esm/index.js",
109
"exports": {
1110
".": {
1211
"require": {
@@ -42,8 +41,5 @@
4241
"publishConfig": {
4342
"directory": "dist",
4443
"access": "public"
45-
},
46-
"typescript": {
47-
"definition": "dist/typings/index.d.ts"
4844
}
4945
}

test/__fixtures__/simple-monorepo-pnpm/packages/a/package.json

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@
44
"engines": {
55
"node": ">= 14.0.0"
66
},
7-
"main": "dist/cjs/index.js",
8-
"module": "dist/esm/index.js",
7+
"main": "dist/esm/index.js",
98
"exports": {
109
".": {
1110
"require": {
@@ -44,8 +43,5 @@
4443
},
4544
"buildOptions": {
4645
"input": "./src/index.ts"
47-
},
48-
"typescript": {
49-
"definition": "dist/typings/index.d.ts"
5046
}
5147
}

test/__fixtures__/simple-monorepo-pnpm/packages/b/package.json

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@
77
"bin": {
88
"bbb": "dist/cjs/log-the-world.js"
99
},
10-
"main": "dist/cjs/index.js",
11-
"module": "dist/esm/index.js",
10+
"main": "dist/esm/index.js",
1211
"exports": {
1312
".": {
1413
"require": {
@@ -47,8 +46,5 @@
4746
},
4847
"buildOptions": {
4948
"input": "./src/index.ts"
50-
},
51-
"typescript": {
52-
"definition": "dist/typings/index.d.ts"
5349
}
5450
}

test/__fixtures__/simple-monorepo-pnpm/packages/c/package.json

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
"node": ">= 14.0.0"
55
},
66
"main": "dist/cjs/index.js",
7-
"module": "dist/esm/index.js",
87
"exports": {
98
".": {
109
"require": {
@@ -29,8 +28,5 @@
2928
},
3029
"buildOptions": {
3130
"input": "./src/index.ts"
32-
},
33-
"typescript": {
34-
"definition": "dist/typings/index.d.ts"
3531
}
3632
}

test/__fixtures__/simple-monorepo/packages/a/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@
44
"engines": {
55
"node": ">= 14.0.0"
66
},
7-
"main": "dist/cjs/index.js",
8-
"module": "dist/esm/index.js",
7+
"main": "dist/esm/index.js",
98
"exports": {
109
".": {
1110
"require": {

test/__fixtures__/simple-monorepo/packages/b/package.json

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@
77
"bin": {
88
"bbb": "dist/cjs/log-the-world.js"
99
},
10-
"main": "dist/cjs/index.js",
11-
"module": "dist/esm/index.js",
10+
"main": "dist/esm/index.js",
1211
"exports": {
1312
".": {
1413
"require": {
@@ -47,8 +46,5 @@
4746
},
4847
"buildOptions": {
4948
"input": "./src/index.ts"
50-
},
51-
"typescript": {
52-
"definition": "dist/typings/index.d.ts"
5349
}
5450
}

test/__fixtures__/simple-monorepo/packages/c/package.json

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
"node": ">= 14.0.0"
55
},
66
"main": "dist/cjs/index.js",
7-
"module": "dist/esm/index.js",
87
"exports": {
98
".": {
109
"require": {
@@ -29,8 +28,5 @@
2928
},
3029
"buildOptions": {
3130
"input": "./src/index.ts"
32-
},
33-
"typescript": {
34-
"definition": "dist/typings/index.d.ts"
3531
}
3632
}

test/__fixtures__/simple-types-only/package.json

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@
44
"engines": {
55
"node": ">= 14.0.0"
66
},
7-
"main": "dist/cjs/index.js",
8-
"module": "dist/esm/index.js",
7+
"main": "dist/esm/index.js",
98
"exports": {
109
".": {
1110
"require": {
@@ -40,8 +39,5 @@
4039
"./file-that-throws"
4140
]
4241
}
43-
},
44-
"typescript": {
45-
"definition": "dist/typings/index.d.ts"
4642
}
4743
}

test/__fixtures__/simple/package.json

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@
55
"node": ">= 12.0.0",
66
"pnpm": ">= 8.0.0"
77
},
8-
"main": "dist/cjs/index.js",
9-
"module": "dist/esm/index.js",
8+
"main": "dist/esm/index.js",
109
"exports": {
1110
".": {
1211
"require": {
@@ -56,8 +55,5 @@
5655
"./file-that-throws"
5756
]
5857
}
59-
},
60-
"typescript": {
61-
"definition": "dist/typings/index.d.ts"
6258
}
6359
}

0 commit comments

Comments
 (0)