Skip to content

Commit e5e08c3

Browse files
authored
🚀 RELEASE: bulk-mail-cli v2 (#25)
* 📦 NEW: TypeScript Boilerplate * 📦 NEW: Make the TS dev workflow better * v2.0.0 * 🐛 FIX: Switch to v1.0.3 * 📦 NEW: Introduce .travis.yml * 🐛 FIX: Use yarn as your project manager * 🐛 FIX: Ahh! Travis please fix yourself * 🐛 FIX: Use node version 10 and 11 for Travis Test * 📦 NEW: Initialize basic TypeScript migration * 📦 NEW: bulk-mail-cli v2 typescript migration (#26) * 👌 IMPROVE: Typescript boilerplate created * 📦 NEW: Make feature that creates demo files on bulkmail demo * 📦 NEW: Compress a new demo zip The new zip contains the demo configuration file with changed lead.csv * 🐛 FIX: Fix the Authentication bug The TypeScript Codebase can now check for JSON file, its path, and can also check if the correct credentials are provided. * 📦 NEW: Write Mass Mailer * 👌 IMPROVE: Send mails only to the ones who didn't get * 📦 NEW: Write a stringProcessor * 🐛 FIX: Fix string processing of mail options * 📦 NEW: Read the HTML file * 👌 IMPROVE: Don't make users provide 'service' name in the config file * 📦 NEW: Introduce the Attachments feature! * 🐛 FIX: Delete node-cron module * 🐛 FIX: Don't throw error if nonUserData in config file is undefined * 🐛 FIX: Handle error when no attachment provided * 👌 IMPROVE: Use node-cron instead of a for-loop * 👌 IMPROVE: Remove people who got the mail from the csvData * 📦 NEW: New bulk-mail-cli Demo Zip * 🐛 FIX: Use for-loop if cron interval is less than 10 seconds * 👌 IMPROVE: Support env variables in configuration files. * 👌 IMPROVE: Support env variables in configuration files for all credentials. * 👌 IMPROVE: Support env variables in configuration files for all fields! * 📦 NEW: Allow {{fname|lname}} syntax * 👌 IMPROVE: Allow {{hi unknown field|hello}} syntax! * 👌 IMPROVE: Keep verbosity by default * 👌 IMPROVE: Write code to support SOCKS5 program * 📦 NEW: Restart flag * 📖 DOC: Write the brand new README! * 📖 DOC: Remove line break * 📖 DOC: Don't call it json * 📖 DOC: Better 'Send the Mail' title * 👌 IMPROVE: Add 'bulkmailDev' command in the bin * 📖 DOC: Add 'runs on cloud feature' * 🐛 FIX: Fix 'bulkmail demo' path not found bug * 📖 DOC: List features in a better way * 📖 DOC: Make a silly last minute change * 📖 DOC: Fix github issue template * 📖 DOC: Place 'Active on Slack at the top'
1 parent f69525c commit e5e08c3

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

63 files changed

+1001
-2345
lines changed

.babelrc

Lines changed: 0 additions & 3 deletions
This file was deleted.

.eslintrc

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
{
2+
"parser": "@typescript-eslint/parser",
3+
"extends": [
4+
"wesbos",
5+
"plugin:@typescript-eslint/recommended",
6+
"plugin:import/errors",
7+
"plugin:import/warnings",
8+
"plugin:import/typescript"
9+
],
10+
"rules": {
11+
"semi": [
12+
2,
13+
"never"
14+
]
15+
},
16+
"parserOptions": {
17+
"ecmaVersion": 2018,
18+
"sourceType": "module"
19+
},
20+
"env": {
21+
"es6": true,
22+
"browser": true,
23+
"node": true
24+
},
25+
"plugins": [
26+
"html",
27+
"@typescript-eslint/eslint-plugin"
28+
],
29+
"settings": {
30+
"html/html-extensions": [
31+
".html"
32+
],
33+
"import/resolver": {
34+
"node": {
35+
"extensions": [
36+
".js",
37+
".ts"
38+
]
39+
}
40+
}
41+
}
42+
}

.github/ISSUE_TEMPLATE/---i-found-a-bug---.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
---
22
name: "\U0001F41B I found a BUG!!!"
33
about: Help us fix a bug to improve bulk-mail-cli.
4-
54
---
65

76
**Briefly describe the bug**
@@ -11,6 +10,7 @@ A clear and concise description of what the bug is.
1110

1211
**What should we do to reproduce this bug?**
1312
Steps to reproduce the behavior:
13+
1414
1. Go to '...'
1515
2. Click on '....'
1616
3. Scroll down to '....'
@@ -29,11 +29,13 @@ If applicable, add screenshots to help explain your problem.
2929
---
3030

3131
**Environment (please complete the following information):**
32-
- **OS:** [e.g. MacOS]
33-
- **OS version:** [e.g. 18.0.0]
34-
- **bulk-mail-cli version:** run `bulkmail -v`
35-
36-
- Also try running `uname -a` and paste the outcome below.
32+
33+
- **OS:** [e.g. MacOS]
34+
- **OS version:** [e.g. 18.0.0]
35+
- **bulk-mail-cli version:** run `bulkmail --version`
36+
37+
- Also try running `uname -a` and paste the outcome below.
38+
3739
```
3840
Paste here.
3941
```

.gitignore

Lines changed: 15 additions & 65 deletions
Original file line numberDiff line numberDiff line change
@@ -1,69 +1,19 @@
1-
# Logs
2-
logs
3-
*.log
1+
.idea/
2+
package-lock.json
3+
node_modules/
4+
.remy/
5+
build
6+
dist
7+
.DS_Store
8+
*.tgz
9+
my-app*
10+
template/src/__tests__/__snapshots__/
11+
lerna-debug.log
412
npm-debug.log*
513
yarn-debug.log*
614
yarn-error.log*
7-
.sideview
8-
.DS_store
9-
10-
# Extras
11-
dist*
12-
package-lock.json*
13-
*.lock
14-
junkies*
15-
16-
# Runtime data
17-
pids
18-
*.pid
19-
*.seed
20-
*.pid.lock
21-
22-
# Directory for instrumented libs generated by jscoverage/JSCover
23-
lib-cov
24-
25-
# Coverage directory used by tools like istanbul
26-
coverage
27-
28-
# nyc test coverage
29-
.nyc_output
30-
31-
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
32-
.grunt
33-
34-
# Bower dependency directory (https://bower.io/)
35-
bower_components
36-
37-
# node-waf configuration
38-
.lock-wscript
39-
40-
# Compiled binary addons (https://nodejs.org/api/addons.html)
41-
build/Release
42-
43-
# Dependency directories
44-
node_modules*
45-
jspm_packages/
46-
47-
# TypeScript v1 declaration files
48-
typings/
49-
50-
# Optional npm cache directory
51-
.npm
52-
53-
# Optional eslint cache
54-
.eslintcache
55-
56-
# Optional REPL history
57-
.node_repl_history
58-
59-
# Output of 'npm pack'
60-
*.tgz
61-
62-
# Yarn Integrity file
63-
.yarn-integrity
64-
65-
# dotenv environment variables file
15+
/.changelog
16+
.npm/
6617
.env
67-
68-
# next.js build output
69-
.next
18+
yarn.lock
19+
bulk-mail-cli Demo

.npmignore

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,15 @@ junkies*
55
.babelrc*
66
.sideview
77
.vscode
8+
.DS_Store
9+
.eslintrc
10+
.prettierrc
11+
tsconfig.json
12+
yarn.lock
813

914
# FOR NPM PACKAGE
10-
src/*
11-
!src/dist/
15+
src
16+
!src/cli/assets
1217

1318
# node_modules
1419
node_modules/*

.prettierrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"semi": false
3+
}

.travis.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
language: node_js
2+
node_js:
3+
- "8"
4+
- "10"
5+
- "11"
6+
7+
cache: yarn
8+
9+
install: yarn
10+
before_script:
11+
- yarn build
12+
13+
script:
14+
- yarn test
15+
- yarn lint
16+
17+
after_success:
18+
- yarn pack
19+
20+
deploy:
21+
- provider: releases
22+
api_key: $GITHUB_TOKEN
23+
file_glob: true
24+
file: "bulk-mail-cli-*.tgz"
25+
skip_cleanup: true
26+
on:
27+
branch: master
28+
- provider: npm
29+
skip_cleanup: true
30+
email: $NPM_EMAIL
31+
api_key: $NPM_TOKEN
32+
on:
33+
branch: master

.vscode/settings.json

Lines changed: 18 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,19 @@
11
{
2-
"workbench.colorCustomizations": {
3-
// "titleBar.activeBackground": "#ffffff",
4-
// "titleBar.activeForeground":"#000",
5-
// "titleBar.border": "#0084ffcb"
6-
}
7-
}
2+
"eslint.enable": true,
3+
"editor.formatOnSave": true,
4+
// turn VSCode internal formatter off for JS and JSX, ESLint will do it.
5+
"[javascript]": {
6+
"editor.formatOnSave": false
7+
},
8+
"[typescript]": {
9+
"editor.formatOnSave": false
10+
},
11+
"[javascriptreact]": {
12+
"editor.formatOnSave": false
13+
},
14+
"editor.codeActionsOnSave": {
15+
"source.fixAll": true
16+
},
17+
// Optional BUT IMPORTANT: If you have the prettier extension enabled for other languages like CSS and HTML, turn it off for JS since we are doing it through Eslint already
18+
"prettier.disableLanguages": ["javascript", "typescript"]
19+
}

0 commit comments

Comments
 (0)