Hi Matthias,
Good question! Here are the necessary steps to transform an AX-library into an npm package on Github.
type : lib
registries:
"@<accountname>": 'https://npm.pkg.github.com'
name: "@<accountname>/example-library-name"
#Files, which will be shipped with the library
files:
- bin #to ship compiled files
- src #to ship source files
apax build
apax pack
apax publish --package <name-of-the-generated-filex.x.x.apax.tgz> --registry https://npm.pkg.github.com
The library is now available as a package! If you want to use this package in a new project:
registries:
'@<accountname>': 'https://npm.pkg.github.com'
apax add @<username>/<libraryname>
I hope you find this useful! If you need any clarification, I'm here to help!
Greetings,
Benedetta
Hello Matthias Schulz,
Please check below question if that will help.
Mendix Community - Question Details
Mendix Community - Question Details
Mendix Community - Question Details