Merge branch 'develop' into docs/5572_node-version-contributing-md

This commit is contained in:
Nikolay Rozhkov
2024-06-19 21:04:46 +03:00
committed by GitHub
5 changed files with 1288 additions and 845 deletions

View File

@@ -1,4 +1,3 @@
version: '3.9'
services: services:
mermaid: mermaid:
build: build:
@@ -8,7 +7,7 @@ services:
tty: true tty: true
working_dir: /mermaid working_dir: /mermaid
mem_limit: '8G' mem_limit: '8G'
entrypoint: docker-entrypoint.sh entrypoint: ./docker-entrypoint.sh
environment: environment:
- NODE_OPTIONS=--max_old_space_size=8192 - NODE_OPTIONS=--max_old_space_size=8192
volumes: volumes:
@@ -16,6 +15,7 @@ services:
- root_cache:/root/.cache - root_cache:/root/.cache
- root_local:/root/.local - root_local:/root/.local
- root_npm:/root/.npm - root_npm:/root/.npm
- /tmp:/tmp
ports: ports:
- 9000:9000 - 9000:9000
- 3333:3333 - 3333:3333

View File

@@ -126,10 +126,5 @@
}, },
"nyc": { "nyc": {
"report-dir": "coverage/cypress" "report-dir": "coverage/cypress"
},
"pnpm": {
"patchedDependencies": {
"cytoscape@3.28.1": "patches/cytoscape@3.28.1.patch"
}
} }
} }

View File

@@ -70,7 +70,7 @@
"dependencies": { "dependencies": {
"@braintree/sanitize-url": "^7.0.1", "@braintree/sanitize-url": "^7.0.1",
"@mermaid-js/parser": "workspace:^", "@mermaid-js/parser": "workspace:^",
"cytoscape": "^3.28.1", "cytoscape": "^3.29.2",
"cytoscape-cose-bilkent": "^4.1.0", "cytoscape-cose-bilkent": "^4.1.0",
"d3": "^7.9.0", "d3": "^7.9.0",
"d3-sankey": "^0.12.3", "d3-sankey": "^0.12.3",
@@ -88,7 +88,7 @@
}, },
"devDependencies": { "devDependencies": {
"@adobe/jsonschema2md": "^8.0.0", "@adobe/jsonschema2md": "^8.0.0",
"@types/cytoscape": "^3.19.16", "@types/cytoscape": "^3.21.4",
"@types/d3": "^7.4.3", "@types/d3": "^7.4.3",
"@types/d3-sankey": "^0.12.4", "@types/d3-sankey": "^0.12.4",
"@types/d3-scale": "^4.0.8", "@types/d3-scale": "^4.0.8",

View File

@@ -1,20 +0,0 @@
diff --git a/package.json b/package.json
index f2f77fa79c99382b079f4051ed51eafe8d2379c8..0bfddf55394e86f3a386eb7ab681369d410bae07 100644
--- a/package.json
+++ b/package.json
@@ -30,7 +30,15 @@
"engines": {
"node": ">=0.10"
},
+ "exports": {
+ ".": {
+ "import": "./dist/cytoscape.umd.js",
+ "default": "./dist/cytoscape.cjs.js"
+ },
+ "./*": "./*"
+ },
"main": "dist/cytoscape.cjs.js",
+ "module": "dist/cytoscape.umd.js",
"unpkg": "dist/cytoscape.min.js",
"jsdelivr": "dist/cytoscape.min.js",
"scripts": {

2100
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff