generated from publicodes/model-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9634141
commit 2e6f428
Showing
6 changed files
with
173 additions
and
80 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 |
---|---|---|
|
@@ -50,7 +50,7 @@ | |
"devDependencies": { | ||
"@incubateur-ademe/nosgestesclimat": "^3.5.4", | ||
"@incubateur-ademe/publicodes-commun": "^1.1.5", | ||
"@publicodes/tools": "^1.5.3", | ||
"@publicodes/tools": "https://pkg.pr.new/publicodes/publicodes/@publicodes/tools@1858c5e", | ||
"csv-parser": "^3.0.0", | ||
"terser": "^5.36.0", | ||
"tsup": "^8.3.5", | ||
|
@@ -62,7 +62,7 @@ | |
"access": "public" | ||
}, | ||
"dependencies": { | ||
"publicodes": "^1.7.2" | ||
"publicodes": "https://pkg.pr.new/publicodes/publicodes@1858c5e" | ||
}, | ||
"packageManager": "[email protected]+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e" | ||
} |
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 |
---|---|---|
@@ -0,0 +1,109 @@ | ||
valeur par défaut: | ||
titre: Valeur par défaut | ||
empreinte: 3022.851504292707 | ||
coûts: 6370.257297587041 | ||
|
||
aller-retours travail électrique ville: | ||
titre: Aller-retours travail en ville (électrique) | ||
description: | | ||
Personne qui va travailler avec une petite voiture électrique en ville | ||
contexte: | ||
voiture . motorisation: "'électrique'" | ||
voiture . gabarit: "'petite'" | ||
voiture . prix d'achat: 5400 | ||
voiture . électrique . consommation électricité: 24 # kWh/100km | ||
voiture . électrique . prix kWh: 0.17 # €/kWh | ||
usage . km annuels . connus: non | ||
usage . km annuels . calculés . quotidien: 20 | ||
usage . km annuels . calculés . vacances: 0 | ||
coûts . coûts de possession . entretien: 700 | ||
coûts . coûts de possession . assurance: 400 | ||
coûts . coûts d'utilisation . stationnement: 700 | ||
coûts . coûts d'utilisation . péage: 0 | ||
coûts . coûts d'utilisation . contraventions: 10 | ||
empreinte: 539.1190922108744 | ||
coûts: 2387.813887814313 | ||
|
||
aller-retours travail électrique ville occasion: | ||
titre: Aller-retours travail en ville (électrique) - Occasion | ||
description: | | ||
Personne qui va travailler avec une petite voiture électrique en ville | ||
contexte: | ||
voiture . motorisation: "'électrique'" | ||
voiture . gabarit: "'petite'" | ||
voiture . prix d'achat: 5400 | ||
voiture . occasion: oui | ||
usage . km annuels . connus: non | ||
usage . km annuels . calculés . quotidien: 20 | ||
usage . km annuels . calculés . vacances: 0 | ||
empreinte: 504.95509221087445 | ||
coûts: 3059.8004878143133 | ||
|
||
grandes vacances familiales: | ||
titre: Grandes vacances familiales (essence) | ||
description: | | ||
Personne qui utilise une voiture essence pour partir en vacances en | ||
famille. | ||
contexte: | ||
voiture . motorisation: "'thermique'" | ||
voiture . thermique . carburant: "'essence E5 ou E10'" | ||
voiture . gabarit: "'berline'" | ||
usage . km annuels . connus: non | ||
usage . km annuels . calculés . quotidien: 5 | ||
usage . km annuels . calculés . vacances: 2000 | ||
empreinte: 1087.2386496543545 | ||
coûts: 4687.079592587041 | ||
|
||
famille usage régulier diesel: | ||
titre: Usage régulier en famille (diesel) | ||
description: | | ||
Personne qui utilise une voiture diesel pour les trajets quotidiens et | ||
les vacances en famille. | ||
Elle a besoin d'une voiture spacieuse pour transporter ses enfants à l'école | ||
et aller au travail. | ||
contexte: | ||
voiture . motorisation: "'thermique'" | ||
voiture . thermique . carburant: "'gazole B7 ou B10'" | ||
voiture . gabarit: "'berline'" | ||
usage . km annuels . connus: non | ||
usage . km annuels . calculés . quotidien: 33 | ||
usage . km annuels . calculés . vacances: 2000 | ||
empreinte: 2677.626189841937 | ||
coûts: 5913.45340708704 | ||
|
||
famille usage régulier biocarburant: | ||
titre: Usage régulier en famille (biocarburant) | ||
description: | | ||
Personne qui utilise une voiture diesel pour les trajets quotidiens et | ||
les vacances en famille. | ||
Elle a besoin d'une voiture spacieuse pour transporter ses enfants à l'école | ||
et aller au travail. | ||
contexte: | ||
voiture . motorisation: "'thermique'" | ||
voiture . thermique . carburant: "'essence E85'" | ||
voiture . gabarit: "'berline'" | ||
usage . km annuels . connus: non | ||
usage . km annuels . calculés . quotidien: 33 | ||
usage . km annuels . calculés . vacances: 2000 | ||
empreinte: 1823.1880810919374 | ||
coûts: 5745.61951946204 | ||
|
||
famille usage régulier moyenne biocarburant: | ||
titre: Usage régulier en famille (moyenne/biocarburant) | ||
description: | | ||
Personne qui utilise une voiture diesel pour les trajets quotidiens et | ||
les vacances en famille. | ||
Elle a besoin d'une voiture spacieuse pour transporter ses enfants à l'école | ||
et aller au travail. | ||
contexte: | ||
voiture . motorisation: "'thermique'" | ||
voiture . thermique . carburant: "'essence E85'" | ||
voiture . gabarit: "'moyenne'" | ||
usage . km annuels . connus: non | ||
usage . km annuels . calculés . quotidien: 33 | ||
usage . km annuels . calculés . vacances: 2000 | ||
empreinte: 1752.9630810919373 | ||
coûts: 5491.074064916586 |
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
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 |
---|---|---|
|
@@ -388,30 +388,28 @@ | |
resolved "https://registry.yarnpkg.com/@pkgjs/parseargs/-/parseargs-0.11.0.tgz#a77ea742fab25775145434eb1d2328cf5013ac33" | ||
integrity sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg== | ||
|
||
"@publicodes/react-ui@^1.7.0": | ||
"@publicodes/react-ui@https://pkg.pr.new/publicodes/publicodes/@publicodes/react-ui@1858c5ef8820f2a5fc1e70538e7cd32d3fa5f894": | ||
version "1.7.1" | ||
resolved "https://registry.yarnpkg.com/@publicodes/react-ui/-/react-ui-1.7.1.tgz#c43ec02e8b397cbb72433dd485dbd4e54fa0b203" | ||
integrity sha512-DVU/LXlL9IN+dKk8QK7a/+J3qlbeDvLrKQvIzkM3zkL4xXuEigmXl6E+r2t0Js8Zs05BUTeEvAgmOIkokfvkXw== | ||
resolved "https://pkg.pr.new/publicodes/publicodes/@publicodes/react-ui@1858c5ef8820f2a5fc1e70538e7cd32d3fa5f894#cba04a607c781ae1b04e5e1961a82b7e43ccfd53" | ||
dependencies: | ||
fuse.js "^7.0.0" | ||
styled-components "^6.1.1" | ||
|
||
"@publicodes/tools@^1.5.3": | ||
"@publicodes/tools@https://pkg.pr.new/publicodes/publicodes/@publicodes/tools@1858c5e": | ||
version "1.5.3" | ||
resolved "https://registry.yarnpkg.com/@publicodes/tools/-/tools-1.5.3.tgz#d5d6619da81381adab55be694c4b8489b920e567" | ||
integrity sha512-vgNchM7D9OgIeRWmeMhZa38h2IuJBkzB7yipClgNVIPOUFllUTcCt8h9cWNn9osfbu6FB3QAnUVTHXr8PbeTug== | ||
resolved "https://pkg.pr.new/publicodes/publicodes/@publicodes/tools@1858c5e#e4d445f321d5b632873c7bb2062fd811452a7a9d" | ||
dependencies: | ||
"@clack/prompts" "^0.7.0" | ||
"@oclif/core" "^4.2.5" | ||
"@publicodes/react-ui" "^1.7.0" | ||
"@publicodes/react-ui" "https://pkg.pr.new/publicodes/publicodes/@publicodes/react-ui@1858c5ef8820f2a5fc1e70538e7cd32d3fa5f894" | ||
"@tailwindcss/typography" "^0.5.16" | ||
"@tailwindcss/vite" "^4.0.0" | ||
"@types/node" "^18.11.18" | ||
chalk "^5.3.0" | ||
chokidar "^4.0.3" | ||
glob "^10.4.1" | ||
path "^0.12.7" | ||
publicodes "^1.7.0" | ||
publicodes "https://pkg.pr.new/publicodes/publicodes/publicodes@1858c5ef8820f2a5fc1e70538e7cd32d3fa5f894" | ||
react "^18.0.0" | ||
react-dom "^18.0.0" | ||
react-router-dom "^7.1.3" | ||
|
@@ -864,7 +862,7 @@ color-name@~1.1.4: | |
resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.4.tgz#c2a09a87acbde69543de6f63fa3995c826c536a2" | ||
integrity sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA== | ||
|
||
commander@^2.19.0, commander@^2.20.0: | ||
commander@^2.20.0: | ||
version "2.20.3" | ||
resolved "https://registry.yarnpkg.com/commander/-/commander-2.20.3.tgz#fd485e84c03eb4881c20722ba48035e8531aeb33" | ||
integrity sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ== | ||
|
@@ -951,11 +949,6 @@ dir-glob@^3.0.1: | |
dependencies: | ||
path-type "^4.0.0" | ||
|
||
[email protected]: | ||
version "1.0.0" | ||
resolved "https://registry.yarnpkg.com/discontinuous-range/-/discontinuous-range-1.0.0.tgz#e38331f0844bba49b9a9cb71c771585aab1bc65a" | ||
integrity sha512-c68LpLbO+7kP/b1Hr1qs8/BJ09F5khZGTxqxZuhzxpmwJKOgRFHJWIb9/KmqnqHhLdO55aOxFH/EGBvUQbL/RQ== | ||
|
||
eastasianwidth@^0.2.0: | ||
version "0.2.0" | ||
resolved "https://registry.yarnpkg.com/eastasianwidth/-/eastasianwidth-0.2.0.tgz#696ce2ec0aa0e6ea93a397ffcf24aa7840c827cb" | ||
|
@@ -1423,11 +1416,6 @@ minimatch@^9.0.4, minimatch@^9.0.5: | |
resolved "https://registry.yarnpkg.com/minipass/-/minipass-7.1.2.tgz#93a9626ce5e5e66bd4db86849e7515e92340a707" | ||
integrity sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw== | ||
|
||
moo@^0.5.0, moo@^0.5.2: | ||
version "0.5.2" | ||
resolved "https://registry.yarnpkg.com/moo/-/moo-0.5.2.tgz#f9fe82473bc7c184b0d32e2215d3f6e67278733c" | ||
integrity sha512-iSAJLHYKnX41mKcJKjqvnAN9sf0LMDTXDEvFv+ffuRR9a1MIuXLjMNL6EsnDHSkKLTWNqQQ5uo61P4EbU4NU+Q== | ||
|
||
ms@^2.1.3: | ||
version "2.1.3" | ||
resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.3.tgz#574c8138ce1d2b5861f0b44579dbadd60c6615b2" | ||
|
@@ -1447,16 +1435,6 @@ nanoid@^3.3.7, nanoid@^3.3.8: | |
resolved "https://registry.yarnpkg.com/nanoid/-/nanoid-3.3.8.tgz#b1be3030bee36aaff18bacb375e5cce521684baf" | ||
integrity sha512-WNLf5Sd8oZxOm+TzppcYk8gVOgP+l58xNy58D0nbUnOxOWRWvlcCV4kUF7ltmI6PsrLl/BgKEyS4mqsGChFN0w== | ||
|
||
nearley@^2.20.1: | ||
version "2.20.1" | ||
resolved "https://registry.yarnpkg.com/nearley/-/nearley-2.20.1.tgz#246cd33eff0d012faf197ff6774d7ac78acdd474" | ||
integrity sha512-+Mc8UaAebFzgV+KpI5n7DasuuQCHA89dmwm7JXw3TV43ukfNQ9DnBH3Mdb2g/I4Fdxc26pwimBWvjIw0UAILSQ== | ||
dependencies: | ||
commander "^2.19.0" | ||
moo "^0.5.0" | ||
railroad-diagrams "^1.0.0" | ||
randexp "0.4.6" | ||
|
||
object-assign@^4.0.1: | ||
version "4.1.1" | ||
resolved "https://registry.yarnpkg.com/object-assign/-/object-assign-4.1.1.tgz#2109adc7965887cfc05cbbd442cac8bfbb360863" | ||
|
@@ -1566,13 +1544,14 @@ process@^0.11.1: | |
resolved "https://registry.yarnpkg.com/process/-/process-0.11.10.tgz#7332300e840161bda3e69a1d1d91a7d4bc16f182" | ||
integrity sha512-cdGef/drWFoydD1JsMzuFf8100nZl+GT+yacc2bEced5f9Rjk4z+WtFUTBu9PhOi9j/jfmBPu0mMEY4wIdAF8A== | ||
|
||
publicodes@^1.7.0, publicodes@^1.7.2: | ||
[email protected].2, "publicodes@https://pkg.pr.new/publicodes/publicodes/publicodes@1858c5ef8820f2a5fc1e70538e7cd32d3fa5f894": | ||
version "1.7.2" | ||
resolved "https://registry.yarnpkg.com/publicodes/-/publicodes-1.7.2.tgz#8763a500ba3dc420a488a816a35c98b03dd6f43b" | ||
integrity sha512-R9iqut98I1o4KMgmI8oRxfF1UqpPa4kce7ZPSJDvOTj6QMmCPAuIoF7bDTwJ8IkhSBQnFV59GNMggsS/czyQtw== | ||
dependencies: | ||
moo "^0.5.2" | ||
nearley "^2.20.1" | ||
resolved "https://pkg.pr.new/publicodes/publicodes/publicodes@1858c5ef8820f2a5fc1e70538e7cd32d3fa5f894#b6b9abc0b7045535ebc7ad8f1313e1c04b57db60" | ||
|
||
"publicodes@https://pkg.pr.new/publicodes/publicodes@1858c5e": | ||
version "1.7.2" | ||
uid b6b9abc0b7045535ebc7ad8f1313e1c04b57db60 | ||
resolved "https://pkg.pr.new/publicodes/publicodes@1858c5e#b6b9abc0b7045535ebc7ad8f1313e1c04b57db60" | ||
|
||
punycode@^2.1.0: | ||
version "2.3.1" | ||
|
@@ -1584,19 +1563,6 @@ queue-microtask@^1.2.2: | |
resolved "https://registry.yarnpkg.com/queue-microtask/-/queue-microtask-1.2.3.tgz#4929228bbc724dfac43e0efb058caf7b6cfb6243" | ||
integrity sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A== | ||
|
||
railroad-diagrams@^1.0.0: | ||
version "1.0.0" | ||
resolved "https://registry.yarnpkg.com/railroad-diagrams/-/railroad-diagrams-1.0.0.tgz#eb7e6267548ddedfb899c1b90e57374559cddb7e" | ||
integrity sha512-cz93DjNeLY0idrCNOH6PviZGRN9GJhsdm9hpn1YCS879fj4W+x5IFJhhkRZcwVgMmFF7R82UA/7Oh+R8lLZg6A== | ||
|
||
[email protected]: | ||
version "0.4.6" | ||
resolved "https://registry.yarnpkg.com/randexp/-/randexp-0.4.6.tgz#e986ad5e5e31dae13ddd6f7b3019aa7c87f60ca3" | ||
integrity sha512-80WNmd9DA0tmZrw9qQa62GPPWfuXJknrmVmLcxvq4uZBdYqb1wYoKTmnlGUchvVWe0XiLupYkBoXVOxz3C8DYQ== | ||
dependencies: | ||
discontinuous-range "1.0.0" | ||
ret "~0.1.10" | ||
|
||
react-dom@^18.0.0: | ||
version "18.3.1" | ||
resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-18.3.1.tgz#c2265d79511b57d479b3dd3fdfa51536494c5cb4" | ||
|
@@ -1639,11 +1605,6 @@ resolve-from@^5.0.0: | |
resolved "https://registry.yarnpkg.com/resolve-from/-/resolve-from-5.0.0.tgz#c35225843df8f776df21c57557bc087e9dfdfc69" | ||
integrity sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw== | ||
|
||
ret@~0.1.10: | ||
version "0.1.15" | ||
resolved "https://registry.yarnpkg.com/ret/-/ret-0.1.15.tgz#b8a4825d5bdb1fc3f6f53c2bc33f81388681c7bc" | ||
integrity sha512-TTlYpa+OL+vMMNG24xSlQGEJ3B/RzEfUlLct7b5G/ytav+wPrplCpVMFuwzXbkecJrb6IYo1iFb0S9v37754mg== | ||
|
||
reusify@^1.0.4: | ||
version "1.0.4" | ||
resolved "https://registry.yarnpkg.com/reusify/-/reusify-1.0.4.tgz#90da382b1e126efc02146e90845a88db12925d76" | ||
|