Skip to content

Commit

Permalink
🚀 RELEASE: bulk-mail-cli v2 (#25)
Browse files Browse the repository at this point in the history
* 📦 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'
  • Loading branch information
kumarabhirup authored Dec 30, 2019
1 parent f69525c commit e5e08c3
Show file tree
Hide file tree
Showing 63 changed files with 1,001 additions and 2,345 deletions.
3 changes: 0 additions & 3 deletions .babelrc

This file was deleted.

42 changes: 42 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
{
"parser": "@typescript-eslint/parser",
"extends": [
"wesbos",
"plugin:@typescript-eslint/recommended",
"plugin:import/errors",
"plugin:import/warnings",
"plugin:import/typescript"
],
"rules": {
"semi": [
2,
"never"
]
},
"parserOptions": {
"ecmaVersion": 2018,
"sourceType": "module"
},
"env": {
"es6": true,
"browser": true,
"node": true
},
"plugins": [
"html",
"@typescript-eslint/eslint-plugin"
],
"settings": {
"html/html-extensions": [
".html"
],
"import/resolver": {
"node": {
"extensions": [
".js",
".ts"
]
}
}
}
}
14 changes: 8 additions & 6 deletions .github/ISSUE_TEMPLATE/---i-found-a-bug---.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
name: "\U0001F41B I found a BUG!!!"
about: Help us fix a bug to improve bulk-mail-cli.

---

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

**What should we do to reproduce this bug?**
Steps to reproduce the behavior:

1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
Expand All @@ -29,11 +29,13 @@ If applicable, add screenshots to help explain your problem.
---

**Environment (please complete the following information):**
- **OS:** [e.g. MacOS]
- **OS version:** [e.g. 18.0.0]
- **bulk-mail-cli version:** run `bulkmail -v`

- Also try running `uname -a` and paste the outcome below.

- **OS:** [e.g. MacOS]
- **OS version:** [e.g. 18.0.0]
- **bulk-mail-cli version:** run `bulkmail --version`

- Also try running `uname -a` and paste the outcome below.

```
Paste here.
```
Expand Down
80 changes: 15 additions & 65 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,69 +1,19 @@
# Logs
logs
*.log
.idea/
package-lock.json
node_modules/
.remy/
build
dist
.DS_Store
*.tgz
my-app*
template/src/__tests__/__snapshots__/
lerna-debug.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
.sideview
.DS_store

# Extras
dist*
package-lock.json*
*.lock
junkies*

# Runtime data
pids
*.pid
*.seed
*.pid.lock

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage

# nyc test coverage
.nyc_output

# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# Bower dependency directory (https://bower.io/)
bower_components

# node-waf configuration
.lock-wscript

# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release

# Dependency directories
node_modules*
jspm_packages/

# TypeScript v1 declaration files
typings/

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz

# Yarn Integrity file
.yarn-integrity

# dotenv environment variables file
/.changelog
.npm/
.env

# next.js build output
.next
yarn.lock
bulk-mail-cli Demo
9 changes: 7 additions & 2 deletions .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,15 @@ junkies*
.babelrc*
.sideview
.vscode
.DS_Store
.eslintrc
.prettierrc
tsconfig.json
yarn.lock

# FOR NPM PACKAGE
src/*
!src/dist/
src
!src/cli/assets

# node_modules
node_modules/*
Expand Down
3 changes: 3 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"semi": false
}
33 changes: 33 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
language: node_js
node_js:
- "8"
- "10"
- "11"

cache: yarn

install: yarn
before_script:
- yarn build

script:
- yarn test
- yarn lint

after_success:
- yarn pack

deploy:
- provider: releases
api_key: $GITHUB_TOKEN
file_glob: true
file: "bulk-mail-cli-*.tgz"
skip_cleanup: true
on:
branch: master
- provider: npm
skip_cleanup: true
email: $NPM_EMAIL
api_key: $NPM_TOKEN
on:
branch: master
24 changes: 18 additions & 6 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,19 @@
{
"workbench.colorCustomizations": {
// "titleBar.activeBackground": "#ffffff",
// "titleBar.activeForeground":"#000",
// "titleBar.border": "#0084ffcb"
}
}
"eslint.enable": true,
"editor.formatOnSave": true,
// turn VSCode internal formatter off for JS and JSX, ESLint will do it.
"[javascript]": {
"editor.formatOnSave": false
},
"[typescript]": {
"editor.formatOnSave": false
},
"[javascriptreact]": {
"editor.formatOnSave": false
},
"editor.codeActionsOnSave": {
"source.fixAll": true
},
// 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
"prettier.disableLanguages": ["javascript", "typescript"]
}
Loading

0 comments on commit e5e08c3

Please sign in to comment.