Bruno Predot

Merge tag '0.1.1' into develop

0.1.1
  1 +module.exports = {
  2 + root: true,
  3 + extends: ['@nuxtjs/eslint-config', 'plugin:prettier/recommended'],
  4 +};
  1 +{
  2 + "semi": true,
  3 + "trailingComma": "all",
  4 + "singleQuote": true,
  5 + "printWidth": 120,
  6 + "arrowParens": "always",
  7 + "useTabs": false,
  8 + "tabWidth": 2
  9 +}
  1 +0.1.1:
  2 +- Installation et configuration d'eslint et prettier.
  3 +- Ajout de variables dans le runtimeConfig du fichier nuxt.config.
  4 +
1 0.1.0: 5 0.1.0:
2 - Installation du projet & des principales dépendances. 6 - Installation du projet & des principales dépendances.
3 - Configuration du fichier nuxt.config.ts. 7 - Configuration du fichier nuxt.config.ts.
@@ -59,6 +59,8 @@ export default defineNuxtConfig({ @@ -59,6 +59,8 @@ export default defineNuxtConfig({
59 // Keys within public are also exposed client-side. 59 // Keys within public are also exposed client-side.
60 public: { 60 public: {
61 apiTMDBSecret: process.env.NUXT_ENV_TMDB_API_KEY, 61 apiTMDBSecret: process.env.NUXT_ENV_TMDB_API_KEY,
  62 + apiTMDBBearer: process.env.NUXT_ENV_TMDB_BEARER,
  63 + apiTMDBUrl: process.env.NUXT_ENV_TMDB_URL,
62 }, 64 },
63 }, 65 },
64 }) 66 })
@@ -27,7 +27,10 @@ @@ -27,7 +27,10 @@
27 "vue-router": "^4.5.0" 27 "vue-router": "^4.5.0"
28 }, 28 },
29 "devDependencies": { 29 "devDependencies": {
30 - "@nuxtjs/tailwindcss": "^6.13.2" 30 + "@nuxtjs/tailwindcss": "^6.13.2",
  31 + "eslint-config-prettier": "^10.1.2",
  32 + "eslint-plugin-prettier": "^5.2.6",
  33 + "prettier": "^3.5.3"
31 } 34 }
32 }, 35 },
33 "node_modules/@alloc/quick-lru": { 36 "node_modules/@alloc/quick-lru": {
@@ -8287,6 +8290,19 @@ @@ -8287,6 +8290,19 @@
8287 "eslint": "^9.5.0" 8290 "eslint": "^9.5.0"
8288 } 8291 }
8289 }, 8292 },
  8293 + "node_modules/eslint-config-prettier": {
  8294 + "version": "10.1.2",
  8295 + "resolved": "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-10.1.2.tgz",
  8296 + "integrity": "sha512-Epgp/EofAUeEpIdZkW60MHKvPyru1ruQJxPL+WIycnaPApuseK0Zpkrh/FwL9oIpQvIhJwV7ptOy0DWUjTlCiA==",
  8297 + "dev": true,
  8298 + "license": "MIT",
  8299 + "bin": {
  8300 + "eslint-config-prettier": "bin/cli.js"
  8301 + },
  8302 + "peerDependencies": {
  8303 + "eslint": ">=7.0.0"
  8304 + }
  8305 + },
