sandstone-cli 1.0.0 → 1.0.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.
@@ -1,7 +1,7 @@
1
1
  import { SemVer } from 'semver';
2
2
  import fs from 'fs-extra';
3
3
  import path from 'path';
4
- import chalk from 'chalk';
4
+ import chalk from 'chalk-template';
5
5
  import util from 'util';
6
6
  import * as child from 'child_process';
7
7
  import { nanoid } from 'nanoid';
package/lib/utils.js CHANGED
@@ -2,7 +2,7 @@ import fs from 'fs';
2
2
  import os from 'os';
3
3
  import path from 'path';
4
4
  import { execSync } from 'child_process';
5
- import chalk from 'chalk';
5
+ import chalk from 'chalk-template';
6
6
  export function hasYarn() {
7
7
  try {
8
8
  execSync('yarn --version');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sandstone-cli",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "description": "The CLI for Sandstone - the minecraft pack creation library.",
5
5
  "type": "module",
6
6
  "exports": "./lib/index.js",
@@ -44,12 +44,13 @@
44
44
  "@types/node": "^20.8.6",
45
45
  "adm-zip": "^0.5.10",
46
46
  "chalk": "^5.3.0",
47
+ "chalk-template": "^1.1.0",
47
48
  "chokidar": "^3.5.3",
48
49
  "commander": "^10.0.1",
49
50
  "delete-empty": "^3.0.0",
50
51
  "figlet": "^1.6.0",
51
52
  "fs-extra": "^11.1.1",
52
- "inquirer": "^9.2.9",
53
+ "inquirer": "^9.2.11",
53
54
  "klaw": "^4.1.0",
54
55
  "nanoid": "^4.0.2",
55
56
  "pretty-error": "^4.0.0",
@@ -57,13 +58,13 @@
57
58
  "ts-node": "^10.9.1"
58
59
  },
59
60
  "devDependencies": {
60
- "@types/adm-zip": "^0.5.0",
61
+ "@types/adm-zip": "^0.5.2",
61
62
  "@types/delete-empty": "^3.0.2",
62
63
  "@types/figlet": "^1.5.6",
63
- "@types/fs-extra": "^11.0.1",
64
- "@types/inquirer": "^9.0.3",
65
- "@types/klaw": "^3.0.3",
66
- "@types/semver": "^7.5.0",
67
- "typescript": "^5.1.6"
64
+ "@types/fs-extra": "^11.0.2",
65
+ "@types/inquirer": "^9.0.4",
66
+ "@types/klaw": "^3.0.4",
67
+ "@types/semver": "^7.5.3",
68
+ "typescript": "^5.2.2"
68
69
  }
69
70
  }
@@ -1,7 +1,7 @@
1
1
  import { SemVer } from 'semver'
2
2
  import fs from 'fs-extra'
3
3
  import path from 'path'
4
- import chalk from 'chalk'
4
+ import chalk from 'chalk-template'
5
5
  import util from 'util'
6
6
  import * as child from 'child_process'
7
7
  import { nanoid } from 'nanoid'
package/src/utils.ts CHANGED
@@ -2,7 +2,7 @@ import fs from 'fs'
2
2
  import os from 'os'
3
3
  import path from 'path'
4
4
  import { execSync } from 'child_process'
5
- import chalk from 'chalk'
5
+ import chalk from 'chalk-template'
6
6
 
7
7
  export function hasYarn(): boolean {
8
8
  try {