0.0.8 • Published 4 years ago

update-to-yourweb v0.0.8

Weekly downloads
-
License
ISC
Repository
-
Last release
4 years ago

update-to-yourweb

Description

Version update plugin for website

Installation

  1. npm i -S update-to-yourweb

Instructions

import UpdateToYourweb from 'update-to-yourweb';

new UpdateToYourweb({
  looptime: 10000, // 10 second loop
  text: 'find the version to update...', // alert text optional
  filename: 'version.static.json', // version code filename
});

version.static.json

{
  "versionCode": "0.0.0.3"
}

Contribution

  1. Need to add a version file, and it is in json format
  2. Version files can be accessed directly
  3. filename can be a relative path
  4. You need to update the code after packaging to test it
  5. 版本号支持任意位数,但不支持修改该字段名称
0.0.8

4 years ago

0.0.7

4 years ago

0.0.6

4 years ago

0.0.5

4 years ago

0.0.4

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago