Add stylus-lang-bundle updater
This commit is contained in:
parent
b851eddf9f
commit
e3345b4fcb
|
@ -47,7 +47,7 @@ var usercss = (() => {
|
|||
},
|
||||
stylus: {
|
||||
preprocess(source, vars) {
|
||||
return loadScript('/vendor/stylus-lang/stylus.min.js').then(() => (
|
||||
return loadScript('/vendor/stylus-lang-bundle/stylus.min.js').then(() => (
|
||||
new Promise((resolve, reject) => {
|
||||
const varDef = Object.keys(vars).map(key => `${key} = ${vars[key].value};\n`).join('');
|
||||
if (!Error.captureStackTrace) Error.captureStackTrace = () => {};
|
||||
|
|
|
@ -14,6 +14,7 @@
|
|||
"lz-string-unsafe": "^1.4.4-beta",
|
||||
"semver-bundle": "^0.1.0",
|
||||
"stylelint-bundle": "^8.0.0",
|
||||
"stylus-lang-bundle": "^0.54.5",
|
||||
"updates": "^4.0.0"
|
||||
},
|
||||
"scripts": {
|
||||
|
|
|
@ -52,6 +52,9 @@ const files = {
|
|||
],
|
||||
'stylelint-bundle': [
|
||||
'stylelint-bundle.min.js'
|
||||
],
|
||||
'stylus-lang-bundle': [
|
||||
'stylus.min.js'
|
||||
]
|
||||
};
|
||||
|
||||
|
|
5
vendor/README.md
vendored
5
vendor/README.md
vendored
|
@ -8,8 +8,8 @@ Using this repo, run `npm install`... the latest versions of:
|
|||
* `jsonlint` (https://github.com/zaach/jsonlint) is installed.
|
||||
* `less` (https://github.com/less/less.js) is installed.
|
||||
* `lz-string-unsafe` (https://github.com/openstyles/lz-string-unsafe) 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>
|
||||
* `semver-bundle` (https://github.com/openstyles/semver-bundle) is installed.
|
||||
* `stylus-lang` (https://github.com/openstyles/stylus-lang-bundle) is installed.<br><br>
|
||||
* The necessary build tools are installed; see `devDependencies` in the `package.json`.
|
||||
|
||||
## Running the build script
|
||||
|
@ -23,3 +23,4 @@ The following changes are made:
|
|||
* `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`.
|
||||
* `semver-bundle`: The `dist/semver.js` file is copied directly into `vendor/semver`.
|
||||
* `stylus-lang-bundle`: The `stylus.min.js` file is copied directly into `vendor/stylus-lang-bundle`.
|
||||
|
|
|
@ -1,28 +1,29 @@
|
|||
http://stylus-lang.com/
|
||||
https://github.com/stylus/stylus/
|
||||
|
||||
https://github.com/stylus/stylus/blob/dev/LICENSE
|
||||
|
||||
|
||||
The MIT License
|
||||
|
||||
Copyright (c) Automattic <developer.wordpress.com>
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining
|
||||
a copy of this software and associated documentation files (the
|
||||
'Software'), to deal in the Software without restriction, including
|
||||
without limitation the rights to use, copy, modify, merge, publish,
|
||||
distribute, sublicense, and/or sell copies of the Software, and to
|
||||
permit persons to whom the Software is furnished to do so, subject to
|
||||
the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be
|
||||
included in all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
|
||||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
||||
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
||||
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
||||
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
||||
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
http://stylus-lang.com/
|
||||
https://github.com/stylus/stylus/
|
||||
https://github.com/openstyles/stylus-lang-bundle
|
||||
|
||||
https://github.com/openstyles/stylus-lang-bundle/blob/master/LICENSE
|
||||
|
||||
|
||||
The MIT License
|
||||
|
||||
Copyright (c) Automattic <developer.wordpress.com>
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining
|
||||
a copy of this software and associated documentation files (the
|
||||
'Software'), to deal in the Software without restriction, including
|
||||
without limitation the rights to use, copy, modify, merge, publish,
|
||||
distribute, sublicense, and/or sell copies of the Software, and to
|
||||
permit persons to whom the Software is furnished to do so, subject to
|
||||
the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be
|
||||
included in all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
|
||||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
||||
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
||||
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
||||
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
||||
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
5
vendor/stylus-lang-bundle/README.md
vendored
Normal file
5
vendor/stylus-lang-bundle/README.md
vendored
Normal file
|
@ -0,0 +1,5 @@
|
|||
## Stylus-lang-bundle v0.0.0
|
||||
|
||||
stylus-lang-bundle installed via npm - source repo:
|
||||
|
||||
https://github.com/openstyles/stylus-lang-bundle/blob/v0.0.0/stylus.min.js
|
Loading…
Reference in New Issue
Block a user