guan404ming commented on code in PR #69295:
URL: https://github.com/apache/airflow/pull/69295#discussion_r3520532847


##########
ts-sdk/example/package.json:
##########
@@ -5,15 +5,14 @@
   "type": "module",
   "license": "Apache-2.0",
   "scripts": {
-    "build": "esbuild src/main.ts --bundle --platform=node --format=esm 
--target=node22 --outfile=dist/bundle.mjs",
+    "build": "airflow-ts-pack src/main.ts --outdir dist",

Review Comment:
   It ships as a bin of `@apache-airflow/ts-sdk`, so pnpm add 
`@apache-airflow/ts-sdk` gives you `airflow-ts-pack` with no extra config, same 
one-step feel as Go's tool directive. Small tradeoff is `esbuild` becomes an 
SDK dependency.



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to