heyq02 0.1.4 → 0.1.9

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/b.js DELETED
@@ -1,162 +0,0 @@
1
- const site = 'https://intro.heyq02.com';
2
- const profile = {
3
- name: 'Ari He',
4
- givenNames: [
5
- 'Ari He',
6
- 'Developer'
7
- ],
8
- role: '',
9
- bio: 'Full-stack engineer / open-source enthusiast / vlogger on career. Focused on AI that speeds up development and ships in real products (๑•̀ㅂ•́)و',
10
- phone: '+86 135****8086',
11
- email: 'hello@heyq02.com',
12
- site: site,
13
- places: [
14
- {
15
- label: 'GitHub',
16
- href: 'https://github.com/heyq02',
17
- detail: 'heyq02'
18
- },
19
- {
20
- label: 'X',
21
- href: 'https://x.com/heyq02',
22
- detail: '@heyq02'
23
- },
24
- {
25
- label: 'Bilibili',
26
- href: 'https://space.bilibili.com/3493273159075938',
27
- detail: '全栈糕手Ari'
28
- },
29
- {
30
- label: 'Juejin',
31
- href: 'https://juejin.cn/user/708557910842296',
32
- detail: '编程糕手Ari'
33
- },
34
- {
35
- label: 'WeChat',
36
- href: `${site}/wechat.jpg`,
37
- detail: 'Scan to add'
38
- }
39
- ],
40
- experiences: [
41
- {
42
- company: 'JD.com, Inc.',
43
- href: 'https://www.jd.com/',
44
- start: '2024.06',
45
- end: 'Present',
46
- points: [
47
- 'Owned iterations for JD Takeout across the mini program, H5, and admin console',
48
- 'Upgraded the admin console off its legacy architecture and improved TP95',
49
- 'Built C3-level AI Infra for Local Life product and engineering, improving R&D efficiency'
50
- ]
51
- }
52
- ],
53
- skills: [
54
- {
55
- name: 'Vue',
56
- href: 'https://vuejs.org/',
57
- summary: 'Progressive JavaScript framework for building web UIs'
58
- },
59
- {
60
- name: 'React',
61
- href: 'https://react.dev/',
62
- summary: 'The library for web and native user interfaces'
63
- },
64
- {
65
- name: 'Next',
66
- href: 'https://nextjs.org/',
67
- summary: 'The React framework for the web'
68
- },
69
- {
70
- name: 'Rolldown',
71
- href: 'https://rolldown.rs/',
72
- summary: 'Rust-based JavaScript bundler with a Rollup-compatible API'
73
- },
74
- {
75
- name: 'Vite',
76
- href: 'https://vite.dev/',
77
- summary: 'Frontend build tool for the web'
78
- },
79
- {
80
- name: 'Oxc',
81
- href: 'https://oxc.rs/',
82
- summary: 'High-performance JavaScript tools written in Rust'
83
- },
84
- {
85
- name: 'Spring',
86
- href: 'https://spring.io/',
87
- summary: 'Framework for creating Java enterprise applications'
88
- },
89
- {
90
- name: 'Redis',
91
- href: 'https://redis.io/',
92
- summary: 'In-memory store for databases, cache, and messaging'
93
- },
94
- {
95
- name: 'RabbitMQ',
96
- href: 'https://www.rabbitmq.com/',
97
- summary: 'Open-source messaging and streaming broker'
98
- },
99
- {
100
- name: 'Nginx',
101
- href: 'https://nginx.org/',
102
- summary: 'HTTP server, reverse proxy, and load balancer'
103
- },
104
- {
105
- name: 'Docker',
106
- href: 'https://www.docker.com/',
107
- summary: 'Open platform for building, shipping, and running apps'
108
- }
109
- ],
110
- projects: [
111
- {
112
- name: 'jd-opensource/taro-ui',
113
- href: 'https://github.com/jd-opensource/taro-ui',
114
- summary: '一款基于 Taro 框架开发的多端 UI 组件库',
115
- language: 'TypeScript',
116
- stars: 4730,
117
- forks: 743
118
- },
119
- {
120
- name: 'simpleicons.dev',
121
- href: 'https://github.com/heyq02/simpleicons.dev',
122
- summary: 'Showcase your skills on your GitHub readme or resumé with ease.',
123
- language: 'TypeScript',
124
- stars: 171,
125
- forks: 0
126
- }
127
- ]
128
- };
129
- function formatCount(count) {
130
- if (count < 1000) return String(count);
131
- return `${(count / 1000).toFixed(1).replace(/\.0$/, '')}k`;
132
- }
133
- function fullName() {
134
- return `${profile.name}${profile.role}`;
135
- }
136
- function renderPlain() {
137
- const lines = [
138
- fullName(),
139
- '',
140
- profile.bio,
141
- '',
142
- profile.site,
143
- '',
144
- 'Experience'
145
- ];
146
- for (const job of profile.experiences)lines.push(`${job.company} · ${job.start} – ${job.end}`, job.href, ...job.points.map((point)=>`- ${point}`), '');
147
- lines.push('Skills');
148
- for (const skill of profile.skills)lines.push(`${skill.name} — ${skill.summary}`, skill.href);
149
- lines.push('', 'Open source');
150
- for (const project of profile.projects){
151
- const stats = [
152
- `★ ${formatCount(project.stars)}`
153
- ];
154
- if (project.forks > 0) stats.push(`${formatCount(project.forks)} forks`);
155
- lines.push(`${project.name} · ${project.language} · ${stats.join(' · ')}`, project.summary, project.href, '');
156
- }
157
- lines.push('Contact');
158
- for (const place of profile.places)lines.push(`${place.label} · ${place.detail}`, place.href);
159
- lines.push(profile.phone, profile.email);
160
- return lines.join('\n');
161
- }
162
- export { formatCount, fullName, profile, renderPlain };
@@ -1,99 +0,0 @@
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 DELETED
@@ -1,73 +0,0 @@
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 };
@@ -1,35 +0,0 @@
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__ };
@@ -1 +0,0 @@
1
- {"name":"ink","version":"8.0.0"}