Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
N
next.js
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Alex
next.js
Commits
0dfcdea2
Unverified
Commit
0dfcdea2
authored
Jul 22, 2024
by
Sebastian Silbermann
Committed by
GitHub
Jul 22, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Label React syncs in GitHub with `type: react-sync` (#67710)
parent
eb23134e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
1 deletion
+5
-1
.react-version
.github/.react-version
+1
-0
labeler.json
.github/labeler.json
+2
-1
sync-react.js
scripts/sync-react.js
+2
-0
No files found.
.github/.react-version
0 → 100644
View file @
0dfcdea2
19.0.0-rc-6230622a1a-20240610
\ No newline at end of file
.github/labeler.json
View file @
0dfcdea2
...
...
@@ -71,6 +71,7 @@
"packages/next-swc/**"
,
"packages/next/**"
,
"packages/react-refresh-utils/**"
]
],
"type: react-sync"
:
[
".github/.react-version"
]
}
}
scripts/sync-react.js
View file @
0dfcdea2
...
...
@@ -177,6 +177,8 @@ Or run this command again without the --no-install flag to do both automatically
)
}
await
fsp
.
writeFile
(
path
.
join
(
cwd
,
'.github/.react-version'
),
newVersionStr
)
console
.
log
(
`Successfully updated React from
${
baseSha
}
to
${
newSha
}
.\n`
+
`Don't forget to find & replace all references to the React version '
${
baseVersionStr
}
' with '
${
newVersionStr
}
':\n`
+
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment