{ "name": "@talex-touch/tuff", "type": "module", "version": "2.4.13", "packageManager": "pnpm@10.34.4", "description": "A strong adaptation more platform all-tool program.", "author": "TalexDreamSoul ", "license": "MPL-2.0 license", "engines": { "node": ">=24.15.0" }, "scripts": { "prepare": "husky install", "preinstall": "npx only-allow pnpm", "postinstall": "node scripts/sync-core-package.mjs && node scripts/patch-nuxt-content-serialize.mjs", "typecheck": "pnpm -F @talex-touch/core-app run typecheck", "typecheck:all": "pnpm -F @talex-touch/unplugin-export-plugin run build && pnpm -F @talex-touch/tuffex run build && pnpm -r --if-present --filter '!@talex-touch/tuffex' run typecheck", "sync:core-pkg": "node scripts/sync-core-package.mjs", "core:dev": "pnpm -F @talex-touch/core-app run dev", "nexus:dev": "pnpm -F @talex-touch/tuff-nexus run dev", "nexus:build": "pnpm -F @talex-touch/tuff-nexus run build", "nexus:content:reset": "pnpm -F @talex-touch/tuff-nexus run content:reset", "build": "pnpm -F @talex-touch/core-app run build", "build:beta": "pnpm -F @talex-touch/core-app run build:beta", "build:beta:win": "pnpm -F @talex-touch/core-app run build:beta:win", "build:beta:mac": "pnpm -F @talex-touch/core-app run build:beta:mac", "build:beta:linux": "pnpm -F @talex-touch/core-app run build:beta:linux", "build:snapshot": "pnpm -F @talex-touch/core-app run build:snapshot", "build:release": "pnpm -F @talex-touch/core-app run build:release", "build:snapshot:win": "pnpm -F @talex-touch/core-app run build:snapshot:win", "build:snapshot:mac": "pnpm -F @talex-touch/core-app run build:snapshot:mac", "build:snapshot:linux": "pnpm -F @talex-touch/core-app run build:snapshot:linux", "build:release:win": "pnpm -F @talex-touch/core-app run build:release:win", "build:release:mac": "pnpm -F @talex-touch/core-app run build:release:mac", "build:release:linux": "pnpm -F @talex-touch/core-app run build:release:linux", "utils:test": "pnpm -F test run test", "utils:publish": "pnpm -F @talex-touch/utils run publish", "tuffex:build": "pnpm -F @talex-touch/tuffex run build", "unplugin:build": "pnpm -F @talex-touch/unplugin-export-plugin run build", "unplugin:publish": "pnpm -F @talex-touch/unplugin-export-plugin run release", "version": "node scripts/version-sync.mjs", "version:patch": "node scripts/version-sync.mjs --patch", "version:minor": "node scripts/version-sync.mjs --minor", "version:major": "node scripts/version-sync.mjs --major", "release:notes:prepare": "node scripts/release-notes-gateway.mjs prepare", "release:notes:verify": "node scripts/release-notes-gateway.mjs verify", "plugins:validate": "tsx scripts/validate-plugin-package-policy.ts && node scripts/validate-plugins.mjs", "plugins:release:audit": "tsx scripts/plugin-source-package-audit.ts", "publish:check": "node scripts/validate-publish-manifests.mjs", "publish:check:pack": "node scripts/validate-publish-manifests.mjs --pack", "publish:package": "node scripts/publish-package.mjs", "evidence:transport-legacy-alias": "tsx scripts/transport-legacy-alias-evidence.ts", "privacy:inventory:verify": "node scripts/verify-sensitive-data-inventory.mjs", "test:targeted": "corepack pnpm -C \"packages/utils\" exec vitest run \"__tests__/plugin-sdk-lifecycle.test.ts\" \"__tests__/transport-domain-sdks.test.ts\" \"__tests__/transport/port-policy.test.ts\" && corepack pnpm -C \"apps/core-app\" exec vitest run \"src/renderer/src/modules/auth/sync-preferences.test.ts\" \"src/main/modules/plugin/plugin-loaders.test.ts\" \"src/main/channel/common.test.ts\" && corepack pnpm -C \"apps/nexus\" exec vitest run \"test/api/sync/sync-routes-410.test.ts\"", "quality:pr": "corepack pnpm release:notes:verify && corepack pnpm lint:changed && corepack pnpm test:targeted && corepack pnpm -C \"apps/core-app\" run typecheck", "quality:release": "pnpm lint && pnpm typecheck:all && pnpm test:targeted && pnpm -C apps/core-app exec electron-builder --version && pnpm -F @talex-touch/core-app run build", "lint": "pnpm -r --no-bail --filter \"./apps/core-app\" --filter \"./apps/nexus\" --filter \"./apps/tuff-analyse\" --filter \"./packages/*\" --filter \"./plugins/*\" exec eslint --cache --max-warnings=0 --no-warn-ignored --no-error-on-unmatched-pattern \"**/*.{js,jsx,ts,tsx,vue,mjs,cjs,cts,mts}\" && eslint --cache --max-warnings=0 --no-warn-ignored --no-error-on-unmatched-pattern \"scripts/**/*.{js,jsx,ts,tsx,mjs,cjs,cts,mts}\" \"workers/**/*.{js,jsx,ts,tsx,mjs,cjs,cts,mts}\" \"plugins/{touch-window-manager,touch-window-presets,touch-dev-toolbox,touch-batch-rename,touch-browser-bookmarks,touch-browser-open,touch-system-actions,touch-text-snippets,touch-snipaste,touch-quick-actions,touch-code-snippets}/**/*.{js,jsx,ts,tsx,vue,mjs,cjs,cts,mts}\"", "lint:fix": "pnpm -r --no-bail --filter \"./apps/core-app\" --filter \"./apps/nexus\" --filter \"./apps/tuff-analyse\" --filter \"./packages/*\" --filter \"./plugins/*\" exec eslint --cache --fix --max-warnings=0 --no-warn-ignored --no-error-on-unmatched-pattern \"**/*.{js,jsx,ts,tsx,vue,mjs,cjs,cts,mts}\" && eslint --cache --fix --max-warnings=0 --no-warn-ignored --no-error-on-unmatched-pattern \"scripts/**/*.{js,jsx,ts,tsx,mjs,cjs,cts,mts}\" \"workers/**/*.{js,jsx,ts,tsx,mjs,cjs,cts,mts}\" \"plugins/{touch-window-manager,touch-window-presets,touch-dev-toolbox,touch-batch-rename,touch-browser-bookmarks,touch-browser-open,touch-system-actions,touch-text-snippets,touch-snipaste,touch-quick-actions,touch-code-snippets}/**/*.{js,jsx,ts,tsx,vue,mjs,cjs,cts,mts}\"", "lint:changed": "node scripts/run-eslint-changed.mjs", "lint:staged": "lint-staged" }, "dependencies": { "@sentry/vite-plugin": "^4.9.1", "electron": "^41.10.1", "vite-plugin-electron": "^0.29.1" }, "devDependencies": { "@antfu/eslint-config": "^5.4.1", "@commitlint/cli": "^19.8.1", "@commitlint/config-conventional": "^19.8.1", "@typescript-eslint/parser": "^8.64.0", "@typescript-eslint/types": "^8.64.0", "bumpp": "^11.1.0", "chalk": "^5.6.2", "eslint": "^9.39.4", "husky": "^9.1.7", "lint-staged": "^16.4.0", "markdown-it": "14.1.0", "markdownlint": "0.39.0", "marked": "17.0.6", "remark-mdc": "3.11.1", "remark-parse": "11.0.0", "typescript": "^5.9.3", "unified": "11.0.5", "vite": "^7.3.6", "vitest": "^3.2.7" }, "volta": { "node": "24.18.0" }, "pnpm": { "onlyBuiltDependencies": [ "@compodoc/compodoc", "@google/genai", "@nestjs/core", "@parcel/watcher", "@sentry/cli", "@swc/core", "@talex-touch/tuff-native", "better-sqlite3", "browser-tabs-lock", "bufferutil", "core-js", "electron", "electron-winstaller", "esbuild", "extract-file-icon", "ffmpeg-static", "get-windows", "msgpackr-extract", "protobufjs", "puppeteer", "sharp", "simple-git-hooks", "tesseract.js", "typeit", "uiohook-napi", "unrs-resolver", "utf-8-validate", "vue-demi", "workerd" ], "overrides": { "@babel/core": "7.29.6", "@babel/plugin-transform-modules-systemjs": "7.29.4", "@isaacs/brace-expansion": "5.0.1", "@lezer/common": "1.5.2", "@nuxt/devtools": "catalog:build", "@nuxt/kit": "catalog:build", "@panva/hkdf": "1.2.1", "@sentry/electron>@sentry/browser": "10.65.0", "@sentry/electron>@sentry/core": "10.65.0", "@sentry/electron>@sentry/node": "10.65.0", "@types/node": "24.13.2", "@xmldom/xmldom": "0.8.13", "ajv@^6.0.0": "6.15.0", "ajv@^8.0.0": "8.20.0", "brace-expansion@^1.0.0": "1.1.15", "brace-expansion@^2.0.0": "2.1.1", "brace-expansion@^5.0.0": "5.0.7", "cookie": "0.7.2", "defu": "6.1.7", "devalue": "5.8.1", "diff@^4.0.0": "4.0.4", "diff@^8.0.0": "8.0.4", "esbuild": "0.28.1", "fast-uri": "3.1.2", "fast-xml-parser": "5.9.3", "flatted": "3.4.2", "follow-redirects": "1.16.0", "form-data": "4.0.6", "h3": "1.15.11", "hono": "4.12.25", "immutable": "5.1.9", "ip-address": "10.1.1", "js-cookie": "3.0.7", "js-yaml": "4.2.0", "langsmith": "0.6.0", "launch-editor": "2.14.1", "lodash": "4.18.1", "lodash-es": "4.18.1", "mdast-util-to-hast": "13.2.1", "minimatch@^10.0.0": "10.2.5", "minimatch@^3.0.0": "3.1.5", "minimatch@^5.0.0": "5.1.9", "minimatch@^9.0.0": "9.0.9", "node-forge": "1.4.0", "nitropack": "2.13.4", "nuxt": "catalog:build", "picomatch@^2.0.0": "2.3.2", "picomatch@^4.0.0": "4.0.5", "postcss": "8.5.16", "preact": "10.29.6", "qs": "6.15.2", "rollup@^2.0.0": "2.80.0", "rollup@^3.0.0": "3.30.0", "rollup@^4.0.0": "4.62.2", "semver@^7.0.0": "7.8.5", "serialize-javascript": "7.0.7", "shell-quote": "1.8.4", "simple-git": "3.36.0", "srvx": "0.11.21", "svgo": "4.0.1", "tar": "7.5.19", "undici@^6.0.0": "6.27.0", "undici@^7.0.0": "7.28.0", "unhead": "2.1.15", "unplugin": "catalog:build", "uuid": "14.0.1", "vite": "7.3.6", "ws": "8.21.0", "yaml@^1.0.0": "1.10.3", "yaml@^2.0.0": "2.9.0", "yauzl": "3.4.0" }, "peerDependencyRules": { "ignoreMissing": [ "@emnapi/core", "@emnapi/runtime", "next", "react", "react-dom" ], "allowedVersions": { "citty": "^0.1.6 || ^0.2.0", "commander": "^13.1.0 || ^14.0.0", "nodemailer": "^6.6.5 || ^7.0.0", "next-auth": "~4.21.1 || ~4.24.14", "vue-tsc": "^2.1.10 || ^3.2.5" } } }, "lint-staged": { "apps/core-app/**/*.{js,jsx,ts,tsx,vue,mjs,cjs,cts,mts}": [ "pnpm -C \"apps/core-app\" exec eslint --cache --fix --no-warn-ignored" ], "apps/nexus/**/*.{js,jsx,ts,tsx,vue,mjs,cjs,cts,mts}": [ "pnpm -C \"apps/nexus\" exec eslint --cache --fix --max-warnings=0 --no-warn-ignored" ], "apps/tuff-analyse/**/*.{js,jsx,ts,tsx,vue,mjs,cjs,cts,mts}": [ "pnpm -C \"apps/tuff-analyse\" exec eslint --cache --fix --max-warnings=0 --no-warn-ignored" ], "packages/test/**/*.{js,jsx,ts,tsx,vue,mjs,cjs,cts,mts}": [ "pnpm -C \"packages/test\" exec eslint --cache --fix --max-warnings=0 --no-warn-ignored" ], "packages/tuff-intelligence/**/*.{js,jsx,ts,tsx,vue,mjs,cjs,cts,mts}": [ "pnpm -C \"packages/tuff-intelligence\" exec eslint --cache --fix --max-warnings=0 --no-warn-ignored" ], "packages/tuffex/**/*.{js,jsx,ts,tsx,vue,mjs,cjs,cts,mts}": [ "pnpm -C \"packages/tuffex\" exec eslint --cache --fix --max-warnings=0 --no-warn-ignored" ], "packages/unplugin-export-plugin/**/*.{js,jsx,ts,tsx,vue,mjs,cjs,cts,mts}": [ "pnpm -w exec eslint --cache --fix --max-warnings=0 --no-warn-ignored --config \"packages/unplugin-export-plugin/eslint.config.js\"" ], "packages/utils/**/*.{js,jsx,ts,tsx,vue,mjs,cjs,cts,mts}": [ "pnpm -C \"packages/utils\" exec eslint --cache --fix --max-warnings=0 --no-warn-ignored" ], "plugins/touch-image/**/*.{js,jsx,ts,tsx,vue,mjs,cjs,cts,mts}": [ "pnpm -C \"plugins/touch-image\" exec eslint --cache --fix --max-warnings=0 --no-warn-ignored" ], "plugins/touch-music/**/*.{js,jsx,ts,tsx,vue,mjs,cjs,cts,mts}": [ "pnpm -C \"plugins/touch-music\" exec eslint --cache --fix --max-warnings=0 --no-warn-ignored" ], "plugins/touch-translation/**/*.{js,jsx,ts,tsx,vue,mjs,cjs,cts,mts}": [ "pnpm -C \"plugins/touch-translation\" exec eslint --cache --fix --max-warnings=0 --no-warn-ignored" ], "scripts/**/*.{js,jsx,ts,tsx,mjs,cjs,cts,mts}": [ "eslint --cache --fix --max-warnings=0 --no-warn-ignored" ], "workers/**/*.{js,jsx,ts,tsx,mjs,cjs,cts,mts}": [ "eslint --cache --fix --max-warnings=0 --no-warn-ignored" ] } }