heyq02 0.1.1 → 0.1.3
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/cli.js +30855 -133
- package/dist/cli.js.LICENSE.txt +99 -0
- package/dist/devtools.js +73 -0
- package/dist/rslib-runtime.js +35 -0
- package/dist/static/assets/package.json +1 -0
- package/package.json +7 -7
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license React
|
|
3
|
+
* react-jsx-runtime.development.js
|
|
4
|
+
*
|
|
5
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
6
|
+
*
|
|
7
|
+
* This source code is licensed under the MIT license found in the
|
|
8
|
+
* LICENSE file in the root directory of this source tree.
|
|
9
|
+
*/
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* @license React
|
|
13
|
+
* react-jsx-runtime.production.js
|
|
14
|
+
*
|
|
15
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
16
|
+
*
|
|
17
|
+
* This source code is licensed under the MIT license found in the
|
|
18
|
+
* LICENSE file in the root directory of this source tree.
|
|
19
|
+
*/
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* @license React
|
|
23
|
+
* react-reconciler-constants.development.js
|
|
24
|
+
*
|
|
25
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
26
|
+
*
|
|
27
|
+
* This source code is licensed under the MIT license found in the
|
|
28
|
+
* LICENSE file in the root directory of this source tree.
|
|
29
|
+
*/
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* @license React
|
|
33
|
+
* react-reconciler-constants.production.js
|
|
34
|
+
*
|
|
35
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
36
|
+
*
|
|
37
|
+
* This source code is licensed under the MIT license found in the
|
|
38
|
+
* LICENSE file in the root directory of this source tree.
|
|
39
|
+
*/
|
|
40
|
+
|
|
41
|
+
/**
|
|
42
|
+
* @license React
|
|
43
|
+
* react-reconciler.development.js
|
|
44
|
+
*
|
|
45
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
46
|
+
*
|
|
47
|
+
* This source code is licensed under the MIT license found in the
|
|
48
|
+
* LICENSE file in the root directory of this source tree.
|
|
49
|
+
*/
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* @license React
|
|
53
|
+
* react-reconciler.production.js
|
|
54
|
+
*
|
|
55
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
56
|
+
*
|
|
57
|
+
* This source code is licensed under the MIT license found in the
|
|
58
|
+
* LICENSE file in the root directory of this source tree.
|
|
59
|
+
*/
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* @license React
|
|
63
|
+
* react.development.js
|
|
64
|
+
*
|
|
65
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
66
|
+
*
|
|
67
|
+
* This source code is licensed under the MIT license found in the
|
|
68
|
+
* LICENSE file in the root directory of this source tree.
|
|
69
|
+
*/
|
|
70
|
+
|
|
71
|
+
/**
|
|
72
|
+
* @license React
|
|
73
|
+
* react.production.js
|
|
74
|
+
*
|
|
75
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
76
|
+
*
|
|
77
|
+
* This source code is licensed under the MIT license found in the
|
|
78
|
+
* LICENSE file in the root directory of this source tree.
|
|
79
|
+
*/
|
|
80
|
+
|
|
81
|
+
/**
|
|
82
|
+
* @license React
|
|
83
|
+
* scheduler.development.js
|
|
84
|
+
*
|
|
85
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
86
|
+
*
|
|
87
|
+
* This source code is licensed under the MIT license found in the
|
|
88
|
+
* LICENSE file in the root directory of this source tree.
|
|
89
|
+
*/
|
|
90
|
+
|
|
91
|
+
/**
|
|
92
|
+
* @license React
|
|
93
|
+
* scheduler.production.js
|
|
94
|
+
*
|
|
95
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
96
|
+
*
|
|
97
|
+
* This source code is licensed under the MIT license found in the
|
|
98
|
+
* LICENSE file in the root directory of this source tree.
|
|
99
|
+
*/
|
package/dist/devtools.js
ADDED
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import { __webpack_require__ } from "./rslib-runtime.js";
|
|
2
|
+
import react_devtools_core from "react-devtools-core";
|
|
3
|
+
var devtools_namespaceObject = {};
|
|
4
|
+
__webpack_require__.r(devtools_namespaceObject);
|
|
5
|
+
const customGlobal = globalThis;
|
|
6
|
+
customGlobal.window ||= globalThis;
|
|
7
|
+
customGlobal.self ||= globalThis;
|
|
8
|
+
customGlobal.window.__REACT_DEVTOOLS_COMPONENT_FILTERS__ = [
|
|
9
|
+
{
|
|
10
|
+
type: 1,
|
|
11
|
+
value: 7,
|
|
12
|
+
isEnabled: true
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
type: 2,
|
|
16
|
+
value: 'InternalApp',
|
|
17
|
+
isEnabled: true,
|
|
18
|
+
isValid: true
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
type: 2,
|
|
22
|
+
value: 'InternalAppContext',
|
|
23
|
+
isEnabled: true,
|
|
24
|
+
isValid: true
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
type: 2,
|
|
28
|
+
value: 'InternalStdoutContext',
|
|
29
|
+
isEnabled: true,
|
|
30
|
+
isValid: true
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
type: 2,
|
|
34
|
+
value: 'InternalStderrContext',
|
|
35
|
+
isEnabled: true,
|
|
36
|
+
isValid: true
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
type: 2,
|
|
40
|
+
value: 'InternalStdinContext',
|
|
41
|
+
isEnabled: true,
|
|
42
|
+
isValid: true
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
type: 2,
|
|
46
|
+
value: 'InternalFocusContext',
|
|
47
|
+
isEnabled: true,
|
|
48
|
+
isValid: true
|
|
49
|
+
}
|
|
50
|
+
];
|
|
51
|
+
const isDevToolsReachable = async (url = 'ws://localhost:8097', timeoutMs = 2000)=>new Promise((resolve)=>{
|
|
52
|
+
const socket = new WebSocket(url);
|
|
53
|
+
const timeout = setTimeout(()=>{
|
|
54
|
+
resolve(false);
|
|
55
|
+
socket.close();
|
|
56
|
+
}, timeoutMs);
|
|
57
|
+
timeout.unref();
|
|
58
|
+
socket.addEventListener('open', ()=>{
|
|
59
|
+
clearTimeout(timeout);
|
|
60
|
+
socket.close();
|
|
61
|
+
resolve(true);
|
|
62
|
+
});
|
|
63
|
+
socket.addEventListener('error', ()=>{
|
|
64
|
+
clearTimeout(timeout);
|
|
65
|
+
resolve(false);
|
|
66
|
+
});
|
|
67
|
+
});
|
|
68
|
+
const is_devtools_reachable = isDevToolsReachable;
|
|
69
|
+
if (await is_devtools_reachable()) {
|
|
70
|
+
react_devtools_core.initialize();
|
|
71
|
+
react_devtools_core.connectToDevTools();
|
|
72
|
+
} else console.warn('DEV is set to true, but the React DevTools server is not running. Start it with:\n\n$ npx react-devtools\n');
|
|
73
|
+
export { devtools_namespaceObject };
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
var __webpack_modules__ = {};
|
|
2
|
+
var __webpack_module_cache__ = {};
|
|
3
|
+
function __webpack_require__(moduleId) {
|
|
4
|
+
var cachedModule = __webpack_module_cache__[moduleId];
|
|
5
|
+
if (void 0 !== cachedModule) return cachedModule.exports;
|
|
6
|
+
var module = __webpack_module_cache__[moduleId] = {
|
|
7
|
+
exports: {}
|
|
8
|
+
};
|
|
9
|
+
__webpack_modules__[moduleId](module, module.exports, __webpack_require__);
|
|
10
|
+
return module.exports;
|
|
11
|
+
}
|
|
12
|
+
__webpack_require__.m = __webpack_modules__;
|
|
13
|
+
(()=>{
|
|
14
|
+
__webpack_require__.add = function(modules) {
|
|
15
|
+
Object.assign(__webpack_require__.m, modules);
|
|
16
|
+
};
|
|
17
|
+
})();
|
|
18
|
+
(()=>{
|
|
19
|
+
__webpack_require__.r = (exports)=>{
|
|
20
|
+
if ("u" > typeof Symbol && Symbol.toStringTag) Object.defineProperty(exports, Symbol.toStringTag, {
|
|
21
|
+
value: 'Module'
|
|
22
|
+
});
|
|
23
|
+
Object.defineProperty(exports, '__esModule', {
|
|
24
|
+
value: true
|
|
25
|
+
});
|
|
26
|
+
};
|
|
27
|
+
})();
|
|
28
|
+
(()=>{
|
|
29
|
+
__webpack_require__.nmd = (module)=>{
|
|
30
|
+
module.paths = [];
|
|
31
|
+
if (!module.children) module.children = [];
|
|
32
|
+
return module;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
export { __webpack_require__ };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"name":"ink","version":"8.0.0"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "heyq02",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"description": "永琪(Ari),全栈研发。终端里的个人介绍。",
|
|
5
5
|
"homepage": "https://intro.heyq02.com",
|
|
6
6
|
"bugs": {
|
|
@@ -26,12 +26,8 @@
|
|
|
26
26
|
"files": [
|
|
27
27
|
"dist"
|
|
28
28
|
],
|
|
29
|
-
"dependencies": {
|
|
30
|
-
"@bomb.sh/router": "0.8.0",
|
|
31
|
-
"ink": "^8.0.0",
|
|
32
|
-
"react": "19.3.1"
|
|
33
|
-
},
|
|
34
29
|
"devDependencies": {
|
|
30
|
+
"@bomb.sh/router": "0.8.0",
|
|
35
31
|
"@commitlint/cli": "20.5.3",
|
|
36
32
|
"@heyq02/rstack-config": "^0.0.6",
|
|
37
33
|
"@microsoft/api-extractor": "^7.59.4",
|
|
@@ -43,9 +39,13 @@
|
|
|
43
39
|
"@types/node": "^26.1.1",
|
|
44
40
|
"@types/react": "19.3.0",
|
|
45
41
|
"bumpp": "^11.1.0",
|
|
42
|
+
"ink": "^8.0.0",
|
|
46
43
|
"ink-testing-library": "^4.0.0",
|
|
44
|
+
"oxfmt": "^0.73.0",
|
|
45
|
+
"react": "19.3.1",
|
|
47
46
|
"rstack": "^0.8.4",
|
|
48
|
-
"typescript": "npm:@typescript/typescript6@^6.0.0"
|
|
47
|
+
"typescript": "npm:@typescript/typescript6@^6.0.0",
|
|
48
|
+
"vite-plus": "^1.3.0"
|
|
49
49
|
},
|
|
50
50
|
"engines": {
|
|
51
51
|
"node": ">=22.12.0"
|