File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,12 @@ const nextH2RE = /^## /gm
66
77release ( {
88 repo : 'vite-plugin-react' ,
9- packages : [ 'plugin-react' , 'plugin-react-swc' , 'plugin-react-oxc' ] ,
9+ packages : [
10+ 'plugin-react' ,
11+ 'plugin-react-swc' ,
12+ 'plugin-react-oxc' ,
13+ 'plugin-rsc' ,
14+ ] ,
1015 getPkgDir ( pkg ) {
1116 if ( pkg === 'plugin-react-swc' ) {
1217 return `packages/${ pkg } /dist`
@@ -15,6 +20,8 @@ release({
1520 } ,
1621 toTag : ( pkg , version ) => `${ pkg } @${ version } ` ,
1722 logChangelog : async ( pkgName ) => {
23+ if ( pkgName === 'plugin-rsc' ) return
24+
1825 const changelog = readFileSync ( `packages/${ pkgName } /CHANGELOG.md` , 'utf-8' )
1926 if ( ! changelog . includes ( '## Unreleased' ) ) {
2027 throw new Error ( "Can't find '## Unreleased' section in CHANGELOG.md" )
@@ -25,6 +32,8 @@ release({
2532 console . log ( colors . dim ( changelog . slice ( index , nextH2Pos ) . trim ( ) ) )
2633 } ,
2734 generateChangelog : async ( pkgName , version ) => {
35+ if ( pkgName === 'plugin-rsc' ) return
36+
2837 if ( pkgName === 'plugin-react-swc' ) {
2938 console . log ( colors . cyan ( '\nUpdating package.json version...' ) )
3039 const pkgJsonPath = `packages/${ pkgName } /package.json`
You can’t perform that action at this time.
0 commit comments