@yeoman/types
Advanced tools
Comparing version 1.3.0 to 1.4.0
{ | ||
"name": "@yeoman/types", | ||
"version": "1.3.0", | ||
"version": "1.4.0", | ||
"private": false, | ||
@@ -28,7 +28,7 @@ "description": "Common API for yeoman's generator/environment stack", | ||
"dependencies": { | ||
"@types/node": "^16.18.26" | ||
"@types/node": "^16.18.26", | ||
"@yeoman/adapter": "^1.6.0" | ||
}, | ||
"devDependencies": { | ||
"@types/inquirer": "^9.0.3", | ||
"inquirer": "^9.3.6", | ||
"@yeoman/adapter": "^1.6.0", | ||
"mem-fs": "^3.0.0", | ||
@@ -38,4 +38,3 @@ "mem-fs-editor": "^10.0.2" | ||
"peerDependencies": { | ||
"@types/inquirer": "^9.0.3", | ||
"inquirer": "^9.2.2", | ||
"@yeoman/adapter": "^1.6.0", | ||
"mem-fs": "^3.0.0", | ||
@@ -45,5 +44,2 @@ "mem-fs-editor": "^10.0.2" | ||
"peerDependenciesMeta": { | ||
"inquirer": { | ||
"optional": true | ||
}, | ||
"mem-fs": { | ||
@@ -67,3 +63,3 @@ "optional": true | ||
}, | ||
"gitHead": "27aa4d0f591e1591ba0cadff64664e67dea32e5b" | ||
"gitHead": "7c9c24374b1b166bd01b3dbcfdd6ce6976de87b3" | ||
} |
@@ -8,3 +8,3 @@ import type { PipelineSource, Transform } from 'node:stream'; | ||
import type { GetGeneratorConstructor } from '../generator/utils.js'; | ||
import type { InputOutputAdapter } from './adapter.js'; | ||
import type { InputOutputAdapter } from '@yeoman/adapter/types'; | ||
import type { | ||
@@ -76,5 +76,5 @@ BaseGeneratorMeta, | ||
emit(eventName: string | symbol, ...args: any[]): boolean; | ||
on(eventName: string | symbol, listener: (...args: any[]) => void): unknown; | ||
once(eventName: string | symbol, listener: (...args: any[]) => void): unknown; | ||
emit(eventName: string | symbol, ...arguments_: any[]): boolean; | ||
on(eventName: string | symbol, listener: (...arguments_: any[]) => void): unknown; | ||
once(eventName: string | symbol, listener: (...arguments_: any[]) => void): unknown; | ||
@@ -183,3 +183,7 @@ applyTransforms(transformStreams: Transform[], options?: ApplyTransformsOptions): Promise<void>; | ||
*/ | ||
queueTask(priority: string, task: (...args: any[]) => void | Promise<void>, options?: { once?: string; startQueue?: boolean }): void; | ||
queueTask( | ||
priority: string, | ||
task: (...arguments_: any[]) => void | Promise<void>, | ||
options?: { once?: string; startQueue?: boolean }, | ||
): void; | ||
@@ -186,0 +190,0 @@ /** |
@@ -74,3 +74,3 @@ import type { BaseGenerator, GetGeneratorConstructor, GetGeneratorOptions } from '../index.js'; | ||
/** Intantiate the Generator `env.instantiate(await meta.importGenerator())` */ | ||
instantiate: (args?: string[], options?: any) => Promise<BaseGenerator>; | ||
instantiate: (arguments_?: string[], options?: any) => Promise<BaseGenerator>; | ||
/** Intantiate the Generator passing help option */ | ||
@@ -77,0 +77,0 @@ instantiateHelp: () => Promise<BaseGenerator>; |
@@ -9,5 +9,5 @@ import type { BaseEnvironment } from '../environment/environment.js'; | ||
emit(eventName: string | symbol, ...args: any[]): boolean; | ||
on(eventName: string | symbol, listener: (...args: any[]) => void): unknown; | ||
once(eventName: string | symbol, listener: (...args: any[]) => void): unknown; | ||
emit(eventName: string | symbol, ...arguments_: any[]): boolean; | ||
on(eventName: string | symbol, listener: (...arguments_: any[]) => void): unknown; | ||
once(eventName: string | symbol, listener: (...arguments_: any[]) => void): unknown; | ||
@@ -42,2 +42,3 @@ _postConstruct?(): Promise<void>; | ||
F extends GeneratorFeatures = GeneratorFeatures, | ||
> = (new (args?: string[], options?: O, features?: F) => BaseGenerator<O, F>) & (new (options?: O, features?: F) => BaseGenerator<O, F>); | ||
> = (new (arguments_?: string[], options?: O, features?: F) => BaseGenerator<O, F>) & | ||
(new (options?: O, features?: F) => BaseGenerator<O, F>); |
@@ -1,4 +0,3 @@ | ||
export * from './environment/adapter.js'; | ||
export * from '@yeoman/adapter/types'; | ||
export * from './environment/environment.js'; | ||
export * from './environment/logger.js'; | ||
export * from './environment/methods-options.js'; | ||
@@ -5,0 +4,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3
15894
9
370
+ Added@yeoman/adapter@^1.6.0
+ Added@yeoman/adapter@1.6.0(transitive)
+ Addedansi-regex@6.1.0(transitive)
+ Addedchalk@5.3.0(transitive)
+ Addedcli-cursor@5.0.0(transitive)
+ Addedemoji-regex@10.4.0(transitive)
+ Addedeventemitter3@5.0.1(transitive)
+ Addedget-east-asian-width@1.3.0(transitive)
+ Addedis-interactive@2.0.0(transitive)
+ Addedis-unicode-supported@1.3.02.1.0(transitive)
+ Addedlog-symbols@6.0.07.0.0(transitive)
+ Addedmimic-function@5.0.1(transitive)
+ Addedonetime@7.0.0(transitive)
+ Addedora@8.1.1(transitive)
+ Addedp-queue@8.0.1(transitive)
+ Addedp-timeout@6.1.3(transitive)
+ Addedrestore-cursor@5.1.0(transitive)
+ Addedsignal-exit@4.1.0(transitive)
+ Addedstdin-discarder@0.2.2(transitive)
+ Addedstring-width@7.2.0(transitive)
+ Addedstrip-ansi@7.1.0(transitive)
+ Addedtext-table@0.2.0(transitive)
+ Addedyoctocolors@2.1.1(transitive)