mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
Bumps [react-router](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router) from 7.8.0 to 7.9.5. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/remix-run/react-router/releases">react-router's releases</a>.</em></p> <blockquote> <h2>v7.9.5</h2> <p>See the changelog for release notes: <a href="https://github.com/remix-run/react-router/blob/main/CHANGELOG.md#v795">https://github.com/remix-run/react-router/blob/main/CHANGELOG.md#v795</a></p> <h2>v7.9.4</h2> <p>See the changelog for release notes: <a href="https://github.com/remix-run/react-router/blob/main/CHANGELOG.md#v794">https://github.com/remix-run/react-router/blob/main/CHANGELOG.md#v794</a></p> <h2>v7.9.3</h2> <p>See the changelog for release notes: <a href="https://github.com/remix-run/react-router/blob/main/CHANGELOG.md#v793">https://github.com/remix-run/react-router/blob/main/CHANGELOG.md#v793</a></p> <h2>v7.9.2</h2> <p>See the changelog for release notes: <a href="https://github.com/remix-run/react-router/blob/main/CHANGELOG.md#v792">https://github.com/remix-run/react-router/blob/main/CHANGELOG.md#v792</a></p> <h2>v7.9.1</h2> <p>See the changelog for release notes: <a href="https://github.com/remix-run/react-router/blob/main/CHANGELOG.md#v791">https://github.com/remix-run/react-router/blob/main/CHANGELOG.md#v791</a></p> <h2>v7.9.0</h2> <p>See the changelog for release notes: <a href="https://github.com/remix-run/react-router/blob/main/CHANGELOG.md#v790">https://github.com/remix-run/react-router/blob/main/CHANGELOG.md#v790</a></p> <h2>v7.8.2</h2> <p>See the changelog for release notes: <a href="https://github.com/remix-run/react-router/blob/main/CHANGELOG.md#v782">https://github.com/remix-run/react-router/blob/main/CHANGELOG.md#v782</a></p> <h2>v7.8.1</h2> <p>See the changelog for release notes: <a href="https://github.com/remix-run/react-router/blob/main/CHANGELOG.md#v781">https://github.com/remix-run/react-router/blob/main/CHANGELOG.md#v781</a></p> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/remix-run/react-router/blob/main/packages/react-router/CHANGELOG.md">react-router's changelog</a>.</em></p> <blockquote> <h2>7.9.5</h2> <h3>Patch Changes</h3> <ul> <li> <p>Move RSCHydratedRouter and utils to <code>/dom</code> export. (<a href="https://redirect.github.com/remix-run/react-router/pull/14457">#14457</a>)</p> </li> <li> <p>useRoute: return type-safe <code>handle</code> (<a href="https://redirect.github.com/remix-run/react-router/pull/14462">#14462</a>)</p> <p>For example:</p> <pre lang="ts"><code>// app/routes/admin.tsx const handle = { hello: "world" }; </code></pre> <pre lang="ts"><code>// app/routes/some-other-route.tsx export default function Component() { const admin = useRoute("routes/admin"); if (!admin) throw new Error("Not nested within 'routes/admin'"); console.log(admin.handle); // ^? { hello: string } } </code></pre> </li> <li> <p>Ensure action handlers run for routes with middleware even if no loader is present (<a href="https://redirect.github.com/remix-run/react-router/pull/14443">#14443</a>)</p> </li> <li> <p>Add <code>unstable_instrumentations</code> API to allow users to add observablity to their apps by instrumenting route loaders, actions, middlewares, lazy, as well as server-side request handlers and client side navigations/fetches (<a href="https://redirect.github.com/remix-run/react-router/pull/14412">#14412</a>)</p> <ul> <li>Framework Mode: <ul> <li><code>entry.server.tsx</code>: <code>export const unstable_instrumentations = [...]</code></li> <li><code>entry.client.tsx</code>: <code><HydratedRouter unstable_instrumentations={[...]} /></code></li> </ul> </li> <li>Data Mode <ul> <li><code>createBrowserRouter(routes, { unstable_instrumentations: [...] })</code></li> </ul> </li> </ul> <p>This also adds a new <code>unstable_pattern</code> parameter to loaders/actions/middleware which contains the un-interpolated route pattern (i.e., <code>/blog/:slug</code>) which is useful for aggregating performance metrics by route</p> </li> </ul> <h2>7.9.4</h2> <h3>Patch Changes</h3> <ul> <li> <p>handle external redirects in from server actions (<a href="https://redirect.github.com/remix-run/react-router/pull/14400">#14400</a>)</p> </li> <li> <p>New (unstable) <code>useRoute</code> hook for accessing data from specific routes (<a href="https://redirect.github.com/remix-run/react-router/pull/14407">#14407</a>)</p> <p>For example, let's say you have an <code>admin</code> route somewhere in your app and you want any child routes of <code>admin</code> to all have access to the <code>loaderData</code> and <code>actionData</code> from <code>admin.</code></p> <pre lang="tsx"><code>// app/routes/admin.tsx import { Outlet } from "react-router"; <p>export const loader = () => ({ message: "Hello, loader!" }); </code></pre></p> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/remix-run/react-router/commit/a1918125144aecd8ac5dd62ad3b682877f06106f"><code>a191812</code></a> chore: Update version for release (<a href="https://github.com/remix-run/react-router/tree/HEAD/packages/react-router/issues/14485">#14485</a>)</li> <li><a href="https://github.com/remix-run/react-router/commit/74bef786708cf6fe626649adca60a39bce898f39"><code>74bef78</code></a> chore: Update version for release (pre) (<a href="https://github.com/remix-run/react-router/tree/HEAD/packages/react-router/issues/14469">#14469</a>)</li> <li><a href="https://github.com/remix-run/react-router/commit/c0577e4ad2347a097c7249ea1e7935fef3b53b27"><code>c0577e4</code></a> Merge branch 'main' into release-next</li> <li><a href="https://github.com/remix-run/react-router/commit/0163df4848a05fca60f0390b67e9615e9f4b40f9"><code>0163df4</code></a> fix(react-router): run action handlers for routes with middleware even if no ...</li> <li><a href="https://github.com/remix-run/react-router/commit/c84016b8847250f8cabab291adf44a12a46e3f2c"><code>c84016b</code></a> Minor updates for instrumentations (<a href="https://github.com/remix-run/react-router/tree/HEAD/packages/react-router/issues/14467">#14467</a>)</li> <li><a href="https://github.com/remix-run/react-router/commit/adadca5534c3bfa43fcd61adbf00c78d56d43c77"><code>adadca5</code></a> Add unstable_instrumentations API (<a href="https://github.com/remix-run/react-router/tree/HEAD/packages/react-router/issues/14412">#14412</a>)</li> <li><a href="https://github.com/remix-run/react-router/commit/dea842d8d938c4f39503a8f3a97e424d2b73b16a"><code>dea842d</code></a> fix: move RSCHydratedRouter and utils to <code>/dom</code> export (<a href="https://github.com/remix-run/react-router/tree/HEAD/packages/react-router/issues/14457">#14457</a>)</li> <li><a href="https://github.com/remix-run/react-router/commit/1d1b18809eac4bd9e4fd0887dcfa1f225e10b0bc"><code>1d1b188</code></a> useRoute: return type-safe <code>handle</code> (<a href="https://github.com/remix-run/react-router/tree/HEAD/packages/react-router/issues/14462">#14462</a>)</li> <li><a href="https://github.com/remix-run/react-router/commit/3e3a223ee90c1fee3da01daf6866ad2f5bdf62ba"><code>3e3a223</code></a> docs: fix references (<a href="https://github.com/remix-run/react-router/tree/HEAD/packages/react-router/issues/14441">#14441</a>)</li> <li><a href="https://github.com/remix-run/react-router/commit/158847e11664bc47534bf8f334bc9d630ea79a70"><code>158847e</code></a> fix: Fix invalid markdown link for createHashRouter (<a href="https://github.com/remix-run/react-router/tree/HEAD/packages/react-router/issues/14434">#14434</a>)</li> <li>Additional commits viewable in <a href="https://github.com/remix-run/react-router/commits/react-router@7.9.5/packages/react-router">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
223 lines
7.2 KiB
JSON
223 lines
7.2 KiB
JSON
{
|
|
"name": "coder-v2",
|
|
"description": "Coder V2 (Workspaces V2)",
|
|
"repository": "https://github.com/coder/coder",
|
|
"private": true,
|
|
"license": "AGPL-3.0",
|
|
"packageManager": "pnpm@10.14.0+sha512.ad27a79641b49c3e481a16a805baa71817a04bbe06a38d17e60e2eaee83f6a146c6a688125f5792e48dd5ba30e7da52a5cda4c3992b9ccf333f9ce223af84748",
|
|
"scripts": {
|
|
"build": "NODE_ENV=production pnpm vite build",
|
|
"check": "biome check --error-on-warnings .",
|
|
"check:fix": "biome check --error-on-warnings --fix .",
|
|
"check:all": "pnpm check && pnpm test",
|
|
"chromatic": "chromatic",
|
|
"dev": "vite",
|
|
"format": "biome format --write .",
|
|
"format:check": "biome format .",
|
|
"lint": "pnpm run lint:check && pnpm run lint:types && pnpm run lint:circular-deps && knip",
|
|
"lint:check": "biome lint --error-on-warnings .",
|
|
"lint:circular-deps": "dpdm --no-tree --no-warning -T ./src/App.tsx",
|
|
"lint:knip": "knip",
|
|
"lint:fix": "biome lint --error-on-warnings --write . && knip --fix",
|
|
"lint:types": "tsc -p .",
|
|
"playwright:install": "playwright install --with-deps chromium",
|
|
"playwright:test": "playwright test --config=e2e/playwright.config.ts",
|
|
"playwright:test-ui": "playwright test --config=e2e/playwright.config.ts --ui $([[ \"$CODER\" == \"true\" ]] && echo --ui-port=7500 --ui-host=0.0.0.0)",
|
|
"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",
|
|
"storybook": "STORYBOOK=true storybook dev -p 6006",
|
|
"storybook:build": "storybook build",
|
|
"storybook:ci": "storybook build --test",
|
|
"test": "vitest run && jest",
|
|
"test:ci": "vitest run && jest --silent",
|
|
"test:watch": "vitest",
|
|
"test:watch-jest": "jest --watch",
|
|
"stats": "STATS=true pnpm build && npx http-server ./stats -p 8081 -c-1",
|
|
"update-emojis": "cp -rf ./node_modules/emoji-datasource-apple/img/apple/64/* ./static/emojis"
|
|
},
|
|
"dependencies": {
|
|
"@emoji-mart/data": "1.2.1",
|
|
"@emoji-mart/react": "1.1.1",
|
|
"@emotion/cache": "11.14.0",
|
|
"@emotion/css": "11.13.5",
|
|
"@emotion/react": "11.14.0",
|
|
"@emotion/styled": "11.14.1",
|
|
"@fontsource-variable/inter": "5.1.1",
|
|
"@fontsource/fira-code": "5.2.7",
|
|
"@fontsource/ibm-plex-mono": "5.2.7",
|
|
"@fontsource/jetbrains-mono": "5.2.8",
|
|
"@fontsource/source-code-pro": "5.2.5",
|
|
"@monaco-editor/react": "4.7.0",
|
|
"@mui/material": "5.18.0",
|
|
"@mui/system": "5.18.0",
|
|
"@mui/utils": "5.17.1",
|
|
"@mui/x-tree-view": "7.29.10",
|
|
"@radix-ui/react-avatar": "1.1.10",
|
|
"@radix-ui/react-checkbox": "1.3.3",
|
|
"@radix-ui/react-collapsible": "1.1.12",
|
|
"@radix-ui/react-dialog": "1.1.15",
|
|
"@radix-ui/react-dropdown-menu": "2.1.16",
|
|
"@radix-ui/react-label": "2.1.7",
|
|
"@radix-ui/react-popover": "1.1.15",
|
|
"@radix-ui/react-radio-group": "1.3.8",
|
|
"@radix-ui/react-scroll-area": "1.2.10",
|
|
"@radix-ui/react-select": "2.2.6",
|
|
"@radix-ui/react-separator": "1.1.7",
|
|
"@radix-ui/react-slider": "1.3.6",
|
|
"@radix-ui/react-slot": "1.2.3",
|
|
"@radix-ui/react-switch": "1.2.6",
|
|
"@radix-ui/react-tooltip": "1.2.8",
|
|
"@tanstack/react-query-devtools": "5.77.0",
|
|
"@xterm/addon-canvas": "0.7.0",
|
|
"@xterm/addon-fit": "0.10.0",
|
|
"@xterm/addon-unicode11": "0.8.0",
|
|
"@xterm/addon-web-links": "0.11.0",
|
|
"@xterm/addon-webgl": "0.18.0",
|
|
"@xterm/xterm": "5.5.0",
|
|
"ansi-to-html": "0.7.2",
|
|
"axios": "1.13.1",
|
|
"chroma-js": "2.6.0",
|
|
"class-variance-authority": "0.7.1",
|
|
"clsx": "2.1.1",
|
|
"cmdk": "1.0.4",
|
|
"color-convert": "2.0.1",
|
|
"cron-parser": "4.9.0",
|
|
"cronstrue": "2.59.0",
|
|
"dayjs": "1.11.18",
|
|
"emoji-mart": "5.6.0",
|
|
"file-saver": "2.0.5",
|
|
"formik": "2.4.6",
|
|
"front-matter": "4.0.2",
|
|
"humanize-duration": "3.32.2",
|
|
"jszip": "3.10.1",
|
|
"lodash": "4.17.21",
|
|
"lucide-react": "0.552.0",
|
|
"monaco-editor": "0.53.0",
|
|
"pretty-bytes": "6.1.1",
|
|
"react": "19.1.1",
|
|
"react-color": "2.19.3",
|
|
"react-confetti": "6.4.0",
|
|
"react-date-range": "1.4.0",
|
|
"react-dom": "19.1.1",
|
|
"react-markdown": "9.1.0",
|
|
"react-query": "npm:@tanstack/react-query@5.77.0",
|
|
"react-resizable-panels": "3.0.6",
|
|
"react-router": "7.9.5",
|
|
"react-syntax-highlighter": "15.6.1",
|
|
"react-textarea-autosize": "8.5.9",
|
|
"react-virtualized-auto-sizer": "1.0.26",
|
|
"react-window": "1.8.11",
|
|
"recharts": "2.15.4",
|
|
"remark-gfm": "4.0.1",
|
|
"resize-observer-polyfill": "1.5.1",
|
|
"semver": "7.7.2",
|
|
"tailwind-merge": "2.6.0",
|
|
"tailwindcss-animate": "1.0.7",
|
|
"tzdata": "1.0.46",
|
|
"ua-parser-js": "1.0.41",
|
|
"ufuzzy": "npm:@leeoniya/ufuzzy@1.0.10",
|
|
"undici": "6.22.0",
|
|
"unique-names-generator": "4.7.1",
|
|
"uuid": "9.0.1",
|
|
"websocket-ts": "2.2.1",
|
|
"yup": "1.6.1"
|
|
},
|
|
"devDependencies": {
|
|
"@biomejs/biome": "2.2.4",
|
|
"@chromatic-com/storybook": "4.1.0",
|
|
"@octokit/types": "12.6.0",
|
|
"@playwright/test": "1.50.1",
|
|
"@storybook/addon-docs": "9.1.2",
|
|
"@storybook/addon-links": "9.1.2",
|
|
"@storybook/addon-themes": "9.1.2",
|
|
"@storybook/react-vite": "9.1.2",
|
|
"@swc/core": "1.3.38",
|
|
"@swc/jest": "0.2.37",
|
|
"@tailwindcss/typography": "0.5.16",
|
|
"@testing-library/jest-dom": "6.9.1",
|
|
"@testing-library/react": "14.3.1",
|
|
"@testing-library/user-event": "14.6.1",
|
|
"@types/chroma-js": "2.4.0",
|
|
"@types/color-convert": "2.0.4",
|
|
"@types/express": "4.17.17",
|
|
"@types/file-saver": "2.0.7",
|
|
"@types/humanize-duration": "3.27.4",
|
|
"@types/jest": "29.5.14",
|
|
"@types/lodash": "4.17.20",
|
|
"@types/node": "20.17.16",
|
|
"@types/react": "19.1.17",
|
|
"@types/react-color": "3.0.13",
|
|
"@types/react-date-range": "1.4.4",
|
|
"@types/react-dom": "19.1.11",
|
|
"@types/react-syntax-highlighter": "15.5.13",
|
|
"@types/react-virtualized-auto-sizer": "1.0.8",
|
|
"@types/react-window": "1.8.8",
|
|
"@types/semver": "7.7.1",
|
|
"@types/ssh2": "1.15.5",
|
|
"@types/ua-parser-js": "0.7.36",
|
|
"@types/uuid": "9.0.2",
|
|
"@vitejs/plugin-react": "5.1.0",
|
|
"autoprefixer": "10.4.21",
|
|
"chromatic": "11.29.0",
|
|
"dpdm": "3.14.0",
|
|
"express": "4.21.2",
|
|
"jest": "29.7.0",
|
|
"jest-canvas-mock": "2.5.2",
|
|
"jest-environment-jsdom": "29.5.0",
|
|
"jest-fixed-jsdom": "0.0.10",
|
|
"jest-location-mock": "2.0.0",
|
|
"jest-websocket-mock": "2.5.0",
|
|
"jest_workaround": "0.1.14",
|
|
"jsdom": "27.0.1",
|
|
"knip": "5.66.4",
|
|
"msw": "2.4.8",
|
|
"postcss": "8.5.6",
|
|
"protobufjs": "7.5.4",
|
|
"rollup-plugin-visualizer": "5.14.0",
|
|
"rxjs": "7.8.2",
|
|
"ssh2": "1.17.0",
|
|
"storybook": "9.1.2",
|
|
"storybook-addon-remix-react-router": "5.0.0",
|
|
"tailwindcss": "3.4.18",
|
|
"ts-proto": "1.181.2",
|
|
"typescript": "5.6.3",
|
|
"vite": "7.1.12",
|
|
"vite-plugin-checker": "0.11.0",
|
|
"vitest": "4.0.6"
|
|
},
|
|
"browserslist": [
|
|
"chrome 110",
|
|
"firefox 111",
|
|
"safari 16.0"
|
|
],
|
|
"resolutions": {
|
|
"optionator": "0.9.3",
|
|
"semver": "7.7.2"
|
|
},
|
|
"engines": {
|
|
"pnpm": ">=10.0.0 <11.0.0",
|
|
"node": ">=18.0.0 <23.0.0"
|
|
},
|
|
"pnpm": {
|
|
"overrides": {
|
|
"@babel/runtime": "7.26.10",
|
|
"@babel/helpers": "7.26.10",
|
|
"esbuild": "^0.25.0",
|
|
"form-data": "4.0.4",
|
|
"prismjs": "1.30.0",
|
|
"dompurify": "3.2.6",
|
|
"brace-expansion": "1.1.12"
|
|
},
|
|
"ignoredBuiltDependencies": [
|
|
"cpu-features",
|
|
"msw",
|
|
"protobufjs",
|
|
"storybook-addon-remix-react-router"
|
|
],
|
|
"onlyBuiltDependencies": [
|
|
"@swc/core",
|
|
"esbuild",
|
|
"ssh2"
|
|
]
|
|
}
|
|
}
|