@easy-editor/core 0.0.1 → 0.0.3-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -5319,6 +5319,9 @@ class ComponentMeta {
5319
5319
  get isContainer() {
5320
5320
  return this._isContainer;
5321
5321
  }
5322
+ get isMinimalRenderUnit() {
5323
+ return this._isMinimalRenderUnit || false;
5324
+ }
5322
5325
  get descriptor() {
5323
5326
  return this._descriptor;
5324
5327
  }
@@ -5360,6 +5363,7 @@ class ComponentMeta {
5360
5363
  if (component) {
5361
5364
  this._isContainer = !!component.isContainer;
5362
5365
  this._descriptor = component.descriptor;
5366
+ this._isMinimalRenderUnit = component.isMinimalRenderUnit;
5363
5367
  } else {
5364
5368
  this._isContainer = false;
5365
5369
  }
package/package.json CHANGED
@@ -1,20 +1,9 @@
1
1
  {
2
2
  "name": "@easy-editor/core",
3
- "version": "0.0.1",
4
- "description": "A cross-framework low-code engine with scale-out design",
3
+ "version": "0.0.3-alpha.0",
4
+ "description": "A cross-framework low-code engine with scale-out design.",
5
5
  "type": "module",
6
- "source": "src/index.ts",
7
6
  "main": "dist/index.js",
8
- "types": "dist/index.d.ts",
9
- "typings": "dist/index.d.ts",
10
- "module": "dist/index.js",
11
- "exports": {
12
- ".": {
13
- "import": "./dist/index.js",
14
- "require": "./dist/cjs/index.js",
15
- "default": "./dist/index.js"
16
- }
17
- },
18
7
  "files": [
19
8
  "dist",
20
9
  "LICENSE",
@@ -60,8 +49,17 @@
60
49
  "build:clean": "rimraf dist/",
61
50
  "build:js": "rollup -c",
62
51
  "types": "npm-run-all -nl types:*",
63
- "types:clean": "rimraf types/",
64
52
  "types:src": "tsc --project tsconfig.build.json",
65
53
  "test-types": "tsc --project tsconfig.test.json"
54
+ },
55
+ "types": "dist/index.d.ts",
56
+ "typings": "dist/index.d.ts",
57
+ "module": "dist/index.js",
58
+ "exports": {
59
+ ".": {
60
+ "import": "./dist/index.js",
61
+ "require": "./dist/cjs/index.js",
62
+ "default": "./dist/index.js"
63
+ }
66
64
  }
67
65
  }