diff --git a/package-lock.json b/package-lock.json
index a438f0f..03f7e97 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -4843,9 +4843,9 @@
}
},
"node_modules/caniuse-lite": {
- "version": "1.0.30001574",
- "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001574.tgz",
- "integrity": "sha512-BtYEK4r/iHt/txm81KBudCUcTy7t+s9emrIaHqjYurQ10x71zJ5VQ9x1dYPcz/b+pKSp4y/v1xSI67A+LzpNyg==",
+ "version": "1.0.30001751",
+ "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001751.tgz",
+ "integrity": "sha512-A0QJhug0Ly64Ii3eIqHu5X51ebln3k4yTUkY1j8drqpWHVreg/VLijN48cZ1bYPiqOQuqpkIKnzr/Ul8V+p6Cw==",
"dev": true,
"funding": [
{
@@ -4860,7 +4860,8 @@
"type": "github",
"url": "https://github.com/sponsors/ai"
}
- ]
+ ],
+ "license": "CC-BY-4.0"
},
"node_modules/case-sensitive-paths-webpack-plugin": {
"version": "2.4.0",
@@ -17396,9 +17397,9 @@
}
},
"caniuse-lite": {
- "version": "1.0.30001574",
- "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001574.tgz",
- "integrity": "sha512-BtYEK4r/iHt/txm81KBudCUcTy7t+s9emrIaHqjYurQ10x71zJ5VQ9x1dYPcz/b+pKSp4y/v1xSI67A+LzpNyg==",
+ "version": "1.0.30001751",
+ "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001751.tgz",
+ "integrity": "sha512-A0QJhug0Ly64Ii3eIqHu5X51ebln3k4yTUkY1j8drqpWHVreg/VLijN48cZ1bYPiqOQuqpkIKnzr/Ul8V+p6Cw==",
"dev": true
},
"case-sensitive-paths-webpack-plugin": {
diff --git a/package.json b/package.json
index 90a8b49..1f55db5 100644
--- a/package.json
+++ b/package.json
@@ -38,7 +38,8 @@
"eslintConfig": {
"root": true,
"env": {
- "node": true
+ "node": true,
+ "vue/setup-compiler-macros": true
},
"extends": [
"plugin:vue/vue3-essential",
diff --git a/refactor-strategy.md b/refactor-strategy.md
index 8037fbe..60695cd 100644
--- a/refactor-strategy.md
+++ b/refactor-strategy.md
@@ -55,32 +55,117 @@ Outcome: Stable formatting and consistent linting across contributors.
### Phase 5 — Tests (Targeted)
-- [x] Add a unit test runner (Vitest)
-- [x] Test mappers (dates/reference wiring)
- - Added tests: `tests/mealMapper.test.js`, `tests/shoppingListMapper.test.js`
-- [x] Test `units.js` conversions and totals
- - Added tests: `tests/units.test.js`
+# Composition API Migration Plan
-Outcome: Confidence in refactors and easier onboarding.
+This document tracks the migration of remaining components to Vue 3 Composition API using `
-
diff --git a/src/components/recipes/RecipeCard.vue b/src/components/recipes/RecipeCard.vue
index 1bee7a5..fc7283f 100644
--- a/src/components/recipes/RecipeCard.vue
+++ b/src/components/recipes/RecipeCard.vue
@@ -8,11 +8,10 @@
-
-