-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rdum add prettier from douglas (#22)
* chore: install prettier * refacto: delete prettierrc.json * style: run prettier after delete prettierrc.json * add new prettierrc * run prettier fromat * update hash value in index.html --------- Co-authored-by: Benoit Serrano <[email protected]>
- Loading branch information
1 parent
c00214d
commit e15bebb
Showing
41 changed files
with
6,536 additions
and
4,606 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,17 @@ | ||
name: Tests | ||
|
||
on: | ||
push: | ||
push: | ||
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-node@v4 | ||
with: | ||
cache: 'npm' | ||
node-version-file: package.json | ||
- run: npm ci --include=dev | ||
- run: npm run build | ||
test: | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-node@v4 | ||
with: | ||
cache: "npm" | ||
node-version-file: package.json | ||
- run: npm ci --include=dev | ||
- run: npx prettier -c . | ||
- run: npm run build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
{ | ||
"semi": true, | ||
"trailingComma": "all", | ||
"singleQuote": true, | ||
"printWidth": 100, | ||
"tabWidth": 4 | ||
"trailingComma": "es5", | ||
"tabWidth": 2, | ||
"semi": true, | ||
"singleQuote": false | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,43 +1,54 @@ | ||
<!DOCTYPE html> | ||
<!doctype html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
<link rel="icon" type="image/svg+xml" href="/vite.svg" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<title>AgentConnect</title> | ||
<link rel="apple-touch-icon" href="/dsfr/favicon/apple-touch-icon.png?v=1.12.1" /> | ||
<link rel="icon" href="/dsfr/favicon/favicon.svg?v=1.12.1" type="image/svg+xml" /> | ||
<link rel="shortcut icon" href="/dsfr/favicon/favicon.ico?v=1.12.1" type="image/x-icon" /> | ||
<link | ||
rel="manifest" | ||
href="/dsfr/favicon/manifest.webmanifest?v=1.12.1" | ||
crossorigin="use-credentials" | ||
/> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
<link rel="icon" type="image/svg+xml" href="/vite.svg" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<title>AgentConnect</title> | ||
<link | ||
rel="apple-touch-icon" | ||
href="/dsfr/favicon/apple-touch-icon.png?v=1.12.1" | ||
/> | ||
<link | ||
rel="icon" | ||
href="/dsfr/favicon/favicon.svg?v=1.12.1" | ||
type="image/svg+xml" | ||
/> | ||
<link | ||
rel="shortcut icon" | ||
href="/dsfr/favicon/favicon.ico?v=1.12.1" | ||
type="image/x-icon" | ||
/> | ||
<link | ||
rel="manifest" | ||
href="/dsfr/favicon/manifest.webmanifest?v=1.12.1" | ||
crossorigin="use-credentials" | ||
/> | ||
|
||
<link rel="stylesheet" href="/dsfr/utility/icons/icons.min.css?hash=b9c27aa0" /> | ||
<link rel="stylesheet" href="/dsfr/dsfr.min.css?v=1.12.1" /> | ||
<!-- Matomo --> | ||
<script> | ||
var _paq = (window._paq = window._paq || []); | ||
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */ | ||
_paq.push(['trackPageView']); | ||
_paq.push(['enableLinkTracking']); | ||
(function () { | ||
var u = 'https://stats.data.gouv.fr/'; | ||
_paq.push(['setTrackerUrl', u + 'piwik.php']); | ||
_paq.push(['setSiteId', '286']); | ||
var d = document, | ||
g = d.createElement('script'), | ||
s = d.getElementsByTagName('script')[0]; | ||
g.async = true; | ||
g.src = u + 'piwik.js'; | ||
s.parentNode.insertBefore(g, s); | ||
})(); | ||
</script> | ||
<!-- End Matomo Code --> | ||
</head> | ||
<body> | ||
<div id="root"></div> | ||
<script type="module" src="/src/main.tsx"></script> | ||
</body> | ||
<link rel="stylesheet" href="/dsfr/utility/icons/icons.min.css?v=1.12.1" /> | ||
<link rel="stylesheet" href="/dsfr/dsfr.min.css?v=1.12.1" /> | ||
<!-- Matomo --> | ||
<script> | ||
var _paq = (window._paq = window._paq || []); | ||
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */ | ||
_paq.push(["trackPageView"]); | ||
_paq.push(["enableLinkTracking"]); | ||
(function () { | ||
var u = "https://stats.data.gouv.fr/"; | ||
_paq.push(["setTrackerUrl", u + "piwik.php"]); | ||
_paq.push(["setSiteId", "286"]); | ||
var d = document, | ||
g = d.createElement("script"), | ||
s = d.getElementsByTagName("script")[0]; | ||
g.async = true; | ||
g.src = u + "piwik.js"; | ||
s.parentNode.insertBefore(g, s); | ||
})(); | ||
</script> | ||
<!-- End Matomo Code --> | ||
</head> | ||
<body> | ||
<div id="root"></div> | ||
<script type="module" src="/src/main.tsx"></script> | ||
</body> | ||
</html> |
Oops, something went wrong.