The default version for generated package.json is defined in file lib/pkg.js:
pkg = {
name: this.name,
version: '0.0.0', // here is the default version
description: '-',
repository: {type: 'git', url: '-'},
readme: '-'
}
has version: '0.0.0'
It should read the version from the tag/release I have chosen in my package.json:
...
"scripts": {
"install": "napa"
},
"napa": {
"datatables.net-plugins": "DataTables/Plugins#1.10.13" // should take version 1.10.13 from here
}
...
The default version for generated package.json is defined in file lib/pkg.js:
has
version: '0.0.0'It should read the version from the tag/release I have chosen in my package.json: