mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2026-01-12 17:08:14 +00:00
Merge branch 'feat/appHelper' into 'release/1.0.0'
Code review title: feat: 抽离AppHelper Code review Link: https://code.aone.alibaba-inc.com/ali-lowcode/ali-lowcode-engine/codereview/3680170
This commit is contained in:
commit
93c9fb0286
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@ali/lowcode-rax-renderer",
|
||||
"version": "1.0.7-0",
|
||||
"version": "1.0.7-1",
|
||||
"description": "Rax renderer for Ali lowCode engine",
|
||||
"main": "lib/index.js",
|
||||
"module": "lib/index.js",
|
||||
@ -36,6 +36,7 @@
|
||||
"@ali/b3-one": "^0.0.17",
|
||||
"@ali/bzb-request": "2.6.1",
|
||||
"@ali/lib-mtop": "^2.5.1",
|
||||
"@ali/lowcode-utils": "^0.8.22",
|
||||
"classnames": "^2.2.6",
|
||||
"debug": "^4.1.1",
|
||||
"events": "^3.0.0",
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
import { Component, createElement, forwardRef } from 'rax';
|
||||
import PropTypes from 'prop-types';
|
||||
import AppHelper from '../utils/appHelper';
|
||||
import { AppHelper } from '@ali/lowcode-utils';
|
||||
import { forEach, isFileSchema } from '../utils';
|
||||
import CompEngine from '../engine/compEngine';
|
||||
import BlockEngine from '../engine/blockEngine';
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@ali/lowcode-utils",
|
||||
"version": "1.0.7-0",
|
||||
"version": "1.0.7-1",
|
||||
"description": "Utils for Ali lowCode engine",
|
||||
"files": [
|
||||
"es",
|
||||
|
||||
@ -4,7 +4,7 @@ let instance = null;
|
||||
|
||||
EventEmitter.defaultMaxListeners = 100;
|
||||
|
||||
export default class AppHelper extends EventEmitter {
|
||||
export class AppHelper extends EventEmitter {
|
||||
static getInstance = () => {
|
||||
if (!instance) {
|
||||
instance = new AppHelper();
|
||||
@ -19,3 +19,4 @@ export * from './shallow-equal';
|
||||
export * from './svg-icon';
|
||||
export * from './unique-id';
|
||||
export * from './build-components';
|
||||
export * from './appHelper';
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user