Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gentics UI Image Editor to Angular 10 #11

Open
wants to merge 9 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Editor configuration, see https://editorconfig.org
root = true

[*]
charset = utf-8
indent_style = space
indent_size = 2
insert_final_newline = true
trim_trailing_whitespace = true

[*.md]
max_line_length = off
trim_trailing_whitespace = false
4 changes: 4 additions & 0 deletions CHANGELOG.MD
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Gentics UI Image Editor Changelog

## 0.10.0 (Unreleased)

* Upgrade to Angular 10 with Angular CLI

## 0.5.0 (2020-01-21)

### Features
Expand Down
166 changes: 166 additions & 0 deletions angular.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,166 @@
{
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
"version": 1,
"newProjectRoot": "projects",
"projects": {
"playground": {
"projectType": "application",
"schematics": {
"@schematics/angular:component": {
"style": "scss"
}
},
"root": "projects/playground",
"sourceRoot": "projects/playground/src",
"prefix": "app",
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:browser",
"options": {
"outputPath": "dist/playground",
"index": "projects/playground/src/index.html",
"main": "projects/playground/src/main.ts",
"polyfills": "projects/playground/src/polyfills.ts",
"tsConfig": "projects/playground/tsconfig.app.json",
"aot": true,
"assets": [
"projects/playground/src/test-images"
],
"styles": [
"projects/playground/src/styles.scss"
],
"scripts": []
},
"configurations": {
"production": {
"fileReplacements": [
{
"replace": "projects/playground/src/environments/environment.ts",
"with": "projects/playground/src/environments/environment.prod.ts"
}
],
"optimization": true,
"outputHashing": "all",
"sourceMap": false,
"extractCss": true,
"namedChunks": false,
"extractLicenses": true,
"vendorChunk": false,
"buildOptimizer": true,
"budgets": [
{
"type": "initial",
"maximumWarning": "2mb",
"maximumError": "5mb"
},
{
"type": "anyComponentStyle",
"maximumWarning": "6kb",
"maximumError": "10kb"
}
]
}
}
},
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
"options": {
"browserTarget": "playground:build"
},
"configurations": {
"production": {
"browserTarget": "playground:build:production"
}
}
},
"extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-i18n",
"options": {
"browserTarget": "playground:build"
}
},
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
"main": "projects/playground/src/test.ts",
"polyfills": "projects/playground/src/polyfills.ts",
"tsConfig": "projects/playground/tsconfig.spec.json",
"karmaConfig": "projects/playground/karma.conf.js",
"assets": [
"projects/playground/src/test-images"
],
"styles": [
"projects/playground/src/styles.scss"
],
"scripts": []
}
},
"lint": {
"builder": "@angular-devkit/build-angular:tslint",
"options": {
"tsConfig": [
"projects/playground/tsconfig.app.json",
"projects/playground/tsconfig.spec.json",
"projects/playground/e2e/tsconfig.json"
],
"exclude": [
"**/node_modules/**"
]
}
},
"e2e": {
"builder": "@angular-devkit/build-angular:protractor",
"options": {
"protractorConfig": "projects/playground/e2e/protractor.conf.js",
"devServerTarget": "playground:serve"
},
"configurations": {
"production": {
"devServerTarget": "playground:serve:production"
}
}
}
}
},
"gentics-ui-image-editor": {
"projectType": "library",
"root": "projects/gentics-ui-image-editor",
"sourceRoot": "projects/gentics-ui-image-editor/src",
"prefix": "gentics",
"architect": {
"build": {
"builder": "@angular-devkit/build-ng-packagr:build",
"options": {
"tsConfig": "projects/gentics-ui-image-editor/tsconfig.lib.json",
"project": "projects/gentics-ui-image-editor/ng-package.json"
},
"configurations": {
"production": {
"tsConfig": "projects/gentics-ui-image-editor/tsconfig.lib.prod.json"
}
}
},
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
"main": "projects/gentics-ui-image-editor/src/test.ts",
"tsConfig": "projects/gentics-ui-image-editor/tsconfig.spec.json",
"karmaConfig": "projects/gentics-ui-image-editor/karma.conf.js"
}
},
"lint": {
"builder": "@angular-devkit/build-angular:tslint",
"options": {
"tsConfig": [
"projects/gentics-ui-image-editor/tsconfig.lib.json",
"projects/gentics-ui-image-editor/tsconfig.spec.json"
],
"exclude": [
"**/node_modules/**"
]
}
}
}
}},
"defaultProject": "playground"
}
18 changes: 0 additions & 18 deletions bs-config.json

This file was deleted.

Loading