Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

add main and module

Steven Tey84a36bf8635d
diff --git a/packages/ui/package.json b/packages/ui/package.json
index 0f7652baa8..19ceb373f9 100644
--- a/packages/ui/package.json
+++ b/packages/ui/package.json
@@ -5,6 +5,8 @@
"sideEffects": [
"**/*.css"
],
+ "main": "./dist/index.js",
+ "module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"exports": {
".": "./dist",
@@ -34,7 +36,7 @@
"typescript": "^5.1.6"
},
"dependencies": {
- "@dub/utils": "*",
+ "@dub/utils": "^0.0.3",
"@radix-ui/react-accordion": "^1.0.1",
"@radix-ui/react-dialog": "1.0.3",
"@radix-ui/react-navigation-menu": "^1.1.2",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 33c34c2825..0eefd1663e 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -327,7 +327,7 @@ importers:
packages/ui:
dependencies:
'@dub/utils':
- specifier: '*'
+ specifier: ^0.0.3
version: link:../utils
'@radix-ui/react-accordion':
specifier: ^1.0.1