File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ ' @sveltejs/adapter-auto ' : minor
3+ ---
4+
5+ feat: add Deno as a supported package manager
Original file line number Diff line number Diff line change @@ -9,7 +9,8 @@ const commands = {
99 npm : ( name , version ) => `npm install -D ${ name } @${ version } ` ,
1010 pnpm : ( name , version ) => `pnpm add -D ${ name } @${ version } ` ,
1111 yarn : ( name , version ) => `yarn add -D ${ name } @${ version } ` ,
12- bun : ( name , version ) => `bun add -D ${ name } @${ version } `
12+ bun : ( name , version ) => `bun add -D ${ name } @${ version } ` ,
13+ deno : ( name , version ) => `deno install -D npm:${ name } @${ version } `
1314} ;
1415
1516function detect_lockfile ( ) {
@@ -23,6 +24,7 @@ function detect_lockfile() {
2324 if ( exists ( 'yarn.lock' ) ) return 'yarn' ;
2425 if ( exists ( 'package-lock.json' ) ) return 'npm' ;
2526 if ( exists ( 'bun.lockb' ) || exists ( 'bun.lock' ) ) return 'bun' ;
27+ if ( exists ( 'deno.lock' ) ) return 'deno' ;
2628 } while ( dir !== ( dir = path . dirname ( dir ) ) ) ;
2729
2830 return 'npm' ;
You can’t perform that action at this time.
0 commit comments