hugo-bin-extended 0.90.0 → 0.91.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.
Files changed (2) hide show
  1. package/lib/install.js +3 -2
  2. package/package.json +4 -3
package/lib/install.js CHANGED
@@ -1,5 +1,6 @@
1
1
  import path from 'node:path';
2
2
  import process from 'node:process';
3
+ import picocolors from 'picocolors';
3
4
  import bin from './index.js';
4
5
 
5
6
  function getProjectRoot() {
@@ -24,8 +25,8 @@ function getProjectRoot() {
24
25
 
25
26
  bin(getProjectRoot()).run(['version'])
26
27
  .then(() => {
27
- console.log('Hugo binary installed successfully!');
28
+ console.log(picocolors.green('Hugo binary successfully installed!'));
28
29
  })
29
30
  .catch(error => {
30
- console.error(`${error.message}\nHugo binary installation failed!`);
31
+ console.error(picocolors.red(`${error.message}\nHugo binary installation failed!`));
31
32
  });
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "hugo-bin-extended",
3
- "version": "0.90.0",
4
- "hugoVersion": "0.90.0",
3
+ "version": "0.91.2",
4
+ "hugoVersion": "0.91.2",
5
5
  "description": "Binary wrapper for Hugo Extended",
6
6
  "repository": {
7
7
  "type": "git",
@@ -20,12 +20,13 @@
20
20
  },
21
21
  "dependencies": {
22
22
  "bin-wrapper": "^4.1.0",
23
+ "picocolors": "^1.0.0",
23
24
  "pkg-conf": "^4.0.0",
24
25
  "rimraf": "^3.0.2"
25
26
  },
26
27
  "devDependencies": {
27
28
  "bin-check": "^4.1.0",
28
- "eslint": "^8.4.1",
29
+ "eslint": "^8.5.0",
29
30
  "uvu": "^0.5.2"
30
31
  },
31
32
  "scripts": {