wildpig 1.0.1 → 1.0.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/bin/wildpig.js +17 -0
- package/build/built-meta-routes.ts +2 -2
- package/bun.lock +0 -129
- package/package.json +10 -7
- package/public/render.js +104 -208
- package/scripts/WildPig.ts +1 -1
- package/scripts/genRoutes.ts +1 -1
- package/src/api/hello/index.ts +1 -1
- package/src/page/index.tsx +1 -6
- package/src/router/guard.tsx +1 -1
package/bin/wildpig.js
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import path from "path";
|
|
3
|
+
import { spawn } from "child_process";
|
|
4
|
+
|
|
5
|
+
// 子命令
|
|
6
|
+
const cmd = process.argv[2]; // dev / build / ...
|
|
7
|
+
if (!cmd) {
|
|
8
|
+
console.error('Usage: wildpig dev|build|start');
|
|
9
|
+
process.exit(1);
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
// 跑到包自身目录去 npm run xxx
|
|
13
|
+
spawn('bun', ['run', cmd], {
|
|
14
|
+
stdio: 'inherit',
|
|
15
|
+
shell: true,
|
|
16
|
+
cwd: path.resolve(__dirname, '..') // 指向 wp 包根目录
|
|
17
|
+
});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export default {
|
|
2
|
-
"/
|
|
3
|
-
"/
|
|
2
|
+
"/_WILDPIG_META_API/home": require("#/src/page/home/meta.ts").getMeta,
|
|
3
|
+
"/_WILDPIG_META_API/": require("#/src/page/meta.ts").getMeta,
|
|
4
4
|
}
|
package/bun.lock
CHANGED
|
@@ -7,7 +7,6 @@
|
|
|
7
7
|
"@types/bun": "^1.3.4",
|
|
8
8
|
"@types/react": "^19.2.7",
|
|
9
9
|
"@types/react-dom": "^19.2.3",
|
|
10
|
-
"antd": "^6.1.0",
|
|
11
10
|
"chalk": "^5.6.2",
|
|
12
11
|
"react": "^19.2.3",
|
|
13
12
|
"react-dom": "^19.2.3",
|
|
@@ -15,20 +14,6 @@
|
|
|
15
14
|
},
|
|
16
15
|
},
|
|
17
16
|
"packages": {
|
|
18
|
-
"@ant-design/colors": ["@ant-design/colors@8.0.0", "https://mirrors.huaweicloud.com/repository/npm/@ant-design/colors/-/colors-8.0.0.tgz", { "dependencies": { "@ant-design/fast-color": "^3.0.0" } }, "sha512-6YzkKCw30EI/E9kHOIXsQDHmMvTllT8STzjMb4K2qzit33RW2pqCJP0sk+hidBntXxE+Vz4n1+RvCTfBw6OErw=="],
|
|
19
|
-
|
|
20
|
-
"@ant-design/cssinjs": ["@ant-design/cssinjs@2.0.1", "https://mirrors.huaweicloud.com/repository/npm/@ant-design/cssinjs/-/cssinjs-2.0.1.tgz", { "dependencies": { "@babel/runtime": "^7.11.1", "@emotion/hash": "^0.8.0", "@emotion/unitless": "^0.7.5", "@rc-component/util": "^1.4.0", "clsx": "^2.1.1", "csstype": "^3.1.3", "stylis": "^4.3.4" }, "peerDependencies": { "react": ">=16.0.0", "react-dom": ">=16.0.0" } }, "sha512-Lw1Z4cUQxdMmTNir67gU0HCpTl5TtkKCJPZ6UBvCqzcOTl/QmMFB6qAEoj8qFl0CuZDX9qQYa3m9+rEKfaBSbA=="],
|
|
21
|
-
|
|
22
|
-
"@ant-design/cssinjs-utils": ["@ant-design/cssinjs-utils@2.0.2", "https://mirrors.huaweicloud.com/repository/npm/@ant-design/cssinjs-utils/-/cssinjs-utils-2.0.2.tgz", { "dependencies": { "@ant-design/cssinjs": "^2.0.1", "@babel/runtime": "^7.23.2", "@rc-component/util": "^1.4.0" }, "peerDependencies": { "react": ">=18", "react-dom": ">=18" } }, "sha512-Mq3Hm6fJuQeFNKSp3+yT4bjuhVbdrsyXE2RyfpJFL0xiYNZdaJ6oFaE3zFrzmHbmvTd2Wp3HCbRtkD4fU+v2ZA=="],
|
|
23
|
-
|
|
24
|
-
"@ant-design/fast-color": ["@ant-design/fast-color@3.0.0", "https://mirrors.huaweicloud.com/repository/npm/@ant-design/fast-color/-/fast-color-3.0.0.tgz", {}, "sha512-eqvpP7xEDm2S7dUzl5srEQCBTXZMmY3ekf97zI+M2DHOYyKdJGH0qua0JACHTqbkRnD/KHFQP9J1uMJ/XWVzzA=="],
|
|
25
|
-
|
|
26
|
-
"@ant-design/icons": ["@ant-design/icons@6.1.0", "https://mirrors.huaweicloud.com/repository/npm/@ant-design/icons/-/icons-6.1.0.tgz", { "dependencies": { "@ant-design/colors": "^8.0.0", "@ant-design/icons-svg": "^4.4.0", "@rc-component/util": "^1.3.0", "clsx": "^2.1.1" }, "peerDependencies": { "react": ">=16.0.0", "react-dom": ">=16.0.0" } }, "sha512-KrWMu1fIg3w/1F2zfn+JlfNDU8dDqILfA5Tg85iqs1lf8ooyGlbkA+TkwfOKKgqpUmAiRY1PTFpuOU2DAIgSUg=="],
|
|
27
|
-
|
|
28
|
-
"@ant-design/icons-svg": ["@ant-design/icons-svg@4.4.2", "https://mirrors.huaweicloud.com/repository/npm/@ant-design/icons-svg/-/icons-svg-4.4.2.tgz", {}, "sha512-vHbT+zJEVzllwP+CM+ul7reTEfBR0vgxFe7+lREAsAA7YGsYpboiq2sQNeQeRvh09GfQgs/GyFEvZpJ9cLXpXA=="],
|
|
29
|
-
|
|
30
|
-
"@ant-design/react-slick": ["@ant-design/react-slick@2.0.0", "https://mirrors.huaweicloud.com/repository/npm/@ant-design/react-slick/-/react-slick-2.0.0.tgz", { "dependencies": { "@babel/runtime": "^7.28.4", "clsx": "^2.1.1", "json2mq": "^0.2.0", "throttle-debounce": "^5.0.0" }, "peerDependencies": { "react": "^0.14.0 || ^15.0.1 || ^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0", "react-dom": "^0.14.0 || ^15.0.1 || ^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0" } }, "sha512-HMS9sRoEmZey8LsE/Yo6+klhlzU12PisjrVcydW3So7RdklyEd2qehyU6a7Yp+OYN72mgsYs3NFCyP2lCPFVqg=="],
|
|
31
|
-
|
|
32
17
|
"@babel/code-frame": ["@babel/code-frame@7.27.1", "https://mirrors.huaweicloud.com/repository/npm/@babel/code-frame/-/code-frame-7.27.1.tgz", { "dependencies": { "@babel/helper-validator-identifier": "^7.27.1", "js-tokens": "^4.0.0", "picocolors": "^1.1.1" } }, "sha512-cjQ7ZlQ0Mv3b47hABuTevyTuYN4i+loJKGeV9flcCgIK37cCXRh+L1bd3iBHlynerhQ7BhCkn2BPbQUL+rGqFg=="],
|
|
33
18
|
|
|
34
19
|
"@babel/compat-data": ["@babel/compat-data@7.28.5", "https://mirrors.huaweicloud.com/repository/npm/@babel/compat-data/-/compat-data-7.28.5.tgz", {}, "sha512-6uFXyCayocRbqhZOB+6XcuZbkMNimwfVGFji8CTZnCzOHVGvDqzvitu1re2AU5LROliz7eQPhB8CpAMvnx9EjA=="],
|
|
@@ -79,18 +64,12 @@
|
|
|
79
64
|
|
|
80
65
|
"@babel/preset-typescript": ["@babel/preset-typescript@7.28.5", "https://mirrors.huaweicloud.com/repository/npm/@babel/preset-typescript/-/preset-typescript-7.28.5.tgz", { "dependencies": { "@babel/helper-plugin-utils": "^7.27.1", "@babel/helper-validator-option": "^7.27.1", "@babel/plugin-syntax-jsx": "^7.27.1", "@babel/plugin-transform-modules-commonjs": "^7.27.1", "@babel/plugin-transform-typescript": "^7.28.5" }, "peerDependencies": { "@babel/core": "^7.0.0-0" } }, "sha512-+bQy5WOI2V6LJZpPVxY+yp66XdZ2yifu0Mc1aP5CQKgjn4QM5IN2i5fAZ4xKop47pr8rpVhiAeu+nDQa12C8+g=="],
|
|
81
66
|
|
|
82
|
-
"@babel/runtime": ["@babel/runtime@7.28.4", "https://mirrors.huaweicloud.com/repository/npm/@babel/runtime/-/runtime-7.28.4.tgz", {}, "sha512-Q/N6JNWvIvPnLDvjlE1OUBLPQHH6l3CltCEsHIujp45zQUSSh8K+gHnaEX45yAT1nyngnINhvWtzN+Nb9D8RAQ=="],
|
|
83
|
-
|
|
84
67
|
"@babel/template": ["@babel/template@7.27.2", "https://mirrors.huaweicloud.com/repository/npm/@babel/template/-/template-7.27.2.tgz", { "dependencies": { "@babel/code-frame": "^7.27.1", "@babel/parser": "^7.27.2", "@babel/types": "^7.27.1" } }, "sha512-LPDZ85aEJyYSd18/DkjNh4/y1ntkE5KwUHWTiqgRxruuZL2F1yuHligVHLvcHY2vMHXttKFpJn6LwfI7cw7ODw=="],
|
|
85
68
|
|
|
86
69
|
"@babel/traverse": ["@babel/traverse@7.28.5", "https://mirrors.huaweicloud.com/repository/npm/@babel/traverse/-/traverse-7.28.5.tgz", { "dependencies": { "@babel/code-frame": "^7.27.1", "@babel/generator": "^7.28.5", "@babel/helper-globals": "^7.28.0", "@babel/parser": "^7.28.5", "@babel/template": "^7.27.2", "@babel/types": "^7.28.5", "debug": "^4.3.1" } }, "sha512-TCCj4t55U90khlYkVV/0TfkJkAkUg3jZFA3Neb7unZT8CPok7iiRfaX0F+WnqWqt7OxhOn0uBKXCw4lbL8W0aQ=="],
|
|
87
70
|
|
|
88
71
|
"@babel/types": ["@babel/types@7.28.5", "https://mirrors.huaweicloud.com/repository/npm/@babel/types/-/types-7.28.5.tgz", { "dependencies": { "@babel/helper-string-parser": "^7.27.1", "@babel/helper-validator-identifier": "^7.28.5" } }, "sha512-qQ5m48eI/MFLQ5PxQj4PFaprjyCTLI37ElWMmNs0K8Lk3dVeOdNpB3ks8jc7yM5CDmVC73eMVk/trk3fgmrUpA=="],
|
|
89
72
|
|
|
90
|
-
"@emotion/hash": ["@emotion/hash@0.8.0", "https://mirrors.huaweicloud.com/repository/npm/@emotion/hash/-/hash-0.8.0.tgz", {}, "sha512-kBJtf7PH6aWwZ6fka3zQ0p6SBYzx4fl1LoZXE2RrnYST9Xljm7WfKJrU4g/Xr3Beg72MLrp1AWNUmuYJTL7Cow=="],
|
|
91
|
-
|
|
92
|
-
"@emotion/unitless": ["@emotion/unitless@0.7.5", "https://mirrors.huaweicloud.com/repository/npm/@emotion/unitless/-/unitless-0.7.5.tgz", {}, "sha512-OWORNpfjMsSSUBVrRBVGECkhWcULOAJz9ZW8uK9qgxD+87M7jHRcvh/A96XXNhXTLmKcoYSQtBEX7lHMO7YRwg=="],
|
|
93
|
-
|
|
94
73
|
"@esbuild/aix-ppc64": ["@esbuild/aix-ppc64@0.25.12", "https://mirrors.huaweicloud.com/repository/npm/@esbuild/aix-ppc64/-/aix-ppc64-0.25.12.tgz", { "os": "aix", "cpu": "ppc64" }, "sha512-Hhmwd6CInZ3dwpuGTF8fJG6yoWmsToE+vYgD4nytZVxcu1ulHpUQRAB1UJ8+N1Am3Mz4+xOByoQoSZf4D+CpkA=="],
|
|
95
74
|
|
|
96
75
|
"@esbuild/android-arm": ["@esbuild/android-arm@0.25.12", "https://mirrors.huaweicloud.com/repository/npm/@esbuild/android-arm/-/android-arm-0.25.12.tgz", { "os": "android", "cpu": "arm" }, "sha512-VJ+sKvNA/GE7Ccacc9Cha7bpS8nyzVv0jdVgwNDaR4gDMC/2TTRc33Ip8qrNYUcpkOHUT5OZ0bUcNNVZQ9RLlg=="],
|
|
@@ -155,92 +134,6 @@
|
|
|
155
134
|
|
|
156
135
|
"@mjackson/node-fetch-server": ["@mjackson/node-fetch-server@0.2.0", "https://mirrors.huaweicloud.com/repository/npm/@mjackson/node-fetch-server/-/node-fetch-server-0.2.0.tgz", {}, "sha512-EMlH1e30yzmTpGLQjlFmaDAjyOeZhng1/XCd7DExR8PNAnG/G1tyruZxEoUe11ClnwGhGrtsdnyyUx1frSzjng=="],
|
|
157
136
|
|
|
158
|
-
"@rc-component/async-validator": ["@rc-component/async-validator@5.0.4", "https://mirrors.huaweicloud.com/repository/npm/@rc-component/async-validator/-/async-validator-5.0.4.tgz", { "dependencies": { "@babel/runtime": "^7.24.4" } }, "sha512-qgGdcVIF604M9EqjNF0hbUTz42bz/RDtxWdWuU5EQe3hi7M8ob54B6B35rOsvX5eSvIHIzT9iH1R3n+hk3CGfg=="],
|
|
159
|
-
|
|
160
|
-
"@rc-component/cascader": ["@rc-component/cascader@1.9.0", "https://mirrors.huaweicloud.com/repository/npm/@rc-component/cascader/-/cascader-1.9.0.tgz", { "dependencies": { "@rc-component/select": "~1.3.0", "@rc-component/tree": "~1.1.0", "@rc-component/util": "^1.4.0", "clsx": "^2.1.1" }, "peerDependencies": { "react": ">=18.0.0", "react-dom": ">=18.0.0" } }, "sha512-2jbthe1QZrMBgtCvNKkJFjZYC3uKl4N/aYm5SsMvO3T+F+qRT1CGsSM9bXnh1rLj7jDk/GK0natShWF/jinhWQ=="],
|
|
161
|
-
|
|
162
|
-
"@rc-component/checkbox": ["@rc-component/checkbox@1.0.1", "https://mirrors.huaweicloud.com/repository/npm/@rc-component/checkbox/-/checkbox-1.0.1.tgz", { "dependencies": { "@rc-component/util": "^1.3.0", "clsx": "^2.1.1" }, "peerDependencies": { "react": ">=16.9.0", "react-dom": ">=16.9.0" } }, "sha512-08yTH8m+bSm8TOqbybbJ9KiAuIATti6bDs2mVeSfu4QfEnyeF6X0enHVvD1NEAyuBWEAo56QtLe++MYs2D9XiQ=="],
|
|
163
|
-
|
|
164
|
-
"@rc-component/collapse": ["@rc-component/collapse@1.1.2", "https://mirrors.huaweicloud.com/repository/npm/@rc-component/collapse/-/collapse-1.1.2.tgz", { "dependencies": { "@babel/runtime": "^7.10.1", "@rc-component/motion": "^1.1.4", "@rc-component/util": "^1.3.0", "clsx": "^2.1.1" }, "peerDependencies": { "react": ">=18.0.0", "react-dom": ">=18.0.0" } }, "sha512-ilBYk1dLLJHu5Q74dF28vwtKUYQ42ZXIIDmqTuVy4rD8JQVvkXOs+KixVNbweyuIEtJYJ7+t+9GVD9dPc6N02w=="],
|
|
165
|
-
|
|
166
|
-
"@rc-component/color-picker": ["@rc-component/color-picker@3.0.3", "https://mirrors.huaweicloud.com/repository/npm/@rc-component/color-picker/-/color-picker-3.0.3.tgz", { "dependencies": { "@ant-design/fast-color": "^3.0.0", "@rc-component/util": "^1.3.0", "clsx": "^2.1.1" }, "peerDependencies": { "react": ">=16.9.0", "react-dom": ">=16.9.0" } }, "sha512-V7gFF9O7o5XwIWafdbOtqI4BUUkEUkgdBwp6favy3xajMX/2dDqytFaiXlcwrpq6aRyPLp5dKLAG5RFKLXMeGA=="],
|
|
167
|
-
|
|
168
|
-
"@rc-component/context": ["@rc-component/context@2.0.1", "https://mirrors.huaweicloud.com/repository/npm/@rc-component/context/-/context-2.0.1.tgz", { "dependencies": { "@rc-component/util": "^1.3.0" }, "peerDependencies": { "react": ">=16.9.0", "react-dom": ">=16.9.0" } }, "sha512-HyZbYm47s/YqtP6pKXNMjPEMaukyg7P0qVfgMLzr7YiFNMHbK2fKTAGzms9ykfGHSfyf75nBbgWw+hHkp+VImw=="],
|
|
169
|
-
|
|
170
|
-
"@rc-component/dialog": ["@rc-component/dialog@1.5.1", "https://mirrors.huaweicloud.com/repository/npm/@rc-component/dialog/-/dialog-1.5.1.tgz", { "dependencies": { "@rc-component/motion": "^1.1.3", "@rc-component/portal": "^2.0.0", "@rc-component/util": "^1.0.1", "clsx": "^2.1.1" }, "peerDependencies": { "react": ">=18.0.0", "react-dom": ">=18.0.0" } }, "sha512-by4Sf/a3azcb89WayWuwG19/Y312xtu8N81HoVQQtnsBDylfs+dog98fTAvLinnpeoWG52m/M7QLRW6fXR3l1g=="],
|
|
171
|
-
|
|
172
|
-
"@rc-component/drawer": ["@rc-component/drawer@1.3.0", "https://mirrors.huaweicloud.com/repository/npm/@rc-component/drawer/-/drawer-1.3.0.tgz", { "dependencies": { "@rc-component/motion": "^1.1.4", "@rc-component/portal": "^2.0.0", "@rc-component/util": "^1.2.1", "clsx": "^2.1.1" }, "peerDependencies": { "react": ">=18.0.0", "react-dom": ">=18.0.0" } }, "sha512-rE+sdXEmv2W25VBQ9daGbnb4J4hBIEKmdbj0b3xpY+K7TUmLXDIlSnoXraIbFZdGyek9WxxGKK887uRnFgI+pQ=="],
|
|
173
|
-
|
|
174
|
-
"@rc-component/dropdown": ["@rc-component/dropdown@1.0.2", "https://mirrors.huaweicloud.com/repository/npm/@rc-component/dropdown/-/dropdown-1.0.2.tgz", { "dependencies": { "@rc-component/trigger": "^3.0.0", "@rc-component/util": "^1.2.1", "clsx": "^2.1.1" }, "peerDependencies": { "react": ">=16.11.0", "react-dom": ">=16.11.0" } }, "sha512-6PY2ecUSYhDPhkNHHb4wfeAya04WhpmUSKzdR60G+kMNVUCX2vjT/AgTS0Lz0I/K6xrPMJ3enQbwVpeN3sHCgg=="],
|
|
175
|
-
|
|
176
|
-
"@rc-component/form": ["@rc-component/form@1.4.0", "https://mirrors.huaweicloud.com/repository/npm/@rc-component/form/-/form-1.4.0.tgz", { "dependencies": { "@rc-component/async-validator": "^5.0.3", "@rc-component/util": "^1.3.0", "clsx": "^2.1.1" }, "peerDependencies": { "react": ">=16.9.0", "react-dom": ">=16.9.0" } }, "sha512-C8MN/2wIaW9hSrCCtJmcgCkWTQNIspN7ARXLFA4F8PGr8Qxk39U5pS3kRK51/bUJNhb/fEtdFnaViLlISGKI2A=="],
|
|
177
|
-
|
|
178
|
-
"@rc-component/image": ["@rc-component/image@1.5.3", "https://mirrors.huaweicloud.com/repository/npm/@rc-component/image/-/image-1.5.3.tgz", { "dependencies": { "@rc-component/motion": "^1.0.0", "@rc-component/portal": "^2.0.0", "@rc-component/util": "^1.3.0", "clsx": "^2.1.1" }, "peerDependencies": { "react": ">=16.9.0", "react-dom": ">=16.9.0" } }, "sha512-/NR7QW9uCN8Ugar+xsHZOPvzPySfEhcW2/vLcr7VPRM+THZMrllMRv7LAUgW7ikR+Z67Ab67cgPp5K5YftpJsQ=="],
|
|
179
|
-
|
|
180
|
-
"@rc-component/input": ["@rc-component/input@1.1.2", "https://mirrors.huaweicloud.com/repository/npm/@rc-component/input/-/input-1.1.2.tgz", { "dependencies": { "@rc-component/util": "^1.4.0", "clsx": "^2.1.1" }, "peerDependencies": { "react": ">=16.0.0", "react-dom": ">=16.0.0" } }, "sha512-Q61IMR47piUBudgixJ30CciKIy9b1H95qe7GgEKOmSJVJXvFRWJllJfQry9tif+MX2cWFXWJf/RXz4kaCeq/Fg=="],
|
|
181
|
-
|
|
182
|
-
"@rc-component/input-number": ["@rc-component/input-number@1.6.2", "https://mirrors.huaweicloud.com/repository/npm/@rc-component/input-number/-/input-number-1.6.2.tgz", { "dependencies": { "@rc-component/mini-decimal": "^1.0.1", "@rc-component/util": "^1.4.0", "clsx": "^2.1.1" }, "peerDependencies": { "react": ">=16.9.0", "react-dom": ">=16.9.0" } }, "sha512-Gjcq7meZlCOiWN1t1xCC+7/s85humHVokTBI7PJgTfoyw5OWF74y3e6P8PHX104g9+b54jsodFIzyaj6p8LI9w=="],
|
|
183
|
-
|
|
184
|
-
"@rc-component/mentions": ["@rc-component/mentions@1.6.0", "https://mirrors.huaweicloud.com/repository/npm/@rc-component/mentions/-/mentions-1.6.0.tgz", { "dependencies": { "@rc-component/input": "~1.1.0", "@rc-component/menu": "~1.2.0", "@rc-component/textarea": "~1.1.0", "@rc-component/trigger": "^3.0.0", "@rc-component/util": "^1.3.0", "clsx": "^2.1.1" }, "peerDependencies": { "react": ">=16.9.0", "react-dom": ">=16.9.0" } }, "sha512-KIkQNP6habNuTsLhUv0UGEOwG67tlmE7KNIJoQZZNggEZl5lQJTytFDb69sl5CK3TDdISCTjKP3nGEBKgT61CQ=="],
|
|
185
|
-
|
|
186
|
-
"@rc-component/menu": ["@rc-component/menu@1.2.0", "https://mirrors.huaweicloud.com/repository/npm/@rc-component/menu/-/menu-1.2.0.tgz", { "dependencies": { "@rc-component/motion": "^1.1.4", "@rc-component/overflow": "^1.0.0", "@rc-component/trigger": "^3.0.0", "@rc-component/util": "^1.3.0", "clsx": "^2.1.1" }, "peerDependencies": { "react": ">=16.9.0", "react-dom": ">=16.9.0" } }, "sha512-VWwDuhvYHSnTGj4n6bV3ISrLACcPAzdPOq3d0BzkeiM5cve8BEYfvkEhNoM0PLzv51jpcejeyrLXeMVIJ+QJlg=="],
|
|
187
|
-
|
|
188
|
-
"@rc-component/mini-decimal": ["@rc-component/mini-decimal@1.1.0", "https://mirrors.huaweicloud.com/repository/npm/@rc-component/mini-decimal/-/mini-decimal-1.1.0.tgz", { "dependencies": { "@babel/runtime": "^7.18.0" } }, "sha512-jS4E7T9Li2GuYwI6PyiVXmxTiM6b07rlD9Ge8uGZSCz3WlzcG5ZK7g5bbuKNeZ9pgUuPK/5guV781ujdVpm4HQ=="],
|
|
189
|
-
|
|
190
|
-
"@rc-component/motion": ["@rc-component/motion@1.1.6", "https://mirrors.huaweicloud.com/repository/npm/@rc-component/motion/-/motion-1.1.6.tgz", { "dependencies": { "@rc-component/util": "^1.2.0", "clsx": "^2.1.1" }, "peerDependencies": { "react": ">=16.9.0", "react-dom": ">=16.9.0" } }, "sha512-aEQobs/YA0kqRvHIPjQvOytdtdRVyhf/uXAal4chBjxDu6odHckExJzjn2D+Ju1aKK6hx3pAs6BXdV9+86xkgQ=="],
|
|
191
|
-
|
|
192
|
-
"@rc-component/mutate-observer": ["@rc-component/mutate-observer@2.0.1", "https://mirrors.huaweicloud.com/repository/npm/@rc-component/mutate-observer/-/mutate-observer-2.0.1.tgz", { "dependencies": { "@rc-component/util": "^1.2.0" }, "peerDependencies": { "react": ">=16.9.0", "react-dom": ">=16.9.0" } }, "sha512-AyarjoLU5YlxuValRi+w8JRH2Z84TBbFO2RoGWz9d8bSu0FqT8DtugH3xC3BV7mUwlmROFauyWuXFuq4IFbH+w=="],
|
|
193
|
-
|
|
194
|
-
"@rc-component/notification": ["@rc-component/notification@1.2.0", "https://mirrors.huaweicloud.com/repository/npm/@rc-component/notification/-/notification-1.2.0.tgz", { "dependencies": { "@rc-component/motion": "^1.1.4", "@rc-component/util": "^1.2.1", "clsx": "^2.1.1" }, "peerDependencies": { "react": ">=16.9.0", "react-dom": ">=16.9.0" } }, "sha512-OX3J+zVU7rvoJCikjrfW7qOUp7zlDeFBK2eA3SFbGSkDqo63Sl4Ss8A04kFP+fxHSxMDIS9jYVEZtU1FNCFuBA=="],
|
|
195
|
-
|
|
196
|
-
"@rc-component/overflow": ["@rc-component/overflow@1.0.0", "https://mirrors.huaweicloud.com/repository/npm/@rc-component/overflow/-/overflow-1.0.0.tgz", { "dependencies": { "@babel/runtime": "^7.11.1", "@rc-component/resize-observer": "^1.0.1", "@rc-component/util": "^1.4.0", "clsx": "^2.1.1" }, "peerDependencies": { "react": ">=16.9.0", "react-dom": ">=16.9.0" } }, "sha512-GSlBeoE0XTBi5cf3zl8Qh7Uqhn7v8RrlJ8ajeVpEkNe94HWy5l5BQ0Mwn2TVUq9gdgbfEMUmTX7tJFAg7mz0Rw=="],
|
|
197
|
-
|
|
198
|
-
"@rc-component/pagination": ["@rc-component/pagination@1.2.0", "https://mirrors.huaweicloud.com/repository/npm/@rc-component/pagination/-/pagination-1.2.0.tgz", { "dependencies": { "@rc-component/util": "^1.3.0", "clsx": "^2.1.1" }, "peerDependencies": { "react": ">=16.9.0", "react-dom": ">=16.9.0" } }, "sha512-YcpUFE8dMLfSo6OARJlK6DbHHvrxz7pMGPGmC/caZSJJz6HRKHC1RPP001PRHCvG9Z/veD039uOQmazVuLJzlw=="],
|
|
199
|
-
|
|
200
|
-
"@rc-component/picker": ["@rc-component/picker@1.8.0", "https://mirrors.huaweicloud.com/repository/npm/@rc-component/picker/-/picker-1.8.0.tgz", { "dependencies": { "@rc-component/overflow": "^1.0.0", "@rc-component/resize-observer": "^1.0.0", "@rc-component/trigger": "^3.6.15", "@rc-component/util": "^1.3.0", "clsx": "^2.1.1" }, "peerDependencies": { "date-fns": ">= 2.x", "dayjs": ">= 1.x", "luxon": ">= 3.x", "moment": ">= 2.x", "react": ">=16.9.0", "react-dom": ">=16.9.0" }, "optionalPeers": ["date-fns", "dayjs", "luxon", "moment"] }, "sha512-ek4efrIy+peC8WFJg6Lg7c+WNkykr+wUGQGBNoKmlF0K752aIJuaPcBj6p8CceT9vSJ9gOeeclQCBQIFWVDk1A=="],
|
|
201
|
-
|
|
202
|
-
"@rc-component/portal": ["@rc-component/portal@2.0.1", "https://mirrors.huaweicloud.com/repository/npm/@rc-component/portal/-/portal-2.0.1.tgz", { "dependencies": { "@rc-component/util": "^1.2.1", "clsx": "^2.1.1" }, "peerDependencies": { "react": ">=18.0.0", "react-dom": ">=18.0.0" } }, "sha512-46KYuA7Udb1LAaLIdDrfmDz3wzyeEZxIURJCn+heoQVbhtW5PQkhBSQtRus+DUdsknmTFQulxSnqrbX3CI4yXw=="],
|
|
203
|
-
|
|
204
|
-
"@rc-component/progress": ["@rc-component/progress@1.0.2", "https://mirrors.huaweicloud.com/repository/npm/@rc-component/progress/-/progress-1.0.2.tgz", { "dependencies": { "@rc-component/util": "^1.2.1", "clsx": "^2.1.1" }, "peerDependencies": { "react": ">=16.9.0", "react-dom": ">=16.9.0" } }, "sha512-WZUnH9eGxH1+xodZKqdrHke59uyGZSWgj5HBM5Kwk5BrTMuAORO7VJ2IP5Qbm9aH3n9x3IcesqHHR0NWPBC7fQ=="],
|
|
205
|
-
|
|
206
|
-
"@rc-component/qrcode": ["@rc-component/qrcode@1.1.1", "https://mirrors.huaweicloud.com/repository/npm/@rc-component/qrcode/-/qrcode-1.1.1.tgz", { "dependencies": { "@babel/runtime": "^7.24.7" }, "peerDependencies": { "react": ">=16.9.0", "react-dom": ">=16.9.0" } }, "sha512-LfLGNymzKdUPjXUbRP+xOhIWY4jQ+YMj5MmWAcgcAq1Ij8XP7tRmAXqyuv96XvLUBE/5cA8hLFl9eO1JQMujrA=="],
|
|
207
|
-
|
|
208
|
-
"@rc-component/rate": ["@rc-component/rate@1.0.1", "https://mirrors.huaweicloud.com/repository/npm/@rc-component/rate/-/rate-1.0.1.tgz", { "dependencies": { "@rc-component/util": "^1.3.0", "clsx": "^2.1.1" }, "peerDependencies": { "react": ">=16.9.0", "react-dom": ">=16.9.0" } }, "sha512-bkXxeBqDpl5IOC7yL7GcSYjQx9G8H+6kLYQnNZWeBYq2OYIv1MONd6mqKTjnnJYpV0cQIU2z3atdW0j1kttpTw=="],
|
|
209
|
-
|
|
210
|
-
"@rc-component/resize-observer": ["@rc-component/resize-observer@1.0.1", "https://mirrors.huaweicloud.com/repository/npm/@rc-component/resize-observer/-/resize-observer-1.0.1.tgz", { "dependencies": { "@rc-component/util": "^1.2.0" }, "peerDependencies": { "react": ">=16.9.0", "react-dom": ">=16.9.0" } }, "sha512-r+w+Mz1EiueGk1IgjB3ptNXLYSLZ5vnEfKHH+gfgj7JMupftyzvUUl3fRcMZe5uMM04x0n8+G2o/c6nlO2+Wag=="],
|
|
211
|
-
|
|
212
|
-
"@rc-component/segmented": ["@rc-component/segmented@1.2.3", "https://mirrors.huaweicloud.com/repository/npm/@rc-component/segmented/-/segmented-1.2.3.tgz", { "dependencies": { "@babel/runtime": "^7.11.1", "@rc-component/motion": "^1.1.4", "@rc-component/util": "^1.3.0", "clsx": "^2.1.1" }, "peerDependencies": { "react": ">=16.0.0", "react-dom": ">=16.0.0" } }, "sha512-L7G4S6zUpqHclOXK0wKKN2/VyqHa9tfDNxkoFjWOTPtQ0ROFaBwZhbf1+9sdZfIFkxJkpcShAmDOMEIBaFFqkw=="],
|
|
213
|
-
|
|
214
|
-
"@rc-component/select": ["@rc-component/select@1.3.5", "https://mirrors.huaweicloud.com/repository/npm/@rc-component/select/-/select-1.3.5.tgz", { "dependencies": { "@rc-component/overflow": "^1.0.0", "@rc-component/trigger": "^3.0.0", "@rc-component/util": "^1.3.0", "@rc-component/virtual-list": "^1.0.1", "clsx": "^2.1.1" }, "peerDependencies": { "react": "*", "react-dom": "*" } }, "sha512-A2QVOWDfRoLgHwPHrCGx1G42dYntOk+nsT6SX4ADCoagqu4bcxceJPbYvVKkfMYSIwgtfu+tDhPk3Z5gz8944g=="],
|
|
215
|
-
|
|
216
|
-
"@rc-component/slider": ["@rc-component/slider@1.0.1", "https://mirrors.huaweicloud.com/repository/npm/@rc-component/slider/-/slider-1.0.1.tgz", { "dependencies": { "@rc-component/util": "^1.3.0", "clsx": "^2.1.1" }, "peerDependencies": { "react": ">=16.9.0", "react-dom": ">=16.9.0" } }, "sha512-uDhEPU1z3WDfCJhaL9jfd2ha/Eqpdfxsn0Zb0Xcq1NGQAman0TWaR37OWp2vVXEOdV2y0njSILTMpTfPV1454g=="],
|
|
217
|
-
|
|
218
|
-
"@rc-component/steps": ["@rc-component/steps@1.2.2", "https://mirrors.huaweicloud.com/repository/npm/@rc-component/steps/-/steps-1.2.2.tgz", { "dependencies": { "@rc-component/util": "^1.2.1", "clsx": "^2.1.1" }, "peerDependencies": { "react": ">=16.9.0", "react-dom": ">=16.9.0" } }, "sha512-/yVIZ00gDYYPHSY0JP+M+s3ZvuXLu2f9rEjQqiUDs7EcYsUYrpJ/1bLj9aI9R7MBR3fu/NGh6RM9u2qGfqp+Nw=="],
|
|
219
|
-
|
|
220
|
-
"@rc-component/switch": ["@rc-component/switch@1.0.3", "https://mirrors.huaweicloud.com/repository/npm/@rc-component/switch/-/switch-1.0.3.tgz", { "dependencies": { "@rc-component/util": "^1.3.0", "clsx": "^2.1.1" }, "peerDependencies": { "react": ">=16.9.0", "react-dom": ">=16.9.0" } }, "sha512-Jgi+EbOBquje/XNdofr7xbJQZPYJP+BlPfR0h+WN4zFkdtB2EWqEfvkXJWeipflwjWip0/17rNbxEAqs8hVHfw=="],
|
|
221
|
-
|
|
222
|
-
"@rc-component/table": ["@rc-component/table@1.9.0", "https://mirrors.huaweicloud.com/repository/npm/@rc-component/table/-/table-1.9.0.tgz", { "dependencies": { "@rc-component/context": "^2.0.1", "@rc-component/resize-observer": "^1.0.0", "@rc-component/util": "^1.1.0", "@rc-component/virtual-list": "^1.0.1", "clsx": "^2.1.1" }, "peerDependencies": { "react": ">=18.0.0", "react-dom": ">=18.0.0" } }, "sha512-cq3P9FkD+F3eglkFYhBuNlHclg+r4jY8+ZIgK7zbEFo6IwpnA77YL/Gq4ensLw9oua3zFCTA6JDu6YgBei0TxA=="],
|
|
223
|
-
|
|
224
|
-
"@rc-component/tabs": ["@rc-component/tabs@1.7.0", "https://mirrors.huaweicloud.com/repository/npm/@rc-component/tabs/-/tabs-1.7.0.tgz", { "dependencies": { "@rc-component/dropdown": "~1.0.0", "@rc-component/menu": "~1.2.0", "@rc-component/motion": "^1.1.3", "@rc-component/resize-observer": "^1.0.0", "@rc-component/util": "^1.3.0", "clsx": "^2.1.1" }, "peerDependencies": { "react": ">=16.9.0", "react-dom": ">=16.9.0" } }, "sha512-J48cs2iBi7Ho3nptBxxIqizEliUC+ExE23faspUQKGQ550vaBlv3aGF8Epv/UB1vFWeoJDTW/dNzgIU0Qj5i/w=="],
|
|
225
|
-
|
|
226
|
-
"@rc-component/textarea": ["@rc-component/textarea@1.1.2", "https://mirrors.huaweicloud.com/repository/npm/@rc-component/textarea/-/textarea-1.1.2.tgz", { "dependencies": { "@rc-component/input": "~1.1.0", "@rc-component/resize-observer": "^1.0.0", "@rc-component/util": "^1.3.0", "clsx": "^2.1.1" }, "peerDependencies": { "react": ">=16.9.0", "react-dom": ">=16.9.0" } }, "sha512-9rMUEODWZDMovfScIEHXWlVZuPljZ2pd1LKNjslJVitn4SldEzq5vO1CL3yy3Dnib6zZal2r2DPtjy84VVpF6A=="],
|
|
227
|
-
|
|
228
|
-
"@rc-component/tooltip": ["@rc-component/tooltip@1.4.0", "https://mirrors.huaweicloud.com/repository/npm/@rc-component/tooltip/-/tooltip-1.4.0.tgz", { "dependencies": { "@rc-component/trigger": "^3.7.1", "@rc-component/util": "^1.3.0", "clsx": "^2.1.1" }, "peerDependencies": { "react": ">=18.0.0", "react-dom": ">=18.0.0" } }, "sha512-8Rx5DCctIlLI4raR0I0xHjVTf1aF48+gKCNeAAo5bmF5VoR5YED+A/XEqzXv9KKqrJDRcd3Wndpxh2hyzrTtSg=="],
|
|
229
|
-
|
|
230
|
-
"@rc-component/tour": ["@rc-component/tour@2.2.1", "https://mirrors.huaweicloud.com/repository/npm/@rc-component/tour/-/tour-2.2.1.tgz", { "dependencies": { "@rc-component/portal": "^2.0.0", "@rc-component/trigger": "^3.0.0", "@rc-component/util": "^1.3.0", "clsx": "^2.1.1" }, "peerDependencies": { "react": ">=16.9.0", "react-dom": ">=16.9.0" } }, "sha512-BUCrVikGJsXli38qlJ+h2WyDD6dYxzDA9dV3o0ij6gYhAq6ooT08SUMWOikva9v4KZ2BEuluGl5bPcsjrSoBgQ=="],
|
|
231
|
-
|
|
232
|
-
"@rc-component/tree": ["@rc-component/tree@1.1.0", "https://mirrors.huaweicloud.com/repository/npm/@rc-component/tree/-/tree-1.1.0.tgz", { "dependencies": { "@rc-component/motion": "^1.0.0", "@rc-component/util": "^1.2.1", "@rc-component/virtual-list": "^1.0.1", "clsx": "^2.1.1" }, "peerDependencies": { "react": "*", "react-dom": "*" } }, "sha512-HZs3aOlvFgQdgrmURRc/f4IujiNBf4DdEeXUlkS0lPoLlx9RoqsZcF0caXIAMVb+NaWqKtGQDnrH8hqLCN5zlA=="],
|
|
233
|
-
|
|
234
|
-
"@rc-component/tree-select": ["@rc-component/tree-select@1.4.0", "https://mirrors.huaweicloud.com/repository/npm/@rc-component/tree-select/-/tree-select-1.4.0.tgz", { "dependencies": { "@rc-component/select": "~1.3.0", "@rc-component/tree": "~1.1.0", "@rc-component/util": "^1.4.0", "clsx": "^2.1.1" }, "peerDependencies": { "react": "*", "react-dom": "*" } }, "sha512-I3UAlO2hNqy9CSKc8EBaESgnmKk2QaRzuZ2XHZGFCgsSMkGl06mdF97sVfROM02YIb64ocgLKefsjE0Ch4ocwQ=="],
|
|
235
|
-
|
|
236
|
-
"@rc-component/trigger": ["@rc-component/trigger@3.7.1", "https://mirrors.huaweicloud.com/repository/npm/@rc-component/trigger/-/trigger-3.7.1.tgz", { "dependencies": { "@rc-component/motion": "^1.1.4", "@rc-component/portal": "^2.0.0", "@rc-component/resize-observer": "^1.0.0", "@rc-component/util": "^1.2.1", "clsx": "^2.1.1" }, "peerDependencies": { "react": ">=18.0.0", "react-dom": ">=18.0.0" } }, "sha512-+YNP8FywxKJpdqzlAp6TN8UbSK6YsQtIs3kI13mHfm87qi3qUd5Q9AGW8Unfv76kXFUSu7U7D0FygRsGH+6MiA=="],
|
|
237
|
-
|
|
238
|
-
"@rc-component/upload": ["@rc-component/upload@1.1.0", "https://mirrors.huaweicloud.com/repository/npm/@rc-component/upload/-/upload-1.1.0.tgz", { "dependencies": { "@rc-component/util": "^1.3.0", "clsx": "^2.1.1" }, "peerDependencies": { "react": ">=16.9.0", "react-dom": ">=16.9.0" } }, "sha512-LIBV90mAnUE6VK5N4QvForoxZc4XqEYZimcp7fk+lkE4XwHHyJWxpIXQQwMU8hJM+YwBbsoZkGksL1sISWHQxw=="],
|
|
239
|
-
|
|
240
|
-
"@rc-component/util": ["@rc-component/util@1.6.0", "https://mirrors.huaweicloud.com/repository/npm/@rc-component/util/-/util-1.6.0.tgz", { "dependencies": { "is-mobile": "^5.0.0", "react-is": "^18.2.0" }, "peerDependencies": { "react": ">=18.0.0", "react-dom": ">=18.0.0" } }, "sha512-YbjuIVAm8InCnXVoA4n6G+uh31yESTxQ6fSY2frZ2/oMSvktoB+bumFUfNN7RKh7YeOkZgOvN2suGtEDhJSX0A=="],
|
|
241
|
-
|
|
242
|
-
"@rc-component/virtual-list": ["@rc-component/virtual-list@1.0.2", "https://mirrors.huaweicloud.com/repository/npm/@rc-component/virtual-list/-/virtual-list-1.0.2.tgz", { "dependencies": { "@babel/runtime": "^7.20.0", "@rc-component/resize-observer": "^1.0.1", "@rc-component/util": "^1.4.0", "clsx": "^2.1.1" }, "peerDependencies": { "react": ">=16.9.0", "react-dom": ">=16.9.0" } }, "sha512-uvTol/mH74FYsn5loDGJxo+7kjkO4i+y4j87Re1pxJBs0FaeuMuLRzQRGaXwnMcV1CxpZLi2Z56Rerj2M00fjQ=="],
|
|
243
|
-
|
|
244
137
|
"@react-router/dev": ["@react-router/dev@7.10.1", "https://mirrors.huaweicloud.com/repository/npm/@react-router/dev/-/dev-7.10.1.tgz", { "dependencies": { "@babel/core": "^7.27.7", "@babel/generator": "^7.27.5", "@babel/parser": "^7.27.7", "@babel/plugin-syntax-jsx": "^7.27.1", "@babel/preset-typescript": "^7.27.1", "@babel/traverse": "^7.27.7", "@babel/types": "^7.27.7", "@react-router/node": "7.10.1", "@remix-run/node-fetch-server": "^0.9.0", "arg": "^5.0.1", "babel-dead-code-elimination": "^1.0.6", "chokidar": "^4.0.0", "dedent": "^1.5.3", "es-module-lexer": "^1.3.1", "exit-hook": "2.2.1", "isbot": "^5.1.11", "jsesc": "3.0.2", "lodash": "^4.17.21", "p-map": "^7.0.3", "pathe": "^1.1.2", "picocolors": "^1.1.1", "pkg-types": "^2.3.0", "prettier": "^3.6.2", "react-refresh": "^0.14.0", "semver": "^7.3.7", "tinyglobby": "^0.2.14", "valibot": "^1.2.0", "vite-node": "^3.2.2" }, "peerDependencies": { "@react-router/serve": "^7.10.1", "@vitejs/plugin-rsc": "*", "react-router": "^7.10.1", "typescript": "^5.1.0", "vite": "^5.1.0 || ^6.0.0 || ^7.0.0", "wrangler": "^3.28.2 || ^4.0.0" }, "optionalPeers": ["@react-router/serve", "@vitejs/plugin-rsc", "typescript", "wrangler"], "bin": { "react-router": "bin.js" } }, "sha512-kap9O8rTN6b3vxjd+0SGjhm5vqiAZHMmOX1Hc7Y4KXRVVdusn+0+hxs44cDSfbW6Z6fCLw6GXXe0Kr+DJIRezw=="],
|
|
245
138
|
|
|
246
139
|
"@react-router/node": ["@react-router/node@7.10.1", "https://mirrors.huaweicloud.com/repository/npm/@react-router/node/-/node-7.10.1.tgz", { "dependencies": { "@mjackson/node-fetch-server": "^0.2.0" }, "peerDependencies": { "react-router": "7.10.1", "typescript": "^5.1.0" }, "optionalPeers": ["typescript"] }, "sha512-RLmjlR1zQu+ve8ibI0lu91pJrXGcmfkvsrQl7z/eTc5V5FZgl0OvQVWL5JDWBlBZyzdLMQQekUOX5WcPhCP1FQ=="],
|
|
@@ -301,8 +194,6 @@
|
|
|
301
194
|
|
|
302
195
|
"@types/react-dom": ["@types/react-dom@19.2.3", "https://mirrors.huaweicloud.com/repository/npm/@types/react-dom/-/react-dom-19.2.3.tgz", { "peerDependencies": { "@types/react": "^19.2.0" } }, "sha512-jp2L/eY6fn+KgVVQAOqYItbF0VY/YApe5Mz2F0aykSO8gx31bYCZyvSeYxCHKvzHG5eZjc+zyaS5BrBWya2+kQ=="],
|
|
303
196
|
|
|
304
|
-
"antd": ["antd@6.1.0", "https://mirrors.huaweicloud.com/repository/npm/antd/-/antd-6.1.0.tgz", { "dependencies": { "@ant-design/colors": "^8.0.0", "@ant-design/cssinjs": "^2.0.1", "@ant-design/cssinjs-utils": "^2.0.2", "@ant-design/fast-color": "^3.0.0", "@ant-design/icons": "^6.1.0", "@ant-design/react-slick": "~2.0.0", "@babel/runtime": "^7.28.4", "@rc-component/cascader": "~1.9.0", "@rc-component/checkbox": "~1.0.1", "@rc-component/collapse": "~1.1.2", "@rc-component/color-picker": "~3.0.3", "@rc-component/dialog": "~1.5.1", "@rc-component/drawer": "~1.3.0", "@rc-component/dropdown": "~1.0.2", "@rc-component/form": "~1.4.0", "@rc-component/image": "~1.5.2", "@rc-component/input": "~1.1.2", "@rc-component/input-number": "~1.6.2", "@rc-component/mentions": "~1.6.0", "@rc-component/menu": "~1.2.0", "@rc-component/motion": "~1.1.6", "@rc-component/mutate-observer": "^2.0.1", "@rc-component/notification": "~1.2.0", "@rc-component/pagination": "~1.2.0", "@rc-component/picker": "~1.8.0", "@rc-component/progress": "~1.0.2", "@rc-component/qrcode": "~1.1.1", "@rc-component/rate": "~1.0.1", "@rc-component/resize-observer": "^1.0.1", "@rc-component/segmented": "~1.2.3", "@rc-component/select": "~1.3.2", "@rc-component/slider": "~1.0.1", "@rc-component/steps": "~1.2.2", "@rc-component/switch": "~1.0.3", "@rc-component/table": "~1.9.0", "@rc-component/tabs": "~1.7.0", "@rc-component/textarea": "~1.1.2", "@rc-component/tooltip": "~1.4.0", "@rc-component/tour": "~2.2.1", "@rc-component/tree": "~1.1.0", "@rc-component/tree-select": "~1.4.0", "@rc-component/trigger": "^3.7.1", "@rc-component/upload": "~1.1.0", "@rc-component/util": "^1.4.0", "clsx": "^2.1.1", "dayjs": "^1.11.11", "scroll-into-view-if-needed": "^3.1.0", "throttle-debounce": "^5.0.2" }, "peerDependencies": { "react": ">=18.0.0", "react-dom": ">=18.0.0" } }, "sha512-RIe4W5saaL9SWgvqCcvz6LZta/KwT50B0YF7xYiWVZh0Gqfw2rJAsOMcp202Hxgm+YiyoSp4QqqvexKhuGGarw=="],
|
|
305
|
-
|
|
306
197
|
"arg": ["arg@5.0.2", "https://mirrors.huaweicloud.com/repository/npm/arg/-/arg-5.0.2.tgz", {}, "sha512-PYjyFOLKQ9y57JvQ6QLo8dAgNqswh8M1RMJYdQduT6xbWSgK36P/Z/v+p888pM69jMMfS8Xd8F6I1kQ/I9HUGg=="],
|
|
307
198
|
|
|
308
199
|
"babel-dead-code-elimination": ["babel-dead-code-elimination@1.0.10", "https://mirrors.huaweicloud.com/repository/npm/babel-dead-code-elimination/-/babel-dead-code-elimination-1.0.10.tgz", { "dependencies": { "@babel/core": "^7.23.7", "@babel/parser": "^7.23.6", "@babel/traverse": "^7.23.7", "@babel/types": "^7.23.6" } }, "sha512-DV5bdJZTzZ0zn0DC24v3jD7Mnidh6xhKa4GfKCbq3sfW8kaWhDdZjP3i81geA8T33tdYqWKw4D3fVv0CwEgKVA=="],
|
|
@@ -321,10 +212,6 @@
|
|
|
321
212
|
|
|
322
213
|
"chokidar": ["chokidar@4.0.3", "https://mirrors.huaweicloud.com/repository/npm/chokidar/-/chokidar-4.0.3.tgz", { "dependencies": { "readdirp": "^4.0.1" } }, "sha512-Qgzu8kfBvo+cA4962jnP1KkS6Dop5NS6g7R5LFYJr4b8Ub94PPQXUksCw9PvXoeXPRRddRNC5C1JQUR2SMGtnA=="],
|
|
323
214
|
|
|
324
|
-
"clsx": ["clsx@2.1.1", "https://mirrors.huaweicloud.com/repository/npm/clsx/-/clsx-2.1.1.tgz", {}, "sha512-eYm0QWBtUrBWZWG0d386OGAw16Z995PiOVo2B7bjWSbHedGl5e0ZWaq65kOGgUSNesEIDkB9ISbTg/JK9dhCZA=="],
|
|
325
|
-
|
|
326
|
-
"compute-scroll-into-view": ["compute-scroll-into-view@3.1.1", "https://mirrors.huaweicloud.com/repository/npm/compute-scroll-into-view/-/compute-scroll-into-view-3.1.1.tgz", {}, "sha512-VRhuHOLoKYOy4UbilLbUzbYg93XLjv2PncJC50EuTWPA3gaja1UjBsUP/D/9/juV3vQFr6XBEzn9KCAHdUvOHw=="],
|
|
327
|
-
|
|
328
215
|
"confbox": ["confbox@0.2.2", "https://mirrors.huaweicloud.com/repository/npm/confbox/-/confbox-0.2.2.tgz", {}, "sha512-1NB+BKqhtNipMsov4xI/NnhCKp9XG9NamYp5PVm9klAT0fsrNPjaFICsCFhNhwZJKNh7zB/3q8qXz0E9oaMNtQ=="],
|
|
329
216
|
|
|
330
217
|
"convert-source-map": ["convert-source-map@2.0.0", "https://mirrors.huaweicloud.com/repository/npm/convert-source-map/-/convert-source-map-2.0.0.tgz", {}, "sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg=="],
|
|
@@ -333,8 +220,6 @@
|
|
|
333
220
|
|
|
334
221
|
"csstype": ["csstype@3.2.3", "https://mirrors.huaweicloud.com/repository/npm/csstype/-/csstype-3.2.3.tgz", {}, "sha512-z1HGKcYy2xA8AGQfwrn0PAy+PB7X/GSj3UVJW9qKyn43xWa+gl5nXmU4qqLMRzWVLFC8KusUX8T/0kCiOYpAIQ=="],
|
|
335
222
|
|
|
336
|
-
"dayjs": ["dayjs@1.11.19", "https://mirrors.huaweicloud.com/repository/npm/dayjs/-/dayjs-1.11.19.tgz", {}, "sha512-t5EcLVS6QPBNqM2z8fakk/NKel+Xzshgt8FFKAn+qwlD1pzZWxh0nVCrvFK7ZDb6XucZeF9z8C7CBWTRIVApAw=="],
|
|
337
|
-
|
|
338
223
|
"debug": ["debug@4.4.3", "https://mirrors.huaweicloud.com/repository/npm/debug/-/debug-4.4.3.tgz", { "dependencies": { "ms": "^2.1.3" } }, "sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA=="],
|
|
339
224
|
|
|
340
225
|
"dedent": ["dedent@1.7.0", "https://mirrors.huaweicloud.com/repository/npm/dedent/-/dedent-1.7.0.tgz", { "peerDependencies": { "babel-plugin-macros": "^3.1.0" }, "optionalPeers": ["babel-plugin-macros"] }, "sha512-HGFtf8yhuhGhqO07SV79tRp+br4MnbdjeVxotpn1QBl30pcLLCQjX5b2295ll0fv8RKDKsmWYrl05usHM9CewQ=="],
|
|
@@ -357,16 +242,12 @@
|
|
|
357
242
|
|
|
358
243
|
"gensync": ["gensync@1.0.0-beta.2", "https://mirrors.huaweicloud.com/repository/npm/gensync/-/gensync-1.0.0-beta.2.tgz", {}, "sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg=="],
|
|
359
244
|
|
|
360
|
-
"is-mobile": ["is-mobile@5.0.0", "https://mirrors.huaweicloud.com/repository/npm/is-mobile/-/is-mobile-5.0.0.tgz", {}, "sha512-Tz/yndySvLAEXh+Uk8liFCxOwVH6YutuR74utvOcu7I9Di+DwM0mtdPVZNaVvvBUM2OXxne/NhOs1zAO7riusQ=="],
|
|
361
|
-
|
|
362
245
|
"isbot": ["isbot@5.1.32", "https://mirrors.huaweicloud.com/repository/npm/isbot/-/isbot-5.1.32.tgz", {}, "sha512-VNfjM73zz2IBZmdShMfAUg10prm6t7HFUQmNAEOAVS4YH92ZrZcvkMcGX6cIgBJAzWDzPent/EeAtYEHNPNPBQ=="],
|
|
363
246
|
|
|
364
247
|
"js-tokens": ["js-tokens@4.0.0", "https://mirrors.huaweicloud.com/repository/npm/js-tokens/-/js-tokens-4.0.0.tgz", {}, "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ=="],
|
|
365
248
|
|
|
366
249
|
"jsesc": ["jsesc@3.0.2", "https://mirrors.huaweicloud.com/repository/npm/jsesc/-/jsesc-3.0.2.tgz", { "bin": { "jsesc": "bin/jsesc" } }, "sha512-xKqzzWXDttJuOcawBt4KnKHHIf5oQ/Cxax+0PWFG+DFDgHNAdi+TXECADI+RYiFUMmx8792xsMbbgXj4CwnP4g=="],
|
|
367
250
|
|
|
368
|
-
"json2mq": ["json2mq@0.2.0", "https://mirrors.huaweicloud.com/repository/npm/json2mq/-/json2mq-0.2.0.tgz", { "dependencies": { "string-convert": "^0.2.0" } }, "sha512-SzoRg7ux5DWTII9J2qkrZrqV1gt+rTaoufMxEzXbS26Uid0NwaJd123HcoB80TgubEppxxIGdNxCx50fEoEWQA=="],
|
|
369
|
-
|
|
370
251
|
"json5": ["json5@2.2.3", "https://mirrors.huaweicloud.com/repository/npm/json5/-/json5-2.2.3.tgz", { "bin": { "json5": "lib/cli.js" } }, "sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg=="],
|
|
371
252
|
|
|
372
253
|
"lodash": ["lodash@4.17.21", "https://mirrors.huaweicloud.com/repository/npm/lodash/-/lodash-4.17.21.tgz", {}, "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg=="],
|
|
@@ -397,8 +278,6 @@
|
|
|
397
278
|
|
|
398
279
|
"react-dom": ["react-dom@19.2.3", "https://mirrors.huaweicloud.com/repository/npm/react-dom/-/react-dom-19.2.3.tgz", { "dependencies": { "scheduler": "^0.27.0" }, "peerDependencies": { "react": "^19.2.3" } }, "sha512-yELu4WmLPw5Mr/lmeEpox5rw3RETacE++JgHqQzd2dg+YbJuat3jH4ingc+WPZhxaoFzdv9y33G+F7Nl5O0GBg=="],
|
|
399
280
|
|
|
400
|
-
"react-is": ["react-is@18.3.1", "https://mirrors.huaweicloud.com/repository/npm/react-is/-/react-is-18.3.1.tgz", {}, "sha512-/LLMVyas0ljjAtoYiPqYiL8VWXzUUdThrmU5+n20DZv+a+ClRoevUzw5JxU+Ieh5/c87ytoTBV9G1FiKfNJdmg=="],
|
|
401
|
-
|
|
402
281
|
"react-refresh": ["react-refresh@0.14.2", "https://mirrors.huaweicloud.com/repository/npm/react-refresh/-/react-refresh-0.14.2.tgz", {}, "sha512-jCvmsr+1IUSMUyzOkRcvnVbX3ZYC6g9TDrDbFuFmRDq7PD4yaGbLKNQL6k2jnArV8hjYxh7hVhAZB6s9HDGpZA=="],
|
|
403
282
|
|
|
404
283
|
"react-router": ["react-router@7.10.1", "https://mirrors.huaweicloud.com/repository/npm/react-router/-/react-router-7.10.1.tgz", { "dependencies": { "cookie": "^1.0.1", "set-cookie-parser": "^2.6.0" }, "peerDependencies": { "react": ">=18", "react-dom": ">=18" }, "optionalPeers": ["react-dom"] }, "sha512-gHL89dRa3kwlUYtRQ+m8NmxGI6CgqN+k4XyGjwcFoQwwCWF6xXpOCUlDovkXClS0d0XJN/5q7kc5W3kiFEd0Yw=="],
|
|
@@ -409,20 +288,12 @@
|
|
|
409
288
|
|
|
410
289
|
"scheduler": ["scheduler@0.27.0", "https://mirrors.huaweicloud.com/repository/npm/scheduler/-/scheduler-0.27.0.tgz", {}, "sha512-eNv+WrVbKu1f3vbYJT/xtiF5syA5HPIMtf9IgY/nKg0sWqzAUEvqY/xm7OcZc/qafLx/iO9FgOmeSAp4v5ti/Q=="],
|
|
411
290
|
|
|
412
|
-
"scroll-into-view-if-needed": ["scroll-into-view-if-needed@3.1.0", "https://mirrors.huaweicloud.com/repository/npm/scroll-into-view-if-needed/-/scroll-into-view-if-needed-3.1.0.tgz", { "dependencies": { "compute-scroll-into-view": "^3.0.2" } }, "sha512-49oNpRjWRvnU8NyGVmUaYG4jtTkNonFZI86MmGRDqBphEK2EXT9gdEUoQPZhuBM8yWHxCWbobltqYO5M4XrUvQ=="],
|
|
413
|
-
|
|
414
291
|
"semver": ["semver@7.7.3", "https://mirrors.huaweicloud.com/repository/npm/semver/-/semver-7.7.3.tgz", { "bin": { "semver": "bin/semver.js" } }, "sha512-SdsKMrI9TdgjdweUSR9MweHA4EJ8YxHn8DFaDisvhVlUOe4BF1tLD7GAj0lIqWVl+dPb/rExr0Btby5loQm20Q=="],
|
|
415
292
|
|
|
416
293
|
"set-cookie-parser": ["set-cookie-parser@2.7.2", "https://mirrors.huaweicloud.com/repository/npm/set-cookie-parser/-/set-cookie-parser-2.7.2.tgz", {}, "sha512-oeM1lpU/UvhTxw+g3cIfxXHyJRc/uidd3yK1P242gzHds0udQBYzs3y8j4gCCW+ZJ7ad0yctld8RYO+bdurlvw=="],
|
|
417
294
|
|
|
418
295
|
"source-map-js": ["source-map-js@1.2.1", "https://mirrors.huaweicloud.com/repository/npm/source-map-js/-/source-map-js-1.2.1.tgz", {}, "sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA=="],
|
|
419
296
|
|
|
420
|
-
"string-convert": ["string-convert@0.2.1", "https://mirrors.huaweicloud.com/repository/npm/string-convert/-/string-convert-0.2.1.tgz", {}, "sha512-u/1tdPl4yQnPBjnVrmdLo9gtuLvELKsAoRapekWggdiQNvvvum+jYF329d84NAa660KQw7pB2n36KrIKVoXa3A=="],
|
|
421
|
-
|
|
422
|
-
"stylis": ["stylis@4.3.6", "https://mirrors.huaweicloud.com/repository/npm/stylis/-/stylis-4.3.6.tgz", {}, "sha512-yQ3rwFWRfwNUY7H5vpU0wfdkNSnvnJinhF9830Swlaxl03zsOjCfmX0ugac+3LtK0lYSgwL/KXc8oYL3mG4YFQ=="],
|
|
423
|
-
|
|
424
|
-
"throttle-debounce": ["throttle-debounce@5.0.2", "https://mirrors.huaweicloud.com/repository/npm/throttle-debounce/-/throttle-debounce-5.0.2.tgz", {}, "sha512-B71/4oyj61iNH0KeCamLuE2rmKuTO5byTOSVwECM5FA7TiAiAW+UqTKZ9ERueC4qvgSttUhdmq1mXC3kJqGX7A=="],
|
|
425
|
-
|
|
426
297
|
"tinyglobby": ["tinyglobby@0.2.15", "https://mirrors.huaweicloud.com/repository/npm/tinyglobby/-/tinyglobby-0.2.15.tgz", { "dependencies": { "fdir": "^6.5.0", "picomatch": "^4.0.3" } }, "sha512-j2Zq4NyQYG5XMST4cbs02Ak8iJUdxRM0XI5QyxXuZOzKOINmWurp3smXu3y5wDcJrptwpSjgXHzIQxR0omXljQ=="],
|
|
427
298
|
|
|
428
299
|
"undici-types": ["undici-types@7.16.0", "https://mirrors.huaweicloud.com/repository/npm/undici-types/-/undici-types-7.16.0.tgz", {}, "sha512-Zz+aZWSj8LE6zoxD+xrjh4VfkIG8Ya6LvYkZqtUQGJPZjYl53ypCaUwWqo7eI0x66KBGeRo+mlBEkMSeSZ38Nw=="],
|
package/package.json
CHANGED
|
@@ -1,24 +1,27 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "1.0.
|
|
2
|
+
"version": "1.0.3",
|
|
3
3
|
"scripts": {
|
|
4
4
|
"dev": "export NODE_ENV=development && bun --hot run index.ts",
|
|
5
5
|
"prebuild": "bun run scripts/prebuild.ts",
|
|
6
|
-
"build": "export NODE_ENV=production && bun run prebuild && bun build --compile ./index.ts --outfile dist/
|
|
7
|
-
"build-linux": "export NODE_ENV=production && bun build --compile --target=bun-linux-x64-musl ./index.ts --outfile dist/
|
|
8
|
-
"start": "cd dist && ./
|
|
9
|
-
"docker:build": "bun run build-linux && docker build -t
|
|
10
|
-
"docker:run": "docker run -itd -p 3000:3000
|
|
6
|
+
"build": "export NODE_ENV=production && bun run prebuild && bun build --compile ./index.ts --outfile dist/wildpig",
|
|
7
|
+
"build-linux-musl": "export NODE_ENV=production && bun build --compile --target=bun-linux-x64-musl ./index.ts --outfile dist/wildpig",
|
|
8
|
+
"start": "cd dist && ./wildpig",
|
|
9
|
+
"docker:build": "bun run build-linux && docker build -t wildpig .",
|
|
10
|
+
"docker:run": "docker run -itd -p 3000:3000 wildpig",
|
|
11
|
+
"testbin": "wildpig dev"
|
|
11
12
|
},
|
|
12
13
|
"dependencies": {
|
|
13
14
|
"@react-router/dev": "^7.10.1",
|
|
14
15
|
"@types/bun": "^1.3.4",
|
|
15
16
|
"@types/react": "^19.2.7",
|
|
16
17
|
"@types/react-dom": "^19.2.3",
|
|
17
|
-
"antd": "^6.1.0",
|
|
18
18
|
"chalk": "^5.6.2",
|
|
19
19
|
"react": "^19.2.3",
|
|
20
20
|
"react-dom": "^19.2.3"
|
|
21
21
|
},
|
|
22
|
+
"bin":{
|
|
23
|
+
"wildpig": "./bin/wildpig.ts"
|
|
24
|
+
},
|
|
22
25
|
"name": "wildpig",
|
|
23
26
|
"description": "A strong and fast fullstack framework base Bun.",
|
|
24
27
|
"main": "index.ts",
|