Commit 2df9539
committed
fix: install platform-specific oxc-parser native bindings for jco
- Add explicit installation of platform-specific oxc-parser bindings
- Map platform detection to correct npm package names:
- linux_amd64 → @oxc-parser/binding-linux-x64-gnu
- darwin_arm64 → @oxc-parser/binding-darwin-arm64
- darwin_amd64 → @oxc-parser/binding-darwin-x64
- windows_amd64 → @oxc-parser/binding-win32-x64-msvc
- Add npm rebuild step to ensure native modules work correctly
- Fixes 'Cannot find module ./parser.linux-x64-gnu.node' error
- Resolves jco componentize native binding issues across platforms1 parent 7b09026 commit 2df9539
1 file changed
+39
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
177 | 177 | | |
178 | 178 | | |
179 | 179 | | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
180 | 200 | | |
181 | 201 | | |
182 | 202 | | |
183 | 203 | | |
184 | 204 | | |
185 | 205 | | |
186 | | - | |
187 | | - | |
188 | | - | |
| 206 | + | |
| 207 | + | |
189 | 208 | | |
190 | 209 | | |
191 | 210 | | |
| |||
197 | 216 | | |
198 | 217 | | |
199 | 218 | | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
200 | 236 | | |
201 | 237 | | |
202 | 238 | | |
| |||
0 commit comments