@api-buddy/plugin-utils
Version:
Shared utilities for API Buddy plugins
29 lines (24 loc) • 1.51 kB
Plain Text
> @api-buddy/plugin-utils@2.0.0 prebuild /Users/brechanson/Documents/workspace/api-buddy/packages/utils/plugin-utils
> node -e "const { execSync } = require('child_process'); const path = require('path'); const fs = require('fs'); let root = process.cwd(); while (root !== '/' && !fs.existsSync(path.join(root, 'pnpm-workspace.yaml'))) { root = path.dirname(root); } if (root === '/') { console.error('❌ Could not find project root directory'); process.exit(1); } require(path.join(root, 'scripts/ensure-tsup-config.js'));"
ℹ️ tsup-config.js already exists
> @api-buddy/plugin-utils@2.0.0 build /Users/brechanson/Documents/workspace/api-buddy/packages/utils/plugin-utils
> tsup
[34mCLI[39m Building entry: src/index.ts
[34mCLI[39m Using tsconfig: tsconfig.json
[34mCLI[39m tsup v8.5.0
[34mCLI[39m Using tsup config: /Users/brechanson/Documents/workspace/api-buddy/packages/utils/plugin-utils/tsup.config.ts
[34mCLI[39m Target: node16
[34mCLI[39m Cleaning output folder
[34mESM[39m Build start
[34mCJS[39m Build start
[32mESM[39m [1mdist/index.js [22m[32m14.21 KB[39m
[32mESM[39m [1mdist/index.js.map [22m[32m29.97 KB[39m
[32mESM[39m ⚡️ Build success in 94ms
[32mCJS[39m [1mdist/index.cjs [22m[32m16.86 KB[39m
[32mCJS[39m [1mdist/index.cjs.map [22m[32m30.33 KB[39m
[32mCJS[39m ⚡️ Build success in 94ms
DTS Build start
DTS ⚡️ Build success in 5564ms
DTS dist/index.d.ts 1.34 KB
DTS dist/index.d.cts 1.34 KB