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

@nx-extend/gcp-cloud-run

v9.0.0

Published

<a href="https://www.npmjs.com/package/@nx-extend/gcp-cloud-run" rel="nofollow"> <img src="https://badgen.net/npm/v/@nx-extend/gcp-cloud-run" alt="@nx-extend/gcp-cloud-run NPM package"> </a>

Downloads

1,749

Readme

@nx-extend/gcp-cloud-run

Nx plugin for deploy your app to Cloud Run.

Setup

Install

npm install -D @nx-extend/gcp-cloud-run

Usage

Deploy

Available options:

| name | type | default | description | |----------------------------------|----------------------|------------------|-------------------------------------------------------------------------| | --region | string | - | Region to deploy cloud run revision to. | --project | string | - | GCP project to deploy cloud run revision to. | --name | string | project name | Name of the cloud run revision. | --concurrency | number | 250 | Maximum number of concurrent requests allowed per container instance. | --maxInstances | number | 10 | Maximum number of container instances to run. | --minInstances | number | 0 | Minimum number of container instances to run. | --allowUnauthenticated | boolean | true | Whether to allow unauthenticated requests to cloud run service. | --envVars | {[k: string]: string} | - | Environment variables to load into cloud run instance's environment. | --secrets | string[] | - | Secrets to load into cloud run instance's environment. | --memory | string | 128Mi | Amount of memory to reserve for cloud run instance. | --cloudSqlInstance | string | - | Name of the cloud SQL instance to connect to run instance. | --http2 | boolean | false | Whether or not to enforce run instance to use HTTP/2 for all end-to-end connections. | --serviceAccount | string | - | Service account email of another identity if not using compute engine's default service account. | --buildWith | string | artifact-registry | Only accepts value artifact-registry. If provided, deploy is ran with the --source options set to current app's directory. If not provided, submits a build to Cloud Build, sourcing app's dist directory. Deploy is then ran using --image, which is given the location of the previous Cloud Build's built image. | --logsDir | string | - | Note: only relevant if not specifying --buildWith. Directory in GCS where to hold Cloud Build's build logs. | --tagWithVersion | string | - | Whether or not to tag run service with a version. (note: sources version from package.json) | --noTraffic | boolean | false | Set to true to ensure cloud run avoids sending traffic to the revision being deployed. | --revisionSuffix | boolean | false | Set to append to deployed revision's name. | --timeout | number | - | set the maximum request execution time. | --cpu | number | - | set a CPU limit in Kubernetes cpu units. | --cpuBoost | boolean | - | Whether to allocate extra CPU to containers on startup to reduce the perceived latency of a cold start request. | --ingress | string | - | Set the ingress traffic sources allowed to call the service.