Skip to content

Commit c3b87ba

Browse files
committed
chore: acr 接入 alex
1 parent 07566d2 commit c3b87ba

32 files changed

Lines changed: 87 additions & 1691 deletions

packages/acr/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
"@alipay/alex-shared": "1.8.0",
2525
"@alipay/geek-theme": "^1.6.0",
2626
"@alipay/lsif-client": "^2.0.0",
27-
"@isomorphic-git/lightning-fs": "^4.3.0",
2827
"crypto-js": "^4.0.0",
2928
"diff-match-patch": "^1.0.5",
3029
"split-retain": "^1.0.1"

packages/acr/src/antcode-cr.tsx

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,7 @@ import { Injector } from '@ali/common-di';
44
import { URI } from '@ali/ide-core-common';
55
import { join } from '@ali/ide-core-common/lib/path';
66
import { equals } from '@ali/ide-core-common/lib/arrays';
7-
import {
8-
RuntimeConfig,
9-
codeServiceEditor,
10-
MonacoCodeService,
11-
IMonacoCodeService,
12-
} from '@alipay/alex-core';
7+
import { codeServiceEditor, MonacoCodeService, IMonacoCodeService } from '@alipay/alex-core';
138
// internal patched
149
import { disposeMode } from '@alipay/alex/lib/core/patch';
1510

@@ -58,10 +53,6 @@ const AntcodeCR: React.FC<IAntcodeCRProps> = (props) => {
5853
token: IAntcodeService,
5954
useValue: injector.get(AntcodeService, [{ ...props, renderStart }]),
6055
},
61-
{
62-
token: RuntimeConfig,
63-
useValue: {},
64-
},
6556
{
6657
token: MonacoCodeService,
6758
useValue: codeServiceEditor,
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
// 默认 alex 的根目录为 /workspace,acr 场景再加一个 namespace
2+
export const ACR_WORKSPACE_NAMESPACE = 'acr';

packages/acr/src/common/file-system.ts

Lines changed: 0 additions & 153 deletions
This file was deleted.

packages/acr/src/modules/browser-fs-provider/file-change-collection.ts

Lines changed: 0 additions & 78 deletions
This file was deleted.

0 commit comments

Comments
 (0)