Skip to content

Commit

Permalink
fix: change mail to email
Browse files Browse the repository at this point in the history
  • Loading branch information
vafanassieff committed May 28, 2022
1 parent 0da2e80 commit 5429db2
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
types: [created]

jobs:
build:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand Down
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# mail-alias

Create a mail alias easly from CLI !
# email-alias

Create a email alias easly from CLI !
2 changes: 1 addition & 1 deletion bin/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ provider
.argument('<provider>', 'Provider to use')
.action(set)

program.name('mail-alias').description('Manage email aliass').version('0.1.0')
program.name('email-alias').description('Manage email aliass').version('0.1.0')

program.command('list').description('List current aliass').action(list)

Expand Down
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
{
"name": "@vafanassieff/mail-alias",
"version": "0.1.0",
"description": "Create an email alias !",
"name": "@vafanassieff/email-alias",
"version": "0.1.1",
"description": "Create a email alias to keep you real email hidden !",
"main": "src/index.js",
"repository": {
"type": "git",
"url": "[email protected]:vafanassieff/mail-alias.git"
"url": "[email protected]:vafanassieff/email-alias.git"
},
"author": "Victor Afanassieff <[email protected]>",
"publishConfig": {
"access": "public"
},
"bugs": {
"url": "https://github.com/vafanassieff/mail-alias/issues"
"url": "https://github.com/vafanassieff/email-alias/issues"
},
"homepage": "https://github.com/vafanassieff/mail-alias#readme",
"homepage": "https://github.com/vafanassieff/email-alias#readme",
"keywords": [
"email",
"alias",
Expand Down
2 changes: 1 addition & 1 deletion src/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ import path from 'node:path'
* App default configuration
*/
export default {
path: path.join(os.homedir(), '.mail-alias.json'),
path: path.join(os.homedir(), '.email-alias.json'),
}
2 changes: 1 addition & 1 deletion src/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export const fileExists = (path) => {
*/
export const loadConfig = async () => {
if (!(await fileExists(config.path))) {
throw new Error('You need to run mail-alias provider configure first')
throw new Error('You need to run email-alias provider configure first')
}

return fs.readFile(config.path).then(JSON.parse)
Expand Down

0 comments on commit 5429db2

Please sign in to comment.