Skip to content

Commit

Permalink
3.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Oaphi committed Jul 3, 2022
1 parent 3849bcf commit 566683d
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 5 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.3.1 |
| Version | 3.4.0 |

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

Expand Down
4 changes: 4 additions & 0 deletions USAGE.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ Options:
-i, --inject Adds @inject-into header for Violentmonkey, no-op o
therwise [string]
-g, --grant Generates @grant headers, can be repeated [array]
-l, --lint Lints the generated headers with ESLint
[boolean] [default: false]
--lf, --lint-fix Fixes lint issues found with ESLint (implies --lint
) [boolean] [default: false]
-m, --match Generates valid @match headers (repeatable) [array]
-n, --namespace Overrides namespace for @namespace header [string]
--nf, --noframes Adds @noframes header [boolean]
Expand Down
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.3.1",
"version": "3.4.0",
"description": "Userscript manager header generator",
"icon": "",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion src/generate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ export const writeHeaders = async (content: string, options: WriteHeadersOptions
if (cli) process.stdout.write(content);

return content;
}
};

/**
* @summary main header generator function
Expand Down

0 comments on commit 566683d

Please sign in to comment.