@emporix/component-library 1.0.1 → 1.0.2
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/dist/styles.d.ts +4 -0
- package/package.json +6 -3
package/dist/styles.d.ts
ADDED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@emporix/component-library",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"description": "A React component library for Emporix projects",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.umd.js",
|
|
@@ -20,7 +20,10 @@
|
|
|
20
20
|
"import": "./dist/index.es.js",
|
|
21
21
|
"require": "./dist/index.umd.js"
|
|
22
22
|
},
|
|
23
|
-
"./styles":
|
|
23
|
+
"./styles": {
|
|
24
|
+
"types": "./dist/styles.d.ts",
|
|
25
|
+
"default": "./dist/style.css"
|
|
26
|
+
}
|
|
24
27
|
},
|
|
25
28
|
"files": [
|
|
26
29
|
"dist"
|
|
@@ -28,7 +31,7 @@
|
|
|
28
31
|
"scripts": {
|
|
29
32
|
"dev": "vite",
|
|
30
33
|
"build": "tsc && vite build",
|
|
31
|
-
"build:lib": "vite build --mode library",
|
|
34
|
+
"build:lib": "vite build --mode library && node -e \"require('fs').writeFileSync('dist/styles.d.ts', 'declare module \\'@emporix/component-library/styles\\' {\\n const styles: string;\\n export default styles;\\n}\\n')\"",
|
|
32
35
|
"preview": "vite preview",
|
|
33
36
|
"test": "vitest",
|
|
34
37
|
"test:ui": "vitest --ui",
|