Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@dotcom-tool-kit/types

Package Overview
Dependencies
Maintainers
3
Versions
83
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dotcom-tool-kit/types - npm Package Compare versions

Comparing version 3.4.0 to 3.4.1

27

lib/schema/heroku.js

@@ -10,3 +10,3 @@ "use strict";

const scaling = async (logger, prompt, onCancel) => {
logger.error('You must configure the scaling for each of the Heroku apps in your pipeline.');
logger.error('You must configure the scaling for each of the production Heroku apps in your pipeline.');
const scaling = {};

@@ -18,3 +18,3 @@ let allAppsConfigured = false;

type: 'text',
message: 'Enter the name of the Heroku app to configure'
message: 'Enter the name of the production Heroku app to configure. You can find the app name and resource details at https://dashboard.heroku.com/apps/[APP_NAME].'
}, { onCancel });

@@ -28,5 +28,18 @@ const { processType, size, quantity, moreApps } = await prompt([

},
{ name: 'size', type: 'text', initial: 'standard-1X', message: `What should the size of ${app} be?` },
{ name: 'quantity', type: 'number', message: `What should the dyno size of ${app} be?` },
{ name: 'moreApps', type: 'confirm', message: 'Are there more Heroku apps in this pipeline?' }
{
name: 'size',
type: 'text',
initial: 'standard-1X',
message: `What should the resource size of ${app} be?`
},
{
name: 'quantity',
type: 'number',
message: `What should the number of dynos for ${app} be?`
},
{
name: 'moreApps',
type: 'confirm',
message: 'Are there more production Heroku apps in this pipeline?'
}
], { onCancel });

@@ -39,4 +52,4 @@ scaling[app] = { [processType]: { size, quantity } };

exports.HerokuSchema = zod_1.z.object({
pipeline: zod_1.z.string(),
systemCode: zod_1.z.string(),
pipeline: zod_1.z.string().describe('this can be found at https://dashboard.heroku.com/pipelines/[APP_ID]'),
systemCode: zod_1.z.string().describe('this can be found at https://biz-ops.in.ft.com/System/[APP_NAME]'),
scaling: exports.HerokuScalingSchema

@@ -43,0 +56,0 @@ });

{
"name": "@dotcom-tool-kit/types",
"version": "3.4.0",
"version": "3.4.1",
"description": "",

@@ -27,3 +27,3 @@ "main": "lib",

"@dotcom-tool-kit/error": "^3.1.0",
"@dotcom-tool-kit/logger": "^3.2.0",
"@dotcom-tool-kit/logger": "^3.3.0",
"semver": "^7.3.7",

@@ -30,0 +30,0 @@ "tslib": "^2.3.1",

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc