antelope-cli 1.1.0 → 1.1.2

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
File without changes
@@ -39,6 +39,7 @@ const finishOnboarding = () => {
39
39
 
40
40
  const startOnBoarding = async () => {
41
41
  console.log(chalk.underline(chalk.cyan("Welcome to Antelope's on-boarding bot \n")));
42
+ console.log(chalk.underline(chalk.yellowBright("Wowwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww")));
42
43
  try {
43
44
  console.log(chalk.bold(chalk.yellow('\nStep 1: Add to variables-colors.scss')));
44
45
  await variableColors.start(rl);
@@ -62,7 +62,7 @@ function start(rl) {
62
62
  data = addColorToMap(
63
63
  'theme-colors',
64
64
  brand.connectedBrandName,
65
- brand.color ? `$${brand.connectedBrandName}` : '$corp',
65
+ brand.color ? `,$${brand.connectedBrandName}` : '$corp',
66
66
  data
67
67
  );
68
68
  data = addColorToMap(
@@ -21,9 +21,10 @@ function start(rl) {
21
21
  const colorsMap = match[1];
22
22
 
23
23
  // Append the new brand to the colors map
24
- const newColorsMap = `$colors: (${colorsMap} '${connectedBrandName}': ${
24
+ const newColorsMap = `$colors: (${colorsMap} '${connectedBrandName}': ${
25
25
  hexColor ? '$' + connectedBrandName : defaultColor
26
26
  },\n)`;
27
+ console.log(chalk.yellowBright(colorsMap, newColorsMap));
27
28
 
28
29
  // Replace the $colors map in the file with the new one
29
30
  data = data.replace(colorsRegex, newColorsMap);
package/package.json CHANGED
@@ -1,30 +1,30 @@
1
- {
2
- "name": "antelope-cli",
3
- "version": "1.1.0",
4
- "description": "CLI-Tool for automating processes for Antelope-Systems ",
5
- "main": "index.js",
6
- "bin": {
7
- "ant-cli": "./index.js"
8
- },
9
- "engines": {
10
- "node": "^16.20.2"
11
- },
12
- "scripts": {
13
- "test": "test"
14
- },
15
- "repository": {
16
- "type": "git",
17
- "url": ""
18
- },
19
- "keywords": [
20
- "cli"
21
- ],
22
- "author": "Idan Atias",
23
- "license": "ISC",
24
- "homepage": "",
25
- "dependencies": {
26
- "chalk": "^2.0.0",
27
- "node-fetch": "^2.6.1",
28
- "unzipper": "^0.12.1"
29
- }
30
- }
1
+ {
2
+ "name": "antelope-cli",
3
+ "version": "1.1.2",
4
+ "description": "CLI-Tool for automating processes for Antelope-Systems ",
5
+ "main": "index.js",
6
+ "bin": {
7
+ "ant-cli": "./index.js"
8
+ },
9
+ "engines": {
10
+ "node": "^16.20.2"
11
+ },
12
+ "scripts": {
13
+ "test": "test"
14
+ },
15
+ "repository": {
16
+ "type": "git",
17
+ "url": ""
18
+ },
19
+ "keywords": [
20
+ "cli"
21
+ ],
22
+ "author": "Idan Atias",
23
+ "license": "ISC",
24
+ "homepage": "",
25
+ "dependencies": {
26
+ "chalk": "^2.0.0",
27
+ "node-fetch": "^2.6.1",
28
+ "unzipper": "^0.12.1"
29
+ }
30
+ }