@hagicode/hagi18n 0.1.0-dev.21.1.eb540d4 → 0.1.0-dev.24.1.c36852b
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
CHANGED
package/README_cn.md
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hagicode/hagi18n",
|
|
3
|
-
"version": "0.1.0-dev.
|
|
3
|
+
"version": "0.1.0-dev.24.1.c36852b",
|
|
4
4
|
"description": "Internationalization tooling CLI for HagiCode: audit, sync and manage locale resources",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"homepage": "https://github.com/HagiCode-org/hagi18n#readme",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"README_cn.md"
|
|
30
30
|
],
|
|
31
31
|
"scripts": {
|
|
32
|
-
"build": "tsc -p tsconfig.json",
|
|
32
|
+
"build": "node --max-old-space-size=4096 ./node_modules/typescript/bin/tsc -p tsconfig.json",
|
|
33
33
|
"clean": "rm -rf dist .vitest-temp .tmp coverage",
|
|
34
34
|
"dev": "tsx src/cli.ts",
|
|
35
35
|
"format": "prettier --write .",
|
|
@@ -40,7 +40,9 @@
|
|
|
40
40
|
"publish:prepare-dev-version": "node scripts/prepare-dev-version.mjs",
|
|
41
41
|
"publish:verify-release": "node scripts/verify-release-version.mjs",
|
|
42
42
|
"test": "vitest run",
|
|
43
|
-
"test:watch": "vitest"
|
|
43
|
+
"test:watch": "vitest",
|
|
44
|
+
"check:registry": "node scripts/check-registry-neutrality.mjs",
|
|
45
|
+
"test:registry": "node --test scripts/check-registry-neutrality.node-test.mjs"
|
|
44
46
|
},
|
|
45
47
|
"keywords": [
|
|
46
48
|
"hagicode",
|
|
@@ -78,6 +80,7 @@
|
|
|
78
80
|
"tsx": "^4.20.6",
|
|
79
81
|
"typescript": "^6.0.3",
|
|
80
82
|
"typescript-eslint": "^8.46.2",
|
|
81
|
-
"vitest": "^
|
|
82
|
-
}
|
|
83
|
+
"vitest": "^5.0.5"
|
|
84
|
+
},
|
|
85
|
+
"packageManager": "pnpm@12.16.1"
|
|
83
86
|
}
|
|
@@ -29,7 +29,7 @@ For development against the local source tree in `repos/hagi18n`:
|
|
|
29
29
|
|
|
30
30
|
```bash
|
|
31
31
|
cd repos/hagi18n
|
|
32
|
-
|
|
32
|
+
pnpm run dev audit --locales-root ../some-app/src/locales --base-locale en-US
|
|
33
33
|
```
|
|
34
34
|
|
|
35
35
|
## Command intent
|
|
@@ -5,18 +5,18 @@
|
|
|
5
5
|
Run these from `repos/hagi18n`:
|
|
6
6
|
|
|
7
7
|
```bash
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
8
|
+
pnpm test
|
|
9
|
+
pnpm run build
|
|
10
|
+
pnpm run lint
|
|
11
|
+
pnpm run pack:check
|
|
12
12
|
```
|
|
13
13
|
|
|
14
14
|
Useful package maintenance helpers:
|
|
15
15
|
|
|
16
16
|
```bash
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
17
|
+
pnpm run publish:check-prereqs
|
|
18
|
+
pnpm run publish:prepare-dev-version
|
|
19
|
+
pnpm run publish:verify-release
|
|
20
20
|
```
|
|
21
21
|
|
|
22
22
|
## Source map
|
|
@@ -36,9 +36,9 @@ npm run publish:verify-release
|
|
|
36
36
|
## Validation expectations after edits
|
|
37
37
|
|
|
38
38
|
- Run the narrowest relevant tests first if the change is isolated.
|
|
39
|
-
- Run `
|
|
40
|
-
- Run `
|
|
41
|
-
- Run `
|
|
39
|
+
- Run `pnpm test` after source or skill-related packaging changes.
|
|
40
|
+
- Run `pnpm run build` after TypeScript or export changes.
|
|
41
|
+
- Run `pnpm run pack:check` when package contents or publish-facing files change.
|
|
42
42
|
|
|
43
43
|
## Behavior references
|
|
44
44
|
|