@shopify/cli-kit
Advanced tools
Comparing version
# @shopify/cli-kit | ||
## 2.0.14 | ||
### Patch Changes | ||
- 87e51326: Report errors coming from child processes as abort errors | ||
- 87e51326: Output the sub-processes that we execute when the user invokes the CLI with --verbose | ||
- b10ddafc: Output requests' HTTP headers when the user invokes the CLI with --verbose | ||
## 2.0.13 | ||
@@ -4,0 +12,0 @@ |
import { Listr, ListrTaskWrapper, ListrDefaultRenderer, ListrTask } from 'listr2'; | ||
import { ExecaChildProcess } from 'execa'; | ||
import { AbortSignal } from 'abort-controller'; | ||
import * as execa from 'execa'; | ||
import { Writable } from 'node:stream'; | ||
@@ -14,3 +15,3 @@ import { camelCase, paramCase, snakeCase, constantCase } from 'change-case'; | ||
import { RequestDocument, Variables } from 'graphql-request'; | ||
import { RequestInfo, RequestInit } from 'node-fetch'; | ||
import nodeFetch, { RequestInfo, RequestInit } from 'node-fetch'; | ||
import FormData from 'form-data'; | ||
@@ -112,2 +113,3 @@ import semver$1 from 'semver/classes/semver'; | ||
declare const error$1_mapper: typeof mapper; | ||
declare const error$1_AbortSignal: typeof AbortSignal; | ||
declare namespace error$1 { | ||
@@ -121,2 +123,3 @@ export { | ||
error$1_mapper as mapper, | ||
error$1_AbortSignal as AbortSignal, | ||
}; | ||
@@ -143,3 +146,3 @@ } | ||
declare const captureOutput: (command: string, args: string[]) => Promise<string>; | ||
declare const exec: (command: string, args: string[], options?: ExecOptions | undefined) => ExecaChildProcess<string>; | ||
declare const exec: (command: string, args: string[], options?: ExecOptions) => Promise<execa.ExecaReturnValue<string>>; | ||
interface ConcurrentExecCommand { | ||
@@ -446,2 +449,3 @@ prefix: string; | ||
}>; | ||
declare type DependencyType = 'dev' | 'prod' | 'peer'; | ||
interface AddNPMDependenciesIfNeededOptions { | ||
@@ -491,2 +495,17 @@ /** How dependencies should be added */ | ||
declare enum ContentTokenType { | ||
Command = 0, | ||
Path = 1, | ||
Link = 2, | ||
Heading = 3, | ||
SubHeading = 4, | ||
ErrorText = 5, | ||
Yellow = 6, | ||
Cyan = 7, | ||
Magenta = 8, | ||
Green = 9 | ||
} | ||
interface ContentMetadata { | ||
link?: string; | ||
} | ||
declare class ContentToken { | ||
@@ -509,3 +528,3 @@ type: ContentTokenType; | ||
green: (value: string) => ContentToken; | ||
command: (dependencyManager: DependencyManager, scriptNameAndArgs: string) => ContentToken; | ||
command: (dependencyManager: DependencyManager, scriptName: string, ...scriptArgs: string[]) => ContentToken; | ||
}; | ||
@@ -816,2 +835,6 @@ declare class TokenizedString { | ||
/** | ||
* A scope supported by the Shopify Admin API. | ||
*/ | ||
declare type AdminAPIScope = 'graphql' | 'themes' | 'collaborator' | string; | ||
/** | ||
* It represents the options to authenticate against the Shopify Admin API. | ||
@@ -825,2 +848,6 @@ */ | ||
} | ||
/** | ||
* A scope supported by the Partners API. | ||
*/ | ||
declare type PartnersAPIScope = 'cli' | string; | ||
interface PartnersAPIOAuthOptions { | ||
@@ -830,2 +857,6 @@ /** List of scopes to request permissions for */ | ||
} | ||
/** | ||
* A scope supported by the Storefront Renderer API. | ||
*/ | ||
declare type StorefrontRendererScope = 'devtools' | string; | ||
interface StorefrontRendererAPIOAuthOptions { | ||
@@ -1211,2 +1242,20 @@ /** List of scopes to request permissions for */ | ||
declare const FindProductVariantQuery: string; | ||
interface FindProductVariantSchema { | ||
products: { | ||
edges: { | ||
node: { | ||
id: string; | ||
variants: { | ||
edges: { | ||
node: { | ||
id: string; | ||
}; | ||
}[]; | ||
}; | ||
}; | ||
}[]; | ||
}; | ||
} | ||
declare const index_FindOrganizationQuery: typeof FindOrganizationQuery; | ||
@@ -1242,2 +1291,4 @@ type index_FindOrganizationQuerySchema = FindOrganizationQuerySchema; | ||
type index_ExtensionCreateSchema = ExtensionCreateSchema; | ||
declare const index_FindProductVariantQuery: typeof FindProductVariantQuery; | ||
type index_FindProductVariantSchema = FindProductVariantSchema; | ||
declare namespace index { | ||
@@ -1275,2 +1326,4 @@ export { | ||
index_ExtensionCreateSchema as ExtensionCreateSchema, | ||
index_FindProductVariantQuery as FindProductVariantQuery, | ||
index_FindProductVariantSchema as FindProductVariantSchema, | ||
}; | ||
@@ -1375,2 +1428,3 @@ } | ||
} | ||
declare type JSONValue = string | number | boolean | JSON | JSONValue[]; | ||
interface PackageJSON extends JSON { | ||
@@ -1566,2 +1620,5 @@ name: string; | ||
} | ||
interface TunnelStartOptions { | ||
port: number; | ||
} | ||
declare function lookupTunnelPlugin(plugins: Plugin[]): Promise<TunnelPlugin | undefined>; | ||
@@ -1568,0 +1625,0 @@ |
@@ -1,2 +0,2 @@ | ||
export { n as api, r as archiver, w as checksum, C as cli, H as constants, d as dependency, G as dotenv, i as environment, e as error, f as file, g as git, c as github, q as http, D as id, A as npm, h as os, o as output, p as path, I as plugins, B as port, x as ruby, k as schema, z as semver, j as session, m as store, b as string, s as system, t as template, E as temporary, l as toml, u as ui, v as version, y as yaml } from './index-814fd0de.js'; | ||
export { n as api, r as archiver, w as checksum, C as cli, H as constants, d as dependency, G as dotenv, i as environment, e as error, f as file, g as git, c as github, q as http, D as id, A as npm, h as os, o as output, p as path, I as plugins, B as port, x as ruby, k as schema, z as semver, j as session, m as store, b as string, s as system, t as template, E as temporary, l as toml, u as ui, v as version, y as yaml } from './index-cf216492.js'; | ||
import 'assert'; | ||
@@ -3,0 +3,0 @@ import 'events'; |
{ | ||
"name": "@shopify/cli-kit", | ||
"version": "2.0.13", | ||
"version": "2.0.14", | ||
"private": false, | ||
@@ -5,0 +5,0 @@ "description": "A set of utilities, interfaces, and models that are common across all the platform features", |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
9130773
0.1%166059
0.07%