react-pop-cards 2.0.0 → 2.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.
Files changed (2) hide show
  1. package/README.md +0 -75
  2. package/package.json +5 -4
package/README.md CHANGED
@@ -94,78 +94,3 @@ Full TypeScript support out of the box. Types are exported from the package:
94
94
  import { Card } from "react-pop-cards";
95
95
  import type { CardProps, CardItem } from "react-pop-cards";
96
96
  ```
97
-
98
- ## Development
99
-
100
- ```bash
101
- # Install dependencies
102
- pnpm install
103
-
104
- # Start dev server (docs playground)
105
- pnpm dev
106
-
107
- # Build the library only
108
- pnpm build
109
-
110
- # Build the docs site (for Vercel deployment)
111
- pnpm build:vercel
112
-
113
- # Type check
114
- pnpm typecheck
115
- ```
116
-
117
- ## Publishing to npm
118
-
119
- 1. **Login** to your npm account (one-time setup):
120
-
121
- ```bash
122
- npm login
123
- ```
124
-
125
- 2. **Build** the library:
126
-
127
- ```bash
128
- pnpm build
129
- ```
130
-
131
- 3. **Verify** the package contents before publishing:
132
-
133
- ```bash
134
- npm pack --dry-run
135
- ```
136
-
137
- This should show only `dist/` and `README.md` (as defined in `"files"` in package.json).
138
-
139
- 4. **Publish**:
140
-
141
- ```bash
142
- npm publish
143
- ```
144
-
145
- For the first publish of a new package name, you may need:
146
-
147
- ```bash
148
- npm publish --access public
149
- ```
150
-
151
- 5. **Bump version** for future releases:
152
-
153
- ```bash
154
- # Patch release (1.0.0 → 1.0.1) — bug fixes
155
- npm version patch
156
-
157
- # Minor release (1.0.0 → 1.1.0) — new features
158
- npm version minor
159
-
160
- # Major release (1.0.0 → 2.0.0) — breaking changes
161
- npm version major
162
-
163
- # Then publish
164
- npm publish
165
- ```
166
-
167
- > **Tip:** Always run `pnpm build` before `npm publish` to ensure `dist/` is up to date.
168
-
169
- ## License
170
-
171
- MIT © [thony32](https://github.com/thony32)
package/package.json CHANGED
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "name": "react-pop-cards",
3
- "version": "2.0.0",
3
+ "version": "2.0.2",
4
+ "packageManager": "pnpm@10.30.0",
4
5
  "description": "Animated pop card component for React",
5
6
  "main": "dist/index.js",
6
7
  "module": "dist/index.mjs",
@@ -50,12 +51,13 @@
50
51
  },
51
52
  "dependencies": {
52
53
  "@react-spring/web": "^10.0.3",
53
- "chroma-js": "^3.1.2"
54
+ "chroma-js": "^3.1.2",
55
+ "tailwindcss": "^4.2.0",
56
+ "@tailwindcss/vite": "^4.2.0"
54
57
  },
55
58
  "devDependencies": {
56
59
  "@biomejs/biome": "2.4.2",
57
60
  "@monaco-editor/react": "^4.7.0",
58
- "@tailwindcss/vite": "^4.2.0",
59
61
  "@types/chroma-js": "^3.1.2",
60
62
  "@types/node": "^25.3.0",
61
63
  "@types/react": "^19.0.0",
@@ -66,7 +68,6 @@
66
68
  "react": "^19.0.0",
67
69
  "react-best-gradient-color-picker": "^3.0.10",
68
70
  "react-dom": "^19.0.0",
69
- "tailwindcss": "^4.2.0",
70
71
  "tsup": "^8.3.6",
71
72
  "typescript": "^5",
72
73
  "vite": "^7"