Skip to content

feat: improve our releases #4266

@KATT

Description

@KATT

Describe the feature you'd like to request

I want to run pnpm lerna publish and have the releases just work

Describe the solution you'd like to see

Currently, the git tagging is broken, and it seems every time I touch our scripts, I mess something up:

trpc/package.json

Lines 27 to 28 in ea6da3e

"prepack": "tsx scripts/postversion.ts",
"postversion": "tsx scripts/postversion.ts && git reset HEAD^ && git add . && git commit --reuse-message=HEAD@{1}",

Describe alternate solutions

#162

Additional information

The complexity started with the the prepack-script that I added that is to run to pin all dependencies to a strict trpc version - e.g. sets @trpc/client to expect exactly the equivalent of @trpc/server (@trpc/client@10.21.2 has a peerDependencies with @trpc/server@10.21.2 without any ^10.21.2)

👨‍👧‍👦 Contributing

  • 🙋‍♂️ Yes, I'd be down to file a PR implementing this feature!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions