mirror of
https://github.com/cheveguerra/bot-whatsapp.git
synced 2026-04-17 19:26:23 +00:00
.
This commit is contained in:
22
.eslintrc.js
22
.eslintrc.js
@@ -1,16 +1,14 @@
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
"env": {
|
env: {
|
||||||
"browser": true,
|
browser: true,
|
||||||
"commonjs": true,
|
commonjs: true,
|
||||||
"es2021": true,
|
es2021: true,
|
||||||
"node": true
|
node: true,
|
||||||
},
|
},
|
||||||
"extends": "eslint:recommended",
|
extends: 'eslint:recommended',
|
||||||
"overrides": [
|
overrides: [],
|
||||||
],
|
parserOptions: {
|
||||||
"parserOptions": {
|
ecmaVersion: 'latest',
|
||||||
"ecmaVersion": "latest"
|
|
||||||
},
|
},
|
||||||
"rules": {
|
rules: {},
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
4
.husky/pre-commit
Normal file
4
.husky/pre-commit
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
#!/usr/bin/env sh
|
||||||
|
. "$(dirname -- "$0")/_/husky.sh"
|
||||||
|
|
||||||
|
yarn run format:check && yarn run format:write
|
||||||
4
.husky/pre-push
Normal file
4
.husky/pre-push
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
#!/usr/bin/env sh
|
||||||
|
. "$(dirname -- "$0")/_/husky.sh"
|
||||||
|
|
||||||
|
yarn run lint:check && yarn run lint:fix
|
||||||
8
.prettierignore
Normal file
8
.prettierignore
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
packages/**/lib
|
||||||
|
**/.git
|
||||||
|
**/.svn
|
||||||
|
**/.hg
|
||||||
|
**/node_modules
|
||||||
|
*.mjs
|
||||||
|
*.cjs
|
||||||
|
*.md
|
||||||
4
.vscode/launch.json
vendored
4
.vscode/launch.json
vendored
@@ -8,9 +8,7 @@
|
|||||||
"type": "node",
|
"type": "node",
|
||||||
"request": "launch",
|
"request": "launch",
|
||||||
"name": "Iniciar el programa",
|
"name": "Iniciar el programa",
|
||||||
"skipFiles": [
|
"skipFiles": ["<node_internals>/**"],
|
||||||
"<node_internals>/**"
|
|
||||||
],
|
|
||||||
"program": "${workspaceFolder}\\example-app\\app.js"
|
"program": "${workspaceFolder}\\example-app\\app.js"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
#### Actualización 14 Ene 2022
|
#### Actualización 14 Ene 2022
|
||||||
|
|
||||||
- npm update
|
- npm update
|
||||||
- remove ora and chalk
|
- remove ora and chalk
|
||||||
- add env
|
- add env
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ services:
|
|||||||
container_name: app_enviroment
|
container_name: app_enviroment
|
||||||
restart: always
|
restart: always
|
||||||
ports:
|
ports:
|
||||||
- "27019:27017"
|
- '27019:27017'
|
||||||
environment:
|
environment:
|
||||||
MONGO_INITDB_DATABASE: bot
|
MONGO_INITDB_DATABASE: bot
|
||||||
expose:
|
expose:
|
||||||
@@ -20,6 +20,6 @@ services:
|
|||||||
MYSQL_DATABASE: bot
|
MYSQL_DATABASE: bot
|
||||||
container_name: app_mysql
|
container_name: app_mysql
|
||||||
ports:
|
ports:
|
||||||
- "3306:3306"
|
- '3306:3306'
|
||||||
expose:
|
expose:
|
||||||
- 3306
|
- 3306
|
||||||
|
|||||||
@@ -21,7 +21,8 @@
|
|||||||
"test": "npm run test.unit && npm run test.e2e",
|
"test": "npm run test.unit && npm run test.e2e",
|
||||||
"cli": "node ./packages/cli/bin/cli.js",
|
"cli": "node ./packages/cli/bin/cli.js",
|
||||||
"dev:debug": "node --inspect ./example-app/app.js",
|
"dev:debug": "node --inspect ./example-app/app.js",
|
||||||
"dev": "node ./example-app/app.js"
|
"dev": "node ./example-app/app.js",
|
||||||
|
"prepare": "husky install"
|
||||||
},
|
},
|
||||||
"workspaces": [
|
"workspaces": [
|
||||||
"packages/*",
|
"packages/*",
|
||||||
@@ -46,7 +47,6 @@
|
|||||||
],
|
],
|
||||||
"repository": "https://github.com/leifermendez/bot-whatsapp",
|
"repository": "https://github.com/leifermendez/bot-whatsapp",
|
||||||
"license": "ISC",
|
"license": "ISC",
|
||||||
"dependencies": {},
|
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@rollup/plugin-commonjs": "^23.0.2",
|
"@rollup/plugin-commonjs": "^23.0.2",
|
||||||
"@rollup/plugin-json": "^5.0.1",
|
"@rollup/plugin-json": "^5.0.1",
|
||||||
@@ -62,7 +62,8 @@
|
|||||||
"rollup": "^3.2.3",
|
"rollup": "^3.2.3",
|
||||||
"rollup-plugin-cleanup": "^3.2.1",
|
"rollup-plugin-cleanup": "^3.2.1",
|
||||||
"rollup-plugin-copy": "^3.4.0",
|
"rollup-plugin-copy": "^3.4.0",
|
||||||
"uvu": "^0.5.6"
|
"uvu": "^0.5.6",
|
||||||
|
"husky": "^8.0.2"
|
||||||
},
|
},
|
||||||
"packageManager": "yarn@3.2.0",
|
"packageManager": "yarn@3.2.0",
|
||||||
"engines": {
|
"engines": {
|
||||||
|
|||||||
@@ -1516,6 +1516,11 @@ human-signals@^2.1.0:
|
|||||||
resolved "https://registry.npmjs.org/human-signals/-/human-signals-2.1.0.tgz"
|
resolved "https://registry.npmjs.org/human-signals/-/human-signals-2.1.0.tgz"
|
||||||
integrity sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==
|
integrity sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==
|
||||||
|
|
||||||
|
husky@^8.0.2:
|
||||||
|
version "8.0.2"
|
||||||
|
resolved "https://registry.yarnpkg.com/husky/-/husky-8.0.2.tgz#5816a60db02650f1f22c8b69b928fd6bcd77a236"
|
||||||
|
integrity sha512-Tkv80jtvbnkK3mYWxPZePGFpQ/tT3HNSs/sasF9P2YfkMezDl3ON37YN6jUUI4eTg5LcyVynlb6r4eyvOmspvg==
|
||||||
|
|
||||||
ieee754@^1.1.13:
|
ieee754@^1.1.13:
|
||||||
version "1.2.1"
|
version "1.2.1"
|
||||||
resolved "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz"
|
resolved "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz"
|
||||||
|
|||||||
Reference in New Issue
Block a user