Skip to content

Commit b796efe

Browse files
fix(types): Updates GluegunCommand type for Ignite plugins (#1423 by @jamonholmgren)
[skip ci]
1 parent fe1f587 commit b796efe

3 files changed

Lines changed: 7 additions & 7 deletions

File tree

‎package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
"cryptiles": ">=4.1.2",
4545
"execa": "0.8.0",
4646
"fs-jetpack": "1.2.0",
47-
"gluegun": "^3.2.0",
47+
"gluegun": "^3.2.3",
4848
"lodash": ">=4.17.5",
4949
"minimist": "1.2.0",
5050
"mixin-deep": ">=1.3.1",

‎src/types.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { GluegunToolbox } from 'gluegun'
1+
import { GluegunToolbox, GluegunCommand } from 'gluegun'
22

33
export type IgniteTools = {
44
ignitePluginPath: Function
@@ -51,7 +51,7 @@ export interface IgniteToolbox extends GluegunToolbox {
5151
export interface IgnitePlugin {
5252
name: string
5353
directory: string
54-
commands: any[]
54+
commands: GluegunCommand<IgniteToolbox>[]
5555
}
5656

5757
export type IgniteConfig = {

‎yarn.lock‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2531,10 +2531,10 @@ globby@^9.0.0:
25312531
pify "^4.0.1"
25322532
slash "^2.0.0"
25332533

2534-
gluegun@^3.2.0:
2535-
version "3.2.1"
2536-
resolved "https://registry.yarnpkg.com/gluegun/-/gluegun-3.2.1.tgz#c141332af1baa9f4476f72aabeb88609947cc5ea"
2537-
integrity sha512-XrsVkiS9Nm2iZBW8G+tM/qG/wDtRi4I8ec5OgvoepKqlR65gcbU/h47YXX7pBcVgyJkdwNdupNyx6t5aZ2kRWg==
2534+
gluegun@^3.2.3:
2535+
version "3.2.3"
2536+
resolved "https://registry.yarnpkg.com/gluegun/-/gluegun-3.2.3.tgz#4b855e3dfd6721660328a318d16873899bca448f"
2537+
integrity sha512-JUywcK6I2TFwDJYvKVt5Ck9lC/0qcip5MAEsC4d5HZTUfh8h1CKjgQyqAoj+Or/1jjNGvb78kcfEMz/j8XGx5g==
25382538
dependencies:
25392539
apisauce "^1.0.1"
25402540
app-module-path "^2.2.0"

0 commit comments

Comments
 (0)