Skip to content
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

[INTERNAL] lib/processors/jsdoc: enhance list of built-in types and remove direct usage of taffydb #883

Merged
merged 1 commit into from
Feb 8, 2023

Conversation

flovogt
Copy link
Member

@flovogt flovogt commented Feb 7, 2023

TODO: most parts of the hard coded lists should be replaced with content
from the npm package 'globals'.

Cherry picked from SAP/openui5@b53bbcc84.


Avoid the use of TaffyDB APIs in the active publishing variants
(apijson, apixml, fullapixml) as not all TaffyDB APIs are supported by
the replacement 'Salty' in JSDoc 4.0.0.

The get() API is still used, all other operations are replaced with
native array operations.

Legacy publishing variants (apijs, full, public, demokit,
demokit-internal) are not adapted as they are no longer functional.
They'll be cleaned up in a later change.

JIRA: CPOUI5FOUNDATION-595

Cherry picked from SAP/openui5@187bc3e07.

…emove direct usage of taffydb

TODO: most parts of the hard coded lists should be replaced with content
from the npm package 'globals'.

Cherry picked from SAP/openui5@b53bbcc84.

----------------------------

Avoid the use of TaffyDB APIs in the active publishing variants
(apijson, apixml, fullapixml) as not all TaffyDB APIs are supported by
the replacement 'Salty' in JSDoc 4.0.0.

The get() API is still used, all other operations are replaced with
native array operations.

Legacy publishing variants (apijs, full, public, demokit,
demokit-internal) are not adapted as they are no longer functional.
They'll be cleaned up in a later change.

JIRA: CPOUI5FOUNDATION-595

Cherry picked from SAP/openui5@187bc3e07.
@flovogt flovogt requested review from a team and codeworrior February 7, 2023 09:31
@coveralls
Copy link

Coverage Status

Coverage: 94.623%. Remained the same when pulling 4aafdb0 on jsdoc-alignment into 80b5088 on main.

Copy link
Member

@RandomByte RandomByte left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Personally, I'd prefer to have one commit per cherry-pick to make it easier to compare to the commits in OpenUI5. The title of commit [INTERNAL] JSDoc: prepare for the use of JSDoc 4.0.0 now doesn't appear anywhere here.

I think that's also what Frank usually does: #878

Besides that, looks good and contains all the missing change 👍

@flovogt flovogt merged commit 14c5e5c into main Feb 8, 2023
@flovogt flovogt deleted the jsdoc-alignment branch February 8, 2023 13:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants