Skip to content

Commit ca4dcd8

Browse files
committed
fix(node): remove old "install" package exports
1 parent 259c145 commit ca4dcd8

File tree

3 files changed

+6
-23
lines changed

3 files changed

+6
-23
lines changed

.changeset/sour-hotels-explain.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@react-router/node": patch
3+
---
4+
5+
Remove old "install" package exports

packages/react-router-node/package.json

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -29,27 +29,8 @@
2929
"default": "./dist/index.js"
3030
}
3131
},
32-
"./install": {
33-
"node": {
34-
"types": "./dist/install.d.ts",
35-
"module-sync": "./dist/install.mjs",
36-
"default": "./dist/install.js"
37-
},
38-
"import": {
39-
"types": "./dist/install.d.mts",
40-
"default": "./dist/install.mjs"
41-
},
42-
"default": {
43-
"types": "./dist/install.d.ts",
44-
"default": "./dist/install.js"
45-
}
46-
},
4732
"./package.json": "./package.json"
4833
},
49-
"sideEffects": [
50-
"./dist/install.js",
51-
"./dist/install.mjs"
52-
],
5334
"scripts": {
5435
"build": "wireit",
5536
"typecheck": "tsc"
@@ -91,9 +72,6 @@
9172
},
9273
"files": [
9374
"dist/",
94-
"globals.d.ts",
95-
"install.d.ts",
96-
"install.js",
9775
"CHANGELOG.md",
9876
"LICENSE.md",
9977
"README.md"

packages/react-router-node/tsup.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { createBanner } from "../../build.utils.js";
55

66
import pkg from "./package.json";
77

8-
const entry = ["index.ts", "install.ts"];
8+
const entry = ["index.ts"];
99

1010
export default defineConfig([
1111
{

0 commit comments

Comments
 (0)