ts-force icon indicating copy to clipboard operation
ts-force copied to clipboard

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

Open NielsBo opened this issue 4 years ago • 3 comments

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.

NielsBo avatar Jan 08 '22 12:01 NielsBo

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

ChuckJonas avatar Jan 10 '22 15:01 ChuckJonas

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-dragan avatar Feb 03 '22 13:02 kompasbank-dragan

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

kompasbank-niels avatar Sep 29 '22 08:09 kompasbank-niels