Skip to content

Commit

Permalink
Merge pull request #24 from opticrd/fix-socket-handling
Browse files Browse the repository at this point in the history
refactor: multiple fixes
  • Loading branch information
gustavovalverde authored May 14, 2023
2 parents e37e1e5 + ee71801 commit 82922d2
Show file tree
Hide file tree
Showing 60 changed files with 760 additions and 1,121 deletions.
23 changes: 22 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,24 @@
{
"extends": "next/core-web-vitals"
"env": {
"browser": true,
"es2021": true
},
"extends": [
"plugin:@typescript-eslint/recommended",
"next",
"next/core-web-vitals",
"prettier"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"ecmaVersion": 12,
"sourceType": "module"
},
"rules": {
"@typescript-eslint/no-explicit-any": "off"
},
"plugins": ["@typescript-eslint"]
}
12 changes: 6 additions & 6 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
version: 2
updates:
- package-ecosystem: 'npm'
directory: '/'
- package-ecosystem: "npm"
directory: "/"
target-branch: main
schedule:
interval: 'weekly'
interval: "weekly"
open-pull-requests-limit: 20
commit-message:
prefix: 'deps'
prefix: "deps"

- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
interval: "weekly"
7 changes: 7 additions & 0 deletions .prettierrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
module.exports = {
printWidth: 80,
semi: true,
singleQuote: true,
tabWidth: 2,
useTabs: false,
};
28 changes: 28 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"version": "0.2.0",
"configurations": [
{
"name": "Next.js: debug server-side",
"type": "node-terminal",
"request": "launch",
"command": "yarn run dev"
},
{
"name": "Next.js: debug client-side",
"type": "chrome",
"request": "launch",
"url": "http://localhost:3000"
},
{
"name": "Next.js: debug full stack",
"type": "node-terminal",
"request": "launch",
"command": "yarn run dev",
"serverReadyAction": {
"pattern": "started server on .+, url: (https?://.+)",
"uriFormat": "%s",
"action": "debugWithChrome"
}
}
]
}
28 changes: 14 additions & 14 deletions audit-ci.jsonc
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
{
// audit-ci supports reading JSON, JSONC, and JSON5 config files.
// Add a $schema property to enable JSON schema validation.
"$schema": "https://github.com/IBM/audit-ci/raw/main/docs/schema.json",
// You only need one of ["low", "moderate", "high", "critical"].
"low": true,
"allowlist": [
{
"GHSA-9c47-m6qq-7p4h|eslint-plugin-import>tsconfig-paths>json5": {
"active": true, // This field is optional and defaults to true.
"expiry": "", // There's no need to set an expiry date because we are unaffected.
"notes": "Transitive development-only dependency for linting doesn't impact the security of this application in production or for developers."
}
// audit-ci supports reading JSON, JSONC, and JSON5 config files.
// Add a $schema property to enable JSON schema validation.
"$schema": "https://github.com/IBM/audit-ci/raw/main/docs/schema.json",
// You only need one of ["low", "moderate", "high", "critical"].
"low": true,
"allowlist": [
{
"GHSA-9c47-m6qq-7p4h|eslint-plugin-import>tsconfig-paths>json5": {
"active": true, // This field is optional and defaults to true.
"expiry": "", // There's no need to set an expiry date because we are unaffected.
"notes": "Transitive development-only dependency for linting doesn't impact the security of this application in production or for developers."
}
]
}
}
]
}
12 changes: 9 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"aws-amplify": "^5.1.4",
"axios": "^1.4.0",
"cookie": "^0.5.0",
"eslint": "8.35.0",
"eslint": "^8.40.0",
"eslint-config-next": "13.2.3",
"next": "13.2.3",
"prop-types": ">=15.7.0",
Expand All @@ -39,11 +39,17 @@
"yup": "0.32.11"
},
"devDependencies": {
"@types/axios": "^0.14.0",
"@types/cookie": "^0.5.1",
"@types/node": "^18.16.3",
"@types/react": "^18.2.1",
"@types/react-dom": "^18.2.2",
"@types/react-google-recaptcha": "^2.1.5"
"@types/react-google-recaptcha": "^2.1.5",
"@typescript-eslint/eslint-plugin": "^5.59.5",
"@typescript-eslint/parser": "^5.59.5",
"eslint-config-prettier": "^8.8.0",
"eslint-import-resolver-typescript": "^3.5.5",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-prettier": "^4.2.1",
"prettier": ">=2.0.0"
}
}
2 changes: 1 addition & 1 deletion public/assets/forma.png.REMOVED.git-id
Original file line number Diff line number Diff line change
@@ -1 +1 @@
d37a2f5aa588ebc67f5d8f8349f1ee83bef65bd0
b99d6dbb23d221d570860372d59978f77b3a739f
Binary file modified public/assets/glass.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 0 additions & 1 deletion public/assets/ladingChica.png.REMOVED.git-id

This file was deleted.

1 change: 0 additions & 1 deletion public/assets/ladingChica2.png.REMOVED.git-id

This file was deleted.

1 change: 0 additions & 1 deletion public/assets/ladingHome.svg.REMOVED.git-id

This file was deleted.

1 change: 1 addition & 0 deletions public/assets/landingChica.png.REMOVED.git-id
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
b3cad6e88de4ad1b321245cc7e08d84a40d54288
1 change: 1 addition & 0 deletions public/assets/landingChica2.png.REMOVED.git-id
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
44e98e12f0d9ae1c0096cf29dcfdb37d0d2b4b76
1 change: 1 addition & 0 deletions public/assets/landingChico.png.REMOVED.git-id
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
19338c622e8ace9bc92af8c3af7523f6d9221472
1 change: 1 addition & 0 deletions public/assets/landingHome.svg.REMOVED.git-id
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
954dcd5318fbeb1aa77932a90e26b0846e80ceed
Binary file modified public/assets/logoCuentaUnica.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified public/assets/logoDedo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified public/assets/logoGOB.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified public/assets/logoOGTIC.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified public/assets/smile.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified public/assets/sun.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 82922d2

Please sign in to comment.