projen new awscdk-app-ts creates a git subproject
While running npx projen new awscdk-app-ts it's creating a git submodule which I don't want to. How to disable this feature?
npx projen@latest --version
0.65.13
Ok, found the trick npx projen@latest new awscdk-app-ts --projenrc-ts=true --no-git
Can we make the previous behaviour the default again. If we create a subproject without a parent, then it won't init a git submodule?
Am I right this only happens when you run projen new inside an existing git directory?
I'm not aware of any recent changes in this area. It stands to reason this was always the case and its probably just normal git behavior when git init is run inside an existing git project.
I've got no stakes for either way. I'm sure some people will rely on the fact it currently behaves that way. Might be best to do a poll on cdk.dev before writing any code. 🤷🏻
Anyway, totally open to a PR changing the default based on the context.
Yes, running inside an existing git directory. It's an edge case, normally I would have used the projen subproject. The last time I had this use case is two years ago 😄