chore(patch-package): Migrate to using bun patch, instead of patch-package

This commit is contained in:
Jack Allen committed 2025-08-27 13:16:47 +01:00
1 parent 9767fc6399
commit 9354dbc9a3
3 files changed
+13 -70

No files matched your search

+6 -5
View File
@@ -11,10 +11,9 @@
"dist/"
],
"scripts": {
"start": "bun run patch && bun run src/ccstatusline.ts",
"start": "bun run src/ccstatusline.ts",
"statusline": "bun run src/ccstatusline.ts",
"patch": "patch-package",
"build": "bun run patch && rm -rf dist/* && bun build src/ccstatusline.ts --target=node --outfile=dist/ccstatusline.js --target-version=14",
"build": "rm -rf dist/* && bun build src/ccstatusline.ts --target=node --outfile=dist/ccstatusline.js --target-version=14",
"postbuild": "bun run scripts/replace-version.ts",
"prepublishOnly": "bun run build",
"lint": "bun tsc --noEmit; eslint . --config eslint.config.js --max-warnings=999999 --fix"
@@ -34,7 +33,6 @@
"ink": "^6.2.0",
"ink-gradient": "^3.0.0",
"ink-select-input": "^6.2.0",
"patch-package": "^8.0.0",
"react": "^19.1.1",
"react-devtools-core": "^6.1.5",
"strip-ansi": "^7.1.0",
@@ -61,5 +59,8 @@
},
"trustedDependencies": [
"unrs-resolver"
]
],
"patchedDependencies": {
"ink@6.2.0": "patches/ink@6.2.0.patch"
}
}