jschaf opened a new issue, #65:
URL: https://github.com/apache/arrow-js/issues/65

   ### Describe the enhancement requested
   
   The Apache Arrow JS bundle includes a few unnecessary packages that increase 
the dependency graph. The culprits are:
   
   - command-line-usage: used by integration.ts, json-to-arrow.ts, and 
arrowtocsv.ts. I _think_ these can move to dev dependencies since it looks like 
the intent of the scripts is integration testing and benchmarking.
   - @swc/helpers: Introduced in https://github.com/apache/arrow/pull/38500. 
`@swc/helpers` is never imported. I think it's used for 
https://github.com/apache/arrow/blob/9b931af14e5a710cba0aaa6b899e2ca696bfd785/js/tsconfig.json#L22.
 If ts-node is only for development, this can move to devDependencies.
   - @types/node: Should move to devDependencies. I don't think there's any 
benefit to having it listed as a production dependency.
   - @types/command-line-args: move to devDependencies
   - @types/command-line-usage: move to devDepdencies
   - json-bignum: used by integration.ts, json-to-arrow.ts, and arrowtocsv.ts. 
Can move to dev dependencies.
   
   Here's the graph of the current dependencies.
   
   
![image](https://github.com/apache/arrow/assets/22385/5ae3eff1-394a-4b0d-9f5f-8f78167bb635)
   
   
   ### Component(s)
   
   JavaScript


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@arrow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to