Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alfresco/adf-prefix-updater
https://github.com/alfresco/adf-prefix-updater
Last synced: 6 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/alfresco/adf-prefix-updater
- Owner: Alfresco
- Created: 2017-12-14T09:54:02.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2023-07-11T07:02:40.000Z (over 1 year ago)
- Last Synced: 2024-10-26T11:57:33.376Z (18 days ago)
- Language: TypeScript
- Size: 135 KB
- Stars: 1
- Watchers: 4
- Forks: 2
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ADF 1.X.X -> 2.0.0 UPDATER
Switches the `alfresco and activiti` prefix to `adf` in ADF apps.
The ADF prefix updater is going to update automatically all the following problems:Change all alfresco- activiti- old prefix with adf-
Change all md- old prefix with mat- prefix
Change all the old import with the new import for more details give a look to the last section
Change all the old class name with the new class name
Change all the old type using the new types## Installation
```bash
npm i -g adf-switcher
```## Usage
```bash
# Show the help for the tool
adf-switcher --help# Run the tool to update prefixes
adf-switcher -p path/to/project/tsconfig.json# Run the tool to update prefixes with additional style
# files not referenced by an Angular component, where --extra-css
# accepts a glob pointing to the style files
adf-switcher -p path/to/project/tsconfig.json --extra-css 'custom/**/*.css'
```