@@ -128,6 +128,36 @@ async function updatePnpmWorkspace(versions) {
128128 replacement : `oxlint-tsgolint: =${ versions . oxlintTsgolint } ` ,
129129 newVersion : versions . oxlintTsgolint ,
130130 } ,
131+ {
132+ name : '@oxc-project/runtime' ,
133+ pattern : / ' @ o x c - p r o j e c t \/ r u n t i m e ' : = ( [ \d . ] + (?: - [ \w . ] + ) ? ) / ,
134+ replacement : `'@oxc-project/runtime': =${ versions . oxcProjectRuntime } ` ,
135+ newVersion : versions . oxcProjectRuntime ,
136+ } ,
137+ {
138+ name : '@oxc-project/types' ,
139+ pattern : / ' @ o x c - p r o j e c t \/ t y p e s ' : = ( [ \d . ] + (?: - [ \w . ] + ) ? ) / ,
140+ replacement : `'@oxc-project/types': =${ versions . oxcProjectTypes } ` ,
141+ newVersion : versions . oxcProjectTypes ,
142+ } ,
143+ {
144+ name : 'oxc-minify' ,
145+ pattern : / o x c - m i n i f y : = ( [ \d . ] + (?: - [ \w . ] + ) ? ) / ,
146+ replacement : `oxc-minify: =${ versions . oxcMinify } ` ,
147+ newVersion : versions . oxcMinify ,
148+ } ,
149+ {
150+ name : 'oxc-parser' ,
151+ pattern : / o x c - p a r s e r : = ( [ \d . ] + (?: - [ \w . ] + ) ? ) / ,
152+ replacement : `oxc-parser: =${ versions . oxcParser } ` ,
153+ newVersion : versions . oxcParser ,
154+ } ,
155+ {
156+ name : 'oxc-transform' ,
157+ pattern : / o x c - t r a n s f o r m : = ( [ \d . ] + (?: - [ \w . ] + ) ? ) / ,
158+ replacement : `oxc-transform: =${ versions . oxcTransform } ` ,
159+ newVersion : versions . oxcTransform ,
160+ } ,
131161 ] ;
132162
133163 for ( const { name, pattern, replacement, newVersion } of entries ) {
@@ -278,6 +308,11 @@ const [
278308 oxfmtVersion ,
279309 oxlintVersion ,
280310 oxlintTsgolintVersion ,
311+ oxcProjectRuntimeVersion ,
312+ oxcProjectTypesVersion ,
313+ oxcMinifyVersion ,
314+ oxcParserVersion ,
315+ oxcTransformVersion ,
281316] = await Promise . all ( [
282317 getLatestNpmVersion ( 'vitest' ) ,
283318 getLatestNpmVersion ( 'tsdown' ) ,
@@ -287,6 +322,11 @@ const [
287322 getLatestNpmVersion ( 'oxfmt' ) ,
288323 getLatestNpmVersion ( 'oxlint' ) ,
289324 getLatestNpmVersion ( 'oxlint-tsgolint' ) ,
325+ getLatestNpmVersion ( '@oxc-project/runtime' ) ,
326+ getLatestNpmVersion ( '@oxc-project/types' ) ,
327+ getLatestNpmVersion ( 'oxc-minify' ) ,
328+ getLatestNpmVersion ( 'oxc-parser' ) ,
329+ getLatestNpmVersion ( 'oxc-transform' ) ,
290330] ) ;
291331
292332console . log ( `vitest: ${ vitestVersion } ` ) ;
@@ -297,6 +337,11 @@ console.log(`@oxc-node/core: ${oxcNodeCoreVersion}`);
297337console . log ( `oxfmt: ${ oxfmtVersion } ` ) ;
298338console . log ( `oxlint: ${ oxlintVersion } ` ) ;
299339console . log ( `oxlint-tsgolint: ${ oxlintTsgolintVersion } ` ) ;
340+ console . log ( `@oxc-project/runtime: ${ oxcProjectRuntimeVersion } ` ) ;
341+ console . log ( `@oxc-project/types: ${ oxcProjectTypesVersion } ` ) ;
342+ console . log ( `oxc-minify: ${ oxcMinifyVersion } ` ) ;
343+ console . log ( `oxc-parser: ${ oxcParserVersion } ` ) ;
344+ console . log ( `oxc-transform: ${ oxcTransformVersion } ` ) ;
300345
301346await updateUpstreamVersions ( ) ;
302347await updatePnpmWorkspace ( {
@@ -307,6 +352,11 @@ await updatePnpmWorkspace({
307352 oxfmt : oxfmtVersion ,
308353 oxlint : oxlintVersion ,
309354 oxlintTsgolint : oxlintTsgolintVersion ,
355+ oxcProjectRuntime : oxcProjectRuntimeVersion ,
356+ oxcProjectTypes : oxcProjectTypesVersion ,
357+ oxcMinify : oxcMinifyVersion ,
358+ oxcParser : oxcParserVersion ,
359+ oxcTransform : oxcTransformVersion ,
310360} ) ;
311361await updateTestPackage ( vitestVersion ) ;
312362await updateCorePackage ( devtoolsVersion ) ;
0 commit comments