Skip to content
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

simplify tsconfig, build & lint #72

Merged
merged 13 commits into from
Nov 5, 2024
Merged

Conversation

gsteenkamp89
Copy link
Collaborator

@gsteenkamp89 gsteenkamp89 commented Nov 1, 2024

closes ACX-3068

  • removes tsup as a bundler.
  • build more treeshakable output with tsc.
  • build source maps (for .js files as well as types)

Copy link

vercel bot commented Nov 1, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
toolkit-example ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 5, 2024 9:57am

Copy link

changeset-bot bot commented Nov 1, 2024

🦋 Changeset detected

Latest commit: 0f30105

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@across-protocol/app-sdk Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link

linear bot commented Nov 4, 2024

ACX-3068 Ditch TSUP

@gsteenkamp89 gsteenkamp89 removed the request for review from dohaki November 4, 2024 11:14
@gsteenkamp89 gsteenkamp89 marked this pull request as draft November 4, 2024 11:15
packages/sdk/package.json Show resolved Hide resolved
packages/sdk/src/actions/signUpdateDeposit.ts Outdated Show resolved Hide resolved
Copy link
Collaborator

@dohaki dohaki left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice I like this approach. Left one question

"env": {
"es2020": true
}
}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you know if there is some rule to enforce the .js extension when importing? 🤔

Copy link
Collaborator Author

@gsteenkamp89 gsteenkamp89 Nov 5, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe TSC will complain if you don't do it, while "module" is set to "NodeNext" in the tsconfig.

Screenshot 2024-11-05 at 10 43 49

@gsteenkamp89 gsteenkamp89 merged commit f5633db into master Nov 5, 2024
3 checks passed
@gsteenkamp89 gsteenkamp89 deleted the chore/simplify-build branch November 5, 2024 10:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants