skystream-cli 1.4.1 → 1.4.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/dist/index.js +4 -1
- package/package.json +3 -1
package/dist/index.js
CHANGED
|
@@ -7,11 +7,12 @@ import fs from 'fs-extra';
|
|
|
7
7
|
import { z } from 'zod';
|
|
8
8
|
import archiver from 'archiver';
|
|
9
9
|
import axios from 'axios';
|
|
10
|
+
import { JSDOM } from 'jsdom';
|
|
10
11
|
const program = new Command();
|
|
11
12
|
program
|
|
12
13
|
.name('skystream')
|
|
13
14
|
.description('SkyStream Plugin Development Kit CLI (Sky Gen 2)')
|
|
14
|
-
.version('1.4.
|
|
15
|
+
.version('1.4.2');
|
|
15
16
|
// Schemas
|
|
16
17
|
const pluginSchema = z.object({
|
|
17
18
|
packageName: z.string().min(5).regex(/^[a-z0-9._-]+$/),
|
|
@@ -582,6 +583,8 @@ program.command('test')
|
|
|
582
583
|
sandbox.clearTimeout = clearTimeout;
|
|
583
584
|
sandbox.setInterval = setInterval;
|
|
584
585
|
sandbox.clearInterval = clearInterval;
|
|
586
|
+
sandbox.JSDOM = JSDOM;
|
|
587
|
+
sandbox.URL = URL;
|
|
585
588
|
sandbox.globalThis = sandbox;
|
|
586
589
|
// Inject the classes from entityDefs into the sandbox
|
|
587
590
|
const vmContext = vm.createContext(sandbox);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "skystream-cli",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "SkyStream Plugin Development Kit & Repository Manager",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -33,6 +33,7 @@
|
|
|
33
33
|
"esbuild": "^0.27.3",
|
|
34
34
|
"fs-extra": "^11.3.4",
|
|
35
35
|
"inquirer": "^12.11.1",
|
|
36
|
+
"jsdom": "^25.0.1",
|
|
36
37
|
"zod": "^4.3.6"
|
|
37
38
|
},
|
|
38
39
|
"devDependencies": {
|
|
@@ -40,6 +41,7 @@
|
|
|
40
41
|
"@types/archiver": "^7.0.0",
|
|
41
42
|
"@types/fs-extra": "^11.0.4",
|
|
42
43
|
"@types/inquirer": "^9.0.9",
|
|
44
|
+
"@types/jsdom": "^28.0.0",
|
|
43
45
|
"@types/node": "^25.4.0",
|
|
44
46
|
"typescript": "^5.9.3"
|
|
45
47
|
}
|