2022-01-03 18:54:27 -08:00
|
|
|
{
|
2026-04-28 12:12:13 -06:00
|
|
|
"name": "@coder/coder",
|
|
|
|
|
"description": "Coder",
|
2024-08-15 13:26:29 -06:00
|
|
|
"repository": "https://github.com/coder/coder",
|
|
|
|
|
"private": true,
|
|
|
|
|
"license": "AGPL-3.0",
|
2026-04-28 12:12:13 -06:00
|
|
|
"packageManager": "pnpm@10.33.2+sha512.a90faf6feeab71ad6c6e57f94e0fe1a12f5dcc22cd754db40ae9593eb6a3e0b6b12e3540218bb37ae083404b1f2ce6db2a4121e979829b4aff94b99f49da1cf8",
|
2024-08-15 13:26:29 -06:00
|
|
|
"scripts": {
|
|
|
|
|
"build": "NODE_ENV=production pnpm vite build",
|
2024-12-17 11:49:34 -08:00
|
|
|
"check": "biome check --error-on-warnings .",
|
|
|
|
|
"check:fix": "biome check --error-on-warnings --fix .",
|
2024-08-15 13:26:29 -06:00
|
|
|
"check:all": "pnpm check && pnpm test",
|
|
|
|
|
"dev": "vite",
|
2024-12-17 11:49:34 -08:00
|
|
|
"format": "biome format --write .",
|
|
|
|
|
"format:check": "biome format .",
|
2026-08-26 20:33:51 -04:00
|
|
|
"lint": "pnpm run lint:check && pnpm run lint:oxlint && pnpm run lint:types && pnpm run lint:circular-deps && pnpm run lint:compiler && knip",
|
2026-03-20 19:55:35 +00:00
|
|
|
"lint:compiler": "node scripts/check-compiler.mjs",
|
2025-08-08 14:36:27 -06:00
|
|
|
"lint:check": "biome lint --error-on-warnings .",
|
2026-08-26 20:33:51 -04:00
|
|
|
"lint:oxlint": "oxlint --deny-warnings",
|
2025-04-28 16:51:58 -04:00
|
|
|
"lint:circular-deps": "dpdm --no-tree --no-warning -T ./src/App.tsx",
|
2025-04-30 15:08:25 -04:00
|
|
|
"lint:knip": "knip",
|
2025-07-15 11:23:49 -06:00
|
|
|
"lint:fix": "biome lint --error-on-warnings --write . && knip --fix",
|
2024-08-15 13:26:29 -06:00
|
|
|
"lint:types": "tsc -p .",
|
|
|
|
|
"playwright:install": "playwright install --with-deps chromium",
|
2026-07-15 21:21:59 +03:00
|
|
|
"playwright:test": "make -C .. site/e2e/bin/coder && playwright test --config=e2e/playwright.config.ts",
|
|
|
|
|
"playwright:test-ui": "make -C .. site/e2e/bin/coder && playwright test --config=e2e/playwright.config.ts --ui $([[ \"$CODER\" == \"true\" ]] && echo --ui-port=7500 --ui-host=0.0.0.0)",
|
2025-01-03 18:12:59 +05:00
|
|
|
"gen:provisioner": "protoc --plugin=./node_modules/.bin/protoc-gen-ts_proto --ts_proto_out=./e2e/ --ts_proto_opt=outputJsonMethods=false,outputEncodeMethods=encode-no-creation,outputClientImpl=false,nestJs=false,outputPartialMethods=false,fileSuffix=Generated,suffix=hey -I ../provisionersdk/proto ../provisionersdk/proto/provisioner.proto",
|
2024-08-15 13:26:29 -06:00
|
|
|
"storybook": "STORYBOOK=true storybook dev -p 6006",
|
|
|
|
|
"storybook:build": "storybook build",
|
2026-09-02 14:41:21 +02:00
|
|
|
"pixel-storybook:ci": "node scripts/pixelStorybookCi.mjs",
|
2026-04-10 16:04:24 -04:00
|
|
|
"test": "vitest run --project=unit",
|
2026-03-19 20:27:40 +02:00
|
|
|
"test:storybook": "vitest --project=storybook",
|
2026-04-10 16:04:24 -04:00
|
|
|
"test:ci": "vitest run --project=unit",
|
2026-03-19 20:27:40 +02:00
|
|
|
"test:watch": "vitest --project=unit",
|
2024-08-15 13:26:29 -06:00
|
|
|
"stats": "STATS=true pnpm build && npx http-server ./stats -p 8081 -c-1",
|
2026-02-11 03:43:23 +11:00
|
|
|
"update-emojis": "cp -rf ./node_modules/emoji-datasource-apple/img/apple/64/* ./static/emojis && cp -f ./node_modules/emoji-datasource-apple/img/apple/sheets-256/64.png ./static/emojis/spritesheet.png"
|
2024-08-15 13:26:29 -06:00
|
|
|
},
|
2026-03-24 11:14:44 -06:00
|
|
|
"imports": {
|
|
|
|
|
"#/*": "./src/*"
|
|
|
|
|
},
|
2024-08-15 13:26:29 -06:00
|
|
|
"dependencies": {
|
2026-03-26 16:52:02 -04:00
|
|
|
"@dnd-kit/core": "6.3.1",
|
|
|
|
|
"@dnd-kit/sortable": "10.0.0",
|
|
|
|
|
"@dnd-kit/utilities": "3.2.2",
|
2024-08-15 13:26:29 -06:00
|
|
|
"@emoji-mart/data": "1.2.1",
|
|
|
|
|
"@emoji-mart/react": "1.1.1",
|
2026-08-01 11:19:32 +00:00
|
|
|
"@fontsource-variable/geist": "5.3.0",
|
2026-08-17 07:22:21 +00:00
|
|
|
"@fontsource-variable/geist-mono": "5.3.0",
|
2026-09-01 11:19:03 +00:00
|
|
|
"@fontsource/fira-code": "5.3.0",
|
2026-09-01 11:29:44 +00:00
|
|
|
"@fontsource/ibm-plex-mono": "5.3.0",
|
2025-11-01 11:22:26 +00:00
|
|
|
"@fontsource/jetbrains-mono": "5.2.8",
|
2026-08-01 11:18:15 +00:00
|
|
|
"@fontsource/source-code-pro": "5.3.0",
|
2026-05-20 11:52:43 +01:00
|
|
|
"@lexical/react": "0.44.0",
|
2026-09-01 11:19:58 +00:00
|
|
|
"@lexical/utils": "0.49.0",
|
2025-08-20 16:00:10 +02:00
|
|
|
"@monaco-editor/react": "4.7.0",
|
2026-03-13 20:01:50 +01:00
|
|
|
"@novnc/novnc": "^1.5.0",
|
2026-09-04 11:09:54 +01:00
|
|
|
"@pierre/diffs": "1.4.0",
|
2026-09-01 11:20:27 +00:00
|
|
|
"@pierre/trees": "1.0.0-beta.6",
|
2026-08-14 12:59:19 +01:00
|
|
|
"@shadcn/react": "0.3.0",
|
2026-08-06 14:23:36 +10:00
|
|
|
"@tanstack/react-query-devtools": "5.82.0",
|
2024-08-15 13:26:29 -06:00
|
|
|
"@xterm/addon-canvas": "0.7.0",
|
2026-05-01 12:54:13 +00:00
|
|
|
"@xterm/addon-fit": "0.11.0",
|
|
|
|
|
"@xterm/addon-unicode11": "0.9.0",
|
|
|
|
|
"@xterm/addon-web-links": "0.12.0",
|
|
|
|
|
"@xterm/addon-webgl": "0.19.0",
|
2024-08-15 13:26:29 -06:00
|
|
|
"@xterm/xterm": "5.5.0",
|
2026-08-17 07:16:03 +00:00
|
|
|
"axios": "1.19.0",
|
2025-01-27 12:49:14 +00:00
|
|
|
"class-variance-authority": "0.7.1",
|
2025-11-01 11:36:37 +00:00
|
|
|
"cmdk": "1.1.1",
|
2026-09-03 20:14:41 +07:00
|
|
|
"cn": "0.2.4",
|
2024-08-15 13:26:29 -06:00
|
|
|
"color-convert": "2.0.1",
|
|
|
|
|
"cron-parser": "4.9.0",
|
2025-11-01 11:25:44 +00:00
|
|
|
"cronstrue": "2.59.0",
|
2026-09-01 11:25:06 +00:00
|
|
|
"dayjs": "1.11.23",
|
2026-05-01 13:21:25 +00:00
|
|
|
"diff": "8.0.4",
|
2024-08-15 13:26:29 -06:00
|
|
|
"emoji-mart": "5.6.0",
|
2026-07-14 12:54:16 -06:00
|
|
|
"fancy-ansi": "0.1.3",
|
2024-08-15 13:26:29 -06:00
|
|
|
"file-saver": "2.0.5",
|
2025-12-01 15:16:02 +00:00
|
|
|
"formik": "2.4.9",
|
2024-08-15 13:26:29 -06:00
|
|
|
"front-matter": "4.0.2",
|
2026-08-01 11:16:43 +00:00
|
|
|
"humanize-duration": "3.34.0",
|
2024-08-15 13:26:29 -06:00
|
|
|
"jszip": "3.10.1",
|
2026-05-20 11:52:43 +01:00
|
|
|
"lexical": "0.44.0",
|
2026-05-04 18:45:57 +00:00
|
|
|
"lodash": "4.18.1",
|
2026-09-01 11:20:23 +00:00
|
|
|
"lucide-react": "0.577.0",
|
2025-11-24 13:14:11 +01:00
|
|
|
"monaco-editor": "0.55.1",
|
2026-08-13 11:05:57 +00:00
|
|
|
"motion": "12.43.0",
|
2024-08-22 14:17:13 +03:00
|
|
|
"pretty-bytes": "6.1.1",
|
2026-09-01 11:26:57 +00:00
|
|
|
"radix-ui": "1.6.7",
|
2026-08-01 11:13:11 +00:00
|
|
|
"react": "19.2.8",
|
2024-08-15 13:26:29 -06:00
|
|
|
"react-color": "2.19.3",
|
2025-10-01 22:11:37 +00:00
|
|
|
"react-confetti": "6.4.0",
|
2026-03-24 17:01:35 +00:00
|
|
|
"react-day-picker": "9.14.0",
|
2026-08-01 11:13:11 +00:00
|
|
|
"react-dom": "19.2.8",
|
2025-10-01 11:38:56 +00:00
|
|
|
"react-markdown": "9.1.0",
|
2026-08-06 14:23:36 +10:00
|
|
|
"react-query": "npm:@tanstack/react-query@5.82.0",
|
2026-08-13 11:04:31 +00:00
|
|
|
"react-router": "7.18.2",
|
2025-12-01 15:15:38 +00:00
|
|
|
"react-syntax-highlighter": "15.6.6",
|
2025-05-30 11:00:53 -03:00
|
|
|
"react-textarea-autosize": "8.5.9",
|
2025-10-01 22:46:31 +00:00
|
|
|
"react-virtualized-auto-sizer": "1.0.26",
|
2025-02-01 13:00:11 +00:00
|
|
|
"react-window": "1.8.11",
|
2025-11-01 11:26:26 +00:00
|
|
|
"recharts": "2.15.4",
|
2025-10-01 17:08:26 -06:00
|
|
|
"remark-gfm": "4.0.1",
|
2026-09-01 11:26:38 +00:00
|
|
|
"semver": "7.8.5",
|
2026-02-26 02:42:34 +11:00
|
|
|
"sonner": "2.0.7",
|
2026-09-02 10:18:31 +02:00
|
|
|
"streamdown": "2.6.0",
|
2026-08-17 07:20:02 +00:00
|
|
|
"tzdata": "1.0.50",
|
2025-10-01 19:42:17 +00:00
|
|
|
"ua-parser-js": "1.0.41",
|
2024-08-15 13:26:29 -06:00
|
|
|
"ufuzzy": "npm:@leeoniya/ufuzzy@1.0.10",
|
|
|
|
|
"unique-names-generator": "4.7.1",
|
2026-05-01 13:07:28 +00:00
|
|
|
"websocket-ts": "2.3.0",
|
2025-12-01 15:18:12 +00:00
|
|
|
"yup": "1.7.1"
|
2024-08-15 13:26:29 -06:00
|
|
|
},
|
|
|
|
|
"devDependencies": {
|
2026-06-02 08:20:55 +00:00
|
|
|
"@babel/core": "7.29.7",
|
2026-06-02 08:30:54 +00:00
|
|
|
"@babel/plugin-syntax-typescript": "7.29.7",
|
2026-08-31 17:32:54 +00:00
|
|
|
"@biomejs/biome": "2.5.10",
|
2026-07-30 11:47:25 -06:00
|
|
|
"@coder/pixel-storybook": "0.3.0",
|
2025-11-01 11:21:47 +00:00
|
|
|
"@octokit/types": "12.6.0",
|
2026-09-04 23:33:31 +07:00
|
|
|
"@playwright/test": "1.55.1",
|
2026-05-01 13:20:44 +00:00
|
|
|
"@rolldown/plugin-babel": "0.2.3",
|
2026-04-01 16:11:47 +01:00
|
|
|
"@storybook/addon-a11y": "10.3.3",
|
|
|
|
|
"@storybook/addon-docs": "10.3.3",
|
|
|
|
|
"@storybook/addon-links": "10.3.3",
|
2026-08-06 04:35:17 +00:00
|
|
|
"@storybook/addon-mcp": "^0.7.0",
|
2026-04-01 16:11:47 +01:00
|
|
|
"@storybook/addon-themes": "10.3.3",
|
|
|
|
|
"@storybook/addon-vitest": "10.3.3",
|
|
|
|
|
"@storybook/react-vite": "10.3.3",
|
2026-08-06 04:35:59 +00:00
|
|
|
"@tailwindcss/typography": "0.5.20",
|
2026-09-02 10:31:14 +07:00
|
|
|
"@tailwindcss/vite": "4.3.3",
|
2025-10-31 15:15:30 -06:00
|
|
|
"@testing-library/jest-dom": "6.9.1",
|
2024-10-03 14:20:58 -06:00
|
|
|
"@testing-library/react": "14.3.1",
|
2026-09-01 11:17:31 +00:00
|
|
|
"@testing-library/user-event": "14.6.6",
|
2025-02-01 12:57:42 +00:00
|
|
|
"@types/color-convert": "2.0.4",
|
2024-08-15 13:26:29 -06:00
|
|
|
"@types/express": "4.17.17",
|
|
|
|
|
"@types/file-saver": "2.0.7",
|
2025-05-25 00:32:36 -03:00
|
|
|
"@types/humanize-duration": "3.27.4",
|
2026-08-13 11:08:47 +00:00
|
|
|
"@types/lodash": "4.17.25",
|
2026-06-02 08:41:19 +00:00
|
|
|
"@types/node": "20.19.41",
|
2026-03-13 20:01:50 +01:00
|
|
|
"@types/novnc__novnc": "1.5.0",
|
2026-08-13 10:57:26 +00:00
|
|
|
"@types/react": "19.2.18",
|
2025-02-03 12:27:40 +00:00
|
|
|
"@types/react-color": "3.0.13",
|
2026-09-01 11:15:11 +00:00
|
|
|
"@types/react-dom": "19.2.5",
|
2024-08-15 13:26:29 -06:00
|
|
|
"@types/react-syntax-highlighter": "15.5.13",
|
2025-10-01 22:46:31 +00:00
|
|
|
"@types/react-virtualized-auto-sizer": "1.0.8",
|
2024-08-15 13:26:29 -06:00
|
|
|
"@types/react-window": "1.8.8",
|
2026-09-01 11:26:38 +00:00
|
|
|
"@types/semver": "7.8.0",
|
2025-10-01 11:44:53 +00:00
|
|
|
"@types/ssh2": "1.15.5",
|
2024-08-15 13:26:29 -06:00
|
|
|
"@types/ua-parser-js": "0.7.36",
|
2026-09-01 11:16:36 +00:00
|
|
|
"@vitejs/plugin-react": "6.1.0",
|
2026-08-06 04:46:36 +00:00
|
|
|
"@vitest/browser-playwright": "4.1.10",
|
2026-03-20 19:55:35 +00:00
|
|
|
"babel-plugin-react-compiler": "1.0.0",
|
2026-05-01 13:00:52 +00:00
|
|
|
"dpdm": "3.15.1",
|
2026-08-01 11:21:29 +00:00
|
|
|
"express": "4.22.2",
|
2024-08-15 13:26:29 -06:00
|
|
|
"jest-canvas-mock": "2.5.2",
|
|
|
|
|
"jest-websocket-mock": "2.5.0",
|
2025-12-01 09:32:50 +00:00
|
|
|
"jsdom": "27.2.0",
|
2025-12-01 15:17:00 +00:00
|
|
|
"knip": "5.71.0",
|
2025-10-01 15:24:20 -03:00
|
|
|
"msw": "2.4.8",
|
2026-08-26 20:33:51 -04:00
|
|
|
"oxlint": "1.80.0",
|
2026-08-17 07:23:45 +00:00
|
|
|
"protobufjs": "7.6.5",
|
2026-04-10 16:04:24 -04:00
|
|
|
"resize-observer-polyfill": "1.5.1",
|
2026-09-01 11:18:23 +00:00
|
|
|
"rollup-plugin-visualizer": "7.1.1",
|
2025-11-01 11:23:12 +00:00
|
|
|
"rxjs": "7.8.2",
|
2025-10-01 11:44:53 +00:00
|
|
|
"ssh2": "1.17.0",
|
2026-09-01 11:37:08 +00:00
|
|
|
"storybook": "10.5.10",
|
2026-02-20 12:52:35 +11:00
|
|
|
"storybook-addon-remix-react-router": "6.0.0",
|
2026-08-31 13:26:42 +07:00
|
|
|
"tailwindcss": "4.3.3",
|
2025-10-01 23:11:11 +00:00
|
|
|
"ts-proto": "1.181.2",
|
2026-03-24 14:37:11 -06:00
|
|
|
"typescript": "6.0.2",
|
2026-08-17 07:14:46 +00:00
|
|
|
"vite": "8.2.1",
|
2026-08-06 04:57:44 +00:00
|
|
|
"vite-plugin-checker": "0.14.5",
|
2026-09-04 23:44:43 +07:00
|
|
|
"vitest": "4.1.11",
|
|
|
|
|
"tw-animate-css": "1.4.0"
|
2024-08-15 13:26:29 -06:00
|
|
|
},
|
2025-08-14 18:25:15 -03:00
|
|
|
"browserslist": [
|
2026-08-31 21:09:03 +07:00
|
|
|
"chrome 111",
|
|
|
|
|
"firefox 128",
|
|
|
|
|
"safari 16.4"
|
2025-08-14 18:25:15 -03:00
|
|
|
],
|
2024-08-15 13:26:29 -06:00
|
|
|
"resolutions": {
|
|
|
|
|
"optionator": "0.9.3",
|
2026-09-01 11:26:38 +00:00
|
|
|
"semver": "7.8.5"
|
2024-08-15 13:26:29 -06:00
|
|
|
},
|
|
|
|
|
"engines": {
|
2025-08-13 13:39:10 -06:00
|
|
|
"pnpm": ">=10.0.0 <11.0.0",
|
2026-04-28 12:12:13 -06:00
|
|
|
"node": ">=22.0.0 <25.0.0"
|
2025-04-01 22:05:23 -04:00
|
|
|
},
|
|
|
|
|
"pnpm": {
|
|
|
|
|
"overrides": {
|
2026-09-04 23:33:31 +07:00
|
|
|
"esbuild": "0.28.2",
|
2025-08-27 19:55:57 +02:00
|
|
|
"prismjs": "1.30.0",
|
2026-09-04 23:33:31 +07:00
|
|
|
"dompurify": "3.4.14",
|
|
|
|
|
"qs": "6.16.0"
|
2025-08-13 13:39:10 -06:00
|
|
|
},
|
2025-08-14 18:25:15 -03:00
|
|
|
"ignoredBuiltDependencies": [
|
2025-09-04 17:43:19 -06:00
|
|
|
"cpu-features",
|
|
|
|
|
"msw",
|
|
|
|
|
"protobufjs",
|
2025-08-14 18:25:15 -03:00
|
|
|
"storybook-addon-remix-react-router"
|
2025-09-04 17:43:19 -06:00
|
|
|
],
|
|
|
|
|
"onlyBuiltDependencies": [
|
|
|
|
|
"esbuild",
|
2026-06-16 14:43:54 -06:00
|
|
|
"odiff-bin",
|
2025-09-04 17:43:19 -06:00
|
|
|
"ssh2"
|
2025-08-14 18:25:15 -03:00
|
|
|
]
|
2024-08-15 13:26:29 -06:00
|
|
|
}
|
2022-01-03 18:54:27 -08:00
|
|
|
}
|