mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-08-15 06:19:24 +02:00
Hacky fix for pnpm issue
This commit is contained in:
@@ -4,7 +4,7 @@
|
|||||||
"version": "9.2.2",
|
"version": "9.2.2",
|
||||||
"description": "Markdownish syntax for generating flowcharts, sequence diagrams, class diagrams, gantt charts and git graphs.",
|
"description": "Markdownish syntax for generating flowcharts, sequence diagrams, class diagrams, gantt charts and git graphs.",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"packageManager": "pnpm@7.13.2",
|
"packageManager": "pnpm@7.15.0",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"diagram",
|
"diagram",
|
||||||
"markdown",
|
"markdown",
|
||||||
@@ -41,6 +41,7 @@
|
|||||||
"test:coverage": "vitest --coverage",
|
"test:coverage": "vitest --coverage",
|
||||||
"prepublishOnly": "pnpm build && pnpm test",
|
"prepublishOnly": "pnpm build && pnpm test",
|
||||||
"prepare": "concurrently \"husky install\" \"pnpm build\"",
|
"prepare": "concurrently \"husky install\" \"pnpm build\"",
|
||||||
|
"postinstall": "./scripts/fixPnpmLock.sh",
|
||||||
"pre-commit": "lint-staged"
|
"pre-commit": "lint-staged"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
@@ -101,7 +102,7 @@
|
|||||||
"jsdom": "^20.0.1",
|
"jsdom": "^20.0.1",
|
||||||
"lint-staged": "^13.0.3",
|
"lint-staged": "^13.0.3",
|
||||||
"markdown-it": "^13.0.1",
|
"markdown-it": "^13.0.1",
|
||||||
"pnpm": "^7.13.2",
|
"pnpm": "^7.15.0",
|
||||||
"prettier": "^2.7.1",
|
"prettier": "^2.7.1",
|
||||||
"prettier-plugin-jsdoc": "^0.4.2",
|
"prettier-plugin-jsdoc": "^0.4.2",
|
||||||
"remark": "^14.0.2",
|
"remark": "^14.0.2",
|
||||||
|
4069
pnpm-lock.yaml
generated
4069
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
@@ -1,4 +1,4 @@
|
|||||||
packages:
|
packages:
|
||||||
# all packages in direct subdirs of packages/
|
# all packages in direct subdirs of packages/
|
||||||
- 'packages/*'
|
- 'packages/*'
|
||||||
# - 'tests/*'
|
- 'tests/*'
|
||||||
|
3
scripts/fixPnpmLock.sh
Executable file
3
scripts/fixPnpmLock.sh
Executable file
@@ -0,0 +1,3 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
sed "/mermaid: ''/d" pnpm-lock.yaml > temp.yaml;
|
||||||
|
mv temp.yaml pnpm-lock.yaml
|
Reference in New Issue
Block a user