tom-microservice 3.2.12 → 3.2.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,8 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ### 3.2.13 (2021-10-12)
6
+
5
7
  ### 3.2.12 (2021-09-23)
6
8
 
7
9
  ### 3.2.11 (2021-09-13)
package/bin/help.js CHANGED
@@ -1,30 +1,31 @@
1
1
  'use strict'
2
2
 
3
+ const colors = require('picocolors')
4
+
3
5
  const logo = require('./logo')
4
- const chalk = require('chalk')
5
6
 
6
7
  module.exports = `
7
- ${chalk.dim(logo({ header: 'tom microservice – https://tom.js.org' }))}
8
+ ${colors.dim(logo({ header: 'tom microservice – https://tom.js.org' }))}
8
9
 
9
- ${chalk.dim('Usage')}
10
+ ${colors.dim('Usage')}
10
11
 
11
12
  $ tom [<flags>] <command> [<args> ...]
12
13
 
13
- ${chalk.dim('Options')}
14
+ ${colors.dim('Options')}
14
15
 
15
16
  -c, --config Specify a configuration file path
16
17
  -h, --help Show this usage information
17
18
  -p, --port <n> Port to listen on (defaults to 3000)
18
19
  -v, --version Output the version number
19
20
 
20
- ${chalk.dim('Examples')}
21
+ ${colors.dim('Examples')}
21
22
 
22
- ${chalk.dim('–')} Run microservice on port 1337
23
+ ${colors.dim('–')} Run microservice on port 1337
23
24
 
24
- $ tom ${chalk.dim('-p 1337')}
25
+ $ tom ${colors.dim('-p 1337')}
25
26
 
26
- ${chalk.dim('–')} Send a email notification from CLI
27
+ ${colors.dim('–')} Send a email notification from CLI
27
28
 
28
- $ tom ${chalk.dim(
29
- "--command=notification.email --templateId=welcome --to=hello@kikobeats.com --subject='hello world'"
30
- )}`
29
+ $ tom ${colors.dim(
30
+ "--command=notification.email --templateId=welcome --to=hello@kikobeats.com --subject='hello world'"
31
+ )}`
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "tom-microservice",
3
3
  "description": "Tom creates customers, subscriptions plans & send notifications.",
4
4
  "homepage": "https://tom.js.org",
5
- "version": "3.2.12",
5
+ "version": "3.2.13",
6
6
  "main": "src",
7
7
  "bin": {
8
8
  "tom": "bin/index.js"
@@ -42,7 +42,6 @@
42
42
  "acho": "~4.0.6",
43
43
  "beauty-error": "~1.2.8",
44
44
  "body-parser": "~1.19.0",
45
- "chalk": "~4.1.2",
46
45
  "compression": "~1.7.4",
47
46
  "cors": "~2.8.5",
48
47
  "cosmiconfig": "~7.0.1",
@@ -60,11 +59,12 @@
60
59
  "map-values-deep": "~1.0.2",
61
60
  "meow": "~9.0.0",
62
61
  "morgan": "~1.10.0",
63
- "nodemailer": "~6.6.3",
62
+ "nodemailer": "~6.7.0",
64
63
  "ow": "~0.28.0",
65
64
  "p-reflect": "~2.1.0",
66
65
  "p-retry": "~4.6.1",
67
66
  "p-waterfall": "~2.1.1",
67
+ "picocolors": "~0.2.1",
68
68
  "pretty-ms": "~7.0.1",
69
69
  "req-country": "~1.2.2",
70
70
  "request-ip": "~2.1.3",