@4pm/cli 0.3.3 → 0.4.1

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,70 @@
1
+ import { createRequire as __createRequire } from 'node:module';
2
+ import { fileURLToPath as __fileURLToPath } from 'node:url';
3
+ import { dirname as __pathDirname } from 'node:path';
4
+ const require = __createRequire(import.meta.url);
5
+ const __filename = __fileURLToPath(import.meta.url);
6
+ const __dirname = __pathDirname(__filename);
7
+ import {
8
+ wrapper_default
9
+ } from "./chunk-YRQBADPD.js";
10
+
11
+ // ../../node_modules/.pnpm/ink@5.2.1_@types+react@18.3.31_react@18.3.1/node_modules/ink/build/devtools-window-polyfill.js
12
+ var customGlobal = global;
13
+ customGlobal.WebSocket ||= wrapper_default;
14
+ customGlobal.window ||= global;
15
+ customGlobal.self ||= global;
16
+ customGlobal.window.__REACT_DEVTOOLS_COMPONENT_FILTERS__ = [
17
+ {
18
+ // ComponentFilterElementType
19
+ type: 1,
20
+ // ElementTypeHostComponent
21
+ value: 7,
22
+ isEnabled: true
23
+ },
24
+ {
25
+ // ComponentFilterDisplayName
26
+ type: 2,
27
+ value: "InternalApp",
28
+ isEnabled: true,
29
+ isValid: true
30
+ },
31
+ {
32
+ // ComponentFilterDisplayName
33
+ type: 2,
34
+ value: "InternalAppContext",
35
+ isEnabled: true,
36
+ isValid: true
37
+ },
38
+ {
39
+ // ComponentFilterDisplayName
40
+ type: 2,
41
+ value: "InternalStdoutContext",
42
+ isEnabled: true,
43
+ isValid: true
44
+ },
45
+ {
46
+ // ComponentFilterDisplayName
47
+ type: 2,
48
+ value: "InternalStderrContext",
49
+ isEnabled: true,
50
+ isValid: true
51
+ },
52
+ {
53
+ // ComponentFilterDisplayName
54
+ type: 2,
55
+ value: "InternalStdinContext",
56
+ isEnabled: true,
57
+ isValid: true
58
+ },
59
+ {
60
+ // ComponentFilterDisplayName
61
+ type: 2,
62
+ value: "InternalFocusContext",
63
+ isEnabled: true,
64
+ isValid: true
65
+ }
66
+ ];
67
+
68
+ // ../../node_modules/.pnpm/ink@5.2.1_@types+react@18.3.31_react@18.3.1/node_modules/ink/build/devtools.js
69
+ import devtools from "react-devtools-core";
70
+ devtools.connectToDevTools();