8290 "node_modules/eslint-flat-config-utils": { 8306 "node_modules/eslint-flat-config-utils": {
8291 "version": "2.0.1", 8307 "version": "2.0.1",
8292 "resolved": "https://registry.npmjs.org/eslint-flat-config-utils/-/eslint-flat-config-utils-2.0.1.tgz", 8308 "resolved": "https://registry.npmjs.org/eslint-flat-config-utils/-/eslint-flat-config-utils-2.0.1.tgz",
@@ -8428,6 +8444,54 @@ @@ -8428,6 +8444,54 @@
8428 "spdx-license-ids": "^3.0.0" 8444 "spdx-license-ids": "^3.0.0"
8429 } 8445 }
8430 }, 8446 },
  8447 + "node_modules/eslint-plugin-prettier": {
  8448 + "version": "5.2.6",
  8449 + "resolved": "https://registry.npmjs.org/eslint-plugin-prettier/-/eslint-plugin-prettier-5.2.6.tgz",
  8450 + "integrity": "sha512-mUcf7QG2Tjk7H055Jk0lGBjbgDnfrvqjhXh9t2xLMSCjZVcw9Rb1V6sVNXO0th3jgeO7zllWPTNRil3JW94TnQ==",
  8451 + "dev": true,
  8452 + "license": "MIT",
  8453 + "dependencies": {
  8454 + "prettier-linter-helpers": "^1.0.0",
  8455 + "synckit": "^0.11.0"
  8456 + },
  8457 + "engines": {
  8458 + "node": "^14.18.0 || >=16.0.0"
  8459 + },
  8460 + "funding": {
  8461 + "url": "https://opencollective.com/eslint-plugin-prettier"
  8462 + },
  8463 + "peerDependencies": {
  8464 + "@types/eslint": ">=8.0.0",
  8465 + "eslint": ">=8.0.0",
  8466 + "eslint-config-prettier": ">= 7.0.0 <10.0.0 || >=10.1.0",
  8467 + "prettier": ">=3.0.0"
  8468 + },
  8469 + "peerDependenciesMeta": {
  8470 + "@types/eslint": {
  8471 + "optional": true
  8472 + },
  8473 + "eslint-config-prettier": {
  8474 + "optional": true
  8475 + }
  8476 + }
  8477 + },
  8478 + "node_modules/eslint-plugin-prettier/node_modules/synckit": {
  8479 + "version": "0.11.4",
  8480 + "resolved": "https://registry.npmjs.org/synckit/-/synckit-0.11.4.tgz",
  8481 + "integrity": "sha512-Q/XQKRaJiLiFIBNN+mndW7S/RHxvwzuZS6ZwmRzUBqJBv/5QIKCEwkBC8GBf8EQJKYnaFs0wOZbKTXBPj8L9oQ==",
  8482 + "dev": true,
  8483 + "license": "MIT",
  8484 + "dependencies": {
  8485 + "@pkgr/core": "^0.2.3",
  8486 + "tslib": "^2.8.1"
  8487 + },
  8488 + "engines": {
  8489 + "node": "^14.18.0 || >=16.0.0"
  8490 + },
  8491 + "funding": {
  8492 + "url": "https://opencollective.com/synckit"
  8493 + }
  8494 + },
8431 "node_modules/eslint-plugin-regexp": { 8495 "node_modules/eslint-plugin-regexp": {
8432 "version": "2.7.0", 8496 "version": "2.7.0",
8433 "resolved": "https://registry.npmjs.org/eslint-plugin-regexp/-/eslint-plugin-regexp-2.7.0.tgz", 8497 "resolved": "https://registry.npmjs.org/eslint-plugin-regexp/-/eslint-plugin-regexp-2.7.0.tgz",
@@ -8989,6 +9053,13 @@ @@ -8989,6 +9053,13 @@
8989 "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==", 9053 "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==",
8990 "license": "MIT" 9054 "license": "MIT"
8991 }, 9055 },
  9056 + "node_modules/fast-diff": {
  9057 + "version": "1.3.0",
  9058 + "resolved": "https://registry.npmjs.org/fast-diff/-/fast-diff-1.3.0.tgz",
  9059 + "integrity": "sha512-VxPP4NqbUjj6MaAOafWeUn2cXWLcCtljklUtZf0Ind4XQ+QPtmA0b18zZy0jIQx+ExRVCR/ZQpBmik5lXshNsw==",
  9060 + "dev": true,
  9061 + "license": "Apache-2.0"
  9062 + },
8992 "node_modules/fast-fifo": { 9063 "node_modules/fast-fifo": {
8993 "version": "1.3.2", 9064 "version": "1.3.2",
8994 "resolved": "https://registry.npmjs.org/fast-fifo/-/fast-fifo-1.3.2.tgz", 9065 "resolved": "https://registry.npmjs.org/fast-fifo/-/fast-fifo-1.3.2.tgz",
@@ -13373,6 +13444,35 @@ @@ -13373,6 +13444,35 @@
13373 "node": ">= 0.8.0" 13444 "node": ">= 0.8.0"
13374 } 13445 }
13375 }, 13446 },
  13447 + "node_modules/prettier": {
  13448 + "version": "3.5.3",
  13449 + "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.5.3.tgz",
  13450 + "integrity": "sha512-QQtaxnoDJeAkDvDKWCLiwIXkTgRhwYDEQCghU9Z6q03iyek/rxRh/2lC3HB7P8sWT2xC/y5JDctPLBIGzHKbhw==",
  13451 + "dev": true,
  13452 + "license": "MIT",
  13453 + "bin": {
  13454 + "prettier": "bin/prettier.cjs"
  13455 + },
  13456 + "engines": {
  13457 + "node": ">=14"
  13458 + },
  13459 + "funding": {
  13460 + "url": "https://github.com/prettier/prettier?sponsor=1"
  13461 + }
  13462 + },
  13463 + "node_modules/prettier-linter-helpers": {
  13464 + "version": "1.0.0",
  13465 + "resolved": "https://registry.npmjs.org/prettier-linter-helpers/-/prettier-linter-helpers-1.0.0.tgz",
  13466 + "integrity": "sha512-GbK2cP9nraSSUF9N2XwUwqfzlAFlMNYYl+ShE/V+H8a9uNl/oUqB1w2EL54Jh0OlyRSd8RfWYJ3coVS4TROP2w==",
  13467 + "dev": true,
  13468 + "license": "MIT",
  13469 + "dependencies": {
  13470 + "fast-diff": "^1.1.2"
  13471 + },
  13472 + "engines": {
  13473 + "node": ">=6.0.0"
  13474 + }
  13475 + },
13376 "node_modules/pretty-bytes": { 13476 "node_modules/pretty-bytes": {
13377 "version": "6.1.1", 13477 "version": "6.1.1",
13378 "resolved": "https://registry.npmjs.org/pretty-bytes/-/pretty-bytes-6.1.1.tgz", 13478 "resolved": "https://registry.npmjs.org/pretty-bytes/-/pretty-bytes-6.1.1.tgz",
@@ -8,7 +8,9 @@ @@ -8,7 +8,9 @@
8 "dev": "nuxt dev", 8 "dev": "nuxt dev",
9 "generate": "nuxt generate", 9 "generate": "nuxt generate",
10 "preview": "nuxt preview", 10 "preview": "nuxt preview",
11 - "postinstall": "nuxt prepare" 11 + "postinstall": "nuxt prepare",
  12 + "lint": "eslint .",
  13 + "format": "prettier --write \"{components,pages,plugins,middleware,layouts,composables,assets}/**/*.{js,jsx,ts,tsx,vue,html,css,scss,json,md}\""
12 }, 14 },
13 "dependencies": { 15 "dependencies": {
14 "@nuxt/eslint": "^1.3.0", 16 "@nuxt/eslint": "^1.3.0",
@@ -29,6 +31,9 @@ @@ -29,6 +31,9 @@
29 "vue-router": "^4.5.0" 31 "vue-router": "^4.5.0"
30 }, 32 },
31 "devDependencies": { 33 "devDependencies": {
32 - "@nuxtjs/tailwindcss": "^6.13.2" 34 + "@nuxtjs/tailwindcss": "^6.13.2",
  35 + "eslint-config-prettier": "^10.1.2",
  36 + "eslint-plugin-prettier": "^5.2.6",
  37 + "prettier": "^3.5.3"
33 } 38 }
34 } 39 }