-
Notifications
You must be signed in to change notification settings - Fork 5
How to update a module to version 2.1
if necessary, first follow the steps of How to update a module to version 2.0, then these instructions:
make sure that package.json
contains appropriate version numbers (for example guide4you 2.1).
use the registerModules
function in all entry.js
files instead of the modules: [] array.
See https://github.com/KlausBenndorf/guide4you-module-urlapi/blob/master/conf/build/entry.js
Use the version script hook of guide4you to run the tests. See https://github.com/KlausBenndorf/guide4you-module-urlapi/blob/master/package.json#L50
You can now integrate tests of other guide4you modules into your own tests. See https://github.com/KlausBenndorf/guide4you-module-urlapi/blob/master/package.json#L51 . You might need to adjust you client config to integrate the tested controls.
See also https://github.com/KlausBenndorf/guide4you-module-search/pull/88/files
git add «all but the files in the dist folders» && git commit && git checkout . && npm version minor && npm publish