-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathpackage.json
More file actions
77 lines (77 loc) · 4.96 KB
/
Copy pathpackage.json
File metadata and controls
77 lines (77 loc) · 4.96 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
{
"name": "anonymize",
"version": "0.0.0",
"private": true,
"license": "Apache-2.0",
"packageManager": "bun@1.4.1",
"workspaces": [
"packages/*",
"packages/anonymize/wasm"
],
"scripts": {
"build": "turbo run build",
"check:fast": "bun run sync-ai:check:optional && bun run --filter @stll/anonymize typecheck && bun run --filter @stll/anonymize-data typecheck && bun run --filter @stll/anonymize test:fast",
"typecheck": "turbo run typecheck",
"typecheck:built": "turbo run typecheck --only",
"lint": "turbo run lint && bun run lint:oxlint && bun run check:brand-case && bun run check:vocab && bun run test:vocab",
"lint:oxlint": "bun test oxlint.plugin.test.ts && bun run lint:prepare && bun --bun oxlint -c oxlint.config.ts --deny-warnings --type-aware .",
"lint:prepare": "bun x tsdown --config packages/anonymize/tsdown.config.ts --no-clean && bun x tsdown --config packages/document-docx/tsdown.config.ts --no-clean",
"lint:fix": "bun run lint:prepare && bun --bun oxlint -c oxlint.config.ts --type-aware --fix .",
"format": "turbo run format && oxfmt . \"!packages/**\" \"!.ai/**\" \"!.agents/**\" \"!.claude/**\" \"!AGENTS.md\" \"!CLAUDE.md\" \"!GEMINI.md\"",
"format:check": "turbo run format -- --check && oxfmt --check . \"!packages/**\" \"!.ai/**\" \"!.agents/**\" \"!.claude/**\" \"!AGENTS.md\" \"!CLAUDE.md\" \"!GEMINI.md\"",
"test": "turbo run test",
"test:built": "turbo run test --only",
"rust:fmt": "cargo ci-fmt",
"rust:lint": "cargo ci-clippy",
"rust:hawk": "cargo +1.97.1 hawk check --target-dir target/hawk -D warnings -A hawk::dead_public -A hawk::unnecessary_public",
"rust:dylint": "cargo ci-dylint",
"rust:test": "cargo ci-test && cargo ci-test-doc",
"rust:deny": "cargo ci-deny",
"rust:snapshot-check": "cargo ci-snapshot",
"rust:check": "bun run rust:fmt && bun run rust:lint && bun run rust:dylint && bun run rust:test",
"python:typecheck": "uvx --from ty==0.0.29 ty check --extra-search-path crates/anonymize-py/python crates/anonymize-py/typecheck",
"python:wheel": "node .github/tools/check-python-wheel.mjs",
"check:v1-native": "cd packages/anonymize && bun run check:v1-native",
"check:v1-native:full": "cd packages/anonymize && bun run check:v1-native:full",
"sync:version": "node .github/tools/sync-runtime-version.mjs",
"check:version": "node .github/tools/sync-runtime-version.mjs --check && node .github/tools/test-sync-runtime-version.mjs && node .github/tools/check-native-sidecars.mjs && node --test .github/tools/check-release-privilege-boundaries.test.mjs .github/tools/check-python-release-wheels.test.mjs && bun run check:licenses && node .github/tools/check-turbo-build-environment.mjs && bun test scripts/bun-lock-workspace-versions.test.ts",
"check:licenses": "node .github/tools/check-license-files.mjs",
"changeset": "changeset",
"changeset:version": "changeset version && node scripts/sync-changeset-version.mjs && bun scripts/check-lockfile-workspace-versions.ts --write && bun install --frozen-lockfile",
"check:exports": "bunx publint@0.3.21 packages/anonymize && bunx @arethetypeswrong/cli@0.18.5 --pack packages/anonymize --ignore-rules no-resolution cjs-resolves-to-esm && bunx publint@0.3.21 packages/document-docx && bunx @arethetypeswrong/cli@0.18.5 --pack packages/document-docx --ignore-rules no-resolution cjs-resolves-to-esm && bunx publint@0.3.21 packages/document-pdf && bunx @arethetypeswrong/cli@0.18.5 --pack packages/document-pdf --ignore-rules no-resolution cjs-resolves-to-esm && bunx publint@0.3.21 packages/mcp && bunx @arethetypeswrong/cli@0.18.5 --pack packages/mcp --ignore-rules no-resolution cjs-resolves-to-esm",
"check:knip": "bunx knip@6.26.0 --no-progress",
"check:bun": "node .github/tools/check-bun-workflows.mjs",
"check:brand-case": "node .github/tools/check-brand-case.mjs",
"check:vocab": "node .github/tools/check-in-code-vocabulary.mjs",
"test:vocab": "node --test .github/tools/check-in-code-vocabulary.test.mjs",
"secrets:check:staged": "bash scripts/check-staged-secrets.sh",
"hooks:install": "lefthook install",
"hooks:uninstall": "lefthook uninstall",
"sync-ai": "bash scripts/sync-ai-skills.sh",
"sync-ai:check": "bash scripts/sync-ai-skills.sh --check",
"sync-ai:check:optional": "bash scripts/sync-ai-skills.sh --check --optional"
},
"overrides": {
"@emnapi/core": "1.11.1",
"@emnapi/runtime": "1.11.1",
"@hono/node-server": "2.0.10",
"emnapi": "1.11.1",
"fast-uri": "3.1.6",
"qs": "6.16.0",
"yuku-codegen": "0.6.5",
"yuku-parser": "0.6.5"
},
"devDependencies": {
"@changesets/changelog-github": "^1.0.0",
"@changesets/cli": "^3.0.1",
"@stll/anonymize-data": "workspace:*",
"@stll/oxlint-config": "0.6.0",
"@stll/typescript-config": "0.6.0",
"@typescript/native": "npm:typescript@7.0.2",
"lefthook": "^2.1.10",
"oxfmt": "^0.64.0",
"oxlint": "1.78.0",
"oxlint-tsgolint": "7.0.2001",
"turbo": "^2.10.11"
}
}