Skip to content

Commit 7377bc9

Browse files
author
Json_Lee
committed
fix: 修复docs打包问题
1 parent 0ad5f71 commit 7377bc9

File tree

7 files changed

+71
-71
lines changed

7 files changed

+71
-71
lines changed

apps/docs/docs/api/overview.md

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -20,42 +20,42 @@ typescript-api-pro/
2020

2121
### Basic Types
2222

23-
- [`PropertyKey`](./object-types#propertykey) - Object property key type
24-
- [`AnyObject<T>`](./object-types#anyobject) - Generic object type
23+
- [`PropertyKey`](../object-types#propertykey) - Object property key type
24+
- [`AnyObject<T>`](../object-types#anyobject) - Generic object type
2525

2626
### Object Operations
2727

28-
- [`ValueOf<T>`](./object-types#valueof) - Extract object value types
29-
- [`KeyOf<T>`](./object-types#keyof) - Extract object key types
30-
- [`Generic<R, K, T>`](./object-types#generic) - Override object property type
31-
- [`OmitByObject<T, U>`](./object-types#omitbyobject) - Exclude properties based on object structure
28+
- [`ValueOf<T>`](../object-types#valueof) - Extract object value types
29+
- [`KeyOf<T>`](../object-types#keyof) - Extract object key types
30+
- [`Generic<R, K, T>`](../object-types#generic) - Override object property type
31+
- [`OmitByObject<T, U>`](../object-types#omitbyobject) - Exclude properties based on object structure
3232

3333
### Dependency Relationships
3434

35-
- [`RequiredDependency<T, K, D>`](./object-types#requireddependency) - Property dependency relationship
36-
- [`MutuallyWithObject<T>`](./object-types#mutuallywithobject) - Mutually exclusive object properties
37-
- [`Mutually<T, K, O>`](./object-types#mutually) - Two-property mutual exclusion
35+
- [`RequiredDependency<T, K, D>`](../object-types#requireddependency) - Property dependency relationship
36+
- [`MutuallyWithObject<T>`](../object-types#mutuallywithobject) - Mutually exclusive object properties
37+
- [`Mutually<T, K, O>`](../object-types#mutually) - Two-property mutual exclusion
3838

3939
### Array Operations
4040

41-
- [`ArrayItem<T>`](./array-types#arrayitem) - Extract array element type
41+
- [`ArrayItem<T>`](../array-types#arrayitem) - Extract array element type
4242

4343
### Map Operations
4444

45-
- [`MapKeyOf<T>`](./map-types#mapkeyof) - Extract Map key type
46-
- [`MapValueOf<T>`](./map-types#mapvalueof) - Extract Map value type
47-
- [`MapToObject<T>`](./map-types#maptoobject) - Convert Map to object
48-
- [`ObjectToMap<T>`](./map-types#objecttomap) - Convert object to Map
49-
- [`OmitMapKey<T, K>`](./map-types#omitmapkey) - Exclude Map keys
50-
- [`PickMapKey<T, K>`](./map-types#pickmapkey) - Select Map keys
45+
- [`MapKeyOf<T>`](../map-types#mapkeyof) - Extract Map key type
46+
- [`MapValueOf<T>`](../map-types#mapvalueof) - Extract Map value type
47+
- [`MapToObject<T>`](../map-types#maptoobject) - Convert Map to object
48+
- [`ObjectToMap<T>`](../map-types#objecttomap) - Convert object to Map
49+
- [`OmitMapKey<T, K>`](../map-types#omitmapkey) - Exclude Map keys
50+
- [`PickMapKey<T, K>`](../map-types#pickmapkey) - Select Map keys
5151

5252
### Set Operations
5353

54-
- [`SetValueOf<T>`](./set-types#setvalueof) - Extract Set element type
55-
- [`OmitSetValue<T, V>`](./set-types#omitsetvalue) - Exclude Set values
56-
- [`PickSetValue<T, V>`](./set-types#picksetvalue) - Select Set values
57-
- [`ArrayToSet<T>`](./set-types#arraytoset) - Convert array to Set
58-
- [`SetToArray<T>`](./set-types#settoarray) - Convert Set to array
54+
- [`SetValueOf<T>`](../set-types#setvalueof) - Extract Set element type
55+
- [`OmitSetValue<T, V>`](../set-types#omitsetvalue) - Exclude Set values
56+
- [`PickSetValue<T, V>`](../set-types#picksetvalue) - Select Set values
57+
- [`ArrayToSet<T>`](../set-types#arraytoset) - Convert array to Set
58+
- [`SetToArray<T>`](../set-types#settoarray) - Convert Set to array
5959

6060
## 🎯 Use Cases
6161

@@ -105,7 +105,7 @@ type ConfigObject = MapToObject<Map<'host' | 'port', string>>; // { host: string
105105

106106
Choose a specific type category to learn more details and usage examples:
107107

108-
- [Object Type Utilities](./object-types)
109-
- [Array Type Utilities](./array-types)
110-
- [Map Type Utilities](./map-types)
111-
- [Set Type Utilities](./set-types)
108+
- [Object Type Utilities](../object-types)
109+
- [Array Type Utilities](../array-types)
110+
- [Map Type Utilities](../map-types)
111+
- [Set Type Utilities](../set-types)

apps/docs/docs/getting-started.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -259,12 +259,12 @@ type DatabaseConfig = RequiredDependency<
259259

260260
Now that you understand the basic usage of TypeScript API Pro, you can:
261261

262-
1. Check the [API Reference](./api/overview) to learn about all available type utilities
262+
1. Check the [API Reference](../api/overview) to learn about all available type utilities
263263
2. Explore specific type categories:
264-
- [Object Type Utilities](./api/object-types)
265-
- [Array Type Utilities](./api/array-types)
266-
- [Map Type Utilities](./api/map-types)
267-
- [Set Type Utilities](./api/set-types)
264+
- [Object Type Utilities](../api/object-types)
265+
- [Array Type Utilities](../api/array-types)
266+
- [Map Type Utilities](../api/map-types)
267+
- [Set Type Utilities](../api/set-types)
268268
3. Start using these type utilities in your projects
269269

270270
If you encounter any issues, feel free to ask questions in [GitHub Issues](https://github.com/JsonLee12138/typescript-api-pro/issues)!

apps/docs/docs/intro.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,11 @@ type User = ArrayItem<Users>;
5050

5151
TypeScript API Pro organizes type utilities into the following functional modules:
5252

53-
- **[Object Types](./api/object-types)**: Handle object-related type operations
54-
- **[Array Types](./api/array-types)**: Handle array-related type operations
55-
- **[Map Types](./api/map-types)**: Handle Map-related type operations
56-
- **[Set Types](./api/set-types)**: Handle Set-related type operations
53+
- **[Object Types](../api/object-types)**: Handle object-related type operations
54+
- **[Array Types](../api/array-types)**: Handle array-related type operations
55+
- **[Map Types](../api/map-types)**: Handle Map-related type operations
56+
- **[Set Types](../api/set-types)**: Handle Set-related type operations
5757

5858
## Next Steps
5959

60-
Choose a type category that interests you to start exploring, or check out our [complete API reference](./api/overview).
60+
Choose a type category that interests you to start exploring, or check out our [complete API reference](../api/overview).

apps/docs/i18n/zh-Hans/docusaurus-plugin-content-docs/current/api/overview.md

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -20,42 +20,42 @@ typescript-api-pro/
2020

2121
### 基础类型
2222

23-
- [`PropertyKey`](./object-types#propertykey) - 对象属性键类型
24-
- [`AnyObject<T>`](./object-types#anyobject) - 通用对象类型
23+
- [`PropertyKey`](../object-types#propertykey) - 对象属性键类型
24+
- [`AnyObject<T>`](../object-types#anyobject) - 通用对象类型
2525

2626
### 对象操作
2727

28-
- [`ValueOf<T>`](./object-types#valueof) - 提取对象值类型
29-
- [`KeyOf<T>`](./object-types#keyof) - 提取对象键类型
30-
- [`Generic<R, K, T>`](./object-types#generic) - 覆盖对象属性类型
31-
- [`OmitByObject<T, U>`](./object-types#omitbyobject) - 基于对象结构排除属性
28+
- [`ValueOf<T>`](../object-types#valueof) - 提取对象值类型
29+
- [`KeyOf<T>`](../object-types#keyof) - 提取对象键类型
30+
- [`Generic<R, K, T>`](../object-types#generic) - 覆盖对象属性类型
31+
- [`OmitByObject<T, U>`](../object-types#omitbyobject) - 基于对象结构排除属性
3232

3333
### 依赖关系
3434

35-
- [`RequiredDependency<T, K, D>`](./object-types#requireddependency) - 属性依赖关系
36-
- [`MutuallyWithObject<T>`](./object-types#mutuallywithobject) - 互斥对象属性
37-
- [`Mutually<T, K, O>`](./object-types#mutually) - 双属性互斥
35+
- [`RequiredDependency<T, K, D>`](../object-types#requireddependency) - 属性依赖关系
36+
- [`MutuallyWithObject<T>`](../object-types#mutuallywithobject) - 互斥对象属性
37+
- [`Mutually<T, K, O>`](../object-types#mutually) - 双属性互斥
3838

3939
### 数组操作
4040

41-
- [`ArrayItem<T>`](./array-types#arrayitem) - 提取数组元素类型
41+
- [`ArrayItem<T>`](../array-types#arrayitem) - 提取数组元素类型
4242

4343
### Map 操作
4444

45-
- [`MapKeyOf<T>`](./map-types#mapkeyof) - 提取 Map 键类型
46-
- [`MapValueOf<T>`](./map-types#mapvalueof) - 提取 Map 值类型
47-
- [`MapToObject<T>`](./map-types#maptoobject) - Map 转对象
48-
- [`ObjectToMap<T>`](./map-types#objecttomap) - 对象转 Map
49-
- [`OmitMapKey<T, K>`](./map-types#omitmapkey) - 排除 Map 键
50-
- [`PickMapKey<T, K>`](./map-types#pickmapkey) - 选择 Map 键
45+
- [`MapKeyOf<T>`](../map-types#mapkeyof) - 提取 Map 键类型
46+
- [`MapValueOf<T>`](../map-types#mapvalueof) - 提取 Map 值类型
47+
- [`MapToObject<T>`](../map-types#maptoobject) - Map 转对象
48+
- [`ObjectToMap<T>`](../map-types#objecttomap) - 对象转 Map
49+
- [`OmitMapKey<T, K>`](../map-types#omitmapkey) - 排除 Map 键
50+
- [`PickMapKey<T, K>`](../map-types#pickmapkey) - 选择 Map 键
5151

5252
### Set 操作
5353

54-
- [`SetValueOf<T>`](./set-types#setvalueof) - 提取 Set 元素类型
55-
- [`OmitSetValue<T, V>`](./set-types#omitsetvalue) - 排除 Set 值
56-
- [`PickSetValue<T, V>`](./set-types#picksetvalue) - 选择 Set 值
57-
- [`ArrayToSet<T>`](./set-types#arraytoset) - 数组转 Set
58-
- [`SetToArray<T>`](./set-types#settoarray) - Set 转数组
54+
- [`SetValueOf<T>`](../set-types#setvalueof) - 提取 Set 元素类型
55+
- [`OmitSetValue<T, V>`](../set-types#omitsetvalue) - 排除 Set 值
56+
- [`PickSetValue<T, V>`](../set-types#picksetvalue) - 选择 Set 值
57+
- [`ArrayToSet<T>`](../set-types#arraytoset) - 数组转 Set
58+
- [`SetToArray<T>`](../set-types#settoarray) - Set 转数组
5959

6060
## 🎯 使用场景
6161

@@ -105,7 +105,7 @@ type ConfigObject = MapToObject<Map<'host' | 'port', string>>; // { host: string
105105

106106
选择特定的类型分类来了解更多详细信息和使用示例:
107107

108-
- [对象类型工具](./object-types)
109-
- [数组类型工具](./array-types)
110-
- [Map 类型工具](./map-types)
111-
- [Set 类型工具](./set-types)
108+
- [对象类型工具](../object-types)
109+
- [数组类型工具](../array-types)
110+
- [Map 类型工具](../map-types)
111+
- [Set 类型工具](../set-types)

apps/docs/i18n/zh-Hans/docusaurus-plugin-content-docs/current/getting-started.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -134,12 +134,12 @@ type PermissionElement = SetValueOf<PermissionSet>;
134134

135135
现在你已经了解了 TypeScript API Pro 的基本用法,可以:
136136

137-
1. 查看 [API 参考文档](./api/overview) 了解所有可用的类型工具
137+
1. 查看 [API 参考文档](../api/overview) 了解所有可用的类型工具
138138
2. 探索具体的类型分类:
139-
- [对象类型工具](./api/object-types)
140-
- [数组类型工具](./api/array-types)
141-
- [Map 类型工具](./api/map-types)
142-
- [Set 类型工具](./api/set-types)
139+
- [对象类型工具](../api/object-types)
140+
- [数组类型工具](../api/array-types)
141+
- [Map 类型工具](../api/map-types)
142+
- [Set 类型工具](../api/set-types)
143143
3. 在你的项目中开始使用这些类型工具
144144

145145
如果遇到问题,欢迎在 [GitHub Issues](https://github.com/JsonLee12138/typescript-api-pro/issues) 中提问!

apps/docs/i18n/zh-Hans/docusaurus-plugin-content-docs/current/intro.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,11 @@ type User = ArrayItem<Users>;
5050

5151
TypeScript API Pro 将类型工具按功能分为以下几个模块:
5252

53-
- **[对象类型](./api/object-types)**: 处理对象相关的类型操作
54-
- **[数组类型](./api/array-types)**: 处理数组相关的类型操作
55-
- **[Map 类型](./api/map-types)**: 处理 Map 相关的类型操作
56-
- **[Set 类型](./api/set-types)**: 处理 Set 相关的类型操作
53+
- **[对象类型](../api/object-types)**: 处理对象相关的类型操作
54+
- **[数组类型](../api/array-types)**: 处理数组相关的类型操作
55+
- **[Map 类型](../api/map-types)**: 处理 Map 相关的类型操作
56+
- **[Set 类型](../api/set-types)**: 处理 Set 相关的类型操作
5757

5858
## 下一步
5959

60-
选择一个感兴趣的类型分类开始探索,或者查看我们的[完整 API 参考](./api/overview)
60+
选择一个感兴趣的类型分类开始探索,或者查看我们的[完整 API 参考](../api/overview)

packages/core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "typescript-api-pro",
3-
"version": "0.0.8",
3+
"version": "1.0.0-beta.1",
44
"description": "A comprehensive TypeScript type utility library",
55
"types": "types/index.d.ts",
66
"type": "module",

0 commit comments

Comments
 (0)