@elgato/cli 1.1.0 → 1.2.0

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/dist/index.js CHANGED
@@ -10,7 +10,7 @@ import chalk6 from "chalk";
10
10
 
11
11
  // src/validation/entry.ts
12
12
  import chalk from "chalk";
13
- import { EOL } from "os";
13
+ import { EOL } from "node:os";
14
14
  var ValidationEntry = class {
15
15
  /**
16
16
  * Initializes a new instance of the {@link ValidationEntry} class.
@@ -295,10 +295,10 @@ var ValidationContext = class {
295
295
  };
296
296
 
297
297
  // src/validation/plugin/plugin.ts
298
- import { basename, dirname, join, resolve } from "path";
298
+ import { basename, dirname, join, resolve } from "node:path";
299
299
 
300
300
  // src/json/file-context.ts
301
- import { existsSync, readFileSync } from "fs";
301
+ import { existsSync, readFileSync } from "node:fs";
302
302
 
303
303
  // src/json/map.ts
304
304
  var JsonObjectMap = class {
@@ -762,7 +762,7 @@ var layoutItemKeysAreUnique = rule(function(plugin) {
762
762
  });
763
763
 
764
764
  // src/validation/plugin/rules/layout-schema.ts
765
- import { existsSync as existsSync2 } from "fs";
765
+ import { existsSync as existsSync2 } from "node:fs";
766
766
  var layoutsExistAndSchemasAreValid = rule(function(plugin) {
767
767
  plugin.manifest.layoutFiles.forEach(({ layout, location }) => {
768
768
  if (!existsSync2(layout.path)) {
@@ -807,14 +807,14 @@ var categoryMatchesName = rule(function(plugin) {
807
807
  });
808
808
 
809
809
  // src/validation/plugin/rules/manifest-files-exist.ts
810
- import { existsSync as existsSync4 } from "fs";
811
- import { basename as basename3, extname, join as join3, resolve as resolve3 } from "path";
810
+ import { existsSync as existsSync4 } from "node:fs";
811
+ import { basename as basename3, extname, join as join3, resolve as resolve3 } from "node:path";
812
812
 
813
813
  // src/system/fs.ts
814
814
  import ignore from "ignore";
815
- import { cpSync, createReadStream, existsSync as existsSync3, lstatSync, mkdirSync, readlinkSync, rmSync } from "fs";
816
- import { basename as basename2, join as join2, resolve as resolve2 } from "path";
817
- import { createInterface } from "readline";
815
+ import { cpSync, createReadStream, existsSync as existsSync3, lstatSync, mkdirSync, readlinkSync, rmSync } from "node:fs";
816
+ import { basename as basename2, join as join2, resolve as resolve2 } from "node:path";
817
+ import { createInterface } from "node:readline";
818
818
  var streamDeckIgnoreFilename = ".sdignore";
819
819
  var defaultIgnorePatterns = [streamDeckIgnoreFilename, ".git", "/.env*", "*.log", "*.js.map"];
820
820
  async function getIgnores(path, defaultPatterns = defaultIgnorePatterns) {
@@ -909,7 +909,7 @@ var manifestFilesExist = rule(async function(plugin) {
909
909
  });
910
910
 
911
911
  // src/validation/plugin/rules/manifest-schema.ts
912
- import { existsSync as existsSync5 } from "fs";
912
+ import { existsSync as existsSync5 } from "node:fs";
913
913
  var manifestExistsAndSchemaIsValid = rule(function(plugin) {
914
914
  if (!existsSync5(this.path)) {
915
915
  return;
@@ -997,8 +997,8 @@ var manifestUuids = rule(async function(plugin) {
997
997
  });
998
998
 
999
999
  // src/validation/plugin/rules/path-input.ts
1000
- import { existsSync as existsSync6, lstatSync as lstatSync2 } from "fs";
1001
- import { basename as basename4 } from "path";
1000
+ import { existsSync as existsSync6, lstatSync as lstatSync2 } from "node:fs";
1001
+ import { basename as basename4 } from "node:path";
1002
1002
  var pathIsDirectoryAndUuid = rule(function(plugin) {
1003
1003
  const name = basename4(this.path);
1004
1004
  if (!existsSync6(this.path)) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elgato/cli",
3
- "version": "1.1.0",
3
+ "version": "1.2.0",
4
4
  "description": "Stream Deck CLI tool for building with Stream Deck.",
5
5
  "bin": {
6
6
  "streamdeck": "bin/streamdeck.mjs",
@@ -52,44 +52,45 @@
52
52
  },
53
53
  "homepage": "https://github.com/elgatosf/cli#readme",
54
54
  "dependencies": {
55
- "@elgato/schemas": "^0.4.0",
55
+ "@elgato/schemas": "^0.4.1",
56
56
  "@humanwhocodes/momoa": "^3.0.0",
57
- "@zip.js/zip.js": "^2.7.34",
58
- "ajv": "^8.12.0",
59
- "chalk": "^5.3.0",
60
- "commander": "^11.0.0",
57
+ "@zip.js/zip.js": "^2.7.54",
58
+ "ajv": "^8.17.1",
59
+ "chalk": "^5.4.1",
60
+ "commander": "^13.0.0",
61
61
  "ejs": "^3.1.10",
62
- "find-process": "^1.4.7",
63
- "ignore": "^5.3.1",
64
- "inquirer": "^9.2.11",
62
+ "find-process": "^1.4.10",
63
+ "ignore": "^7.0.3",
64
+ "inquirer": "^12.3.2",
65
65
  "is-interactive": "^2.0.0",
66
66
  "lodash": "^4.17.21",
67
- "log-symbols": "^5.1.0",
67
+ "log-symbols": "^7.0.0",
68
68
  "rage-edit": "^1.2.0",
69
- "semver": "^7.6.0",
70
- "tar": "^7.0.1"
69
+ "semver": "^7.6.3",
70
+ "tar": "^7.4.3"
71
71
  },
72
72
  "devDependencies": {
73
- "@elgato/prettier-config": "^0.2.1",
74
- "@rollup/plugin-commonjs": "^25.0.5",
75
- "@rollup/plugin-json": "^6.0.1",
73
+ "@elgato/prettier-config": "^0.2.4",
74
+ "@rollup/plugin-commonjs": "^28.0.2",
75
+ "@rollup/plugin-json": "^6.1.0",
76
76
  "@rollup/plugin-node-resolve": "^15.2.2",
77
77
  "@rollup/plugin-terser": "^0.4.4",
78
- "@rollup/plugin-typescript": "^11.1.5",
79
- "@tsconfig/node20": "^20.1.2",
80
- "@types/ejs": "^3.1.3",
81
- "@types/inquirer": "^9.0.3",
82
- "@types/lodash": "^4.14.199",
83
- "@types/node": "^20.8.10",
84
- "@typescript-eslint/eslint-plugin": "^6.7.4",
85
- "@typescript-eslint/parser": "^6.7.4",
86
- "eslint": "^8.51.0",
87
- "eslint-config-prettier": "^9.0.0",
88
- "eslint-plugin-jsdoc": "^46.8.2",
89
- "eslint-plugin-prettier": "^5.0.0",
90
- "rollup": "^4.0.2",
91
- "tslib": "^2.6.2",
92
- "tsup": "^8.1.0",
93
- "typescript": "^5.2.2"
78
+ "@rollup/plugin-typescript": "^12.1.2",
79
+ "@tsconfig/node20": "^20.1.4",
80
+ "@types/ejs": "^3.1.5",
81
+ "@types/inquirer": "^9.0.7",
82
+ "@types/lodash": "^4.17.14",
83
+ "@types/node": "^22.10.7",
84
+ "@types/semver": "^7.5.8",
85
+ "@typescript-eslint/eslint-plugin": "^8.20.0",
86
+ "@typescript-eslint/parser": "^8.20.0",
87
+ "eslint": "^8.57.1",
88
+ "eslint-config-prettier": "^10.0.1",
89
+ "eslint-plugin-jsdoc": "^50.6.1",
90
+ "eslint-plugin-prettier": "^5.2.2",
91
+ "rollup": "^4.30.1",
92
+ "tslib": "^2.8.1",
93
+ "tsup": "^8.3.5",
94
+ "typescript": "^5.7.3"
94
95
  }
95
96
  }
@@ -32,7 +32,7 @@
32
32
  "OS": [
33
33
  {
34
34
  "Platform": "mac",
35
- "MinimumVersion": "10.15"
35
+ "MinimumVersion": "12"
36
36
  },
37
37
  {
38
38
  "Platform": "windows",