@noya-app/noya-designsystem 0.1.78 → 0.1.79

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,22 +1,14 @@
1
1
  {
2
2
  "name": "@noya-app/noya-designsystem",
3
- "version": "0.1.78",
3
+ "version": "0.1.79",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./dist/index.mjs",
6
6
  "types": "./dist/index.d.ts",
7
7
  "style": "./dist/index.css",
8
8
  "exports": {
9
- ".": {
10
- "import": "./dist/index.mjs",
11
- "require": "./dist/index.js",
12
- "types": "./dist/index.d.ts"
13
- },
9
+ ".": "./src/index.tsx",
14
10
  "./index.css": "./dist/index.css",
15
- "./emojis": {
16
- "import": "./dist/emojis.mjs",
17
- "require": "./dist/emojis.js",
18
- "types": "./dist/emojis.d.ts"
19
- }
11
+ "./emojis": "./src/emojis.ts"
20
12
  },
21
13
  "scripts": {
22
14
  "build:css": "tailwindcss -i ./src/index.css -o ./dist/index.css --postcss",
@@ -28,12 +20,12 @@
28
20
  "@base-ui/react": "1.0.0",
29
21
  "@dnd-kit/core": "6.3.1",
30
22
  "@dnd-kit/sortable": "10.0.0",
31
- "@noya-app/noya-colorpicker": "0.1.33",
32
- "@noya-app/noya-utils": "0.1.9",
33
- "@noya-app/noya-geometry": "0.1.17",
34
- "@noya-app/noya-icons": "0.1.18",
35
- "@noya-app/noya-keymap": "0.1.4",
36
- "@noya-app/noya-tailwind-config": "0.1.10",
23
+ "@noya-app/noya-colorpicker": "workspace:*",
24
+ "@noya-app/noya-utils": "workspace:*",
25
+ "@noya-app/noya-geometry": "workspace:*",
26
+ "@noya-app/noya-icons": "workspace:*",
27
+ "@noya-app/noya-keymap": "workspace:*",
28
+ "@noya-app/noya-tailwind-config": "workspace:*",
37
29
  "@radix-ui/react-compose-refs": "^1.0.0",
38
30
  "@radix-ui/primitive": "^1.0.1",
39
31
  "@radix-ui/react-utils": "^0.0.5",
@@ -58,4 +50,4 @@
58
50
  "react": "*",
59
51
  "react-dom": "*"
60
52
  }
61
- }
53
+ }
package/tsup.config.ts CHANGED
@@ -10,6 +10,8 @@ export default defineConfig({
10
10
  format: ["cjs", "esm"],
11
11
  dts: true,
12
12
  sourcemap: true,
13
+ // Bundle base-ui to avoid commonjs "react" import errors in vite projects
14
+ noExternal: ["@base-ui/react", "@base-ui/utils", "use-sync-external-store"],
13
15
  async onSuccess() {
14
16
  // Build Tailwind CSS after successful tsup build
15
17
  try {