@react-native-windows/codegen 0.71.0-preview.1 → 0.71.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/CHANGELOG.md CHANGED
@@ -1,18 +1,36 @@
1
1
  # Change Log - @react-native-windows/codegen
2
2
 
3
- This log was last generated on Mon, 12 Dec 2022 16:16:02 GMT and should not be manually modified.
3
+ This log was last generated on Mon, 13 Feb 2023 16:15:13 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
- ## 0.71.0-preview.1
7
+ ## 0.71.1
8
8
 
9
- Mon, 12 Dec 2022 16:16:02 GMT
9
+ Mon, 13 Feb 2023 16:15:13 GMT
10
10
 
11
- ### Changes
11
+ ### Patches
12
12
 
13
- - Promote 0.71 to preview (34109996+chiaramooney@users.noreply.github.com)
14
- - Bump @react-native-windows/fs to v0.71.0-preview.1
13
+ - Bump typescript version (30809111+acoates-ms@users.noreply.github.com)
14
+ - Bump @react-native-windows/fs to v0.71.1
15
15
 
16
+ ## 0.71.0
17
+
18
+ Mon, 23 Jan 2023 16:16:57 GMT
19
+
20
+ ### Patches
21
+
22
+ - Promote 0.71 to latest (34109996+chiaramooney@users.noreply.github.com)
23
+ - Bump @react-native-windows/fs to v0.71.0
24
+
25
+ ## 0.71.0-preview.1
26
+
27
+ Mon, 12 Dec 2022 16:16:50 GMT
28
+
29
+ ### Changes
30
+
31
+ - Promote 0.71 to preview (34109996+chiaramooney@users.noreply.github.com)
32
+ - Bump @react-native-windows/fs to v0.71.0-preview.1
33
+
16
34
  ## 0.0.0-canary.45
17
35
 
18
36
  Fri, 02 Dec 2022 06:19:03 GMT
@@ -4,7 +4,7 @@
4
4
  * @format
5
5
  */
6
6
  import type { SchemaType } from 'react-native-tscodegen';
7
- declare type FilesOutput = Map<string, string>;
7
+ type FilesOutput = Map<string, string>;
8
8
  export declare function createNM2Generator({ methodOnly, namespace, }: {
9
9
  methodOnly: boolean;
10
10
  namespace: string;
@@ -6,6 +6,6 @@
6
6
  import type { NativeModuleSchema, SchemaType } from 'react-native-tscodegen';
7
7
  export declare function setOptionalTurboModule(schema: NativeModuleSchema, optional: boolean): void;
8
8
  export declare function getOptionalTurboModule(schema: NativeModuleSchema): boolean;
9
- declare type FilesOutput = Map<string, string>;
9
+ type FilesOutput = Map<string, string>;
10
10
  export declare function generateTypeScript(_libraryName: string, schema: SchemaType, _moduleSpecName: string): FilesOutput;
11
11
  export {};
@@ -5,7 +5,7 @@
5
5
  */
6
6
  import type { NamedShape, NativeModuleParamTypeAnnotation, Nullable } from 'react-native-tscodegen';
7
7
  import { AliasMap } from './AliasManaging';
8
- declare type NativeModuleParamShape = NamedShape<Nullable<NativeModuleParamTypeAnnotation>>;
8
+ type NativeModuleParamShape = NamedShape<Nullable<NativeModuleParamTypeAnnotation>>;
9
9
  export declare function translateSpecArgs(params: ReadonlyArray<NativeModuleParamShape>, aliases: AliasMap, baseAliasName: string): string[];
10
10
  export declare function translateArgs(params: ReadonlyArray<NativeModuleParamShape>, aliases: AliasMap, baseAliasName: string): string[];
11
11
  export {};
@@ -23,7 +23,7 @@ interface Config {
23
23
  export declare function parseFile(filename: string): SchemaType;
24
24
  export declare function combineSchemas(files: string[]): SchemaType;
25
25
  export declare function generate({ libraryName, methodOnly, modulesCxx, moduleSpecName, modulesTypeScriptTypes, modulesWindows, namespace, outputDirectory, schema, }: Options, { /*generators,*/ test }: Config): boolean;
26
- export declare type CodeGenOptions = {
26
+ export type CodeGenOptions = {
27
27
  file?: string;
28
28
  files?: string[];
29
29
  libraryName: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-native-windows/codegen",
3
- "version": "0.71.0-preview.1",
3
+ "version": "0.71.1",
4
4
  "description": "Generators for react-native-codegen targeting react-native-windows",
5
5
  "main": "lib-commonjs/index.js",
6
6
  "repository": "https://github.com/microsoft/react-native-windows",
@@ -18,7 +18,7 @@
18
18
  "react-native-windows-codegen": "./bin.js"
19
19
  },
20
20
  "dependencies": {
21
- "@react-native-windows/fs": "0.71.0-preview.1",
21
+ "@react-native-windows/fs": "0.71.1",
22
22
  "@typescript-eslint/eslint-plugin": "^5.30.5",
23
23
  "@typescript-eslint/parser": "^5.30.5",
24
24
  "chalk": "^4.1.0",
@@ -41,7 +41,7 @@
41
41
  "jest": "^29.2.1",
42
42
  "prettier": "^2.4.1",
43
43
  "react-native-tscodegen": "0.68.4",
44
- "typescript": "^4.4.4"
44
+ "typescript": "^4.9.5"
45
45
  },
46
46
  "peerDependencies": {
47
47
  "react-native": "*"
@@ -54,11 +54,11 @@
54
54
  "src"
55
55
  ],
56
56
  "beachball": {
57
- "defaultNpmTag": "preview",
57
+ "defaultNpmTag": "latest",
58
58
  "disallowedChangeTypes": [
59
59
  "major",
60
60
  "minor",
61
- "patch"
61
+ "prerelease"
62
62
  ]
63
63
  },
64
64
  "promoteRelease": true,