-
Notifications
You must be signed in to change notification settings - Fork 71
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
Shims no longer bundled after migration to v3 #807
Comments
Follow-up:
Log statement is here The If my understanding is correct, the first occurrence of |
Another follow-up: disabling Am I wrong? Can this behavior be tweaked? Additional question, perhaps a sillier one - why are Any information on those questions is appreciated. Thanks in advance. |
Hi @dfenerski , Would be able to elaborate a little bit more? What I understand so far is that you have couple projects an App structureapp/
\_ node_modules/
\_ library/
\_ node_modules/
\_ rxjs/ app's package.json{
"name": "app",
...
"dependencies": {
"lib": "^X.Y.Z"
},
"devDependencies": {
"rxjs": "^X.Y.Z"
}
} library's package.json{
"name": "lib",
...
"dependencies": {
"rxjs": "^X.Y.Z"
}
} library's shim for rxjs (eventually) in ui5.yamlspecVersion: "3.0"
kind: extension
type: project-shim
metadata:
name: rxjs
shims:
configurations:
rxjs:
specVersion: "3.0"
type: module
metadata:
name: rxjs
resources:
configuration:
paths:
/resources/: "" If I understand correctly your complaint, you'd expect that dependencies for the Did I understand it correctly? |
Thanks for reaching out @d3xter666, that's pretty much it. What essentially happens is that I.e Therefore:
If we were to stick with the default Looking for a way to standardize/automate this process in a multi-app/lib context led me to this issue, it could very well be that I've missed something in the process. |
If a visited module did not resolve to any specification (project or extensions), try recreating the module when visiting it again from a different parent. Resolves SAP/ui5-tooling#807 This is an alternative to #611 This change might have a greater impact on performance since er might recreate modules that are not relevant to UI5 Tooling more than once if they are listed multiple times in the dependency tree. Before this change, such modules where only visited once.
If a visited module did not resolve to any specification (project or extensions), try recreating the module when visiting it again from a different parent. Resolves SAP/ui5-tooling#807 This is an alternative to #611 This change might have a greater impact on performance since er might recreate modules that are not relevant to UI5 Tooling more than once if they are listed multiple times in the dependency tree. Before this change, such modules where only visited once. --------- Co-authored-by: Yavor Ivanov <yavor.ivanov@sap.com>
Hi, I am creating this issue because the 'get a slack invite' website seems to crash on email submission..
So - I've followed the migration guide and attempted to build an app with a dedicated library using the
-a
flag. Earlier this used to mount all shims under the/resources
dist directory, but now only some? shims are mounted. I cannot seem to find any info regarding shims & this behavior in the new tooling version. What am I missing?Expected Behavior
Shims in libraries should be in the
dist
of the consuming appCurrent Behavior
None or only some shims are bundled in the
dist
Steps to Reproduce the Issue
{...}
Context
ui5 --version
when using the CLI):3.0.5
16.9.1
8.19.3
Win11
not relevant
nothing
The text was updated successfully, but these errors were encountered: