i18n-dashboard 0.9.0 → 0.11.0
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 +3 -2
- package/package.json +12 -3
package/README.md
CHANGED
|
@@ -68,7 +68,8 @@
|
|
|
68
68
|
- **Dark mode** — system preference + manual toggle
|
|
69
69
|
- **Cypress E2E test suite** — full test coverage across all pages (auth, dashboard, projects, translations, languages, users, review, settings); CI-ready with GitHub Actions
|
|
70
70
|
- **GitHub Actions CI** — E2E tests run automatically on every push to `develop` and `main`; Cypress screenshots uploaded as artifacts on failure
|
|
71
|
-
|
|
71
|
+
- **Vitest unit test suite** — 344 unit tests covering all composables, services, and server utilities; runs in under 2 minutes with zero infrastructure required
|
|
72
|
+
- **Dual CI pipelines** — unit tests (`unit.yml`) and E2E tests (`e2e.yml`) run in parallel on every push; any regression blocks the pipeline
|
|
72
73
|
---
|
|
73
74
|
|
|
74
75
|
## Requirements
|
|
@@ -726,7 +727,7 @@ npx i18n-dashboard sync
|
|
|
726
727
|
| [Commander.js](https://github.com/tj/commander.js) | 13.x | CLI |
|
|
727
728
|
| [bcryptjs](https://github.com/dcodeIO/bcrypt.js) | 2.x | Password hashing |
|
|
728
729
|
| [Cypress](https://www.cypress.io/) | 13.x | E2E test suite |
|
|
729
|
-
|
|
730
|
+
| [Vitest](https://vitest.dev/) | 4.x | Unit test suite (composables, services, server utils) |
|
|
730
731
|
---
|
|
731
732
|
|
|
732
733
|
## Contributing
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "i18n-dashboard",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.11.0",
|
|
4
4
|
"description": "A web dashboard to manage vue-i18n translation keys with database persistence",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -17,7 +17,11 @@
|
|
|
17
17
|
"init": "node bin/cli.mjs init",
|
|
18
18
|
"sync": "node bin/cli.mjs sync",
|
|
19
19
|
"cy:open": "cypress open",
|
|
20
|
-
"cy:run": "cypress run"
|
|
20
|
+
"cy:run": "cypress run",
|
|
21
|
+
"test": "vitest",
|
|
22
|
+
"test:ui": "vitest --ui",
|
|
23
|
+
"test:run": "vitest run",
|
|
24
|
+
"test:coverage": "vitest run --coverage"
|
|
21
25
|
},
|
|
22
26
|
"dependencies": {
|
|
23
27
|
"@nuxt/ui": "^3.3.7",
|
|
@@ -87,6 +91,11 @@
|
|
|
87
91
|
"devDependencies": {
|
|
88
92
|
"@iconify-json/heroicons": "^1.2.3",
|
|
89
93
|
"@types/node": "^25.3.5",
|
|
90
|
-
"
|
|
94
|
+
"@vitest/coverage-v8": "^4.1.0",
|
|
95
|
+
"@vitest/ui": "^4.1.0",
|
|
96
|
+
"@vue/test-utils": "^2.4.6",
|
|
97
|
+
"cypress": "^15.12.0",
|
|
98
|
+
"happy-dom": "^20.8.4",
|
|
99
|
+
"vitest": "^4.1.0"
|
|
91
100
|
}
|
|
92
101
|
}
|