mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
fix: patch bitsocial-react-hooks esm imports on install
Add a `postinstall` repair step for the git-based `@bitsocialhq/bitsocial-react-hooks` package so test and build environments stop tripping over extensionless relative imports in dist. This keeps GitHub Actions aligned with local installs without changing app logic.
This commit is contained in:
+1
-1
@@ -48,7 +48,7 @@
|
||||
"scripts": {
|
||||
"generate:assets": "node scripts/generate-asset-manifest.js",
|
||||
"sync:directories": "node scripts/sync-directories.js",
|
||||
"postinstall": "node scripts/patch-capacitor-cli-tar.cjs",
|
||||
"postinstall": "node scripts/patch-capacitor-cli-tar.cjs && node scripts/patch-bitsocial-react-hooks-esm.cjs",
|
||||
"prebuild": "yarn sync:directories && yarn generate:assets",
|
||||
"prestart": "yarn sync:directories && yarn generate:assets",
|
||||
"start": "node scripts/start-dev.js",
|
||||
|
||||
Reference in New Issue
Block a user