mirror of
https://github.com/tailscale/tailscale.git
synced 2026-11-20 00:31:17 -08:00
Import yarn.lock into pnpm with the same supply-chain settings as cmd/tsconnect, plus overrides replacing yarn resolutions, two narrow trustPolicyExclude entries for packages published without provenance, and denied esbuild/@swc/core install scripts. Switch assets.go, cmd/build-webclient, release/dist and CI to tool/pnpm. release/dist now looks up pnpm only when building web client assets; Build.Yarn is deprecated. Updates tailscale/corp#51439 Change-Id: Ib472fc8439e916bfe41158e3952f9fa8c02f522d Signed-off-by: Jim Wright <[email protected]>
77 lines
1.8 KiB
JSON
77 lines
1.8 KiB
JSON
{
|
|
"name": "webclient",
|
|
"version": "0.0.1",
|
|
"license": "BSD-3-Clause",
|
|
"engines": {
|
|
"node": "22.23.4"
|
|
},
|
|
"type": "module",
|
|
"private": true,
|
|
"dependencies": {
|
|
"@radix-ui/react-collapsible": "^1.0.3",
|
|
"@radix-ui/react-dialog": "^1.0.5",
|
|
"@radix-ui/react-popover": "^1.0.6",
|
|
"classnames": "^2.3.1",
|
|
"react": "^18.2.0",
|
|
"react-dom": "^18.2.0",
|
|
"swr": "^2.2.4",
|
|
"wouter": "^2.11.0",
|
|
"zustand": "^4.4.7"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^22.14.0",
|
|
"@types/react": "^18.0.20",
|
|
"@types/react-dom": "^18.0.6",
|
|
"@vitejs/plugin-react-swc": "^3.6.0",
|
|
"autoprefixer": "^10.4.15",
|
|
"eslint": "^8.23.1",
|
|
"eslint-config-react-app": "^7.0.1",
|
|
"eslint-plugin-curly-quotes": "^1.0.4",
|
|
"jsdom": "^23.0.1",
|
|
"postcss": "^8.4.31",
|
|
"prettier": "^2.5.1",
|
|
"prettier-plugin-organize-imports": "^3.2.2",
|
|
"tailwindcss": "^3.3.3",
|
|
"typescript": "^5.3.3",
|
|
"vite": "^6.4.6",
|
|
"vite-plugin-svgr": "^4.2.0",
|
|
"vite-tsconfig-paths": "^3.5.0",
|
|
"vitest": "^1.6.1"
|
|
},
|
|
"scripts": {
|
|
"build": "vite build",
|
|
"start": "vite",
|
|
"lint": "tsc --noEmit && eslint 'src/**/*.{ts,tsx,js,jsx}'",
|
|
"test": "vitest",
|
|
"format": "prettier --write 'src/**/*.{ts,tsx}'",
|
|
"format-check": "prettier --check 'src/**/*.{ts,tsx}'"
|
|
},
|
|
"eslintConfig": {
|
|
"extends": [
|
|
"react-app"
|
|
],
|
|
"plugins": [
|
|
"curly-quotes",
|
|
"react-hooks"
|
|
],
|
|
"rules": {
|
|
"curly-quotes/no-straight-quotes": "warn",
|
|
"react-hooks/rules-of-hooks": "error",
|
|
"react-hooks/exhaustive-deps": "error"
|
|
},
|
|
"settings": {
|
|
"projectRoot": "client/web/package.json"
|
|
}
|
|
},
|
|
"prettier": {
|
|
"semi": false,
|
|
"printWidth": 80
|
|
},
|
|
"postcss": {
|
|
"plugins": {
|
|
"tailwindcss": {},
|
|
"autoprefixer": {}
|
|
}
|
|
}
|
|
}
|