@viewfly/core 0.0.19 → 0.0.21

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.
@@ -1,6 +1,5 @@
1
1
  import 'reflect-metadata';
2
- export * from '@tanbo/di';
2
+ export * from './di/_api';
3
3
  export * from './_utils/make-error';
4
4
  export * from './foundation/_api';
5
- export * from './model/_api';
6
5
  export * from './viewfly';
@@ -1,6 +1,5 @@
1
- import { Injector, Provider, ReflectiveInjector } from '@tanbo/di';
2
- import { NativeNode } from './foundation/_api';
3
- import { JSXInternal } from './model/_api';
1
+ import { Injector, Provider, ReflectiveInjector } from './di/_api';
2
+ import { JSXInternal, NativeNode } from './foundation/_api';
4
3
  /**
5
4
  * Viewfly 配置项
6
5
  */
@@ -19,7 +18,7 @@ export declare class Viewfly<T extends NativeNode = NativeNode> extends Reflecti
19
18
  private config;
20
19
  private destroyed;
21
20
  private rootComponent;
22
- private subscription;
21
+ private task;
23
22
  constructor(config: Config);
24
23
  provide(providers: Provider | Provider[]): this;
25
24
  /**
@@ -33,4 +32,5 @@ export declare class Viewfly<T extends NativeNode = NativeNode> extends Reflecti
33
32
  */
34
33
  destroy(): void;
35
34
  private createRootComponent;
35
+ private microTask;
36
36
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@viewfly/core",
3
- "version": "0.0.19",
3
+ "version": "0.0.21",
4
4
  "description": "Viewfly is a simple and easy-to-use JavaScript framework with an intuitive development experience.",
5
5
  "main": "./bundles/index.js",
6
6
  "module": "./bundles/index.esm.js",
@@ -29,8 +29,6 @@
29
29
  "license": "MIT",
30
30
  "keywords": [],
31
31
  "dependencies": {
32
- "@tanbo/di": "^1.1.8",
33
- "@tanbo/stream": "^1.2.3",
34
32
  "reflect-metadata": "^0.1.13"
35
33
  },
36
34
  "devDependencies": {
@@ -51,5 +49,5 @@
51
49
  "bugs": {
52
50
  "url": "https://github.com/viewfly/viewfly.git/issues"
53
51
  },
54
- "gitHead": "9276451814bcda728846876797e327d297a31b0e"
52
+ "gitHead": "3b8f0f450c9edeac153dfc27e9a0e53e525915df"
55
53
  }
@@ -1,5 +0,0 @@
1
- export * from './component';
2
- export * from './jsx-element';
3
- export * from './memo';
4
- export * from './root.component';
5
- export * from './types';
@@ -1,17 +0,0 @@
1
- #!/bin/sh
2
- basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
3
-
4
- case `uname` in
5
- *CYGWIN*) basedir=`cygpath -w "$basedir"`;;
6
- esac
7
-
8
- if [ -z "$NODE_PATH" ]; then
9
- export NODE_PATH="/Users/tanbo/Documents/lib/viewfly/node_modules/.pnpm/node_modules"
10
- else
11
- export NODE_PATH="$NODE_PATH:/Users/tanbo/Documents/lib/viewfly/node_modules/.pnpm/node_modules"
12
- fi
13
- if [ -x "$basedir/node" ]; then
14
- exec "$basedir/node" "$basedir/../../../../../node_modules/.pnpm/rimraf@3.0.2/node_modules/rimraf/bin.js" "$@"
15
- else
16
- exec node "$basedir/../../../../../node_modules/.pnpm/rimraf@3.0.2/node_modules/rimraf/bin.js" "$@"
17
- fi
@@ -1,17 +0,0 @@
1
- #!/bin/sh
2
- basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
3
-
4
- case `uname` in
5
- *CYGWIN*) basedir=`cygpath -w "$basedir"`;;
6
- esac
7
-
8
- if [ -z "$NODE_PATH" ]; then
9
- export NODE_PATH="/Users/tanbo/Documents/lib/viewfly/node_modules/.pnpm/node_modules"
10
- else
11
- export NODE_PATH="$NODE_PATH:/Users/tanbo/Documents/lib/viewfly/node_modules/.pnpm/node_modules"
12
- fi
13
- if [ -x "$basedir/node" ]; then
14
- exec "$basedir/node" "$basedir/../../../../../node_modules/.pnpm/rollup@3.26.3/node_modules/rollup/dist/bin/rollup" "$@"
15
- else
16
- exec node "$basedir/../../../../../node_modules/.pnpm/rollup@3.26.3/node_modules/rollup/dist/bin/rollup" "$@"
17
- fi
File without changes