heyq02 0.1.2 → 0.1.4

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,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
+ */
@@ -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 };
package/dist/index.d.ts CHANGED
@@ -4,10 +4,9 @@ export declare function fullName(): string;
4
4
 
5
5
  export declare const profile: {
6
6
  name: string;
7
- givenNames: readonly ["永琪", "Ari"];
7
+ givenNames: readonly ["Ari He", "Developer"];
8
8
  role: string;
9
9
  bio: string;
10
- quote: string;
11
10
  phone: string;
12
11
  email: string;
13
12
  site: string;
@@ -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,7 +1,7 @@
1
1
  {
2
2
  "name": "heyq02",
3
- "version": "0.1.2",
4
- "description": "永琪(Ari),全栈研发。终端里的个人介绍。",
3
+ "version": "0.1.4",
4
+ "description": "Ari He. A terminal introduction.",
5
5
  "homepage": "https://intro.heyq02.com",
6
6
  "bugs": {
7
7
  "url": "https://github.com/heyq02/heyq02/issues"
@@ -11,7 +11,7 @@
11
11
  "url": "git+https://github.com/heyq02/heyq02.git"
12
12
  },
13
13
  "license": "MIT",
14
- "author": "永琪(Ari) <hello@heyq02.com>",
14
+ "author": "Ari He <hello@heyq02.com>",
15
15
  "type": "module",
16
16
  "exports": {
17
17
  ".": {
@@ -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,8 +39,10 @@
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",
47
44
  "oxfmt": "^0.73.0",
45
+ "react": "19.3.1",
48
46
  "rstack": "^0.8.4",
49
47
  "typescript": "npm:@typescript/typescript6@^6.0.0",
50
48
  "vite-plus": "^1.3.0"