-
Notifications
You must be signed in to change notification settings - Fork 194
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
Automated building #216
base: main
Are you sure you want to change the base?
Automated building #216
Conversation
@gladyshcodes is attempting to deploy a commit to the Antiwork Team on Vercel. A member of the Team first needs to authorize it. |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Some merge conflicts to address! |
Addressed merge conflicts. |
@@ -29,7 +29,7 @@ | |||
"build:js": "esbuild src/index.ts --bundle --platform=node --format=esm --outfile=dist/index.js --external:esbuild --external:punycode --external:playwright --external:@anthropic-ai/sdk --external:expect --external:dotenv", | |||
"build:cjs": "esbuild src/index.ts --bundle --platform=node --format=cjs --outfile=dist/index.cjs --external:esbuild --external:punycode --external:playwright --external:@anthropic-ai/sdk --external:expect --external:dotenv", | |||
"build:cli": "esbuild src/cli/bin.ts --bundle --platform=node --format=esm --outdir=dist/cli --metafile=dist/meta-cli.json --external:fsevents --external:chokidar --external:glob --external:esbuild --external:events --external:path --external:fs --external:util --external:stream --external:os --external:assert --external:url --external:playwright --external:@anthropic-ai/sdk --external:expect --external:dotenv --external:otplib --external:picocolors --external:punycode --external:https --external:http --external:net --external:tls --external:crypto --external:mailosaur", | |||
"dev": "pnpm build:types --watch", | |||
"dev": "pnpm build --watch", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we should update the package.json
in the root to run this script otherwise users would need to do cd packages/shortest
every time which is very annoying. Maybe you could update the build:pkg
to run this script instead of pnpm build
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
On a second thought, I think it's better to have a script in root package.json
like this
"watch:build": "cd packages/shortest && pnpm dev"
I think this would be more appropriate.
Issue: #180
Proposed change
dev
script was updated to auto-build package. This removes the burden to manually runpnpm build
after every change made to/packages/shortest
Why
Improve DX