mirror of
https://github.com/cheveguerra/bot-whatsapp.git
synced 2026-04-17 19:26:23 +00:00
refactor: 💡 pkgmanager
Upgrade Yarn v3
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -19,6 +19,7 @@ coverage/
|
||||
log
|
||||
lib
|
||||
tmp/
|
||||
.yarn/*
|
||||
.fleet/
|
||||
example-app/
|
||||
qr.svg
|
||||
|
||||
1
.yarnrc.yml
Normal file
1
.yarnrc.yml
Normal file
@@ -0,0 +1 @@
|
||||
yarnPath: .yarn/releases/yarn-3.3.0.cjs
|
||||
91
changelog.config.js
Normal file
91
changelog.config.js
Normal file
@@ -0,0 +1,91 @@
|
||||
module.exports = {
|
||||
disableEmoji: false,
|
||||
format: '{type}{scope}: {emoji}{subject}',
|
||||
list: [
|
||||
'test',
|
||||
'feat',
|
||||
'fix',
|
||||
'chore',
|
||||
'docs',
|
||||
'refactor',
|
||||
'style',
|
||||
'ci',
|
||||
'perf',
|
||||
],
|
||||
maxMessageLength: 64,
|
||||
minMessageLength: 3,
|
||||
questions: [
|
||||
'type',
|
||||
'scope',
|
||||
'subject',
|
||||
'body',
|
||||
'breaking',
|
||||
'issues',
|
||||
'lerna',
|
||||
],
|
||||
scopes: [],
|
||||
types: {
|
||||
chore: {
|
||||
description: 'Build process or auxiliary tool changes',
|
||||
emoji: '🤖',
|
||||
value: 'chore',
|
||||
},
|
||||
ci: {
|
||||
description: 'CI related changes',
|
||||
emoji: '🎡',
|
||||
value: 'ci',
|
||||
},
|
||||
docs: {
|
||||
description: 'Documentation only changes',
|
||||
emoji: '✏️',
|
||||
value: 'docs',
|
||||
},
|
||||
feat: {
|
||||
description: 'A new feature',
|
||||
emoji: '🎸',
|
||||
value: 'feat',
|
||||
},
|
||||
fix: {
|
||||
description: 'A bug fix',
|
||||
emoji: '🐛',
|
||||
value: 'fix',
|
||||
},
|
||||
perf: {
|
||||
description: 'A code change that improves performance',
|
||||
emoji: '⚡️',
|
||||
value: 'perf',
|
||||
},
|
||||
refactor: {
|
||||
description:
|
||||
'A code change that neither fixes a bug or adds a feature',
|
||||
emoji: '💡',
|
||||
value: 'refactor',
|
||||
},
|
||||
release: {
|
||||
description: 'Create a release commit',
|
||||
emoji: '🏹',
|
||||
value: 'release',
|
||||
},
|
||||
style: {
|
||||
description:
|
||||
'Markup, white-space, formatting, missing semi-colons...',
|
||||
emoji: '💄',
|
||||
value: 'style',
|
||||
},
|
||||
test: {
|
||||
description: 'Adding missing tests',
|
||||
emoji: '💍',
|
||||
value: 'test',
|
||||
},
|
||||
messages: {
|
||||
type: "Select the type of change that you're committing:",
|
||||
customScope: 'Select the scope this component affects:',
|
||||
subject:
|
||||
'Write a short, imperative mood description of the change:\n',
|
||||
body: 'Provide a longer description of the change:\n ',
|
||||
breaking: 'List any breaking changes:\n',
|
||||
footer: 'Issues this commit closes, e.g #123:',
|
||||
confirmCommit: 'The packages that this commit has affected\n',
|
||||
},
|
||||
},
|
||||
}
|
||||
@@ -68,11 +68,12 @@
|
||||
"prompts": "^2.4.2",
|
||||
"rimraf": "^3.0.2",
|
||||
"rollup": "^3.2.3",
|
||||
"git-cz": "^4.9.0",
|
||||
"rollup-plugin-cleanup": "^3.2.1",
|
||||
"rollup-plugin-copy": "^3.4.0",
|
||||
"uvu": "^0.5.6"
|
||||
},
|
||||
"packageManager": "yarn@1.22.19",
|
||||
"packageManager": "yarn@3.3.0",
|
||||
"engines": {
|
||||
"node": ">=16",
|
||||
"npm": "please-use-yarn",
|
||||
@@ -81,7 +82,7 @@
|
||||
"author": "Leifer Mendez <leifer33@gmail.com>",
|
||||
"config": {
|
||||
"commitizen": {
|
||||
"path": "./node_modules/cz-conventional-changelog"
|
||||
"path": "git-cz"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -7,7 +7,6 @@
|
||||
"keywords": [],
|
||||
"author": "",
|
||||
"license": "ISC",
|
||||
"devDependencies": {},
|
||||
"dependencies": {
|
||||
"dotenv": "^16.0.3",
|
||||
"mongodb": "^4.11.0"
|
||||
|
||||
Reference in New Issue
Block a user