mirror of
https://github.com/sourcegraph/sourcegraph.git
synced 2026-02-06 16:11:57 +00:00
This upgrades SvelteKit for good measure. I think a lot of the fixes are not relevant to us but https://github.com/sveltejs/kit/releases/tag/%40sveltejs%2Fkit%402.5.8 is interesting and makes navigating around in the app after a dev server start less jarring. ## Test plan `pnpm dev`, `pnpm build` and `bazel test //client/web-sveltekit:svelte-check`
108 lines
3.8 KiB
JSON
108 lines
3.8 KiB
JSON
{
|
|
"name": "@sourcegraph/web-sveltekit",
|
|
"version": "0.0.1",
|
|
"scripts": {
|
|
"dev": "vite dev",
|
|
"dev:dotcom": "SOURCEGRAPH_API_URL=https://sourcegraph.com vite dev --mode=dotcom",
|
|
"dev:enterprise": "DEPLOY_TYPE=dev vite build --watch",
|
|
"build": "vite build",
|
|
"build:preview": "vite build --mode=preview",
|
|
"build:watch": "vite build --watch",
|
|
"preview": "vite preview",
|
|
"install:browsers": "playwright install",
|
|
"test": "playwright test",
|
|
"test:dev": "DISABLE_APP_ASSETS_MOCKING=true PORT=5173 playwright test --ui",
|
|
"test:svelte": "vitest --run",
|
|
"sync": "svelte-kit sync",
|
|
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
|
|
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
|
|
"lint": "eslint .",
|
|
"format": "prettier --config ./prettier.config.cjs --write . --plugin prettier-plugin-svelte",
|
|
"generate": "pnpm -w generate",
|
|
"storybook": "storybook dev -p 6006",
|
|
"build-storybook": "storybook build"
|
|
},
|
|
"devDependencies": {
|
|
"@faker-js/faker": "^8.0.2",
|
|
"@graphql-codegen/cli": "^5.0.0",
|
|
"@graphql-codegen/near-operation-file-preset": "^3.0.0",
|
|
"@graphql-codegen/typed-document-node": "^5.0.1",
|
|
"@graphql-codegen/typescript": "^4.0.1",
|
|
"@graphql-codegen/typescript-operations": "^4.0.1",
|
|
"@graphql-tools/utils": "^10.0.11",
|
|
"@graphql-typed-document-node/core": "^3.2.0",
|
|
"@iconify-json/devicon-plain": "^1.1.42",
|
|
"@iconify-json/file-icons": "^1.1.8",
|
|
"@iconify-json/lucide": "^1.1.188",
|
|
"@iconify-json/ph": "^1.1.13",
|
|
"@iconify-json/simple-icons": "^1.1.104",
|
|
"@playwright/test": "1.42.1",
|
|
"@storybook/addon-essentials": "^8.0.5",
|
|
"@storybook/addon-interactions": "^7.2.0",
|
|
"@storybook/addon-links": "^7.2.0",
|
|
"@storybook/addon-svelte-csf": "^4.1.2",
|
|
"@storybook/blocks": "^8.0.5",
|
|
"@storybook/svelte": "^8.0.5",
|
|
"@storybook/sveltekit": "^8.0.5",
|
|
"@storybook/testing-library": "0.2.0",
|
|
"@sveltejs/adapter-auto": "^3.0.0",
|
|
"@sveltejs/adapter-static": "^3.0.0",
|
|
"@sveltejs/kit": "^2.5.17",
|
|
"@sveltejs/vite-plugin-svelte": "^3.0.0",
|
|
"@testing-library/svelte": "^4.0.3",
|
|
"@testing-library/user-event": "^14.4.3",
|
|
"@types/cookie": "^0.5.1",
|
|
"@types/highlight.js": "^9.12.4",
|
|
"@types/prismjs": "^1.26.0",
|
|
"eslint-plugin-storybook": "^0.8.0",
|
|
"eslint-plugin-svelte3": "^4.0.0",
|
|
"graphql": "^15.0.0",
|
|
"msw": "^1.2.3",
|
|
"msw-storybook-addon": "^1.10.0",
|
|
"playwright": "1.42.1",
|
|
"prettier": "2.8.1",
|
|
"prettier-plugin-svelte": "^2.0.0",
|
|
"sass": "^1.32.4",
|
|
"signale": "^1.4.0",
|
|
"storybook": "^8.0.5",
|
|
"storybook-dark-mode": "^4.0.1",
|
|
"svelte": "^4.2.18",
|
|
"svelte-check": "^3.4.6",
|
|
"tslib": "2.1.0",
|
|
"unplugin-auto-import": "^0.17.6",
|
|
"unplugin-icons": "^0.19.0",
|
|
"vite": "~5.1.5",
|
|
"vite-plugin-inspect": "^0.7.35",
|
|
"vitest": "^1.3.1"
|
|
},
|
|
"type": "module",
|
|
"dependencies": {
|
|
"@floating-ui/dom": "^1.6.3",
|
|
"@fontsource-variable/inter": "^5.0.18",
|
|
"@fontsource-variable/roboto-mono": "^5.0.19",
|
|
"@melt-ui/svelte": "^0.76.0",
|
|
"@sentry/sveltekit": "^8.7.0",
|
|
"@sourcegraph/branded": "workspace:*",
|
|
"@sourcegraph/client-api": "workspace:*",
|
|
"@sourcegraph/common": "workspace:*",
|
|
"@sourcegraph/http-client": "workspace:*",
|
|
"@sourcegraph/shared": "workspace:*",
|
|
"@sourcegraph/telemetry": "^0.11.0",
|
|
"@sourcegraph/web": "workspace:*",
|
|
"@sourcegraph/wildcard": "workspace:*",
|
|
"@storybook/test": "^8.0.5",
|
|
"@urql/core": "^4.2.3",
|
|
"copy-to-clipboard": "^3.3.1",
|
|
"fzf": "^0.5.2",
|
|
"highlight.js": "^10.0.0",
|
|
"hotkeys-js": "^3.13.7",
|
|
"mermaid": "^10.9.1",
|
|
"prismjs": "^1.29.0",
|
|
"ts-key-enum": "^2.0.12",
|
|
"wonka": "^6.3.4"
|
|
},
|
|
"msw": {
|
|
"workerDirectory": "static"
|
|
}
|
|
}
|