@tbox.cn/app-template-h5 0.1.0 → 0.1.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.
@@ -33,9 +33,13 @@ catalog:
33
33
  "@types/node": 24.13.3
34
34
  express: 4.22.2
35
35
  "@types/express": 4.17.25
36
- "@tbox.cn/app-sdk": 0.20.0
37
- "@tbox.cn/app-contracts": 0.11.0
38
- "@tbox.cn/app-contracts-mall": 0.11.0
36
+ "@tbox.cn/app-sdk-core": 0.20.0
37
+ "@tbox.cn/app-sdk-client": 0.21.0
38
+ "@tbox.cn/app-sdk-server": 0.21.0
39
+ "@tbox.cn/app-agent-sdk-server": 0.1.0
40
+ "@tbox.cn/app-agent-sdk-client": 0.1.0
41
+ "@tbox.cn/app-contracts": 0.12.0
42
+ "@tbox.cn/app-contracts-mall": 0.12.0
39
43
  eslint: 9.39.5
40
44
  typescript-eslint: 8.67.0
41
45
  eslint-plugin-react-hooks: 5.2.0
@@ -1,14 +0,0 @@
1
- /**
2
- * 浏览器端 fs / path 桩。
3
- *
4
- * @tbox-dev-js/sdk 的 ESM 顶层静态 import 了 Node 的 fs/path(用于 Node 环境的代码路径,
5
- * 浏览器不会执行到),但静态 import 会让 vite 生产构建因"命名导出不存在"而失败。
6
- * 用本桩 alias 掉 fs/path,提供同名空实现即可(浏览器永不调用这些路径)。
7
- */
8
- export const existsSync = (): boolean => false;
9
- export const readFileSync = (): string => '';
10
- export const resolve = (...p: string[]): string => p.join('/');
11
- export const join = (...p: string[]): string => p.join('/');
12
- export const dirname = (p = ''): string => p.split('/').slice(0, -1).join('/');
13
-
14
- export default { existsSync, readFileSync, resolve, join, dirname };