Skip to content

Add detector for NitroPack #204

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

Merged
merged 2 commits into from
Jul 26, 2023
Merged

Conversation

raxbg
Copy link

@raxbg raxbg commented Jun 28, 2023

No description provided.

const nitroPackGenerator = !!document.querySelector('meta[name="generator"][content="NitroPack"]');

if ( nitroPackGenerator ) {
return { version: UNKNOWN_VERSION };

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is the version available in your generator tag? if not, I suggest you consider adding it for reporting purposes then adding extraction here (see "Drupal" above for an example).

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is a rolling release cloud system with no single version number :)

@housseindjirdeh housseindjirdeh merged commit 2860a1c into johnmichel:master Jul 26, 2023
@adamraine
Copy link

@housseindjirdeh could this be added to a release?

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

Successfully merging this pull request may close these issues.

4 participants