{"id":26227603,"url":"https://github.com/chromedevtools/vite-plugin-devtools-json","last_synced_at":"2026-01-19T21:50:27.112Z","repository":{"id":279963426,"uuid":"940583527","full_name":"ChromeDevTools/vite-plugin-devtools-json","owner":"ChromeDevTools","description":"Vite plugin for generating `com.chrome.devtools.json` on the fly in the devserver.","archived":false,"fork":false,"pushed_at":"2025-03-11T10:12:48.000Z","size":13,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-11T11:25:25.730Z","etag":null,"topics":["chrome","devtools","vite"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ChromeDevTools.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-02-28T12:39:51.000Z","updated_at":"2025-03-11T10:12:51.000Z","dependencies_parsed_at":null,"dependency_job_id":"dbb03830-f26c-4820-9cb9-843a0568e67b","html_url":"https://github.com/ChromeDevTools/vite-plugin-devtools-json","commit_stats":null,"previous_names":["bmeurer/vite-plugin-devtools-json","chromedevtools/vite-plugin-devtools-json"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChromeDevTools%2Fvite-plugin-devtools-json","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChromeDevTools%2Fvite-plugin-devtools-json/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChromeDevTools%2Fvite-plugin-devtools-json/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChromeDevTools%2Fvite-plugin-devtools-json/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ChromeDevTools","download_url":"https://codeload.github.com/ChromeDevTools/vite-plugin-devtools-json/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243285620,"owners_count":20266849,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["chrome","devtools","vite"],"created_at":"2025-03-12T20:18:04.892Z","updated_at":"2026-01-19T21:50:27.080Z","avatar_url":"https://github.com/ChromeDevTools.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Vite Plugin for DevTools Project Settings (devtools.json)\n\nVite plugin for generating the Chrome DevTools project settings file on-the-fly\nin the devserver.\n\nThis enables seamless integration with the new Chrome DevTools features\n\n1. [DevTools Project Settings (devtools.json)](https://goo.gle/devtools-json-design), and\n1. [Automatic Workspace folders](http://goo.gle/devtools-automatic-workspace-folders).\n\n## Installation\n\n```bash\nnpm install -D vite-plugin-devtools-json\n```\n\n## Usage\n\nAdd it to your Vite config\n\n```js\nimport {defineConfig} from 'vite';\nimport devtoolsJson from 'vite-plugin-devtools-json';\n\nexport default defineConfig({\n  plugins: [\n    devtoolsJson(),\n    // ...\n  ]\n});\n```\n\nThe `/.well-known/appspecific/com.chrome.devtools.json` endpoint will serve the\nproject settings as JSON with the following structure\n\n```json\n{\n  \"workspace\": {\n    \"root\": \"/path/to/project/root\",\n    \"uuid\": \"6ec0bd7f-11c0-43da-975e-2a8ad9ebae0b\"\n  }\n}\n```\n\nwhere `root` is the absolute path to your `{projectRoot}` folder, and `uuid` is\na random v4 UUID, generated the first time that you start the Vite devserver\nwith the plugin installed (it is henceforth cached in the Vite cache folder).\n\nCheckout [bmeurer/automatic-workspace-folders-vanilla] for a trivial example\nproject illustrating how to use the plugin in practice.\n\n## Publishing\n\n**Googlers:** We use [go/wombat-dressing-room](http://go/wombat-dressing-room)\nfor publishing.\n\n## License\n\nThe code is under [MIT License](LICENSE).\n\n[bmeurer/automatic-workspace-folders-vanilla]: https://github.com/bmeurer/automatic-workspace-folders-vanilla\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchromedevtools%2Fvite-plugin-devtools-json","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchromedevtools%2Fvite-plugin-devtools-json","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchromedevtools%2Fvite-plugin-devtools-json/lists"}