Skip to content

Conversation

@LekoArts
Copy link
Contributor

@LekoArts LekoArts commented Feb 18, 2025

Description

This is a replacement for #5122

In this PR I'm not changing the published output of our packages but rather add a separate build script to our root package.json (and adjusting the respective scripts in the individual packages).

It's on purpose that the script isn't integrated into our CI yet and only touches a couple of SDKs, this and other things will follow in another PR.

Checklist

  • pnpm test runs as expected.
  • pnpm build runs as expected.
  • (If applicable) JSDoc comments have been added or updated for any package exports
  • (If applicable) Documentation has been updated

Type of change

  • 🐛 Bug fix
  • 🌟 New feature
  • 🔨 Breaking change
  • 📖 Refactoring / dependency upgrade / documentation
  • other:

@vercel
Copy link

vercel bot commented Feb 18, 2025

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

Name Status Preview Comments Updated (UTC)
clerk-js-sandbox ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 19, 2025 2:52pm

@changeset-bot
Copy link

changeset-bot bot commented Feb 18, 2025

🦋 Changeset detected

Latest commit: 9752719

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

This PR includes changesets to release 0 packages

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

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

"compilerOptions": {
"allowSyntheticDefaultImports": true,
"baseUrl": ".",
"declaration": true,
Copy link
Contributor Author

Choose a reason for hiding this comment

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

When touching the existing tsconfig.json I removed properties that are defined in tsconfig.declarations.json, just cleaning things up

"build": "tsup --env.NODE_ENV production",
"build:analyze": "tsup --env.NODE_ENV production --metafile; open https://esbuild.github.io/analyze/",
"build:declarations": "tsc --env.NODE_ENV production -p tsconfig.json",
"build:declarations": "tsc -p tsconfig.declarations.json",
Copy link
Contributor Author

Choose a reason for hiding this comment

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

--env.NODE_ENV isn't valid for tsc

LekoArts and others added 2 commits February 19, 2025 15:50
Co-authored-by: Jacek Radko <jacek@clerk.dev>
Copy link
Member

@wobsoriano wobsoriano left a comment

Choose a reason for hiding this comment

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

😎

@LekoArts LekoArts merged commit 1fb8e62 into main Feb 25, 2025
29 checks passed
@LekoArts LekoArts deleted the lekoarts/eco-371-generate-declaration-maps-in-sdks-separately branch February 25, 2025 08:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants