You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We perhaps want to allow the user to also create dev dependencies for the project. Or should the user just not have to care about that?
I think in an application (as opposed to a library) it doesn't really matter all that much whether things are dev dependencies or not, but this may be relevant to future application reuse, but JS developers generally have an expectation to be able to install them nonetheless.
Opt out scenario: the developer wants to create a devDependency because they want to install some dev tool into a Wasp project like a linter that's not part of Wasp
Development scenario: a developer wants to create a devDependency because they want to pull in TypeScript type definitions (maintained independently from a package), which are strictly speaking not required as main dependencies. Nonetheless, it wouldn't hurt them to install them as plain dependencies, and if you install a package that does include these type definitions you do pull them in as a main dependency...
What if a user adds in a dependency and a devDependency to the same package? Should Wasp complain? In the analysis phase or in the generator?
The text was updated successfully, but these errors were encountered:
We perhaps want to allow the user to also create dev dependencies for the project. Or should the user just not have to care about that?
I think in an application (as opposed to a library) it doesn't really matter all that much whether things are dev dependencies or not, but this may be relevant to future application reuse, but JS developers generally have an expectation to be able to install them nonetheless.
Opt out scenario: the developer wants to create a devDependency because they want to install some dev tool into a Wasp project like a linter that's not part of Wasp
Development scenario: a developer wants to create a devDependency because they want to pull in TypeScript type definitions (maintained independently from a package), which are strictly speaking not required as main dependencies. Nonetheless, it wouldn't hurt them to install them as plain dependencies, and if you install a package that does include these type definitions you do pull them in as a main dependency...
What if a user adds in a dependency and a devDependency to the same package? Should Wasp complain? In the analysis phase or in the generator?
The text was updated successfully, but these errors were encountered: