@@ -13,28 +13,34 @@ import styles from './styles.module.css'
1313
1414const packagesData = [
1515 {
16- label : 'Rust CLI' ,
16+ label : 'Core' ,
17+ value : 'core' ,
18+ changelogUrl :
19+ 'https://raw.githubusercontent.com/tauri-apps/tauri/dev/core/tauri/CHANGELOG.md' ,
20+ } ,
21+ {
22+ label : 'CLI' ,
1723 value : 'cli.rs' ,
1824 changelogUrl :
1925 'https://raw.githubusercontent.com/tauri-apps/tauri/dev/tooling/cli.rs/CHANGELOG.md' ,
2026 } ,
2127 {
22- label : 'Node.js CLI ' ,
23- value : 'cli.js ' ,
28+ label : 'Bundler ' ,
29+ value : 'bundler ' ,
2430 changelogUrl :
25- 'https://raw.githubusercontent.com/tauri-apps/tauri/dev/tooling/cli.js /CHANGELOG.md' ,
31+ 'https://raw.githubusercontent.com/tauri-apps/tauri/dev/tooling/bundler /CHANGELOG.md' ,
2632 } ,
2733 {
28- label : 'create-tauri-app ' ,
29- value : 'create-tauri-app ' ,
34+ label : 'WRY ' ,
35+ value : 'wry ' ,
3036 changelogUrl :
31- 'https://raw.githubusercontent.com/tauri-apps/tauri /dev/tooling/create-tauri-app /CHANGELOG.md' ,
37+ 'https://raw.githubusercontent.com/tauri-apps/wry /dev/CHANGELOG.md' ,
3238 } ,
3339 {
34- label : 'Core ' ,
35- value : 'core ' ,
40+ label : 'create-tauri-app ' ,
41+ value : 'create-tauri-app ' ,
3642 changelogUrl :
37- 'https://raw.githubusercontent.com/tauri-apps/tauri/dev/core/ tauri/CHANGELOG.md' ,
43+ 'https://raw.githubusercontent.com/tauri-apps/tauri/dev/tooling/create- tauri-app /CHANGELOG.md' ,
3844 }
3945]
4046
@@ -46,10 +52,10 @@ function fetchChangelog(url) {
4652 return versionsChangelog . map ( ( versionChangelog ) => {
4753 const [ version , ...contents ] = versionChangelog . split ( '\n' )
4854 return {
49- version : version . replace ( '[' , '' ) . replace ( ']' , '' ) ,
55+ version : version . replace ( '\\ [' , '' ) . replace ( ']' , '' ) ,
5056 notes : contents . filter ( ( line ) => ! ! line ) . join ( '\n' ) ,
5157 }
52- } )
58+ } ) . filter ( ( { version } ) => ! version . includes ( 'Not Published' ) )
5359 } )
5460}
5561
0 commit comments