Closed morewings closed 1 year ago
eject-ts script not working
eject-ts
Should eject smoothly.
➜ demo-case git:(main) yarn eject-ts yarn run v1.22.19 $ zx scripts/eject-typescript.mjs $ cp -r ./src ./srcTS $ rm -rf ./src $ mkdir ./src $ babel --no-babelrc --presets @babel/preset-typescript ./srcTS -d ./src --extensions ".js,.jsx,.ts,.tsx" --ignore "./srcTS/typings.d.ts" /bin/bash: babel: command not found Error: /bin/bash: babel: command not found at file:///Users/dima/Dev/demo-case/scripts/eject-typescript.mjs:9:8 error Command failed with exit code 1. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Yea, sorry I missed this in the switch to tsup. We no longer use babel so the script doesn't work.
Describe the bug
eject-ts
script not workingSteps to reproduce the behavior
Expected behavior
Should eject smoothly.
Screenshots and/or logs
Environment