handler-playable-sdk 0.3.31 → 0.3.32

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.
@@ -0,0 +1,22 @@
1
+ #!/usr/bin/env node
2
+ /**
3
+ * Thin wrapper for handler-playable-sdk brand-dna
4
+ */
5
+
6
+ import { fileURLToPath } from 'url';
7
+ import path from 'path';
8
+ import { spawn } from 'child_process';
9
+
10
+ const __filename = fileURLToPath(import.meta.url);
11
+ const __dirname = path.dirname(__filename);
12
+
13
+ const sdkScriptPath = path.join(__dirname, '..', 'dist', 'cli', 'brand-dna.mjs');
14
+
15
+ const child = spawn(process.execPath, [sdkScriptPath, ...process.argv.slice(2)], {
16
+ stdio: 'inherit',
17
+ cwd: process.cwd()
18
+ });
19
+
20
+ child.on('exit', (code) => {
21
+ process.exit(code || 0);
22
+ });
@@ -0,0 +1,22 @@
1
+ #!/usr/bin/env node
2
+ /**
3
+ * Thin wrapper for handler-playable-sdk screen-helper
4
+ */
5
+
6
+ import { fileURLToPath } from 'url';
7
+ import path from 'path';
8
+ import { spawn } from 'child_process';
9
+
10
+ const __filename = fileURLToPath(import.meta.url);
11
+ const __dirname = path.dirname(__filename);
12
+
13
+ const sdkScriptPath = path.join(__dirname, '..', 'dist', 'cli', 'screen-helper.mjs');
14
+
15
+ const child = spawn(process.execPath, [sdkScriptPath, ...process.argv.slice(2)], {
16
+ stdio: 'inherit',
17
+ cwd: process.cwd()
18
+ });
19
+
20
+ child.on('exit', (code) => {
21
+ process.exit(code || 0);
22
+ });
@@ -0,0 +1,22 @@
1
+ #!/usr/bin/env node
2
+ /**
3
+ * Thin wrapper for handler-playable-sdk setup-library
4
+ */
5
+
6
+ import { fileURLToPath } from 'url';
7
+ import path from 'path';
8
+ import { spawn } from 'child_process';
9
+
10
+ const __filename = fileURLToPath(import.meta.url);
11
+ const __dirname = path.dirname(__filename);
12
+
13
+ const sdkScriptPath = path.join(__dirname, '..', 'dist', 'cli', 'setup-library.mjs');
14
+
15
+ const child = spawn(process.execPath, [sdkScriptPath, ...process.argv.slice(2)], {
16
+ stdio: 'inherit',
17
+ cwd: process.cwd()
18
+ });
19
+
20
+ child.on('exit', (code) => {
21
+ process.exit(code || 0);
22
+ });
@@ -0,0 +1,22 @@
1
+ #!/usr/bin/env node
2
+ /**
3
+ * Thin wrapper for handler-playable-sdk student-helper
4
+ */
5
+
6
+ import { fileURLToPath } from 'url';
7
+ import path from 'path';
8
+ import { spawn } from 'child_process';
9
+
10
+ const __filename = fileURLToPath(import.meta.url);
11
+ const __dirname = path.dirname(__filename);
12
+
13
+ const sdkScriptPath = path.join(__dirname, '..', 'dist', 'cli', 'student-helper.mjs');
14
+
15
+ const child = spawn(process.execPath, [sdkScriptPath, ...process.argv.slice(2)], {
16
+ stdio: 'inherit',
17
+ cwd: process.cwd()
18
+ });
19
+
20
+ child.on('exit', (code) => {
21
+ process.exit(code || 0);
22
+ });
@@ -0,0 +1,26 @@
1
+ #!/usr/bin/env node
2
+ /**
3
+ * Thin wrapper for handler-playable-sdk sync-screens
4
+ * This script calls the obfuscated SDK version
5
+ */
6
+
7
+ import { createRequire } from 'module';
8
+ import { fileURLToPath } from 'url';
9
+ import path from 'path';
10
+ import { spawn } from 'child_process';
11
+
12
+ const __filename = fileURLToPath(import.meta.url);
13
+ const __dirname = path.dirname(__filename);
14
+
15
+ // Find the SDK's obfuscated script
16
+ const sdkScriptPath = path.join(__dirname, '..', 'dist', 'cli', 'sync-screens.mjs');
17
+
18
+ // Forward all arguments to the SDK script
19
+ const child = spawn(process.execPath, [sdkScriptPath, ...process.argv.slice(2)], {
20
+ stdio: 'inherit',
21
+ cwd: process.cwd()
22
+ });
23
+
24
+ child.on('exit', (code) => {
25
+ process.exit(code || 0);
26
+ });
@@ -0,0 +1,22 @@
1
+ #!/usr/bin/env node
2
+ /**
3
+ * Thin wrapper for handler-playable-sdk validator
4
+ */
5
+
6
+ import { fileURLToPath } from 'url';
7
+ import path from 'path';
8
+ import { spawn } from 'child_process';
9
+
10
+ const __filename = fileURLToPath(import.meta.url);
11
+ const __dirname = path.dirname(__filename);
12
+
13
+ const sdkScriptPath = path.join(__dirname, '..', 'dist', 'cli', 'validate.mjs');
14
+
15
+ const child = spawn(process.execPath, [sdkScriptPath, ...process.argv.slice(2)], {
16
+ stdio: 'inherit',
17
+ cwd: process.cwd()
18
+ });
19
+
20
+ child.on('exit', (code) => {
21
+ process.exit(code || 0);
22
+ });