Open platosha opened 1 year ago
A note on the above: let's make sure we run tests on Windows+Linux+Mac
In addition to automatic tests, I think it would be good to add a manual test before bigger releases (major and minor), where a developer creates a project using the CLI, then creates a defined application without copy-pasting to catch errors like the ones we've had with auto-complete where copypasted code works, but the DX is broken.
After introducing React support, we encountered many issues with autocomplete and import suggestions for the components. Many things have effect on the TypeScript IDE behavior for Hilla applications, including:
package.json
andtsconfig.json
contentsnpm install
behavior and the resulting contents of the node_modules directoryIn order to ensure that the factors above stay in alignment and together provide a good developer experience for the Hilla starters, let us setup automatic IT tests for Hilla starters behavior with TypeScript IDEs.
There are several ways to tackle this: