mirror of
https://github.com/penpot/penpot.git
synced 2026-09-07 04:29:31 +00:00
🚧 Migrate frontend to pnpm
This commit is contained in:
parent
d1f660c70c
commit
fd2e5e31e2
17
frontend/patches/@zip.js__zip.js.patch
Normal file
17
frontend/patches/@zip.js__zip.js.patch
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
diff --git a/lib/zip-core-base.js b/lib/zip-core-base.js
|
||||||
|
index 142155c8c3ab1a6caa7c370e8a2931a954556ca9..61b0fe6efb91312f437750e0002218f218afad8b 100644
|
||||||
|
--- a/lib/zip-core-base.js
|
||||||
|
+++ b/lib/zip-core-base.js
|
||||||
|
@@ -28,12 +28,6 @@
|
||||||
|
|
||||||
|
import { configure } from "./core/configuration.js";
|
||||||
|
|
||||||
|
-try {
|
||||||
|
- configure({ baseURI: import.meta.url });
|
||||||
|
-} catch {
|
||||||
|
- // ignored
|
||||||
|
-}
|
||||||
|
-
|
||||||
|
export * from "./zip-core-reader.js";
|
||||||
|
export * from "./zip-core-writer.js";
|
||||||
|
export {
|
||||||
6
frontend/pnpm-workspace.yaml
Normal file
6
frontend/pnpm-workspace.yaml
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
patchedDependencies:
|
||||||
|
'@zip.js/zip.js': patches/@zip.js__zip.js.patch
|
||||||
|
|
||||||
|
|
||||||
|
shamefullyHoist: true
|
||||||
|
recursiveInstall: true
|
||||||
Loading…
x
Reference in New Issue
Block a user