-
Notifications
You must be signed in to change notification settings - Fork 594
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
upgrade eslint configuration to 8.x #4178
base: main
Are you sure you want to change the base?
Conversation
PRO-4227 Find a solution for the issues encountered when trying to use pnpm in a mono-repo approach with Apostrophe.
Michelin reported that they are encountering an issue when trying to use Here is the GitHub-related issue, which includes complete Steps to Reproduce: #4126 They need to use — The problem explained The major difference (from the perspective of Apostrophe app) between The very simplified explanation (and not 100% accurate, but close to the reality):
Another interesting discovery is that
When The application can In this scenario resolving happens downwards - the indirect dependencies are found in application root's When
as a result of this "trick" Apostrophe is actually able to resolve application level packages (not that it's a possible scenario, but this is the case) but it can't rely on hoisted indirect dependencies downwards (from its own dependencies). Kinda "dependency sandbox". Specific Apostrophe problems related with how As a start, Screenshot from 2023-05-22 16-10-34.png Beside this Apostrophe should be generally in a good place. The problem would be if the core or any core plugin relies on the described above The troubles seems to be only build related. The "magic solution" The first thing that usually fails (on build) is dependencies of The PoC Using a standard
The The real problem is the context. Changing it can do harm and needs to be tested and assessed. It basically changes the building context from application root to the apost package folder - for sure not a BC change. |
Summary
Summarize the changes briefly, including which issue/ticket this resolves. If it closes an existing Github issue, include "Closes #[issue number]"
What are the specific steps to test this change?
For example:
What kind of change does this PR introduce?
(Check at least one)
Make sure the PR fulfills these requirements:
If adding a new feature without an already open issue, it's best to open a feature request issue first and wait for approval before working on it.
Other information: