react-native-platform-override 1.9.0 → 1.9.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.
package/lib-commonjs/Api.d.ts
CHANGED
|
@@ -45,7 +45,7 @@ export declare function diffOverride(overrideName: string, manifestPath: string)
|
|
|
45
45
|
/**
|
|
46
46
|
* Receives notifications on progress during overide upgrades
|
|
47
47
|
*/
|
|
48
|
-
export
|
|
48
|
+
export type UpgradeProgressListener = (currentOverride: number, totalOverrides: number) => void;
|
|
49
49
|
/**
|
|
50
50
|
* Attempts to automatically merge changes from the current version into
|
|
51
51
|
* out-of-date overrides.
|
package/lib-commonjs/Hash.d.ts
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
*/
|
|
7
7
|
/// <reference types="node" />
|
|
8
8
|
import FileRepository from './FileRepository';
|
|
9
|
-
export
|
|
9
|
+
export type HashOpts = {
|
|
10
10
|
/**
|
|
11
11
|
* What differences between files should we be insensitive to when generating
|
|
12
12
|
* a hash? Defaults to line-ending insensitivity
|
|
@@ -9,10 +9,10 @@ import DiffStrategy from './DiffStrategy';
|
|
|
9
9
|
import UpgradeStrategy from './UpgradeStrategy';
|
|
10
10
|
import ValidationStrategy from './ValidationStrategy';
|
|
11
11
|
import OverrideFactory from './OverrideFactory';
|
|
12
|
-
export
|
|
12
|
+
export type SerializeOpts = {
|
|
13
13
|
defaultBaseVersion?: string;
|
|
14
14
|
};
|
|
15
|
-
export
|
|
15
|
+
export type FromSerializedOpts = {
|
|
16
16
|
defaultBaseVersion?: string;
|
|
17
17
|
};
|
|
18
18
|
/**
|
|
@@ -131,13 +131,13 @@ declare const ManifestType: t.TypeC<{
|
|
|
131
131
|
issue: t.UnionC<[t.UndefinedC, t.NumberC]>;
|
|
132
132
|
}>]>>;
|
|
133
133
|
}>;
|
|
134
|
-
export
|
|
135
|
-
export
|
|
136
|
-
export
|
|
137
|
-
export
|
|
138
|
-
export
|
|
139
|
-
export
|
|
140
|
-
export
|
|
134
|
+
export type PlatformOverride = t.TypeOf<typeof PlatformOverrideType>;
|
|
135
|
+
export type PatchOverride = t.TypeOf<typeof PatchOverrideType>;
|
|
136
|
+
export type DerivedOverride = t.TypeOf<typeof DerivedOverrideType>;
|
|
137
|
+
export type CopyOverride = t.TypeOf<typeof CopyOverrideType>;
|
|
138
|
+
export type DirectoryCopyOverride = t.TypeOf<typeof DirectoryCopyOverrideType>;
|
|
139
|
+
export type Override = t.TypeOf<typeof OverrideType>;
|
|
140
|
+
export type Manifest = t.TypeOf<typeof ManifestType>;
|
|
141
141
|
/**
|
|
142
142
|
* Read an override manifest from a file.
|
|
143
143
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-native-platform-override",
|
|
3
|
-
"version": "1.9.
|
|
3
|
+
"version": "1.9.1",
|
|
4
4
|
"description": "react-native-platform-override offers CLI tools to manage Javascript overrides in out-of-tree React Native platforms",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "./lib-commonjs/Api.js",
|
|
@@ -22,8 +22,8 @@
|
|
|
22
22
|
"react-native-platform-override": "./bin.js"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@react-native-windows/fs": "^0.0.0-canary.
|
|
26
|
-
"@react-native-windows/package-utils": "^0.0.0-canary.
|
|
25
|
+
"@react-native-windows/fs": "^0.0.0-canary.14",
|
|
26
|
+
"@react-native-windows/package-utils": "^0.0.0-canary.40",
|
|
27
27
|
"@typescript-eslint/eslint-plugin": "^5.30.5",
|
|
28
28
|
"@typescript-eslint/parser": "^5.30.5",
|
|
29
29
|
"async": "^3.2.3",
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
"jest": "^29.2.1",
|
|
70
70
|
"minimatch": "^3.0.4",
|
|
71
71
|
"prettier": "^2.4.1",
|
|
72
|
-
"typescript": "^4.
|
|
72
|
+
"typescript": "^4.9.5"
|
|
73
73
|
},
|
|
74
74
|
"peerDependencies": {
|
|
75
75
|
"react-native": "*"
|