@appsbd/vue3-appsbd-ui 1.0.10 → 1.0.11

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": "@appsbd/vue3-appsbd-ui",
3
- "version": "1.0.10",
3
+ "version": "1.0.11",
4
4
  "description": "Reusable Vue 3 component library",
5
5
  "type": "module",
6
6
  "main": "./dist/vue3-appsbd-ui.cjs.js",
@@ -22,6 +22,7 @@
22
22
  "files": [
23
23
  "dist",
24
24
  "readme.md",
25
+ "CHANGELOG.md",
25
26
  "AI_REFERENCE.md",
26
27
  "AI_REF.md",
27
28
  ".ai",
@@ -52,7 +53,7 @@
52
53
  "@appsbd/vue3-elite-grid": ">=2.0.4",
53
54
  "@vee-validate/rules": ">=4.15.1",
54
55
  "bootstrap": ">=5.3.7",
55
- "lucide-vue-next": ">=0.575.0",
56
+ "@lucide/vue": ">=1.28.0",
56
57
  "vee-validate": ">=4.15.1",
57
58
  "vue": ">=3.3.0",
58
59
  "vue-router": ">=4.5.0",
package/readme.md CHANGED
@@ -22,7 +22,7 @@ npm install @appsbd/vue3-appsbd-ui
22
22
  Ensure you have the following installed in your project:
23
23
 
24
24
  ```bash
25
- npm install bootstrap bootstrap-icons vee-validate @vee-validate/rules vue-router vue3-gettext lucide-vue-next tiny-emitter @appsbd/vue3-elite-grid
25
+ npm install bootstrap bootstrap-icons vee-validate @vee-validate/rules vue-router vue3-gettext @lucide/vue tiny-emitter @appsbd/vue3-elite-grid
26
26
  ```
27
27
 
28
28
  ## 🤖 AI Assistant Integration
@@ -0,0 +1,36 @@
1
+ ---
2
+ description: One-time migration — replace lucide-vue-next imports with @lucide/vue after upgrading @appsbd/vue3-appsbd-ui to 1.0.11+
3
+ ---
4
+
5
+ # Migrate `lucide-vue-next` → `@lucide/vue`
6
+
7
+ `@appsbd/vue3-appsbd-ui` moved its icon peer dependency from `lucide-vue-next` to `@lucide/vue` (`>=1.28.0`) starting in version `1.0.11`. `@lucide/vue` exports the same named icon components under the same names, so this is a mechanical import-source rename — no icon usage or prop needs to change.
8
+
9
+ ## When to run this
10
+
11
+ Once, right after upgrading `@appsbd/vue3-appsbd-ui` to `1.0.11` or later, if the project still imports icons from `lucide-vue-next`.
12
+
13
+ ## Steps
14
+
15
+ 1. Check whether the project still references the old package:
16
+ ```bash
17
+ grep -rl "lucide-vue-next" --include="*.{vue,js,ts,jsx,tsx}" src
18
+ ```
19
+ No matches → nothing to do, stop here.
20
+ 2. Swap the dependency:
21
+ ```bash
22
+ npm install @lucide/vue
23
+ npm uninstall lucide-vue-next
24
+ ```
25
+ 3. Replace the import source everywhere it's used (only the string `lucide-vue-next` changes — named imports stay identical):
26
+ ```bash
27
+ grep -rl "lucide-vue-next" --include="*.{vue,js,ts,jsx,tsx}" src | xargs sed -i 's/lucide-vue-next/@lucide\/vue/g'
28
+ ```
29
+ 4. If `package.json` lists `lucide-vue-next` directly (not just as a transitive/peer dep), replace that entry with `"@lucide/vue": "^1.28.0"`.
30
+ 5. Start the dev server once and confirm icons still render — the rename is behaviorally a no-op, but verify before committing.
31
+
32
+ ## Rules
33
+
34
+ - Only rewrite the import source string. Never rename icon components or change their props/usage.
35
+ - Never touch `node_modules/`, `dist/`, or other build-output directories.
36
+ - If the project re-exports `lucide-vue-next` icons as part of its own public API, call that out separately — this migration only covers internal imports, not downstream consumers of this project.