npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@qshift/plugin-quarkus-backend

v0.1.28

Published

This plugin proposes 2 actions able to:

Downloads

58

Readme

Quarkus Scaffolder Backend

This plugin proposes 2 actions able to:

  • Clone a Quarkus "Quickstart" repository. Action: quarkus:quickstart:clone
  • Create a Quarkus using the website code.quarkus.io able to generate a zip file of a Quarkus project and extensions selected (using extension list field). Action: quarkus:app:create

To use the scaffolder backend, import the package under the following path:

cd packages/backend
yarn add "@qshift/plugin-quarkus-backend"
yarn add "@backstage/integration"

quickstart:clone action

To use the Quarkus action able to clone a quarkus quickstart from this repository, then edit the file packages/backend/src/plugins/scaffolder.ts to register the action: cloneQuarkusQuickstart.

Here is a snippet example of code changed

import { ScmIntegrations } from '@backstage/integration';
import {createBuiltinActions, createRouter} from '@backstage/plugin-scaffolder-backend';
import { cloneQuarkusQuickstart } from '@internal/plugin-quarkus-backend';
...
  const integrations = ScmIntegrations.fromConfig(env.config);

  const builtInActions = createBuiltinActions({
    integrations,
    catalogClient,
    config: env.config,
    reader: env.reader,
  });

  const actions = [...builtInActions, cloneQuarkusQuickstart()];

  return await createRouter({
    actions,

The following table details the fields that you can use to use this action:

| Input | Description | Type | Required | |---------------------|-----------------------------------------------|---------------|----------| | quickstartName | The name of the quickstart project to be used | string | Yes | | groupId | Maven GroupID | No | | artifactId | Maven ArtifactID | No | | targetPath | Target Path to access the code within the workspace | No | | additionalProperties | Quarkus properties | No | | database | Quarkus backend database (PostgreSQL, etc) | No | | infoEndpoint | Quarkus API endpoint | No | | healthEndpoint | Kubernetes Health ednpoint | No | | metricsEndpoint | Enpoint exposing the Quarkus metrics | No |

Example of action:

  steps:
    - id: template
      name: Generating the Source Code Component
      action: quarkus:quickstart:clone
      input:
        values:
          groupId: ${{ parameters.groupId }}
          artifactId: ${{ parameters.artifactId }}
          version: ${{ parameters.version }}
          quickstartName: ${{ parameters.quickstartName }}
          additionalProperties: ${{ parameters.additionalProperties }}

app:create action

To use the Quarkus action able to create a quarkus application using code.quarkus.io, then edit the file packages/backend/src/plugins/scaffolder.ts to register the action: createQuarkusApp.

Here is a snippet example of code changed

import { ScmIntegrations } from '@backstage/integration';
import {createBuiltinActions, createRouter} from '@backstage/plugin-scaffolder-backend';
import { createQuarkusApp } from '@internal/plugin-quarkus-backend';
...
  const integrations = ScmIntegrations.fromConfig(env.config);

  const builtInActions = createBuiltinActions({
    integrations,
    catalogClient,
    config: env.config,
    reader: env.reader,
  });

  const actions = [...builtInActions, createQuarkusApp()];

  return await createRouter({
    actions,

The following table details the fields that you can use to use this action:

| Input | Description | Type | Required | |----------------------|------------------------------------------------------------------|---------|----------| | quarkusVersion | Quarkus version | string | No | | groupId | Maven GroupID | string | No | | artifactId | Maven ArtifactID | string | No | | version | Maven Version | string | No | | buildTool | Tool to be used to build: 'MAVEN', 'GRADLE', 'GRADLE_KOTLIN_DSL' | string | No | | extensions | List of the Quarkus extensions | array | No | | javaVersion | JDK version | string | No | | starterCode | Generate for the project some code to start ? | boolean | No | | targetPath | Target Path to access the code within the workspace | string | No | | additionalProperties | Quarkus properties | string | No | | database | Quarkus backend database (PostgreSQL, etc) | string | No | | infoEndpoint | Has a Quarkus API endpoint ? | boolean | No | | healthEndpoint | Has a Kubernetes Health endpoint ? | boolean | No | | metricsEndpoint | Has a Quarkus metrics endpoint ? | boolean | No |

Example of action:

  steps:
    - id: template
      name: Generating the Source Code Component
      action: quarkus:app:create
      input:
        values:
          quarkusVersion: ${{ parameters.quarkusVersion[0] }}
          groupId: ${{ parameters.groupId }}
          artifactId: ${{ parameters.artifactId }}
          version: ${{ parameters.version }}
          buildTool: ${{ parameters.buildTool }}
          javaVersion: ${{ parameters.javaVersion }}
          extensions: ${{ parameters.extensions }}
          database: ${{ parameters.database }}
          infoEndpoint: ${{ parameters.infoEndpoint }}
          healthEndpoint: ${{ parameters.healthEndpoint }}
          metricsEndpoint: ${{ parameters.metricsEndpoint }}
          additionalProperties: ${{ parameters.additionalProperties }}
          starterCode: true