From ae3658225ab110b01964654fff847feaa302ebf4 Mon Sep 17 00:00:00 2001 From: Denys Vuika Date: Mon, 11 Feb 2019 12:59:02 +0000 Subject: [PATCH] update AOS extension docs and version --- projects/adf-office-services-ext/README.md | 35 +++++++++++-------- projects/adf-office-services-ext/package.json | 2 +- 2 files changed, 22 insertions(+), 15 deletions(-) diff --git a/projects/adf-office-services-ext/README.md b/projects/adf-office-services-ext/README.md index 6d04ec313..0647c698f 100644 --- a/projects/adf-office-services-ext/README.md +++ b/projects/adf-office-services-ext/README.md @@ -1,24 +1,31 @@ -# AdfOfficeServicesExt +# Alfresco Office Services Extension -This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 7.2.0. +An extension module for the Alfresco Content Application that enables "Edit in Microsoft Office" feature. -## Code scaffolding +Integrates with: -Run `ng generate component component-name --project adf-office-services-ext` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project adf-office-services-ext`. -> Note: Don't forget to add `--project adf-office-services-ext` or else it will be added to the default project in your `angular.json` file. +- Context Menus +- Toolbars +- Viewer / Open With -## Build +## Installation -Run `ng build adf-office-services-ext` to build the project. The build artifacts will be stored in the `dist/` directory. +Install the `ngi` as a global tool: -## Publishing +```sh +npm i -g @ngstack/install +``` -After building your library with `ng build adf-office-services-ext`, go to the dist folder `cd dist/adf-office-services-ext` and run `npm publish`. +In the project root: -## Running unit tests +```sh +ngi @alfresco/adf-office-services-ext --module=extensions +``` -Run `ng test adf-office-services-ext` to execute the unit tests via [Karma](https://karma-runner.github.io). +Update `app.extensions.json` and append a reference to the plugin definition: -## Further help - -To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI README](https://github.com/angular/angular-cli/blob/master/README.md). +```json +{ + "$references": ["aos.plugin.json"] +} +``` diff --git a/projects/adf-office-services-ext/package.json b/projects/adf-office-services-ext/package.json index 77d977ebe..7e8fabaa8 100644 --- a/projects/adf-office-services-ext/package.json +++ b/projects/adf-office-services-ext/package.json @@ -1,6 +1,6 @@ { "name": "@alfresco/adf-office-services-ext", - "version": "1.0.0", + "version": "0.0.1", "license": "LGPL-3.0", "author": { "name": "Keensoft",