diff --git a/demo-shell/src/tsconfig.app.json b/demo-shell/src/tsconfig.app.json index a81136fa1f..2cbf8b3b7f 100644 --- a/demo-shell/src/tsconfig.app.json +++ b/demo-shell/src/tsconfig.app.json @@ -6,6 +6,9 @@ "baseUrl": ".", "types": [], "paths": { + "@alfresco/adf-extensions": [ + "../../lib/extensions" + ], "@alfresco/adf-core": [ "../../lib/core" ], diff --git a/demo-shell/src/tsconfig.dev.json b/demo-shell/src/tsconfig.dev.json index a2eddad3e8..e366bcde70 100644 --- a/demo-shell/src/tsconfig.dev.json +++ b/demo-shell/src/tsconfig.dev.json @@ -17,6 +17,9 @@ "@angular/*": [ "../../node_modules/@angular/*" ], + "@alfresco/adf-extensions": [ + "../../lib/extensions" + ], "@alfresco/adf-core": [ "../../lib/core" ], diff --git a/demo-shell/tsconfig.json b/demo-shell/tsconfig.json index 1ca54c2643..f18fbd25c0 100644 --- a/demo-shell/tsconfig.json +++ b/demo-shell/tsconfig.json @@ -16,7 +16,7 @@ "node_modules/@types" ], "lib": [ - "es2016", + "es2018", "dom" ] }, diff --git a/lib/extensions/index.ts b/lib/extensions/index.ts new file mode 100644 index 0000000000..7930436002 --- /dev/null +++ b/lib/extensions/index.ts @@ -0,0 +1,18 @@ +/*! + * @license + * Copyright 2016 Alfresco Software, Ltd. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +export * from './src/public_api'; diff --git a/tsconfig.json b/tsconfig.json index 748a3768a4..ba46113e45 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -16,7 +16,7 @@ "node_modules/@types" ], "lib": [ - "es2017", + "es2018", "dom" ] },