antelope-cli 1.0.11 → 1.0.12

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/index.js CHANGED
@@ -1,8 +1,4 @@
1
1
  #!/usr/bin/env node
2
-
3
- const path = require('path');
4
- require('dotenv').config({ path: path.resolve(__dirname, '.env') });
5
-
6
2
  const args = process.argv.slice(2);
7
3
 
8
4
  if (args[0] === "onboarding") {
@@ -57,10 +57,9 @@ async function start(rl) {
57
57
  * Returns an object containing the necessary parameters for the RealFaviconGenerator API.
58
58
  */
59
59
  function getFaviconRequest(brand, imagePath) {
60
- console.log(process.env);
61
60
  return {
62
61
  favicon_generation: {
63
- api_key: process.env.FAVICON_API_KEY,
62
+ api_key: '9123c4e1f216b0538089859917ff21b791a4c6db',
64
63
  master_picture: {
65
64
  type: 'url',
66
65
  url: imagePath
@@ -38,8 +38,6 @@ const finishOnboarding = () => {
38
38
  };
39
39
 
40
40
  const startOnBoarding = async () => {
41
- require('dotenv').config();
42
-
43
41
  console.log(chalk.underline(chalk.cyan("Welcome to Antelope's on-boarding bot \n")));
44
42
  try {
45
43
  console.log(chalk.bold(chalk.yellow('\nStep 1: Add to variables-colors.scss')));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "antelope-cli",
3
- "version": "1.0.11",
3
+ "version": "1.0.12",
4
4
  "description": "CLI-Tool for automating processes for Antelope-Systems ",
5
5
  "main": "index.js",
6
6
  "bin": {
@@ -21,7 +21,6 @@
21
21
  "homepage": "https://bitbucket.org/xsitesinc/antelope-cli#readme",
22
22
  "dependencies": {
23
23
  "chalk": "^2.0.0",
24
- "dotenv": "^16.4.5",
25
24
  "node-fetch": "^2.6.1",
26
25
  "unzipper": "^0.12.1"
27
26
  }