@magic-translate/vue 1.0.1 → 1.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.
Files changed (2) hide show
  1. package/README.md +5 -0
  2. package/package.json +28 -27
package/README.md CHANGED
@@ -6,8 +6,13 @@
6
6
  Vue client for [Magic Translate](https://magictranslate.io). Write your
7
7
  templates in one language and Magic Translate translates them on the fly.
8
8
 
9
+ No translation keys and no language files: the text stays in your templates,
10
+ and adding a language is one line.
11
+
9
12
  Requires Vue 3.3 or newer. Works with Nuxt too.
10
13
 
14
+ Full docs: [magictranslate.io/docs/vue](https://magictranslate.io/docs/vue)
15
+
11
16
  ## Install
12
17
 
13
18
  ```bash
package/package.json CHANGED
@@ -1,15 +1,24 @@
1
1
  {
2
2
  "name": "@magic-translate/vue",
3
- "version": "1.0.1",
3
+ "version": "1.0.3",
4
4
  "keywords": [
5
5
  "vue",
6
+ "vue3",
7
+ "vue-i18n",
6
8
  "nuxt",
7
- "magic-translate",
9
+ "vue-plugin",
8
10
  "i18n",
9
- "translations",
10
- "multilanguage"
11
+ "internationalization",
12
+ "localization",
13
+ "l10n",
14
+ "translation",
15
+ "translate",
16
+ "ai-translation",
17
+ "machine-translation",
18
+ "multilingual",
19
+ "magic-translate"
11
20
  ],
12
- "description": "Vue client for Magic Translate (https://magictranslate.io)",
21
+ "description": "AI-powered i18n for Vue 3 and Nuxt. Wrap text in <T> and it is translated automatically, with no translation keys or language files.",
13
22
  "main": "dist/index.cjs",
14
23
  "module": "dist/index.js",
15
24
  "types": "dist/index.d.ts",
@@ -27,18 +36,11 @@
27
36
  "author": "i42 GmbH <info@i42.ch>",
28
37
  "repository": {
29
38
  "type": "git",
30
- "url": "git+https://github.com/magic-translate/magic-translate-vue.git"
39
+ "url": "git+https://github.com/magic-translate/magic-translate.git",
40
+ "directory": "packages/vue"
31
41
  },
32
- "homepage": "https://magictranslate.io",
42
+ "homepage": "https://magictranslate.io/docs/vue",
33
43
  "license": "MIT",
34
- "scripts": {
35
- "build": "vite build && tsc -p tsconfig.build.json",
36
- "start": "vite build --watch",
37
- "test": "vitest run --coverage",
38
- "test:watch": "vitest",
39
- "prepare": "husky",
40
- "lint": "eslint ."
41
- },
42
44
  "engines": {
43
45
  "node": ">=22.22.1"
44
46
  },
@@ -46,26 +48,25 @@
46
48
  "vue": ">=3.3.0"
47
49
  },
48
50
  "dependencies": {
49
- "@magic-translate/core": "^1.4.0"
51
+ "@magic-translate/core": "^1.4.2"
50
52
  },
51
53
  "devDependencies": {
52
- "@commitlint/cli": "^21.2.4",
53
- "@commitlint/config-conventional": "^21.2.4",
54
- "@eslint/js": "^10.0.1",
55
54
  "@types/node": "^26.6.5",
56
55
  "@vitest/coverage-v8": "^5.0.5",
57
56
  "@vue/test-utils": "^2.5.1",
58
- "eslint": "^10.13.0",
59
- "eslint-config-prettier": "^10.1.8",
60
- "globals": "^17.13.0",
61
- "husky": "^9.1.7",
62
57
  "jsdom": "^30.1.3",
63
- "lint-staged": "^17.6.0",
64
- "prettier": "^3.9.10",
65
58
  "typescript": "~6.0.3",
66
- "typescript-eslint": "^8.72.0",
67
59
  "vite": "^8.3.5",
68
60
  "vitest": "^5.0.5",
69
61
  "vue": "^3.5.44"
62
+ },
63
+ "bugs": {
64
+ "url": "https://github.com/magic-translate/magic-translate/issues"
65
+ },
66
+ "scripts": {
67
+ "build": "vite build && tsc -p tsconfig.build.json",
68
+ "start": "vite build --watch",
69
+ "test": "vitest run --coverage",
70
+ "test:watch": "vitest"
70
71
  }
71
- }
72
+ }