@schemastore/backportrc 0.0.7 → 0.0.8
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.
- package/README.md +22 -6
- package/index.d.ts +3 -32
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,12 +1,28 @@
|
|
|
1
|
-
#
|
|
2
|
-
|
|
1
|
+
# Type definitions for backportrc
|
|
2
|
+
|
|
3
|
+
## Installation
|
|
4
|
+
|
|
5
|
+
```
|
|
6
|
+
npm i @schemastore/backportrc
|
|
7
|
+
yarn add @schemastore/backportrc
|
|
8
|
+
```
|
|
9
|
+
|
|
10
|
+
## Summary
|
|
3
11
|
|
|
4
|
-
# Summary
|
|
5
12
|
This package contains type definitions for backportrc.
|
|
6
13
|
|
|
7
|
-
##
|
|
8
|
-
|
|
14
|
+
## Usage
|
|
15
|
+
|
|
16
|
+
```ts
|
|
17
|
+
import * as backportrc from '@schemastore/backportrc';
|
|
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
|
-
|
|
25
|
+
|
|
26
|
+
* [Schema source](https://github.com/SchemaStore/schemastore/tree/master/src/schemas/json/backportrc)
|
|
27
|
+
* Last updated: Thu, Jan 04, 2024, 19:12:50 GMT
|
|
12
28
|
* Dependencies: none
|
package/index.d.ts
CHANGED
|
@@ -5,25 +5,7 @@
|
|
|
5
5
|
* and run json-schema-to-typescript to regenerate this file.
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
* A Backport config schema
|
|
10
|
-
*/
|
|
11
|
-
export interface Backportrc {
|
|
12
|
-
/**
|
|
13
|
-
* A repo name for the current project
|
|
14
|
-
* https://github.com/sqren/backport/blob/main/docs/config-file-options.md#reponame-required
|
|
15
|
-
*/
|
|
16
|
-
repoName: string;
|
|
17
|
-
/**
|
|
18
|
-
* A repo owner for the current project
|
|
19
|
-
* https://github.com/sqren/backport/blob/main/docs/config-file-options.md#repoowner-required
|
|
20
|
-
*/
|
|
21
|
-
repoOwner: string;
|
|
22
|
-
/**
|
|
23
|
-
* Target branches for the current project
|
|
24
|
-
* https://github.com/sqren/backport/blob/main/docs/config-file-options.md#targetbranchchoices-required
|
|
25
|
-
*/
|
|
26
|
-
targetBranchChoices: (string | TargetBranch)[];
|
|
8
|
+
export interface JSONSchemaForBackportConfigFile {
|
|
27
9
|
/**
|
|
28
10
|
* Identifier for the GitHub project as `{owner}/{repoName}`
|
|
29
11
|
*/
|
|
@@ -31,7 +13,7 @@ export interface Backportrc {
|
|
|
31
13
|
/**
|
|
32
14
|
* Branches to backport to
|
|
33
15
|
*/
|
|
34
|
-
branches
|
|
16
|
+
branches: (
|
|
35
17
|
| string
|
|
36
18
|
| {
|
|
37
19
|
name: string;
|
|
@@ -47,16 +29,5 @@ export interface Backportrc {
|
|
|
47
29
|
* Whether to only show the current user's commits or commits from anyone
|
|
48
30
|
*/
|
|
49
31
|
all?: boolean;
|
|
50
|
-
|
|
51
|
-
export interface TargetBranch {
|
|
52
|
-
/**
|
|
53
|
-
* A target branch for the current project
|
|
54
|
-
* https://github.com/sqren/backport/blob/main/docs/config-file-options.md#targetbranchchoices-required
|
|
55
|
-
*/
|
|
56
|
-
name: string;
|
|
57
|
-
/**
|
|
58
|
-
* Whether to pre-select a target branch for the current project
|
|
59
|
-
* https://github.com/sqren/backport/blob/main/docs/config-file-options.md#targetbranchchoices-required
|
|
60
|
-
*/
|
|
61
|
-
checked: boolean;
|
|
32
|
+
[k: string]: unknown | undefined;
|
|
62
33
|
}
|
package/package.json
CHANGED
|
@@ -9,6 +9,6 @@
|
|
|
9
9
|
"scripts": {},
|
|
10
10
|
"typeScriptVersion": "2.2",
|
|
11
11
|
"types": "index.d.ts",
|
|
12
|
-
"typesPublisherContentHash": "
|
|
13
|
-
"version": "0.0.
|
|
12
|
+
"typesPublisherContentHash": "3ab8d0bdfa0f4be2c39082e770723244c28f7ac50210043196ca6a13036a67a5",
|
|
13
|
+
"version": "0.0.8"
|
|
14
14
|
}
|