Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: 清理一些依赖问题 #153

Closed
wants to merge 5 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ $ pnpm install @ant-design/pro-editor

```js
const nextConfig = {
transpilePackages: ['@ant-design/pro-editor'],
transpilePackages: ['@ant-design/pro-editor', 'leva', 'zustand'],
};
```

Expand Down
2 changes: 1 addition & 1 deletion README.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ $ pnpm install @ant-design/pro-editor

```js
const nextConfig = {
transpilePackages: ['@ant-design/pro-editor'],
transpilePackages: ['@ant-design/pro-editor', 'leva', 'zustand'],
};
```

Expand Down
2 changes: 1 addition & 1 deletion docs/guide/intro.en-US.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ Since Next.js is a CSR/SSR isomorphic React framework, and ProEditor only provid
/** @type {import('next').NextConfig} */
const nextConfig = {
// Convert pure esm modules to node-compatible modules
transpilePackages: ['@ant-design/pro-editor'], // leva is a ProEditor dependency module
transpilePackages: ['@ant-design/pro-editor', 'leva', 'zustand'], // leva is a ProEditor dependency module
};
```

Expand Down
2 changes: 1 addition & 1 deletion docs/guide/intro.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ ProEditor 将会提供编辑场景需要的各类原子化能力,包括但不
/** @type {import('next').NextConfig} */
const nextConfig = {
// 将纯 esm 模块转为 node 兼容模块
transpilePackages: ['@ant-design/pro-editor'], // leva 为 ProEditor 依赖模块
transpilePackages: ['@ant-design/pro-editor', 'leva', 'zustand'], // leva 为 ProEditor 依赖模块
};
```

Expand Down
6 changes: 6 additions & 0 deletions docs/guide/nextjs.en-US.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
title: NextJs
group:
title: Work in FrameWork
order: 5
---
6 changes: 6 additions & 0 deletions docs/guide/nextjs.zh-CN.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
title: NextJs
group:
title: 框架使用
order: 5
---
5 changes: 3 additions & 2 deletions docs/guide/redo-undo.en-US.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
---
title: Undo Redo
group: State Management Development
order: 2
group:
title: State Management
order: 2
---

# Undo Redo
Expand Down
6 changes: 6 additions & 0 deletions docs/guide/umi.en-US.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
title: Umi
group:
title: Work in FrameWork
order: 5
---
6 changes: 6 additions & 0 deletions docs/guide/umi.zh-CN.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
title: Umi
group:
title: 框架使用
order: 5
---
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@
},
"dependencies": {
"@ant-design/icons": "^5.2.6",
"@ant-design/pro-components": "^2.6.43",
"@antv/dw-random": "^1.1.7",
"@babel/runtime": "^7.23.6",
"@dnd-kit/core": "^6.1.0",
Expand Down