Skip to content

Commit 460ca47

Browse files
Rich-Harristrueadm
authored andcommitted
remove some unused stuff (#10299)
Co-authored-by: Rich Harris <[email protected]>
1 parent 630ae55 commit 460ca47

File tree

18 files changed

+953
-1000
lines changed

18 files changed

+953
-1000
lines changed

packages/svelte/package.json

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,8 @@
9696
"check:watch": "tsc --watch",
9797
"generate:version": "node ./scripts/generate-version.js",
9898
"generate:types": "node ./scripts/generate-types.js",
99-
"prepublishOnly": "pnpm build"
99+
"prepublishOnly": "pnpm build",
100+
"knip": "knip"
100101
},
101102
"devDependencies": {
102103
"@jridgewell/trace-mapping": "^0.3.22",
@@ -108,6 +109,7 @@
108109
"@types/aria-query": "^5.0.4",
109110
"dts-buddy": "^0.4.4",
110111
"esbuild": "^0.19.11",
112+
"knip": "^4.2.1",
111113
"rollup": "^4.9.5",
112114
"source-map": "^0.7.4",
113115
"tiny-glob": "^0.2.9"
@@ -126,5 +128,14 @@
126128
"locate-character": "^3.0.0",
127129
"magic-string": "^0.30.5",
128130
"zimmerframe": "^1.1.0"
131+
},
132+
"knip": {
133+
"entry": [
134+
"src/*/index.js",
135+
"src/*/public.d.ts"
136+
],
137+
"project": [
138+
"src/**"
139+
]
129140
}
130141
}

0 commit comments

Comments
 (0)