ChuckJonas / ts-force

A Salesforce REST Client written in Typescript for Typescript
87 stars 19 forks source link

ts-force-gen: import 'ts-force' by dependency instead of by path #118

Open NielsBo opened 2 years ago

NielsBo commented 2 years ago

This is a proposal for fixing issue #115 so ts-force-gen can work also with pnpm and using import by dependency to ts-force instead of by path.

ChuckJonas commented 2 years ago

this was actually by design to ensure the ts-force-gen always references the same version of ts-force as they have a strong co-dependency. It made releases much easier to deal with. However, it's a bit of an outdated approach. Should probably move to lerna or yarn workspaces.

Let me test and make sure everything works as expected

kompasbank-dragan commented 2 years ago

It would be great to get this merged into the release branch. At the moment we are doing manual hacks every time we generate entities. This would speed up tha process.

kompasbank-niels commented 1 year ago

@ChuckJonas Please. This is a pain every time we want to generate.