@wazobiatech/wazui 0.0.8 → 0.0.9

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,6 +1,6 @@
1
1
  {
2
2
  "name": "@wazobiatech/wazui",
3
- "version": "0.0.8",
3
+ "version": "0.0.9",
4
4
  "private": false,
5
5
  "description": "`@repo/wazui` is a React component library that provides a set of reusable UI components, hooks, and providers for building modern web applications. It is built with TypeScript, Tailwind CSS, and integrates Shadcn UI components.",
6
6
  "homepage": "https://bitbucket.org/wazobiatech/wazui#readme",
@@ -16,14 +16,9 @@
16
16
  "type": "module",
17
17
  "exports": {
18
18
  "./styles.css": "./dist/styles.css",
19
- ".": {
20
- "types": "./dist/index.d.ts",
21
- "import": "./dist/index.js",
22
- "require": "./dist/index.js"
23
- }
19
+ ".": "./src/index.ts"
24
20
  },
25
- "main": "./dist/index.js",
26
- "types": "./dist/index.d.ts",
21
+ "main": "index.js",
27
22
  "scripts": {
28
23
  "dev": "storybook dev -p 6007 --no-open",
29
24
  "build": "node --max-old-space-size=16384 ./node_modules/.bin/vite build",
@@ -118,7 +113,6 @@
118
113
  "@storybook/react": "8.6.12",
119
114
  "@storybook/react-vite": "8.6.12",
120
115
  "@storybook/test": "8.6.12",
121
- "@tailwindcss/postcss": "^4.1.18",
122
116
  "@testing-library/dom": "^10.4.0",
123
117
  "@testing-library/jest-dom": "^6.6.3",
124
118
  "@testing-library/react": "^16.3.0",
@@ -155,7 +149,7 @@
155
149
  "storybook": "8.6.12",
156
150
  "typescript": "~5.7.2",
157
151
  "typescript-eslint": "^8.24.1",
158
- "vite": "^7.3.0",
152
+ "vite": "^6.2.0",
159
153
  "vite-plugin-dts": "^4.5.3",
160
154
  "vitest": "^3.1.1"
161
155
  },
package/tsconfig.json CHANGED
@@ -2,11 +2,7 @@
2
2
  "rootDir": "./src",
3
3
  "compilerOptions": {
4
4
  "baseUrl": ".",
5
- "paths": {
6
- "@/*": ["./src/*"],
7
- "@config/env": ["src/env.ts"],
8
- "@wazobiatech/wazui/styles.css": ["../packages/wazui/src/index.css"]
9
- },
5
+ "paths": {},
10
6
  "strict": true,
11
7
  "declaration": true,
12
8
  "declarationDir": "./dist",
package/vite.config.ts CHANGED
@@ -36,9 +36,15 @@ export default defineConfig({
36
36
  react: 'React',
37
37
  'react-dom': 'ReactDOM',
38
38
  },
39
- assetFileNames: 'styles.[ext]',
39
+ assetFileNames: assetInfo => {
40
+ if (assetInfo.name && assetInfo.name.endsWith('.css')) {
41
+ return 'styles.[ext]';
42
+ }
43
+ return 'assets/[name].[ext]';
44
+ },
40
45
  },
41
46
  },
47
+ copyPublicDir: false,
42
48
  cssCodeSplit: false,
43
49
  sourcemap: true,
44
50
  },