Add semver-bundle updater

This commit is contained in:
Rob Garrison 2018-07-20 08:17:16 -05:00
parent 6820421bef
commit 91aefcaab3
9 changed files with 33 additions and 25 deletions

View File

@ -16,7 +16,7 @@
<script src="js/script-loader.js"></script> <script src="js/script-loader.js"></script>
<script src="js/storage-util.js"></script> <script src="js/storage-util.js"></script>
<script src="content/apply.js"></script> <script src="content/apply.js"></script>
<script src="vendor/node-semver/semver.js"></script> <script src="vendor/semver-bundle/semver.js"></script>
<link href="msgbox/msgbox.css" rel="stylesheet"> <link href="msgbox/msgbox.css" rel="stylesheet">
<script src="msgbox/msgbox.js"></script> <script src="msgbox/msgbox.js"></script>

View File

@ -38,7 +38,7 @@
"background/update.js", "background/update.js",
"background/refresh-all-tabs.js", "background/refresh-all-tabs.js",
"background/openusercss-api.js", "background/openusercss-api.js",
"vendor/node-semver/semver.js", "vendor/semver-bundle/semver.js",
"vendor-overwrites/colorpicker/colorconverter.js" "vendor-overwrites/colorpicker/colorconverter.js"
] ]
}, },

View File

@ -12,6 +12,7 @@
"jsonlint": "^1.6.3", "jsonlint": "^1.6.3",
"less": "^3.7.1", "less": "^3.7.1",
"lz-string-unsafe": "^1.4.4-beta", "lz-string-unsafe": "^1.4.4-beta",
"semver-bundle": "^0.1.0",
"updates": "^3.2.3" "updates": "^3.2.3"
}, },
"scripts": { "scripts": {

View File

@ -46,6 +46,9 @@ const files = {
], ],
'lz-string-unsafe': [ 'lz-string-unsafe': [
'lz-string-unsafe.min.js → lz-string-unsafe.min.js' 'lz-string-unsafe.min.js → lz-string-unsafe.min.js'
],
'semver-bundle': [
'dist/semver.js → semver.js'
] ]
}; };

5
vendor/README.md vendored
View File

@ -7,8 +7,8 @@ Using this repo, run `npm install`... the latest versions of:
* `CodeMirror` (https://github.com/codemirror/CodeMirror) is installed. * `CodeMirror` (https://github.com/codemirror/CodeMirror) is installed.
* `jsonlint` (https://github.com/zaach/jsonlint) is installed. * `jsonlint` (https://github.com/zaach/jsonlint) is installed.
* `less` (https://github.com/less/less.js) is installed. * `less` (https://github.com/less/less.js) is installed.
* `lz-string-unsafe` (https://github.com/openstyles/lz-string-unsafe) is installed.<br><br> * `lz-string-unsafe` (https://github.com/openstyles/lz-string-unsafe) is installed.
* **TODO**: `node-semver` (https://github.com/eight04/node-semver-bundle) is installed. * `semver-bundle` (https://github.com/openstyles/semver-bundle) is installed.<br><br>
* **TODO**: `stylus-lang` (https://github.com/eight04/stylus-lang-bundle) is installed.<br><br> * **TODO**: `stylus-lang` (https://github.com/eight04/stylus-lang-bundle) is installed.<br><br>
* The necessary build tools are installed; see `devDependencies` in the `package.json`. * The necessary build tools are installed; see `devDependencies` in the `package.json`.
@ -22,3 +22,4 @@ The following changes are made:
* `jsonlint`: The uncompressed `lib/jsonlint.js` is copied directly to `vendor/jsonlint`. * `jsonlint`: The uncompressed `lib/jsonlint.js` is copied directly to `vendor/jsonlint`.
* `less`: The compressed `dist/less.min.js` file is copied directly into `vendor/less`. * `less`: The compressed `dist/less.min.js` file is copied directly into `vendor/less`.
* `lz-string-unsafe`: The compressed `lz-string-unsafe.min.js` file is copied directly into `vendor/lz-string-unsafe`. * `lz-string-unsafe`: The compressed `lz-string-unsafe.min.js` file is copied directly into `vendor/lz-string-unsafe`.
* `semver-bundle`: The `dist/semver.js` file is copied directly into `vendor/semver`.

View File

@ -1 +0,0 @@
See https://github.com/eight04/node-semver-bundle.

View File

@ -1,20 +1,19 @@
https://github.com/eight04/node-semver-bundle https://github.com/openstyles/semver-bundle
https://github.com/eight04/node-semver-bundle/blob/master/LICENSE https://github.com/openstyles/semver-bundle/blob/master/LICENSE
The ISC License
The ISC License
Copyright (c) Isaac Z. Schlueter and Contributors
Copyright (c) Isaac Z. Schlueter and Contributors
Permission to use, copy, modify, and/or distribute this software for any
Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above
purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.
copyright notice and this permission notice appear in all copies.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

5
vendor/semver-bundle/README.md vendored Normal file
View File

@ -0,0 +1,5 @@
## Semver-bundle v0.0.0
semver-bundle installed via npm - source repo:
https://github.com/openstyles/semver-bundle/blob/v0.0.0/dist/semver.js