mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-01-14 06:43:25 +08:00
fix: Patch roughjs type
This commit is contained in:
parent
dfcb4af18b
commit
f9818b8bd7
@ -131,5 +131,10 @@
|
|||||||
},
|
},
|
||||||
"nyc": {
|
"nyc": {
|
||||||
"report-dir": "coverage/cypress"
|
"report-dir": "coverage/cypress"
|
||||||
|
},
|
||||||
|
"pnpm": {
|
||||||
|
"patchedDependencies": {
|
||||||
|
"roughjs": "patches/roughjs.patch"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
10
patches/roughjs.patch
Normal file
10
patches/roughjs.patch
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
diff --git a/bin/rough.d.ts b/bin/rough.d.ts
|
||||||
|
index 810db1fb34496a5b9f7c0734a7ad8be8605f5534..3624d5b6288a3d2b7d397dfcfffce60558f18cf9 100644
|
||||||
|
--- a/bin/rough.d.ts
|
||||||
|
+++ b/bin/rough.d.ts
|
||||||
|
@@ -8,4 +8,4 @@ declare const _default: {
|
||||||
|
generator(config?: Config): RoughGenerator;
|
||||||
|
newSeed(): number;
|
||||||
|
};
|
||||||
|
-export default _default;
|
||||||
|
+export = _default;
|
9
pnpm-lock.yaml
generated
9
pnpm-lock.yaml
generated
@ -4,6 +4,11 @@ settings:
|
|||||||
autoInstallPeers: true
|
autoInstallPeers: true
|
||||||
excludeLinksFromLockfile: false
|
excludeLinksFromLockfile: false
|
||||||
|
|
||||||
|
patchedDependencies:
|
||||||
|
roughjs:
|
||||||
|
hash: vxb6t6fqvzyhwhtjiliqr25jyq
|
||||||
|
path: patches/roughjs.patch
|
||||||
|
|
||||||
importers:
|
importers:
|
||||||
|
|
||||||
.:
|
.:
|
||||||
@ -253,7 +258,7 @@ importers:
|
|||||||
version: 13.0.3
|
version: 13.0.3
|
||||||
roughjs:
|
roughjs:
|
||||||
specifier: ^4.6.6
|
specifier: ^4.6.6
|
||||||
version: 4.6.6
|
version: 4.6.6(patch_hash=vxb6t6fqvzyhwhtjiliqr25jyq)
|
||||||
stylis:
|
stylis:
|
||||||
specifier: ^4.3.1
|
specifier: ^4.3.1
|
||||||
version: 4.3.4
|
version: 4.3.4
|
||||||
@ -17959,7 +17964,7 @@ snapshots:
|
|||||||
'@rollup/rollup-win32-x64-msvc': 4.21.1
|
'@rollup/rollup-win32-x64-msvc': 4.21.1
|
||||||
fsevents: 2.3.3
|
fsevents: 2.3.3
|
||||||
|
|
||||||
roughjs@4.6.6:
|
roughjs@4.6.6(patch_hash=vxb6t6fqvzyhwhtjiliqr25jyq):
|
||||||
dependencies:
|
dependencies:
|
||||||
hachure-fill: 0.5.2
|
hachure-fill: 0.5.2
|
||||||
path-data-parser: 0.1.0
|
path-data-parser: 0.1.0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user