New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use pnpm instead of npm for frontend resources #6966
Comments
The part about using only one This is not so much of an issue for Vaadin 14.x where this kind of hybrid approach isn't really encouraged, but it will be problematic in Vaadin 15. |
This use case should work out-of-the-box with whatever solution proposed:
Otherwise, the project would never build, and the user needs to know what file and what to remove to fix the project. Note that |
This is needed after `pnpm` became the default front-end package manager in Vaadin apps (see vaadin/flow#6966)
This is needed after `pnpm` became the default front-end package manager in Vaadin apps (see vaadin/flow#6966)
* fix: mention Vaadin Maven plugin in the 'upgrading from Vaadin 14' guide Explicitly mention that the plugin version needs to be changed as well, so that the project uses matching versions of the Vaadin platform and the Vaadin Maven plugin. This addresses one of the comments from DX tests. * fix: replace npm with pnpm in docs This is needed after `pnpm` became the default front-end package manager in Vaadin apps (see vaadin/flow#6966) * fix: clarify where to run the `pnpm install` command * fix: avoid TS compilation errors in quick start snippets - the `route.action` property does not allow returning a promise of a particular ES module, thus `action: () => import('./views/help/app-help')` does not pass the type check - the `click()` method in the snippet overrides the `HTMLElement`'s `click` property, which is not intended - add an import for the `vaadin-button` custom element used in the snippet * fix: add a tip that JS is supported as well as TS - into the 'upgrading from V14' guide * fix: how to move existing Java views into TS page layout * formatting fix * fix a typo
As based on #6150, we will add support for pnpm for Vaadin 14.x / Flow 2.x and then bring it as
package.json
that is managed fully by the framework when you are using pnpm modeParts:
The text was updated successfully, but these errors were encountered: