Replies: 1 comment
-
Migration from |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
With the introduction of the ES6 support, it was natural to introduce also the
"namespace"
of the API set provided by the platform. The initial variant is@dirigible
, which follows thescoped packages
notation https://docs.npmjs.com/cli/v10/using-npm/scope.Example:
While in some extent the API provided by Eclipse Dirigible could be considered as
"owned"
by the platform, the context here is a bit different. Theplatform
API is actually the only one which can be used in this way, there cannot be others like@frameworkXXX/...
. This makes it more like THE API of the platform, not one of many, so it is de-facto the SDK for the platform.Having the above in mind, the proposal is to change the
@dirigible
tosdk
(without@
), which will fix:dirigible
is a scope for the"owned"
by Eclipse Dirigible standalone library, which is not correcttest
,extensions
, etc.Example:
Importing libraries from the users' projects remains the same starting with
/
.Example:
or with
mjs
file extension included:and the combined usage will look like:
Beta Was this translation helpful? Give feedback.
All reactions