@schemastore/commands 0.0.5 → 0.0.7

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 (3) hide show
  1. package/README.md +22 -6
  2. package/index.d.ts +4 -4
  3. package/package.json +4 -4
package/README.md CHANGED
@@ -1,12 +1,28 @@
1
- # Installation
2
- > `npm install --save @schemastore/commands`
1
+ # Type definitions for commands
2
+
3
+ ## Installation
4
+
5
+ ```
6
+ npm i @schemastore/commands
7
+ yarn add @schemastore/commands
8
+ ```
9
+
10
+ ## Summary
3
11
 
4
- # Summary
5
12
  This package contains type definitions for commands.
6
13
 
7
- ## Details
8
- Files were exported from https://github.com/ffflorian/schemastore-updater/tree/main/schemas/commands.
14
+ ## Usage
15
+
16
+ ```ts
17
+ import * as commands from '@schemastore/commands';
18
+ ```
19
+
20
+ ## Note
21
+
22
+ The definitions were auto-generated by [schemastore-updater](https://github.com/ffflorian/schemastore-updater) using [`json-schema-to-typescript`](https://www.npmjs.com/package/json-schema-to-typescript).
9
23
 
10
24
  ## Additional Details
11
- * Last updated: Fri, Feb 24, 2023, 11:23:31 GMT
25
+
26
+ * [Schema source](https://github.com/SchemaStore/schemastore/tree/master/src/schemas/json/commands)
27
+ * Last updated: Sat, Jul 19, 2025, 17:01:19 GMT
12
28
  * Dependencies: none
package/index.d.ts CHANGED
@@ -18,7 +18,7 @@ export interface Commands {
18
18
  * A list of commands.
19
19
  */
20
20
  commands?: {
21
- [k: string]: Commands1;
21
+ [k: string]: Commands1 | undefined;
22
22
  };
23
23
  /**
24
24
  * Specify any Visual Studio event bindings.
@@ -28,9 +28,9 @@ export interface Commands {
28
28
  BeforeBuild?: Vsbindings;
29
29
  Clean?: Vsbindings;
30
30
  ProjectOpen?: Vsbindings;
31
- [k: string]: unknown;
31
+ [k: string]: unknown | undefined;
32
32
  };
33
- [k: string]: unknown;
33
+ [k: string]: unknown | undefined;
34
34
  }
35
35
  /**
36
36
  * The friendly name of the command.
@@ -48,5 +48,5 @@ export interface Commands1 {
48
48
  * The arguments to pass to the executable file.
49
49
  */
50
50
  arguments?: string;
51
- [k: string]: unknown;
51
+ [k: string]: unknown | undefined;
52
52
  }
package/package.json CHANGED
@@ -7,8 +7,8 @@
7
7
  "name": "@schemastore/commands",
8
8
  "repository": "https://github.com/ffflorian/schemastore-updater/tree/main/schemas/commands",
9
9
  "scripts": {},
10
- "typesPublisherContentHash": "306d980ad5de48dd438fda9227d8646e13d0ea18c7c2939078d9d80adb56d2f3",
10
+ "typeScriptVersion": "2.2",
11
11
  "types": "index.d.ts",
12
- "version": "0.0.5",
13
- "typeScriptVersion": "2.2"
14
- }
12
+ "typesPublisherContentHash": "306d980ad5de48dd438fda9227d8646e13d0ea18c7c2939078d9d80adb56d2f3",
13
+ "version": "0.0.7"
14
+ }