Skip to content

Commit d17afa0

Browse files
Copilotsxzz
andcommitted
Update generated package.json to use pnpm as package manager
Co-authored-by: sxzz <[email protected]>
1 parent 8aaf7c3 commit d17afa0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

app/utils/download.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ export function downloadProject() {
1414
name: 'rolldown-repl-project',
1515
version: '1.0.0',
1616
private: true,
17+
packageManager: '[email protected]',
1718
type: 'module',
1819
scripts: {
1920
build: 'rolldown',
@@ -37,7 +38,7 @@ export function downloadProject() {
3738
}
3839

3940
export function triggerDownload(data: Uint8Array, filename: string) {
40-
const blob = new Blob([data], { type: 'application/zip' })
41+
const blob = new Blob([new Uint8Array(data)], { type: 'application/zip' })
4142
const url = URL.createObjectURL(blob)
4243

4344
const link = document.createElement('a')

0 commit comments

Comments
 (0)