Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow custom Metadata tags #309

Open
LukeSavefrogs opened this issue Apr 21, 2022 · 5 comments
Open

Allow custom Metadata tags #309

LukeSavefrogs opened this issue Apr 21, 2022 · 5 comments

Comments

@LukeSavefrogs
Copy link

As of 21/04/2022 it seems like only GreaseMonkey's tags are allowed.
image

I use Tampermonkey and i need to include other tags as well, like the @history one.

How can i do this? I saw that you can specify some options i the package.json file but, if i'm not wrong, they still must be coherent with GreaseMonkey configuration.

Should we maybe add an option called something like --ignore-unknown-tags to efffectively let the user add custom tags to the metadata section?

@apsking
Copy link
Owner

apsking commented Jun 1, 2022

I like the idea. Do you have arbitrary tags that you specifically want or are there ones simply missing that are specific to TamperMonkey?

@LukeSavefrogs
Copy link
Author

They are specific to Tampermonkey.

The @history one is essential in my project 😕

@LukeSavefrogs
Copy link
Author

LukeSavefrogs commented Sep 25, 2022

Any news on this issue? 😄

@apsking
Copy link
Owner

apsking commented Jan 17, 2023

Hey, I just took a look at this again, and I'm not seeing any restriction right now that is blocking arbitrary tags. What is your ask?

Custom tags should be available via passing a custom config file. It will show you a warning, but shouldn't block you otherwise.

@LittleEndu
Copy link

Using a custom config file will move "name" and "version" to the bottom of the header.

The header order should be enforced

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants