Skip to content

Commit 11ed6bc

Browse files
authored
chore(compass-web): fix type export to unblock package update publishes (#5337)
1 parent 7ef006d commit 11ed6bc

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

packages/compass-web/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,14 @@
2424
],
2525
"license": "SSPL",
2626
"main": "dist/index.js",
27-
"compass:main": "src/index.ts",
27+
"compass:main": "src/index.tsx",
2828
"exports": {
2929
".": "./dist/index.js"
3030
},
3131
"compass:exports": {
32-
".": "./src/index.ts"
32+
".": "./src/index.tsx"
3333
},
34-
"types": "./dist/index.d.ts",
34+
"types": "./dist/src/index.d.ts",
3535
"scripts": {
3636
"prepublishOnly": "npm run compile && compass-scripts check-exports-exist",
3737
"compile": "npm run webpack -- --mode production",

packages/connection-form/src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import ConnectionForm from './components/connection-form';
22
import SaveConnectionModal from './components/save-connection-modal';
33
import { useConnectionColor } from './hooks/use-connection-color';
44
import { adjustConnectionOptionsBeforeConnect } from './hooks/use-connect-form';
5+
56
export {
67
SaveConnectionModal,
78
useConnectionColor,

0 commit comments

Comments
 (0)