@better-auth/i18n 1.5.0-beta.18 → 1.5.0-beta.19

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 +17 -0
  2. package/package.json +31 -31
package/README.md ADDED
@@ -0,0 +1,17 @@
1
+ # Better Auth i18n Plugin
2
+
3
+ Internationalization plugin for [Better Auth](https://www.better-auth.com) — translate error messages and UI strings.
4
+
5
+ ## Installation
6
+
7
+ ```bash
8
+ npm install @better-auth/i18n
9
+ ```
10
+
11
+ ## Documentation
12
+
13
+ For full documentation, visit [better-auth.com/docs/plugins/i18n](https://www.better-auth.com/docs/plugins/i18n).
14
+
15
+ ## License
16
+
17
+ MIT
package/package.json CHANGED
@@ -1,14 +1,31 @@
1
1
  {
2
2
  "name": "@better-auth/i18n",
3
- "version": "1.5.0-beta.18",
4
- "type": "module",
3
+ "version": "1.5.0-beta.19",
5
4
  "description": "i18n plugin for Better Auth - translate error messages",
6
- "main": "dist/index.mjs",
7
- "module": "dist/index.mjs",
8
- "types": "dist/index.d.mts",
5
+ "type": "module",
6
+ "license": "MIT",
7
+ "homepage": "https://www.better-auth.com/docs/plugins/i18n",
8
+ "repository": {
9
+ "type": "git",
10
+ "url": "git+https://github.com/better-auth/better-auth.git",
11
+ "directory": "packages/i18n"
12
+ },
13
+ "keywords": [
14
+ "auth",
15
+ "i18n",
16
+ "internationalization",
17
+ "typescript",
18
+ "better-auth"
19
+ ],
9
20
  "publishConfig": {
10
21
  "access": "public"
11
22
  },
23
+ "files": [
24
+ "dist"
25
+ ],
26
+ "main": "./dist/index.mjs",
27
+ "module": "./dist/index.mjs",
28
+ "types": "./dist/index.d.mts",
12
29
  "exports": {
13
30
  ".": {
14
31
  "dev-source": "./src/index.ts",
@@ -33,37 +50,20 @@
33
50
  },
34
51
  "devDependencies": {
35
52
  "tsdown": "^0.20.3",
36
- "@better-auth/core": "1.5.0-beta.18",
37
- "better-auth": "1.5.0-beta.18"
53
+ "@better-auth/core": "1.5.0-beta.19",
54
+ "better-auth": "1.5.0-beta.19"
38
55
  },
39
56
  "peerDependencies": {
40
- "@better-auth/core": "1.5.0-beta.18",
41
- "better-auth": "1.5.0-beta.18"
42
- },
43
- "files": [
44
- "dist"
45
- ],
46
- "repository": {
47
- "type": "git",
48
- "url": "git+https://github.com/better-auth/better-auth.git",
49
- "directory": "packages/i18n"
57
+ "@better-auth/core": "1.5.0-beta.19",
58
+ "better-auth": "1.5.0-beta.19"
50
59
  },
51
- "homepage": "https://www.better-auth.com/docs/plugins/i18n",
52
- "keywords": [
53
- "auth",
54
- "i18n",
55
- "internationalization",
56
- "typescript",
57
- "better-auth"
58
- ],
59
- "license": "MIT",
60
60
  "scripts": {
61
- "test": "vitest",
62
- "coverage": "vitest run --coverage --coverage.provider=istanbul",
63
- "lint:package": "publint run --strict",
64
- "lint:types": "attw --profile esm-only --pack .",
65
61
  "build": "tsdown",
66
62
  "dev": "tsdown --watch",
67
- "typecheck": "tsc --project tsconfig.json"
63
+ "lint:package": "publint run --strict",
64
+ "lint:types": "attw --profile esm-only --pack .",
65
+ "typecheck": "tsc --project tsconfig.json",
66
+ "test": "vitest",
67
+ "coverage": "vitest run --coverage --coverage.provider=istanbul"
68
68
  }
69
69
  }