mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2026-03-04 17:27:09 +00:00
refactor: 删除无用重复代码
This commit is contained in:
parent
85d9117051
commit
4804fc703e
1
.gitignore
vendored
1
.gitignore
vendored
@ -5,6 +5,7 @@ packages/*/lib/
|
|||||||
packages/*/es/
|
packages/*/es/
|
||||||
packages/*/dist/
|
packages/*/dist/
|
||||||
packages/*/output/
|
packages/*/output/
|
||||||
|
packages/demo
|
||||||
package-lock.json
|
package-lock.json
|
||||||
yarn.lock
|
yarn.lock
|
||||||
deploy-space/packages
|
deploy-space/packages
|
||||||
|
|||||||
@ -14,8 +14,8 @@
|
|||||||
"clean": "rm -rf ./packages/*/lib ./packages/*/es ./packages/*/dist ./packages/*/build",
|
"clean": "rm -rf ./packages/*/lib ./packages/*/es ./packages/*/dist ./packages/*/build",
|
||||||
"lint": "eslint --ext .ts,.tsx,.js,.jsx ./ --quiet",
|
"lint": "eslint --ext .ts,.tsx,.js,.jsx ./ --quiet",
|
||||||
"lint:fix": "eslint --ext .ts,.tsx,.js,.jsx ./ --quiet --fix",
|
"lint:fix": "eslint --ext .ts,.tsx,.js,.jsx ./ --quiet --fix",
|
||||||
"pub": "lerna publish --force-publish --cd-version prepatch",
|
"pub": "lerna publish --force-publish --cd-version patch",
|
||||||
"pubbeta": "lerna publish --force-publish --cd-version prerelease --npm-tag beta",
|
"pubbeta": "lerna publish --force-publish --cd-version prerelease --npm-tag beta --preid beta",
|
||||||
"setup": "./scripts/setup.sh",
|
"setup": "./scripts/setup.sh",
|
||||||
"start": "./scripts/start.sh",
|
"start": "./scripts/start.sh",
|
||||||
"start:server": "./scripts/start-server.sh",
|
"start:server": "./scripts/start-server.sh",
|
||||||
|
|||||||
@ -13,9 +13,6 @@ import {
|
|||||||
buildComponents,
|
buildComponents,
|
||||||
getSubComponent,
|
getSubComponent,
|
||||||
} from '@ali/lowcode-utils';
|
} from '@ali/lowcode-utils';
|
||||||
import { getClientRects } from './utils/get-client-rects';
|
|
||||||
import { reactFindDOMNodes, FIBER_KEY } from './utils/react-find-dom-nodes';
|
|
||||||
|
|
||||||
import { RootSchema, ComponentSchema, TransformStage, NodeSchema } from '@ali/lowcode-types';
|
import { RootSchema, ComponentSchema, TransformStage, NodeSchema } from '@ali/lowcode-types';
|
||||||
// import { isESModule, isElement, acceptsRef, wrapReactClass, cursor, setNativeSelection } from '@ali/lowcode-utils';
|
// import { isESModule, isElement, acceptsRef, wrapReactClass, cursor, setNativeSelection } from '@ali/lowcode-utils';
|
||||||
// import { RootSchema, NpmInfo, ComponentSchema, TransformStage, NodeSchema } from '@ali/lowcode-types';
|
// import { RootSchema, NpmInfo, ComponentSchema, TransformStage, NodeSchema } from '@ali/lowcode-types';
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user