-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[BREAKING] Transform to native ESM (#790)
BREAKING CHANGE: This package has been transformed to native ESM. Therefore it no longer provides a CommonJS export. If your project uses CommonJS, it needs to be converted to ESM or use a dynamic import. For more information see also: - https://sap.github.io/ui5-tooling/updates/migrate-v3/ - https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c Co-authored-by: Florian Vogt <florian.vogt@sap.com> Co-authored-by: Matthias Osswald <mat.osswald@sap.com>
- Loading branch information
1 parent
5fef03d
commit a439aa9
Showing
155 changed files
with
3,825 additions
and
4,664 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
/* | ||
* This plugin fixes unexpected JSDoc behavior that prevents us from using types that start with an at-sign (@). | ||
* JSDoc doesn't see "{@" as a valid type expression, probably as there's also {@link ...}. | ||
*/ | ||
exports.handlers = { | ||
jsdocCommentFound: function(e) { | ||
e.comment = e.comment.replace(/{@ui5\//g, "{ @ui5/"); | ||
} | ||
}; |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,12 @@ | ||
"use strict"; | ||
|
||
module.exports.MODULE__UI5LOADER = "ui5loader.js"; | ||
module.exports.MODULE__UI5LOADER_AUTOCONFIG = "ui5loader-autoconfig.js"; | ||
module.exports.MODULE__JQUERY_SAP_GLOBAL = "jquery.sap.global.js"; | ||
module.exports.MODULE__SAP_UI_CORE_CORE = "sap/ui/core/Core.js"; | ||
module.exports.EVO_MARKER_RESOURCE = module.exports.MODULE__UI5LOADER; | ||
export const MODULE__UI5LOADER = "ui5loader.js"; | ||
export const MODULE__UI5LOADER_AUTOCONFIG = "ui5loader-autoconfig.js"; | ||
export const MODULE__JQUERY_SAP_GLOBAL = "jquery.sap.global.js"; | ||
export const MODULE__SAP_UI_CORE_CORE = "sap/ui/core/Core.js"; | ||
export const EVO_MARKER_RESOURCE = MODULE__UI5LOADER; | ||
|
||
module.exports.getRendererName = function( module ) { | ||
export function getRendererName( module ) { | ||
if ( /\.js$/.test(module) ) { | ||
return module.replace(/\.js$/, "Renderer.js"); | ||
} | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.