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 = {
|
||||
"env": {
|
||||
"browser": true,
|
||||
"commonjs": true,
|
||||
"es2021": true,
|
||||
"node": true
|
||||
env: {
|
||||
browser: true,
|
||||
commonjs: true,
|
||||
es2021: true,
|
||||
node: true,
|
||||
},
|
||||
"extends": "eslint:recommended",
|
||||
"overrides": [
|
||||
],
|
||||
"parserOptions": {
|
||||
"ecmaVersion": "latest"
|
||||
extends: 'eslint:recommended',
|
||||
overrides: [],
|
||||
parserOptions: {
|
||||
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
|
||||
@@ -3,4 +3,4 @@
|
||||
"tabWidth": 4,
|
||||
"semi": false,
|
||||
"singleQuote": true
|
||||
}
|
||||
}
|
||||
|
||||
6
.vscode/launch.json
vendored
6
.vscode/launch.json
vendored
@@ -8,10 +8,8 @@
|
||||
"type": "node",
|
||||
"request": "launch",
|
||||
"name": "Iniciar el programa",
|
||||
"skipFiles": [
|
||||
"<node_internals>/**"
|
||||
],
|
||||
"skipFiles": ["<node_internals>/**"],
|
||||
"program": "${workspaceFolder}\\example-app\\app.js"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
25
CHANGELOG.md
25
CHANGELOG.md
@@ -1,14 +1,15 @@
|
||||
#### Actualización 14 Ene 2022
|
||||
- npm update
|
||||
- remove ora and chalk
|
||||
- add env
|
||||
- add mysql
|
||||
- add dialogflow
|
||||
- add scan qr from webpage
|
||||
- update route with middleware
|
||||
- fix send message to story
|
||||
- external download
|
||||
- easy deploy heroku
|
||||
- add support for ubuntu/linux
|
||||
|
||||
https://stackoverflow.com/questions/51855169/dialogflow-403-iam-permission-dialogflow-sessions-detectintent
|
||||
- npm update
|
||||
- remove ora and chalk
|
||||
- add env
|
||||
- add mysql
|
||||
- add dialogflow
|
||||
- add scan qr from webpage
|
||||
- update route with middleware
|
||||
- fix send message to story
|
||||
- external download
|
||||
- easy deploy heroku
|
||||
- add support for ubuntu/linux
|
||||
|
||||
https://stackoverflow.com/questions/51855169/dialogflow-403-iam-permission-dialogflow-sessions-detectintent
|
||||
|
||||
@@ -1,25 +1,25 @@
|
||||
version: '3.3'
|
||||
|
||||
services:
|
||||
mongo:
|
||||
image: mongo
|
||||
container_name: app_enviroment
|
||||
restart: always
|
||||
ports:
|
||||
- "27019:27017"
|
||||
environment:
|
||||
MONGO_INITDB_DATABASE: bot
|
||||
expose:
|
||||
- 27019
|
||||
mysql:
|
||||
image: mysql
|
||||
command: --default-authentication-plugin=mysql_native_password
|
||||
restart: always
|
||||
environment:
|
||||
MYSQL_ROOT_PASSWORD: example
|
||||
MYSQL_DATABASE: bot
|
||||
container_name: app_mysql
|
||||
ports:
|
||||
- "3306:3306"
|
||||
expose:
|
||||
- 3306
|
||||
mongo:
|
||||
image: mongo
|
||||
container_name: app_enviroment
|
||||
restart: always
|
||||
ports:
|
||||
- '27019:27017'
|
||||
environment:
|
||||
MONGO_INITDB_DATABASE: bot
|
||||
expose:
|
||||
- 27019
|
||||
mysql:
|
||||
image: mysql
|
||||
command: --default-authentication-plugin=mysql_native_password
|
||||
restart: always
|
||||
environment:
|
||||
MYSQL_ROOT_PASSWORD: example
|
||||
MYSQL_DATABASE: bot
|
||||
container_name: app_mysql
|
||||
ports:
|
||||
- '3306:3306'
|
||||
expose:
|
||||
- 3306
|
||||
|
||||
@@ -21,7 +21,8 @@
|
||||
"test": "npm run test.unit && npm run test.e2e",
|
||||
"cli": "node ./packages/cli/bin/cli.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": [
|
||||
"packages/*",
|
||||
@@ -46,7 +47,6 @@
|
||||
],
|
||||
"repository": "https://github.com/leifermendez/bot-whatsapp",
|
||||
"license": "ISC",
|
||||
"dependencies": {},
|
||||
"devDependencies": {
|
||||
"@rollup/plugin-commonjs": "^23.0.2",
|
||||
"@rollup/plugin-json": "^5.0.1",
|
||||
@@ -62,7 +62,8 @@
|
||||
"rollup": "^3.2.3",
|
||||
"rollup-plugin-cleanup": "^3.2.1",
|
||||
"rollup-plugin-copy": "^3.4.0",
|
||||
"uvu": "^0.5.6"
|
||||
"uvu": "^0.5.6",
|
||||
"husky": "^8.0.2"
|
||||
},
|
||||
"packageManager": "yarn@3.2.0",
|
||||
"engines": {
|
||||
|
||||
@@ -1516,6 +1516,11 @@ human-signals@^2.1.0:
|
||||
resolved "https://registry.npmjs.org/human-signals/-/human-signals-2.1.0.tgz"
|
||||
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:
|
||||
version "1.2.1"
|
||||
resolved "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz"
|
||||
|
||||
Reference in New Issue
Block a user