Skip to content

Default version for generated package.json is always '0.0.0' #78

Description

@ZaDarkSide

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
  }
...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions