From 9c7ce76e00746a37d3fba187b66e2d61cc3ebd52 Mon Sep 17 00:00:00 2001 From: IsaacUlate Date: Mon, 25 Sep 2023 12:01:45 -0600 Subject: [PATCH 1/3] Added book genres --- src/data/links.ts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/data/links.ts b/src/data/links.ts index 3b4d9d3..b351985 100644 --- a/src/data/links.ts +++ b/src/data/links.ts @@ -111,6 +111,16 @@ const categories: Array = [ { value: 'Histórico', label: 'Histórico' }, { value: 'Humor', label: 'Humor' }, { value: 'Horror', label: 'Horror' }, + { value: 'Novela Romantica', label: 'Novela Romantica' }, + { value: 'Cuento', label: 'Cuento' }, + { value: 'Ensayo', label: 'Ensayo' }, + { value: 'Autobiografía', label: 'Autobiografía' }, + { value: 'Cyberpunk', label: 'Cyberpunk' }, + { value: 'Postapocalíptica', label: 'Postapocalíptica' }, + { value: 'Espacial', label: 'Espacial' }, + { value: 'Espionaje', label: 'Espionaje' }, + { value: 'Psicológica', label: 'Psicológica' }, + { value: 'Guerra', label: 'Guerra' }, ]; const format: Array = [ From acd879d4077fdc602915f7d40703d4885cd12395 Mon Sep 17 00:00:00 2001 From: IsaacUlate Date: Mon, 25 Sep 2023 19:29:19 -0600 Subject: [PATCH 2/3] Added book genres and alphabetical order Book genres in spanish added also they are in alphabetical order --- package-lock.json | 70 +++++++++++++++++++++++++++---------------- package.json | 3 +- src/data/links.ts | 76 +++++++++++++++++++++++------------------------ 3 files changed, 84 insertions(+), 65 deletions(-) diff --git a/package-lock.json b/package-lock.json index 9e63125..e17c958 100644 --- a/package-lock.json +++ b/package-lock.json @@ -24,7 +24,7 @@ "react-error-boundary": "4.0.10", "react-helmet-async": "1.3.0", "react-hook-form": "7.46.1", - "react-icons": "4.10.1", + "react-icons": "^4.10.1", "react-intersection-observer": "9.5.2", "react-lazy-load": "4.0.1", "react-router-dom": "6.14.0", @@ -35,6 +35,7 @@ "@sentry/react": "7.57.0", "@testing-library/jest-dom": "5.16.5", "@testing-library/react": "14.0.0", + "@types/cypress": "^1.1.3", "@types/react": "18.2.14", "@types/react-dom": "18.2.6", "@typescript-eslint/eslint-plugin": "6.0.0", @@ -80,9 +81,9 @@ } }, "node_modules/@adobe/css-tools": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/@adobe/css-tools/-/css-tools-4.0.1.tgz", - "integrity": "sha512-+u76oB43nOHrF4DDWRLWDCtci7f3QJoEBigemIdIeTi1ODqjx6Tad9NCVnPRwewWlKkVab5PlK8DCtPTyX7S8g==", + "version": "4.3.1", + "resolved": "https://registry.npmjs.org/@adobe/css-tools/-/css-tools-4.3.1.tgz", + "integrity": "sha512-/62yikz7NLScCGAAST5SHdnjaDJQBDq0M2muyRTpf2VQhw6StBg2ALiu73zSJQ4fMVLA+0uBhBHAle7Wg+2kSg==", "dev": true }, "node_modules/@ampproject/remapping": { @@ -6885,6 +6886,16 @@ "@types/chai": "*" } }, + "node_modules/@types/cypress": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/@types/cypress/-/cypress-1.1.3.tgz", + "integrity": "sha512-OXe0Gw8LeCflkG1oPgFpyrYWJmEKqYncBsD/J0r17r0ETx/TnIGDNLwXt/pFYSYuYTpzcq1q3g62M9DrfsBL4g==", + "deprecated": "This is a stub types definition for cypress (https://cypress.io). cypress provides its own type definitions, so you don't need @types/cypress installed!", + "dev": true, + "dependencies": { + "cypress": "*" + } + }, "node_modules/@types/istanbul-lib-coverage": { "version": "2.0.4", "resolved": "https://registry.npmjs.org/@types/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.4.tgz", @@ -8267,9 +8278,9 @@ } }, "node_modules/builtins/node_modules/semver": { - "version": "7.3.7", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.7.tgz", - "integrity": "sha512-QlYTucUYOews+WeEujDoEGziz4K6c47V/Bd+LjSSYcA94p+DmINdf7ncaUinThfvZyu13lN9OY1XDxt8C0Tw0g==", + "version": "7.5.4", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", + "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", "dev": true, "peer": true, "dependencies": { @@ -10202,9 +10213,9 @@ } }, "node_modules/eslint-plugin-n/node_modules/semver": { - "version": "7.3.7", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.7.tgz", - "integrity": "sha512-QlYTucUYOews+WeEujDoEGziz4K6c47V/Bd+LjSSYcA94p+DmINdf7ncaUinThfvZyu13lN9OY1XDxt8C0Tw0g==", + "version": "7.5.4", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", + "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", "dev": true, "peer": true, "dependencies": { @@ -15603,9 +15614,9 @@ } }, "node_modules/node-abi/node_modules/semver": { - "version": "7.3.8", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz", - "integrity": "sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==", + "version": "7.5.4", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", + "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", "dev": true, "dependencies": { "lru-cache": "^6.0.0" @@ -19808,9 +19819,9 @@ "dev": true }, "@adobe/css-tools": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/@adobe/css-tools/-/css-tools-4.0.1.tgz", - "integrity": "sha512-+u76oB43nOHrF4DDWRLWDCtci7f3QJoEBigemIdIeTi1ODqjx6Tad9NCVnPRwewWlKkVab5PlK8DCtPTyX7S8g==", + "version": "4.3.1", + "resolved": "https://registry.npmjs.org/@adobe/css-tools/-/css-tools-4.3.1.tgz", + "integrity": "sha512-/62yikz7NLScCGAAST5SHdnjaDJQBDq0M2muyRTpf2VQhw6StBg2ALiu73zSJQ4fMVLA+0uBhBHAle7Wg+2kSg==", "dev": true }, "@ampproject/remapping": { @@ -24780,6 +24791,15 @@ "@types/chai": "*" } }, + "@types/cypress": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/@types/cypress/-/cypress-1.1.3.tgz", + "integrity": "sha512-OXe0Gw8LeCflkG1oPgFpyrYWJmEKqYncBsD/J0r17r0ETx/TnIGDNLwXt/pFYSYuYTpzcq1q3g62M9DrfsBL4g==", + "dev": true, + "requires": { + "cypress": "*" + } + }, "@types/istanbul-lib-coverage": { "version": "2.0.4", "resolved": "https://registry.npmjs.org/@types/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.4.tgz", @@ -25817,9 +25837,9 @@ }, "dependencies": { "semver": { - "version": "7.3.7", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.7.tgz", - "integrity": "sha512-QlYTucUYOews+WeEujDoEGziz4K6c47V/Bd+LjSSYcA94p+DmINdf7ncaUinThfvZyu13lN9OY1XDxt8C0Tw0g==", + "version": "7.5.4", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", + "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", "dev": true, "peer": true, "requires": { @@ -27369,9 +27389,9 @@ }, "dependencies": { "semver": { - "version": "7.3.7", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.7.tgz", - "integrity": "sha512-QlYTucUYOews+WeEujDoEGziz4K6c47V/Bd+LjSSYcA94p+DmINdf7ncaUinThfvZyu13lN9OY1XDxt8C0Tw0g==", + "version": "7.5.4", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", + "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", "dev": true, "peer": true, "requires": { @@ -31310,9 +31330,9 @@ }, "dependencies": { "semver": { - "version": "7.3.8", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz", - "integrity": "sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==", + "version": "7.5.4", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", + "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", "dev": true, "requires": { "lru-cache": "^6.0.0" diff --git a/package.json b/package.json index 83ae481..71f7b98 100644 --- a/package.json +++ b/package.json @@ -36,7 +36,7 @@ "react-error-boundary": "4.0.10", "react-helmet-async": "1.3.0", "react-hook-form": "7.46.1", - "react-icons": "4.10.1", + "react-icons": "^4.10.1", "react-intersection-observer": "9.5.2", "react-lazy-load": "4.0.1", "react-router-dom": "6.14.0", @@ -47,6 +47,7 @@ "@sentry/react": "7.57.0", "@testing-library/jest-dom": "5.16.5", "@testing-library/react": "14.0.0", + "@types/cypress": "^1.1.3", "@types/react": "18.2.14", "@types/react-dom": "18.2.6", "@typescript-eslint/eslint-plugin": "6.0.0", diff --git a/src/data/links.ts b/src/data/links.ts index b351985..bee714d 100644 --- a/src/data/links.ts +++ b/src/data/links.ts @@ -69,58 +69,56 @@ const languages: Array = [ ]; const categories: Array = [ + { value: 'Adulto', label: 'Adulto' }, + { value: 'Autobiografía', label: 'Autobiografía' }, { value: 'Aventura', label: 'Aventura' }, + { value: 'Bebidas', label: 'Bebidas' }, + { value: 'Ciencia', label: 'Ciencia' }, { value: 'Ciencia Ficción', label: 'Ciencia Ficción' }, - { value: 'Clásicos', label: 'Clásicos' }, - { value: 'Terror', label: 'Terror' }, - { value: 'Suspenso', label: 'Suspenso' }, + { value: 'Cocina', label: 'Cocina' }, + { value: 'Cómics', label: 'Cómics' }, + { value: 'Cuento', label: 'Cuento' }, + { value: 'Cyberpunk', label: 'Cyberpunk' }, + { value: 'Desarrollo De Software', label: 'Desarrollo De Software' }, { value: 'Economía', label: 'Economía' }, - { value: 'Romance', label: 'Romance' }, + { value: 'Enciclopedias', label: 'Enciclopedias' }, + { value: 'Ensayo', label: 'Ensayo' }, + { value: 'Espacial', label: 'Espacial' }, + { value: 'Espionaje', label: 'Espionaje' }, { value: 'Fantasía', label: 'Fantasía' }, + { value: 'Ficción', label: 'Ficción' }, + { value: 'Ficción Histórica', label: 'Ficción Histórica' }, { value: 'Filosofía', label: 'Filosofía' }, - { value: 'Poesía', label: 'Poesía' }, - { value: 'Politica', label: 'Politica' }, - { value: 'Psicoterapia', label: 'Psicoterapia' }, - { value: 'Medicina', label: 'Medicina' }, - { value: 'Policiales', label: 'Policiales' }, - { value: 'Ciencia', label: 'Ciencia' }, - { value: 'Programación', label: 'Programación' }, - { value: 'Informática', label: 'Informática' }, - { value: 'Desarrollo De Software', label: 'Desarrollo De Software' }, - { value: 'Tecnología', label: 'Tecnología' }, { value: 'Física', label: 'Física' }, + { value: 'Guerra', label: 'Guerra' }, + { value: 'Histórico', label: 'Histórico' }, + { value: 'Historia', label: 'Historia' }, + { value: 'Horror', label: 'Horror' }, + { value: 'Humor', label: 'Humor' }, { value: 'Ingenierías', label: 'Ingenierías' }, - { value: 'Cómics', label: 'Cómics' }, - { value: 'Cocina', label: 'Cocina' }, - { value: 'Bebidas', label: 'Bebidas' }, + { value: 'Informática', label: 'Informática' }, { value: 'Literatura', label: 'Literatura' }, { value: 'Literatura Infantil', label: 'Literatura Infantil' }, - { value: 'Deportes', label: 'Deportes' }, - { value: 'Novela Histórica', label: 'Novela Histórica' }, - { value: 'Novela', label: 'Novela' }, - { value: 'Música', label: 'Música' }, - { value: 'Historia', label: 'Historia' }, + { value: 'Médicina', label: 'Médicina' }, { value: 'Misterio', label: 'Misterio' }, - { value: 'Thriller', label: 'Thriller' }, - { value: 'Adulto', label: 'Adulto' }, - { value: 'Ficción', label: 'Ficción' }, + { value: 'Música', label: 'Música' }, { value: 'No Ficción', label: 'No Ficción' }, - { value: 'Prehistoria', label: 'Prehistoria' }, - { value: 'Enciclopedias', label: 'Enciclopedias' }, - { value: 'Ficción Histórica', label: 'Ficción Histórica' }, - { value: 'Histórico', label: 'Histórico' }, - { value: 'Humor', label: 'Humor' }, - { value: 'Horror', label: 'Horror' }, + { value: 'Novela', label: 'Novela' }, + { value: 'Novela Histórica', label: 'Novela Histórica' }, { value: 'Novela Romantica', label: 'Novela Romantica' }, - { value: 'Cuento', label: 'Cuento' }, - { value: 'Ensayo', label: 'Ensayo' }, - { value: 'Autobiografía', label: 'Autobiografía' }, - { value: 'Cyberpunk', label: 'Cyberpunk' }, + { value: 'Poesía', label: 'Poesía' }, + { value: 'Politica', label: 'Politica' }, + { value: 'Policiales', label: 'Policiales' }, { value: 'Postapocalíptica', label: 'Postapocalíptica' }, - { value: 'Espacial', label: 'Espacial' }, - { value: 'Espionaje', label: 'Espionaje' }, - { value: 'Psicológica', label: 'Psicológica' }, - { value: 'Guerra', label: 'Guerra' }, + { value: 'Prehistoria', label: 'Prehistoria' }, + { value: 'Programación', label: 'Programación' }, + { value: 'Psicoterapia', label: 'Psicoterapia' }, + { value: 'Romance', label: 'Romance' }, + { value: 'Suspenso', label: 'Suspenso' }, + { value: 'Tecnología', label: 'Tecnología' }, + { value: 'Terror', label: 'Terror' }, + { value: 'Terror Psicológico', label: 'Terror Psicológico' }, + { value: 'Thriller', label: 'Thriller' }, ]; const format: Array = [ From 34bcdebc6efb20708f383bdc5896a8f22574ada0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Franco=20S=C3=A1nchez?= Date: Tue, 26 Sep 2023 07:14:22 -0300 Subject: [PATCH 3/3] chore: update package.json --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 71f7b98..e049310 100644 --- a/package.json +++ b/package.json @@ -36,7 +36,7 @@ "react-error-boundary": "4.0.10", "react-helmet-async": "1.3.0", "react-hook-form": "7.46.1", - "react-icons": "^4.10.1", + "react-icons": "4.10.1", "react-intersection-observer": "9.5.2", "react-lazy-load": "4.0.1", "react-router-dom": "6.14.0", @@ -47,7 +47,7 @@ "@sentry/react": "7.57.0", "@testing-library/jest-dom": "5.16.5", "@testing-library/react": "14.0.0", - "@types/cypress": "^1.1.3", + "@types/cypress": "1.1.3", "@types/react": "18.2.14", "@types/react-dom": "18.2.6", "@typescript-eslint/eslint-plugin": "6.0.0",