@webiny/cli 5.40.6 → 5.41.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +6 -6
  2. package/types.d.ts +4 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webiny/cli",
3
- "version": "5.40.6",
3
+ "version": "5.41.0-beta.1",
4
4
  "main": "index.js",
5
5
  "bin": {
6
6
  "webiny": "./bin.js"
@@ -13,8 +13,8 @@
13
13
  "author": "Pavel Denisjuk <pavel@webiny.com>",
14
14
  "description": "A tool to bootstrap a Webiny project.",
15
15
  "dependencies": {
16
- "@webiny/telemetry": "5.40.6",
17
- "@webiny/wcp": "5.40.6",
16
+ "@webiny/telemetry": "5.41.0-beta.1",
17
+ "@webiny/wcp": "5.41.0-beta.1",
18
18
  "boolean": "3.2.0",
19
19
  "camelcase": "5.3.1",
20
20
  "chalk": "4.1.2",
@@ -24,14 +24,14 @@
24
24
  "find-up": "5.0.0",
25
25
  "fs-extra": "11.2.0",
26
26
  "graphql-request": "3.7.0",
27
- "inquirer": "7.3.3",
27
+ "inquirer": "8.2.6",
28
28
  "is-ci": "3.0.1",
29
29
  "ncp": "2.0.0",
30
30
  "open": "8.4.0",
31
31
  "pirates": "4.0.5",
32
32
  "semver": "7.5.4",
33
33
  "ts-morph": "11.0.3",
34
- "typescript": "4.7.4",
34
+ "typescript": "4.9.5",
35
35
  "uniqid": "5.4.0",
36
36
  "yargs": "17.6.2"
37
37
  },
@@ -65,5 +65,5 @@
65
65
  ]
66
66
  }
67
67
  },
68
- "gitHead": "f9da84b373e62f9f269599c4301e5e4418a98d51"
68
+ "gitHead": "2035c6fdbac9f52545b5024a381bc568c66ca899"
69
69
  }
package/types.d.ts CHANGED
@@ -2,8 +2,9 @@
2
2
  * Rename file to types.ts when switching the package to Typescript.
3
3
  */
4
4
 
5
- import glob from "fast-glob";
6
- import { dirname, join } from "path";
5
+ export type GenericRecordKey = string | number | symbol;
6
+
7
+ export type GenericRecord<K extends GenericRecordKey = GenericRecordKey, V = any> = Record<K, V>;
7
8
 
8
9
  /**
9
10
  * A simplified plugins container interface, used specifically within the Webiny CLI.
@@ -162,7 +163,7 @@ export interface CliContext {
162
163
  resolve: (dir: string) => string;
163
164
 
164
165
  /**
165
- * Provides a way to store some meta data in the project's local ".webiny/cli.json" file.
166
+ * Provides a way to store some metadata in the project's local ".webiny/cli.json" file.
166
167
  * Only trivial data should be passed here, specific to the current project.
167
168
  */
168
169
  localStorage: {