vbss-translator 1.1.1 → 2.0.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/package.json CHANGED
@@ -1,111 +1,121 @@
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
- }
1
+ {
2
+ "name": "vbss-translator",
3
+ "version": "2.0.0",
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
+ "funding": [
21
+ {
22
+ "type": "github",
23
+ "url": "https://github.com/sponsors/vbss-io"
24
+ },
25
+ {
26
+ "type": "individual",
27
+ "url": "https://buymeacoffee.com/vbss.io"
28
+ }
29
+ ],
30
+ "files": [
31
+ "dist"
32
+ ],
33
+ "main": "dist/vbss-translator.umd.cjs",
34
+ "module": "dist/vbss-translator.js",
35
+ "exports": {
36
+ ".": {
37
+ "types": "./dist/vbss-translator.d.ts",
38
+ "import": "./dist/vbss-translator.js",
39
+ "require": "./dist/vbss-translator.umd.cjs"
40
+ },
41
+ "./generator": {
42
+ "types": "./dist/generator.d.ts",
43
+ "import": "./dist/generator.js",
44
+ "require": "./dist/generator.cjs"
45
+ }
46
+ },
47
+ "types": "./dist/vbss-translator.d.ts",
48
+ "sideEffects": false,
49
+ "bin": {
50
+ "vbss-translator": "dist/cli/index.js"
51
+ },
52
+ "repository": {
53
+ "type": "git",
54
+ "url": "git+https://github.com/vbss-io/vbss-translator.git"
55
+ },
56
+ "author": "Vitor Bastos <vitor@vbss.io> (https://vbss.io/)",
57
+ "homepage": "https://ui.vbss.io/tools/vbss-translator",
58
+ "scripts": {
59
+ "dev": "vite",
60
+ "build": "tsc && vite build && vite build --mode generator && vite build --mode cli",
61
+ "lint": "eslint . --report-unused-disable-directives --max-warnings 0",
62
+ "test": "jest",
63
+ "test:watch": "jest --watch",
64
+ "coverage": "jest --coverage",
65
+ "test:coverage": "jest --coverage --maxWorkers=2 && node scripts/coverage-per-file.mjs",
66
+ "generate-translations": "node dist/cli/index.js",
67
+ "typecheck": "tsc --noEmit",
68
+ "release": "node scripts/release.mjs",
69
+ "release:dry": "node scripts/release.mjs --dry-run",
70
+ "patch-deploy": "node scripts/release.mjs patch",
71
+ "minor-deploy": "node scripts/release.mjs minor",
72
+ "major-deploy": "node scripts/release.mjs major",
73
+ "lock-guard": "node scripts/lock-guard-since-published.mjs",
74
+ "audit-gate": "node scripts/audit-gate.mjs",
75
+ "verify": "npm run lint && npm run typecheck && npm run test:coverage && npm run lock-guard && npm run audit-gate && npm run build",
76
+ "prepublishOnly": "node scripts/release-gate.mjs"
77
+ },
78
+ "dependencies": {
79
+ "axios": "^1.20.0"
80
+ },
81
+ "peerDependencies": {
82
+ "react": "^18.3.1 || ^19.0.0",
83
+ "react-dom": "^18.3.1 || ^19.0.0"
84
+ },
85
+ "overrides": {
86
+ "@eslint/plugin-kit": "0.3.5",
87
+ "@isaacs/nonrecursive-glob-match": "1.0.1",
88
+ "ajv@^8": "8.20.0",
89
+ "glob@^10.3.10": "14.0.2",
90
+ "js-yaml": "4.3.2",
91
+ "lodash": "4.18.1",
92
+ "minimatch@^3": "3.1.5",
93
+ "minimatch@^9": "11.0.1",
94
+ "minimatch@^11.0.0": "11.0.1"
95
+ },
96
+ "devDependencies": {
97
+ "@eslint/js": "^9.15.0",
98
+ "@testing-library/jest-dom": "^6.9.1",
99
+ "@testing-library/react": "^16.3.0",
100
+ "@types/jest": "^30.0.0",
101
+ "@types/node": "^22.10.2",
102
+ "@types/react": "^18.3.12",
103
+ "@types/react-dom": "^18.3.1",
104
+ "@vitejs/plugin-react": "^4.3.4",
105
+ "eslint": "^9.15.0",
106
+ "eslint-plugin-react-hooks": "^5.0.0",
107
+ "eslint-plugin-react-refresh": "^0.4.14",
108
+ "globals": "^15.12.0",
109
+ "jest": "^30.2.0",
110
+ "jest-environment-jsdom": "^30.2.0",
111
+ "react": "^18.3.1",
112
+ "react-dom": "^18.3.1",
113
+ "ts-jest": "^29.4.5",
114
+ "ts-node": "^10.9.2",
115
+ "typescript": "~5.6.2",
116
+ "typescript-eslint": "^8.15.0",
117
+ "vite": "^6.4.5",
118
+ "vite-plugin-dts": "^4.3.0",
119
+ "vite-tsconfig-paths": "^5.1.4"
120
+ }
121
+ }