Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "Bump TS target",
"packageName": "@react-native-windows/cli",
"email": "30809111+acoates-ms@users.noreply.github.com",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "Stop writing codegen files if it just changes new lines",
"packageName": "@react-native-windows/codegen",
"email": "30809111+acoates-ms@users.noreply.github.com",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "Bump TS target",
"packageName": "@react-native-windows/telemetry",
"email": "30809111+acoates-ms@users.noreply.github.com",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"type": "prerelease",
"type": "patch",
"comment": "Implement overflow property support for Fabric architecture",
"packageName": "react-native-windows",
"email": "nitchaudhary@microsoft.com",
"dependentChangeType": "patch"
}
}
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"type": "prerelease",
"type": "patch",
"comment": "Fix SHIFT+F10 keyboard shortcut for context menu in TextInput",
"packageName": "react-native-windows",
"email": "nitchaudhary@microsoft.com",
"dependentChangeType": "patch"
}
}
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"type": "prerelease",
"type": "patch",
"comment": "Fix TextInput selection crash and feedback loop",
"packageName": "react-native-windows",
"email": "74712637+iamAbhi-916@users.noreply.github.com",
"dependentChangeType": "patch"
}
}
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"type": "prerelease",
"type": "patch",
"comment": "Implement ReactNativeWindow",
"packageName": "react-native-windows",
"email": "30809111+acoates-ms@users.noreply.github.com",
"dependentChangeType": "patch"
}
}
8 changes: 0 additions & 8 deletions packages/@react-native-windows/cli/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,6 @@
{
"extends": "@rnw-scripts/ts-config",
"compilerOptions": {
// Change the default to allow ES2019.String "trimEnd"
"lib": [
"DOM",
"ES6",
"DOM.Iterable",
"ES2019.String"
],

// Not clean
"strictFunctionTypes": false,
},
Expand Down
6 changes: 4 additions & 2 deletions packages/@react-native-windows/codegen/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,8 @@ function checkFilesForChanges(
}

const currentContents = fs.readFileSync(fileName, 'utf8');
if (currentContents !== contents) {
// The current file may be saved using crlf, in which case the new lines may differ from the new output
if (currentContents.replaceAll('\r\n', '\n') !== contents) {
console.log(`- ${fileName} has changed`);
hasChanges = true;
continue;
Expand Down Expand Up @@ -146,7 +147,8 @@ function writeMapToFiles(map: Map<string, string>, outputDir: string) {
if (fs.existsSync(fileName)) {
const currentContents = fs.readFileSync(fileName, 'utf8');
// Don't update the files if there are no changes as this breaks incremental builds
if (currentContents === contents) {
// The current file may be saved using crlf, in which case the new lines may differ from the new output
if (currentContents.replaceAll('\r\n', '\n') === contents) {
continue;
}
}
Expand Down
8 changes: 0 additions & 8 deletions packages/@react-native-windows/telemetry/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,6 @@
{
"extends": "@rnw-scripts/ts-config",
"compilerOptions": {
// Change the default to allow ES2019.String "trimEnd"
"lib": [
"DOM",
"ES6",
"DOM.Iterable",
"ES2019.String"
],

// Not clean
"strictFunctionTypes": false,
"isolatedModules": false,
Expand Down
2 changes: 1 addition & 1 deletion packages/@rnw-scripts/ts-config/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"compilerOptions": {
"target": "ES2018",
"target": "ES2021",
"module": "commonjs",
"jsx": "react",
"sourceMap": true,
Expand Down
Loading