From c9b9ae394183758a12e4a05be42d1927d9af7b56 Mon Sep 17 00:00:00 2001 From: Evan You Date: Sun, 22 Dec 2019 11:27:40 -0500 Subject: [PATCH] refactor: rename apiApp.ts -> apiCreateApp.ts --- packages/runtime-core/src/{apiApp.ts => apiCreateApp.ts} | 0 packages/runtime-core/src/component.ts | 2 +- packages/runtime-core/src/index.ts | 2 +- packages/runtime-core/src/renderer.ts | 2 +- 4 files changed, 3 insertions(+), 3 deletions(-) rename packages/runtime-core/src/{apiApp.ts => apiCreateApp.ts} (100%) diff --git a/packages/runtime-core/src/apiApp.ts b/packages/runtime-core/src/apiCreateApp.ts similarity index 100% rename from packages/runtime-core/src/apiApp.ts rename to packages/runtime-core/src/apiCreateApp.ts diff --git a/packages/runtime-core/src/component.ts b/packages/runtime-core/src/component.ts index 0ee06d6b84..50b8498a4d 100644 --- a/packages/runtime-core/src/component.ts +++ b/packages/runtime-core/src/component.ts @@ -13,7 +13,7 @@ import { callWithErrorHandling, callWithAsyncErrorHandling } from './errorHandling' -import { AppContext, createAppContext, AppConfig } from './apiApp' +import { AppContext, createAppContext, AppConfig } from './apiCreateApp' import { Directive, validateDirectiveName } from './directives' import { applyOptions, ComponentOptions } from './apiOptions' import { diff --git a/packages/runtime-core/src/index.ts b/packages/runtime-core/src/index.ts index 669399c298..181e53f8dd 100644 --- a/packages/runtime-core/src/index.ts +++ b/packages/runtime-core/src/index.ts @@ -99,7 +99,7 @@ export { registerRuntimeCompiler } from './component' // Types ----------------------------------------------------------------------- -export { App, AppConfig, AppContext, Plugin } from './apiApp' +export { App, AppConfig, AppContext, Plugin } from './apiCreateApp' export { VNode, VNodeTypes, VNodeProps } from './vnode' export { Component, diff --git a/packages/runtime-core/src/renderer.ts b/packages/runtime-core/src/renderer.ts index 013b082ec7..c651247ccd 100644 --- a/packages/runtime-core/src/renderer.ts +++ b/packages/runtime-core/src/renderer.ts @@ -45,7 +45,7 @@ import { ShapeFlags } from './shapeFlags' import { pushWarningContext, popWarningContext, warn } from './warning' import { invokeDirectiveHook } from './directives' import { ComponentPublicInstance } from './componentProxy' -import { App, createAppAPI } from './apiApp' +import { App, createAppAPI } from './apiCreateApp' import { SuspenseBoundary, queueEffectWithSuspense, -- 2.47.3