Skip to content

Commit

Permalink
3.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Oaphi committed May 11, 2022
1 parent 2bd3947 commit 8903241
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 37 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
| Name | @userscripters/generate-headers |
| Description | Userscript manager header generator |
| License | [GPL-3.0-or-later](https://spdx.org/licenses/GPL-3.0-or-later) |
| Version | 3.0.0 |
| Version | 3.1.0 |

Installation instructions and usage examples can be found on the [Stack Apps post](https://stackapps.com/q/9088/78873).

Expand Down
34 changes: 1 addition & 33 deletions USAGE.md
Original file line number Diff line number Diff line change
@@ -1,35 +1,3 @@
```
Options:
--version Show version number [boolean]
--help Show help [boolean]
-c, --collapse When using `match all <template>` option value, coll
apses all *.stackexchange.com sites into one wildcar
d match [boolean] [default: true]
-d, --direct Directs headers content to `process.stdout`
[boolean] [default: false]
--du, --download-url URL for the @downloadURL header [string]
-e, --eol Sets the end-of-line character(s) (affects the check
for existing headers) [string] [default: "
"]
-h, --homepage Overrides homepage for @homepage header [string]
-i, --inject Adds @inject-into header for Violentmonkey, no-op ot
herwise [string]
-g, --grant Generates @grant headers, can be repeated [array]
-m, --match Generates valid @match headers (repeatable) [array]
-n, --namespace Overrides namespace for @namespace header [string]
-o, --output Creates and populates a file with headers content
[string] [default: "./dist/headers.js"]
-p, --package Path to package.json to extract info from
[string] [default: "./package.json"]
-q, --require Generates valid @require headers (repeatable)[array]
-r, --run Adds @run-at header (values missing in manager are s
ilently dropped) [string] [default: "start"]
-s, --spaces Number of spaces to indent header values with (total
is the longest name + this value)
[number] [default: 4]
-u, --update-url URL for the @updateURL header for Tampermonkey, no-o
p otherwise [string]
-w, --whitelist Generates @connect headers (repeatable) [array]
--pretty Prettifies outputted headers where possible
[boolean] [default: false]
```
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@userscripters/generate-headers",
"version": "3.0.0",
"version": "3.1.0",
"description": "Userscript manager header generator",
"icon": "",
"scripts": {
Expand Down

0 comments on commit 8903241

Please sign in to comment.