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 = {
9
9
npm : ( name , version ) => `npm install -D ${ name } @${ version } ` ,
10
10
pnpm : ( name , version ) => `pnpm add -D ${ name } @${ version } ` ,
11
11
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 } `
13
14
} ;
14
15
15
16
function detect_lockfile ( ) {
@@ -23,6 +24,7 @@ function detect_lockfile() {
23
24
if ( exists ( 'yarn.lock' ) ) return 'yarn' ;
24
25
if ( exists ( 'package-lock.json' ) ) return 'npm' ;
25
26
if ( exists ( 'bun.lockb' ) || exists ( 'bun.lock' ) ) return 'bun' ;
27
+ if ( exists ( 'deno.lock' ) ) return 'deno' ;
26
28
} while ( dir !== ( dir = path . dirname ( dir ) ) ) ;
27
29
28
30
return 'npm' ;
You can’t perform that action at this time.
0 commit comments