Skip to content

Commit 795e23c

Browse files
committed
refactor: switch moduleResolution to bundler and fix issue with ketcher with a package patch
1 parent 67dafe4 commit 795e23c

File tree

3 files changed

+19
-2
lines changed

3 files changed

+19
-2
lines changed

package.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
"@squonk/account-server-client": "4.2.0-rc.7",
5656
"@squonk/data-manager-client": "4.0.0-sc-3210.1768240399",
5757
"@squonk/mui-theme": "5.0.0",
58-
"@squonk/sdf-parser": "1.3.0",
58+
"@squonk/sdf-parser": "1.3.1",
5959
"@tanstack/match-sorter-utils": "8.19.4",
6060
"@tanstack/react-form": "1.6.3",
6161
"@tanstack/react-query": "5.71.1",
@@ -115,5 +115,10 @@
115115
"budget": 358400,
116116
"budgetPercentIncreaseRed": 20,
117117
"showDetails": true
118+
},
119+
"pnpm": {
120+
"patchedDependencies": {
121+
"ketcher-standalone": "patches/ketcher-standalone.patch"
122+
}
118123
}
119124
}

patches/ketcher-standalone.patch

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
diff --git a/package.json b/package.json
2+
index 30f524826c68a1c5cb4b471a0298eb6fa69fb031..d1c5ae940920b85f54fcc7baa947d7987a63a0c8 100644
3+
--- a/package.json
4+
+++ b/package.json
5+
@@ -81,6 +81,7 @@
6+
"exports": {
7+
".": {
8+
"import": "./dist/main.js",
9+
+ "types": "./dist/index.d.ts",
10+
"require": "./dist/cjs/main.js"
11+
},
12+
"./dist/binaryWasm": {

tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"noEmit": true,
1414
"esModuleInterop": true,
1515
"module": "esnext",
16-
"moduleResolution": "node",
16+
"moduleResolution": "bundler",
1717
"resolveJsonModule": true,
1818
"isolatedModules": true,
1919
"jsx": "preserve",

0 commit comments

Comments
 (0)