-
-
Notifications
You must be signed in to change notification settings - Fork 66
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
Projectionist is not working as expected #192
Comments
What exactly doesn't work? I just tried it with your
|
Hi @bfrg, mostly of node modules has the
but I would like only set the |
If you know the prefix of each app, you can do this: {
"packages/apps/app-*/package.json": {
"type": "lib",
"alternate": [
"pnpm-lock.yaml"
]
},
"package.json": {
"type": "lib",
"alternate": [
"pnpm-lock.yaml"
]
}
} Alternatively, you can also specify a projection for each app: {
"packages/apps/foo/package.json": {
"type": "lib",
"alternate": [
"pnpm-lock.yaml"
]
},
"packages/apps/bar/package.json": {
"type": "lib",
"alternate": [
"pnpm-lock.yaml"
]
},
"package.json": {
"type": "lib",
"alternate": [
"pnpm-lock.yaml"
]
}
} This is certainly more cumbersome. |
thank you for your advise, agreed with |
It took me a while to figure out what the question actually was. I think the issue is that Note that |
Hi @tpope, thanks for your suggestion, sorry for the late reply. the |
Hi @tpope, I have a project built by node and it has many microapps, and each apps has the same structure like
app-demo
withnode_modules
andpackage.json
I would like to set something on
package.json
under each app and exclude anything innode_modules
, but it's not working even if I set.projections.json
as belowand this will scan all the
node_modules
, it's too slow for mecould you help resolve this issue or is there any other way to ignore the
node_modules
?The text was updated successfully, but these errors were encountered: