@canceyd/react-npm-starter 0.0.2 → 0.0.3
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/README.md +6 -1
- package/package.json +7 -1
package/README.md
CHANGED
|
@@ -52,7 +52,12 @@ To use the global styles (including Tailwind CSS, theme variables, and base styl
|
|
|
52
52
|
import "@canceyd/react-npm-starter/styles/globals.css";
|
|
53
53
|
```
|
|
54
54
|
|
|
55
|
-
**
|
|
55
|
+
**Important Notes:**
|
|
56
|
+
|
|
57
|
+
- Make sure you have Tailwind CSS v4 configured in your consuming project, as the global styles depend on it.
|
|
58
|
+
- **Do NOT include `/dist/` in the import path** - use `@canceyd/react-npm-starter/styles/globals.css` (not `@canceyd/react-npm-starter/dist/styles/globals.css`).
|
|
59
|
+
- If you're using a local version of this package (via `pnpm link` or `file:` protocol), make sure to rebuild the package after changes: `pnpm run build`.
|
|
60
|
+
- If you encounter import errors, try reinstalling the package in your consuming project.
|
|
56
61
|
|
|
57
62
|
## Components
|
|
58
63
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@canceyd/react-npm-starter",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.3",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.js",
|
|
@@ -18,6 +18,12 @@
|
|
|
18
18
|
"types": "./dist/container.d.ts",
|
|
19
19
|
"import": "./dist/container.js"
|
|
20
20
|
},
|
|
21
|
+
"./styles/globals.css": {
|
|
22
|
+
"import": "./dist/styles/globals.css"
|
|
23
|
+
},
|
|
24
|
+
"./styles/theme.css": {
|
|
25
|
+
"import": "./dist/styles/theme.css"
|
|
26
|
+
},
|
|
21
27
|
"./styles/*": {
|
|
22
28
|
"import": "./dist/styles/*.css"
|
|
23
29
|
},
|