File tree Expand file tree Collapse file tree 3 files changed +24
-4
lines changed
Expand file tree Collapse file tree 3 files changed +24
-4
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,23 @@ All notable changes to the "vscode-shadcn-svelte" extension will be documented i
44
55Check [ Keep a Changelog] ( http://keepachangelog.com/ ) for recommendations on how to structure this file.
66
7+ ## v0.5.3
8+
9+ [ compare changes] ( https://github.com/selemondev/vscode-shadcn-svelte/compare/v0.5.2...v0.5.3 )
10+
11+ ### 💅 Refactors
12+
13+ - # 58 refactor bun's lockfile name from bun.lockb to bun.lock ([ c2bdc36] ( https://github.com/selemondev/vscode-shadcn-svelte/commit/c2bdc36 ) )
14+
15+ ### 🏡 Chore
16+
17+ - ** release:** V0.5.2 ([ 13dfe29] ( https://github.com/selemondev/vscode-shadcn-svelte/commit/13dfe29 ) )
18+ - Add deployment scripts ([ c845c47] ( https://github.com/selemondev/vscode-shadcn-svelte/commit/c845c47 ) )
19+
20+ ### ❤️ Contributors
21+
22+ - Selemondev < selemondev19@gmail.com >
23+
724## v0.5.2
825
926[ compare changes] ( https://github.com/selemondev/vscode-shadcn-svelte/compare/v0.5.1...v0.5.2 )
Original file line number Diff line number Diff line change 11{
22 "name" : " vscode-shadcn-svelte" ,
3- "version" : " 0.5.2 " ,
3+ "version" : " 0.5.3 " ,
44 "license" : " MIT" ,
55 "displayName" : " shadcn/svelte" ,
66 "description" : " Integrate components and snippets from Shadcn/Svelte directly into your IDE ✨." ,
Original file line number Diff line number Diff line change @@ -33,9 +33,12 @@ export const getFileStat = async (fileName: string) => {
3333} ;
3434
3535export const detectPackageManager = async ( ) : Promise < PackageManager > => {
36- const bunLockExists = await getFileStat ( "bun.lock" ) ;
37- if ( bunLockExists ) {
38- return "bun" ;
36+ const [ bunLockExists , bunLockBExists ] = await Promise . all ( [
37+ getFileStat ( "bun.lock" ) . then ( ( ) => true ) . catch ( ( ) => false ) ,
38+ getFileStat ( "bun.lockb" ) . then ( ( ) => true ) . catch ( ( ) => false ) ,
39+ ] ) ;
40+ if ( bunLockExists || bunLockBExists ) {
41+ return 'bun' ;
3942 }
4043
4144 const pnpmLockExists = await getFileStat ( "pnpm-lock.yaml" ) ;
You can’t perform that action at this time.
0 commit comments