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
2 changes: 1 addition & 1 deletion .ado/jobs/node-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ parameters:

- name: versions
type: object
default: [14, 16]
default: [16]
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We might want to add node 18 in here since it's been LTS for a long time now

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Node.js is about to release version 20.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should definitely add 20 when it's out and see if there's any problems as new devs will probably install 20 by default

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Addition of 18 threw errors in the testing. Looks like there's an API that is no longer available on 18 that we use. I'll file an issue to track addressing that.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You know, that sounds familliar - something that changed at like 18.5 or something.


jobs:
- ${{ each nodeVersion in parameters.versions }}:
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "prerelease",
"comment": "Update Node to 16",
"packageName": "@office-iss/react-native-win32",
"email": "34109996+chiaramooney@users.noreply.github.com",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "Update Node to 16",
"packageName": "@react-native-windows/automation",
"email": "34109996+chiaramooney@users.noreply.github.com",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "Update Node to 16",
"packageName": "@react-native-windows/automation-channel",
"email": "34109996+chiaramooney@users.noreply.github.com",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "Update Node to 16",
"packageName": "@react-native-windows/automation-commands",
"email": "34109996+chiaramooney@users.noreply.github.com",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "prerelease",
"comment": "Update Node to 16",
"packageName": "@react-native-windows/cli",
"email": "34109996+chiaramooney@users.noreply.github.com",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "prerelease",
"comment": "Update Node to 16",
"packageName": "@react-native-windows/codegen",
"email": "34109996+chiaramooney@users.noreply.github.com",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "prerelease",
"comment": "Update Node to 16",
"packageName": "@react-native-windows/find-repo-root",
"email": "34109996+chiaramooney@users.noreply.github.com",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "prerelease",
"comment": "Update Node to 16",
"packageName": "@react-native-windows/fs",
"email": "34109996+chiaramooney@users.noreply.github.com",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "prerelease",
"comment": "Update Node to 16",
"packageName": "@react-native-windows/package-utils",
"email": "34109996+chiaramooney@users.noreply.github.com",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "prerelease",
"comment": "Update Node to 16",
"packageName": "@react-native-windows/telemetry",
"email": "34109996+chiaramooney@users.noreply.github.com",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "Update Node to 16",
"packageName": "@rnw-scripts/babel-node-config",
"email": "34109996+chiaramooney@users.noreply.github.com",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "Update Node to 16",
"packageName": "@rnw-scripts/create-github-releases",
"email": "34109996+chiaramooney@users.noreply.github.com",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "Update Node to 16",
"packageName": "@rnw-scripts/doxysaurus",
"email": "34109996+chiaramooney@users.noreply.github.com",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "Update Node to 16",
"packageName": "@rnw-scripts/eslint-config",
"email": "34109996+chiaramooney@users.noreply.github.com",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "Update Node to 16",
"packageName": "@rnw-scripts/format-files",
"email": "34109996+chiaramooney@users.noreply.github.com",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "Update Node to 16",
"packageName": "@rnw-scripts/integrate-rn",
"email": "34109996+chiaramooney@users.noreply.github.com",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "Update Node to 16",
"packageName": "@rnw-scripts/jest-debug-config",
"email": "34109996+chiaramooney@users.noreply.github.com",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "Update Node to 16",
"packageName": "@rnw-scripts/jest-e2e-config",
"email": "34109996+chiaramooney@users.noreply.github.com",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "Update Node to 16",
"packageName": "@rnw-scripts/jest-out-of-tree-resolver",
"email": "34109996+chiaramooney@users.noreply.github.com",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "Update Node to 16",
"packageName": "@rnw-scripts/jest-out-of-tree-snapshot-resolver",
"email": "34109996+chiaramooney@users.noreply.github.com",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "Update Node to 16",
"packageName": "@rnw-scripts/jest-unittest-config",
"email": "34109996+chiaramooney@users.noreply.github.com",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "Update Node to 16",
"packageName": "@rnw-scripts/just-task",
"email": "34109996+chiaramooney@users.noreply.github.com",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "Update Node to 16",
"packageName": "@rnw-scripts/promote-release",
"email": "34109996+chiaramooney@users.noreply.github.com",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "Update Node to 16",
"packageName": "@rnw-scripts/take-screenshot",
"email": "34109996+chiaramooney@users.noreply.github.com",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "Update Node to 16",
"packageName": "@rnw-scripts/ts-config",
"email": "34109996+chiaramooney@users.noreply.github.com",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "Update Node to 16",
"packageName": "react-native-platform-override",
"email": "34109996+chiaramooney@users.noreply.github.com",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "prerelease",
"comment": "Update Node to 16",
"packageName": "react-native-windows",
"email": "34109996+chiaramooney@users.noreply.github.com",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "Update Node to 16",
"packageName": "react-native-windows-init",
"email": "34109996+chiaramooney@users.noreply.github.com",
"dependentChangeType": "patch"
}
6 changes: 3 additions & 3 deletions packages/@office-iss/react-native-win32-tester/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,14 @@
"@rnw-scripts/eslint-config": "1.1.15",
"@rnw-scripts/just-task": "2.3.6",
"@rnw-scripts/ts-config": "2.0.3",
"@types/node": "^14.14.22",
"@types/node": "^16.0.0",
"eslint": "^8.19.0",
"just-scripts": "^1.3.3",
"react-native": "0.0.0-20230404-2109-62c4da142",
"react-native-platform-override": "^1.9.4",
"typescript": "^4.9.5"
},
"engines": {
"node": ">= 14"
"node": ">= 16"
}
}
}
6 changes: 3 additions & 3 deletions packages/@office-iss/react-native-win32/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
"@rnw-scripts/just-task": "2.3.6",
"@rnw-scripts/metro-dev-config": "0.0.0",
"@rnx-kit/jest-preset": "^0.1.0",
"@types/node": "^14.14.22",
"@types/node": "^16.0.0",
"@types/prop-types": "15.7.1",
"@types/react": "^18.0.18",
"eslint": "^8.19.0",
Expand All @@ -100,6 +100,6 @@
},
"promoteRelease": true,
"engines": {
"node": ">= 14"
"node": ">= 16"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -180,9 +180,9 @@ const LONG_PRESS_ALLOWED_MOVEMENT = 10;
* (that use internal state to conditionally calculate styles)
*/
export class TouchableWin32 extends React.Component<ITouchableWin32Props, IInternalTouchableWin32State> {
private _longPressDelayTimeout: number;
private _touchableDelayTimeout: number;
private _pressOutDelayTimeout: number;
private _longPressDelayTimeout: NodeJS.Timeout;
private _touchableDelayTimeout: NodeJS.Timeout;
private _pressOutDelayTimeout: NodeJS.Timeout;
private _pressInLocation: IPressInLocation;
private _touchState: IState;
private _responderID: number;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"@rnw-scripts/just-task": "2.3.6",
"@rnw-scripts/ts-config": "2.0.3",
"@types/find-up": "^4.0.0",
"@types/node": "^14.14.22",
"@types/node": "^16.0.0",
"eslint": "^8.19.0",
"just-scripts": "^1.3.2",
"prettier": "^2.4.1",
Expand All @@ -40,6 +40,6 @@
"windows"
],
"engines": {
"node": ">= 14"
"node": ">= 16"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"@rnw-scripts/just-task": "2.3.6",
"@rnw-scripts/ts-config": "2.0.3",
"@types/jest": "^29.2.2",
"@types/node": "^14.14.22",
"@types/node": "^16.0.0",
"eslint": "^8.19.0",
"prettier": "^2.4.1",
"typescript": "^4.9.5"
Expand All @@ -38,6 +38,6 @@
"README.md"
],
"engines": {
"node": ">= 14"
"node": ">= 16"
}
}
}
6 changes: 3 additions & 3 deletions packages/@react-native-windows/automation/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"@rnw-scripts/just-task": "2.3.6",
"@rnw-scripts/ts-config": "2.0.3",
"@types/jest": "^29.2.2",
"@types/node": "^14.14.22",
"@types/node": "^16.0.0",
"@types/readline-sync": "^1.4.4",
"eslint": "^8.19.0",
"prettier": "^2.4.1",
Expand All @@ -49,6 +49,6 @@
"README.md"
],
"engines": {
"node": ">= 14"
"node": ">= 16"
}
}
}
6 changes: 3 additions & 3 deletions packages/@react-native-windows/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"@types/jest": "^29.2.2",
"@types/lodash": "^4.14.168",
"@types/mustache": "^4.1.1",
"@types/node": "^14.14.22",
"@types/node": "^16.0.0",
"@types/ora": "^3.2.0",
"@types/prompts": "2.0.10",
"@types/semver": "^7.3.3",
Expand Down Expand Up @@ -84,6 +84,6 @@
"promoteRelease": true,
"windowsOnly": true,
"engines": {
"node": ">= 14"
"node": ">= 16"
}
}
}
6 changes: 3 additions & 3 deletions packages/@react-native-windows/codegen/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"@rnw-scripts/ts-config": "2.0.3",
"@types/chalk": "^2.2.0",
"@types/jest": "^29.2.2",
"@types/node": "^14.14.22",
"@types/node": "^16.0.0",
"@types/yargs": "16.0.0",
"@typescript-eslint/eslint-plugin": "^5.30.5",
"@typescript-eslint/parser": "^5.30.5",
Expand Down Expand Up @@ -66,6 +66,6 @@
},
"promoteRelease": true,
"engines": {
"node": ">= 14"
"node": ">= 16"
}
}
}
6 changes: 3 additions & 3 deletions packages/@react-native-windows/find-repo-root/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"@rnw-scripts/just-task": "2.3.6",
"@rnw-scripts/ts-config": "2.0.3",
"@types/find-up": "^4.0.0",
"@types/node": "^14.14.22",
"@types/node": "^16.0.0",
"@typescript-eslint/eslint-plugin": "^5.30.5",
"@typescript-eslint/parser": "^5.30.5",
"eslint": "^8.19.0",
Expand All @@ -44,6 +44,6 @@
"lib-commonjs"
],
"engines": {
"node": ">= 14"
"node": ">= 16"
}
}
}
Loading