-
-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
foy for the building not working properly #104
Comments
for now, I just rewrote scripts/build.ts to be run with bun runtime, just for ease. I guess it works just same as the original. |
here's the script I use for build import { execSync } from "child_process"
const globby = require("globby");
import { copyFileSync } from "node:fs"
import 'chalk'
console.log('Build dist')
console.log('yarn clean')
execSync('yarn clean')
console.log('yarn re:clean')
execSync('yarn re:clean')
console.log('yarn re:build')
execSync('yarn re:build')
console.log('yarn transform all')
execSync('yarn transform all')
console.log('yarn generate docs')
execSync('yarn generate docs')
console.log('yarn rollup -c rollup.config.js --bundleConfigAsCjs')
execSync('yarn rollup -c rollup.config.js --bundleConfigAsCjs')
const files = await globby('dist/*.js')
const js = files.join(' ')
console.log(`jscodeshift`)
execSync(`node node_modules/.bin/jscodeshift --run-in-band -t tools/javascript-codemods/post/index.ts ${js}`)
console.log('yarn generate tsc')
execSync('yarn generate tsc')
copyFileSync('./src/global.d.ts', './dist/types/global.d.ts')
copyFileSync('./src/types.ts', './dist/types/types.d.ts')
execSync('yarn test run -c') |
still looking for some help here😅 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm trying to contribute to this project, but the foy for the build.ts script seems not working properly(build artifacts are not created).
from my perspective, these are the only logs displayed on the terminal:
and the exit code is 0. Is there anyone who could help with this?
The text was updated successfully, but these errors were encountered: