{"id":18488127,"url":"https://github.com/codegouvfr/nextra-theme-dsfr","last_synced_at":"2025-05-01T22:30:58.210Z","repository":{"id":176890157,"uuid":"659702592","full_name":"codegouvfr/nextra-theme-dsfr","owner":"codegouvfr","description":"DSFR theme for Nextra","archived":false,"fork":false,"pushed_at":"2023-10-01T09:57:20.000Z","size":783,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-04-24T05:03:55.200Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/codegouvfr.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":"2023-06-28T11:32:53.000Z","updated_at":"2023-07-06T13:22:02.000Z","dependencies_parsed_at":null,"dependency_job_id":"d9512d8a-a3e1-4900-b1b6-ba31f3a3908f","html_url":"https://github.com/codegouvfr/nextra-theme-dsfr","commit_stats":{"total_commits":60,"total_committers":5,"mean_commits":12.0,"dds":"0.31666666666666665","last_synced_commit":"225381b357fec770b8fb6730b2592abf2f928085"},"previous_names":["codegouvfr/nextra-theme-dsfr-docs"],"tags_count":2,"template":false,"template_full_name":"garronej/ts-ci","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codegouvfr%2Fnextra-theme-dsfr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codegouvfr%2Fnextra-theme-dsfr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codegouvfr%2Fnextra-theme-dsfr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codegouvfr%2Fnextra-theme-dsfr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codegouvfr","download_url":"https://codeload.github.com/codegouvfr/nextra-theme-dsfr/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251954845,"owners_count":21670888,"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":[],"created_at":"2024-11-06T12:51:18.310Z","updated_at":"2025-05-01T22:30:57.670Z","avatar_url":"https://github.com/codegouvfr.png","language":"TypeScript","readme":"\u003cp align=\"center\"\u003e\n    \u003cimg src=\"https://user-images.githubusercontent.com/6702424/80216211-00ef5280-863e-11ea-81de-59f3a3d4b8e4.png\"\u003e  \n\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n    \u003ci\u003eDSFR theme for Nextra\u003c/i\u003e\n    \u003cbr\u003e\n    \u003cbr\u003e\n    \u003ca href=\"https://github.com/codegouvfr/nextra-theme-dsfr/actions\"\u003e\n      \u003cimg src=\"https://github.com/codegouvfr/nextra-theme-dsfr/workflows/ci/badge.svg?branch=main\"\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://bundlephobia.com/package/nextra-theme-dsfr\"\u003e\n      \u003cimg src=\"https://img.shields.io/bundlephobia/minzip/nextra-theme-dsfr\"\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://www.npmjs.com/package/nextra-theme-dsfr\"\u003e\n      \u003cimg src=\"https://img.shields.io/npm/dw/nextra-theme-dsfr\"\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://github.com/codegouvfr/nextra-theme-dsfr/blob/main/LICENSE\"\u003e\n      \u003cimg src=\"https://img.shields.io/npm/l/nextra-theme-dsfr\"\u003e\n    \u003c/a\u003e\n\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/garronej/nextra-dsfr-demo\"\u003eDemo repo\u003c/a\u003e\n  -\n  \u003ca href=\"https://nextra.react-dsfr.fr\"\u003eShow me what it looks like\u003c/a\u003e\n\u003c/p\u003e\n\n# Install / Import\n\n```bash\n$ yarn add @codegouvfr/nextra-theme-dsfr @codegouvfr/react-dsfr @mui/material @emotion/styled @emotion/react @emotion/server\n```\n\n# Contributing\n\n## Starting the demo app in dev mode\n\n```bash\ncd ~/github\ngit clone https://github.com/garronej/nextra-theme-dsfr\ncd nextra-theme-dsfr\nyarn dev\n```\n\nThen in another terminal.\n\n```bash\ncd ~/github/nextra-dsfr-demo\nyarn start\n```\n\nNow you can do changes both in `~/github/nextra-theme-dsfr` and `~/github/nextra-dsfr/demo`.  \nYou will see the change live in the app.\n\n\u003e NOTE: Each time you changes any dependencies you must restart `yarn dev` and `yarn start`.\n\n## Testing your changes in an external app\n\nYou have made some changes to the code and you want to test them\nin your app before submitting a pull request?\n\n```bash\ncd ~/github\ngit clone https://github.com/garronej/nextra-dsfr-demo\ncd nextra-dsfr-demo\nyarn\n\ncd ~/github\ngit clone https://github.com/codegouvfr/nextra-theme-dsfr\ncd nextra-theme-dsfr\nyarn\nyarn build\nyarn link-in-app nextra-dsfr-demo\nnpx tsc -w\n\n# Open another terminal\n\ncd ~/github/nextra-dsfr-demo\nrm -rf node_modules/.cache\nyarn dev # Or whatever my-app is using for starting the project\n```\n\nYou don't have to use `~/github` as a reference path. Just make sure `nextra-dsfr-demo` and `nextra-theme-dsfr`\nare in the same directory.\n\n## Releasing\n\nFor releasing a new version on GitHub and NPM you don't need to create a tag.  \nJust update the `package.json` version number and push.\n\nFor publishing a release candidate update your `package.json` with `1.3.4-rc.0` (`.1`, `.2`, ...).  \nIt also works if you do it from a branch that has an open PR on `main`.\n\n\u003e Make sure you have defined the `NPM_TOKEN` repository secret or NPM publishing will fail.\n\n## Maintainers\n\n-   [Joseph Garrone](https://github.com/garronej)\n-   [Dylan DECRULLE](https://github.com/ddecrulle) - Insee\n-   [Dimitri POSTOLOV](https://github.com/B2o5T) - Main [Nextra](https://nextra.site) maintainer\n","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodegouvfr%2Fnextra-theme-dsfr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodegouvfr%2Fnextra-theme-dsfr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodegouvfr%2Fnextra-theme-dsfr/lists"}