-
-
Notifications
You must be signed in to change notification settings - Fork 554
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
PNPM Experiment #2880
base: master
Are you sure you want to change the base?
PNPM Experiment #2880
Conversation
@@ -0,0 +1,2 @@ | |||
packages: | |||
- "./**/src/main/node" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Any project containing a src/main/node
directory is considered as a pnpm package.
<dependencies> | ||
<dependency> | ||
<groupId>org.xwiki.platform</groupId> | ||
<artifactId>xwiki-platform-lib-a</artifactId> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Runtime dependency to lib-a for the webjar level.
As of now, I don't think we have a better solution than to manually maintain modules dependencies at maven and npm levels (i.e., so code duplication).
bb6618a
to
772d7f4
Compare
772d7f4
to
2b7d956
Compare
* remove unrelated file * fix typo in package.json
Changes
Description
Demo of the use of xwiki/xwiki-commons#772 in
xwiki-platform
Two
webjar-node
modules are defined,xwiki-platform-lib-a
andxwiki-platform-lib-b
.xwiki-platform-lib-b
depends onxwiki-platform-lib-a
.Both projects are defined using typescript and are type checked.
This PR is currently mainly a support for the forum proposal that will follow.