vbss-translator 1.1.0 → 1.1.1
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 +17 -21
- package/dist/cli/index.js +1 -1
- package/dist/vbss-translator.js +1592 -1411
- package/dist/vbss-translator.umd.cjs +18 -15
- package/package.json +111 -90
package/package.json
CHANGED
|
@@ -1,90 +1,111 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "vbss-translator",
|
|
3
|
-
"version": "1.1.
|
|
4
|
-
"description": "A lightweight React translation toolkit focused on ergonomics, sensible defaults, and escape hatches when local dictionaries are not enough",
|
|
5
|
-
"keywords": [
|
|
6
|
-
"react",
|
|
7
|
-
"translation",
|
|
8
|
-
"i18n",
|
|
9
|
-
"internationalization",
|
|
10
|
-
"translator",
|
|
11
|
-
"react-hooks",
|
|
12
|
-
"context",
|
|
13
|
-
"cli",
|
|
14
|
-
"google-translate",
|
|
15
|
-
"typescript"
|
|
16
|
-
],
|
|
17
|
-
"private": false,
|
|
18
|
-
"type": "module",
|
|
19
|
-
"license": "MIT",
|
|
20
|
-
"files": [
|
|
21
|
-
"dist"
|
|
22
|
-
],
|
|
23
|
-
"main": "dist/vbss-translator-umd.cjs",
|
|
24
|
-
"module": "dist/vbss-translator.js",
|
|
25
|
-
"exports": {
|
|
26
|
-
".": {
|
|
27
|
-
"types": "./dist/vbss-translator.d.ts",
|
|
28
|
-
"import": "./dist/vbss-translator.js",
|
|
29
|
-
"require": "./dist/vbss-translator-umd.cjs"
|
|
30
|
-
},
|
|
31
|
-
"./generator": {
|
|
32
|
-
"types": "./dist/generator.d.ts",
|
|
33
|
-
"import": "./dist/generator.js",
|
|
34
|
-
"require": "./dist/generator.cjs"
|
|
35
|
-
}
|
|
36
|
-
},
|
|
37
|
-
"types": "./dist/vbss-translator.d.ts",
|
|
38
|
-
"sideEffects": false,
|
|
39
|
-
"bin": {
|
|
40
|
-
"vbss-translator": "./dist/cli/index.js"
|
|
41
|
-
},
|
|
42
|
-
"repository": {
|
|
43
|
-
"type": "git",
|
|
44
|
-
"url": "git+https://github.com/vbss-io/vbss-translator.git"
|
|
45
|
-
},
|
|
46
|
-
"author": "Vitor Bastos <vitor@vbss.io> (https://vbss.io/)",
|
|
47
|
-
"homepage": "https://ui.vbss.io/tools/vbss-translator",
|
|
48
|
-
"scripts": {
|
|
49
|
-
"dev": "vite",
|
|
50
|
-
"build": "tsc && vite build && vite build --mode generator && vite build --mode cli",
|
|
51
|
-
"lint": "eslint . --report-unused-disable-directives --max-warnings 0",
|
|
52
|
-
"test": "jest",
|
|
53
|
-
"test:watch": "jest --watch",
|
|
54
|
-
"coverage": "jest --coverage",
|
|
55
|
-
"generate-translations": "node dist/cli/index.js",
|
|
56
|
-
"typecheck": "tsc --noEmit",
|
|
57
|
-
"patch-deploy": "npm version patch && npm publish",
|
|
58
|
-
"minor-deploy": "npm version minor && npm publish",
|
|
59
|
-
"major-deploy": "npm version major && npm publish"
|
|
60
|
-
},
|
|
61
|
-
"dependencies": {
|
|
62
|
-
"axios": "^1.
|
|
63
|
-
"glob": "^10.
|
|
64
|
-
"react": "^18.3.1",
|
|
65
|
-
"react-dom": "^18.3.1"
|
|
66
|
-
},
|
|
67
|
-
"
|
|
68
|
-
"@eslint/
|
|
69
|
-
"
|
|
70
|
-
"
|
|
71
|
-
"@
|
|
72
|
-
"@
|
|
73
|
-
"
|
|
74
|
-
"
|
|
75
|
-
"
|
|
76
|
-
"
|
|
77
|
-
"
|
|
78
|
-
"
|
|
79
|
-
"
|
|
80
|
-
"
|
|
81
|
-
"
|
|
82
|
-
"
|
|
83
|
-
"
|
|
84
|
-
"
|
|
85
|
-
"
|
|
86
|
-
"
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
1
|
+
{
|
|
2
|
+
"name": "vbss-translator",
|
|
3
|
+
"version": "1.1.1",
|
|
4
|
+
"description": "A lightweight React translation toolkit focused on ergonomics, sensible defaults, and escape hatches when local dictionaries are not enough",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"react",
|
|
7
|
+
"translation",
|
|
8
|
+
"i18n",
|
|
9
|
+
"internationalization",
|
|
10
|
+
"translator",
|
|
11
|
+
"react-hooks",
|
|
12
|
+
"context",
|
|
13
|
+
"cli",
|
|
14
|
+
"google-translate",
|
|
15
|
+
"typescript"
|
|
16
|
+
],
|
|
17
|
+
"private": false,
|
|
18
|
+
"type": "module",
|
|
19
|
+
"license": "MIT",
|
|
20
|
+
"files": [
|
|
21
|
+
"dist"
|
|
22
|
+
],
|
|
23
|
+
"main": "dist/vbss-translator-umd.cjs",
|
|
24
|
+
"module": "dist/vbss-translator.js",
|
|
25
|
+
"exports": {
|
|
26
|
+
".": {
|
|
27
|
+
"types": "./dist/vbss-translator.d.ts",
|
|
28
|
+
"import": "./dist/vbss-translator.js",
|
|
29
|
+
"require": "./dist/vbss-translator-umd.cjs"
|
|
30
|
+
},
|
|
31
|
+
"./generator": {
|
|
32
|
+
"types": "./dist/generator.d.ts",
|
|
33
|
+
"import": "./dist/generator.js",
|
|
34
|
+
"require": "./dist/generator.cjs"
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
"types": "./dist/vbss-translator.d.ts",
|
|
38
|
+
"sideEffects": false,
|
|
39
|
+
"bin": {
|
|
40
|
+
"vbss-translator": "./dist/cli/index.js"
|
|
41
|
+
},
|
|
42
|
+
"repository": {
|
|
43
|
+
"type": "git",
|
|
44
|
+
"url": "git+https://github.com/vbss-io/vbss-translator.git"
|
|
45
|
+
},
|
|
46
|
+
"author": "Vitor Bastos <vitor@vbss.io> (https://vbss.io/)",
|
|
47
|
+
"homepage": "https://ui.vbss.io/tools/vbss-translator",
|
|
48
|
+
"scripts": {
|
|
49
|
+
"dev": "vite",
|
|
50
|
+
"build": "tsc && vite build && vite build --mode generator && vite build --mode cli",
|
|
51
|
+
"lint": "eslint . --report-unused-disable-directives --max-warnings 0",
|
|
52
|
+
"test": "jest",
|
|
53
|
+
"test:watch": "jest --watch",
|
|
54
|
+
"coverage": "jest --coverage",
|
|
55
|
+
"generate-translations": "node dist/cli/index.js",
|
|
56
|
+
"typecheck": "tsc --noEmit",
|
|
57
|
+
"patch-deploy": "npm version patch && npm publish",
|
|
58
|
+
"minor-deploy": "npm version minor && npm publish",
|
|
59
|
+
"major-deploy": "npm version major && npm publish"
|
|
60
|
+
},
|
|
61
|
+
"dependencies": {
|
|
62
|
+
"axios": "^1.15.0",
|
|
63
|
+
"glob": "^10.5.0",
|
|
64
|
+
"react": "^18.3.1",
|
|
65
|
+
"react-dom": "^18.3.1"
|
|
66
|
+
},
|
|
67
|
+
"overrides": {
|
|
68
|
+
"@eslint/plugin-kit": "^0.3.4",
|
|
69
|
+
"ajv@^6": "^6.14.0",
|
|
70
|
+
"ajv@^8": "^8.18.0",
|
|
71
|
+
"brace-expansion@1": "^1.1.12",
|
|
72
|
+
"brace-expansion@2": "^2.0.3",
|
|
73
|
+
"diff": "^4.0.4",
|
|
74
|
+
"esbuild": "^0.25.0",
|
|
75
|
+
"fast-uri": "^3.1.2",
|
|
76
|
+
"flatted": "^3.4.2",
|
|
77
|
+
"follow-redirects": "^1.16.0",
|
|
78
|
+
"handlebars": "^4.7.9",
|
|
79
|
+
"js-yaml": "^4.1.1",
|
|
80
|
+
"lodash": "^4.18.0",
|
|
81
|
+
"minimatch@^3": "^3.1.4",
|
|
82
|
+
"minimatch@^9": "^9.0.7",
|
|
83
|
+
"picomatch@^2": "^2.3.2",
|
|
84
|
+
"picomatch@^4": "^4.0.4",
|
|
85
|
+
"postcss": "^8.5.10",
|
|
86
|
+
"rollup": "^4.59.0"
|
|
87
|
+
},
|
|
88
|
+
"devDependencies": {
|
|
89
|
+
"@eslint/js": "^9.15.0",
|
|
90
|
+
"@testing-library/jest-dom": "^6.9.1",
|
|
91
|
+
"@testing-library/react": "^16.3.0",
|
|
92
|
+
"@types/jest": "^30.0.0",
|
|
93
|
+
"@types/node": "^22.10.2",
|
|
94
|
+
"@types/react": "^18.3.12",
|
|
95
|
+
"@types/react-dom": "^18.3.1",
|
|
96
|
+
"@vitejs/plugin-react": "^4.3.4",
|
|
97
|
+
"eslint": "^9.15.0",
|
|
98
|
+
"eslint-plugin-react-hooks": "^5.0.0",
|
|
99
|
+
"eslint-plugin-react-refresh": "^0.4.14",
|
|
100
|
+
"globals": "^15.12.0",
|
|
101
|
+
"jest": "^30.2.0",
|
|
102
|
+
"jest-environment-jsdom": "^30.2.0",
|
|
103
|
+
"ts-jest": "^29.4.5",
|
|
104
|
+
"ts-node": "^10.9.2",
|
|
105
|
+
"typescript": "~5.6.2",
|
|
106
|
+
"typescript-eslint": "^8.15.0",
|
|
107
|
+
"vite": "^6.4.2",
|
|
108
|
+
"vite-plugin-dts": "^4.3.0",
|
|
109
|
+
"vite-tsconfig-paths": "^5.1.4"
|
|
110
|
+
}
|
|
111
|
+
}
|