Skip to content

Commit

Permalink
Replaced files
Browse files Browse the repository at this point in the history
  • Loading branch information
Bernardo-MG committed Oct 12, 2020
1 parent ff5505b commit fc61b39
Show file tree
Hide file tree
Showing 123 changed files with 11,133 additions and 11,465 deletions.
64 changes: 0 additions & 64 deletions src/main/resources/archetype-resources/.babelrc

This file was deleted.

18 changes: 18 additions & 0 deletions src/main/resources/archetype-resources/.browserslistrc
@@ -0,0 +1,18 @@
# This file is used by the build system to adjust CSS and JS output to support the specified browsers below.
# For additional information regarding the format and rule options, please see:
# https://github.com/browserslist/browserslist#queries

# For the full list of supported browsers by the Angular framework, please see:
# https://angular.io/guide/browser-support

# You can see what browsers were selected by your queries by running:
# npx browserslist

last 1 Chrome version
last 1 Firefox version
last 2 Edge major versions
last 2 Safari major versions
last 2 iOS major versions
Firefox ESR
not IE 9-10 # Angular support for IE 9-10 has been deprecated and will be removed as of Angular v11. To opt-in, remove the 'not' prefix on this line.
not IE 11 # Angular supports IE 11 only as an opt-in. To opt-in, remove the 'not' prefix on this line.
16 changes: 16 additions & 0 deletions src/main/resources/archetype-resources/.editorconfig
@@ -0,0 +1,16 @@
# 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

[*.ts]
quote_type = single

[*.md]
max_line_length = off
trim_trailing_whitespace = false
128 changes: 0 additions & 128 deletions src/main/resources/archetype-resources/.eslintrc

This file was deleted.

1 change: 0 additions & 1 deletion src/main/resources/archetype-resources/.nvmrc

This file was deleted.

143 changes: 143 additions & 0 deletions src/main/resources/archetype-resources/angular.json
@@ -0,0 +1,143 @@
{
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
"version": 1,
"newProjectRoot": "projects",
"projects": {
"dnd5-api-angular-client": {
"projectType": "application",
"schematics": {
"@schematics/angular:component": {
"style": "sass"
}
},
"root": "",
"sourceRoot": "src/main/js",
"prefix": "app",
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:browser",
"options": {
"outputPath": "target/classes/static/",
"index": "src/main/js/index.html",
"main": "src/main/js/main.ts",
"polyfills": "src/main/js/polyfills.ts",
"tsConfig": "tsconfig.app.json",
"aot": true,
"assets": [
"src/main/js/assets"
],
"styles": [
"./node_modules/@angular/material/prebuilt-themes/indigo-pink.css",
"src/main/js/styles.sass"
],
"scripts": []
},
"configurations": {
"production": {
"fileReplacements": [
{
"replace": "src/main/js/environments/environment.ts",
"with": "src/main/js/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": "dnd5-api-angular-client:build"
},
"configurations": {
"production": {
"browserTarget": "dnd5-api-angular-client:build:production"
}
}
},
"extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-i18n",
"options": {
"browserTarget": "dnd5-api-angular-client:build"
}
},
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
"main": "src/main/js/test.ts",
"polyfills": "src/main/js/polyfills.ts",
"tsConfig": "tsconfig.spec.json",
"karmaConfig": "karma.conf.js",
"assets": [
"src/main/js/assets"
],
"styles": [
"./node_modules/@angular/material/prebuilt-themes/indigo-pink.css",
"src/main/js/styles.sass"
],
"scripts": []
},
"configurations": {
"production": {
"devServerTarget": "dnd5-api-angular-client:serve:production"
},
"ci": {
"watch": false,
"progress": false,
"browsers": "ChromeHeadlessCI"
}
}
},
"lint": {
"builder": "@angular-devkit/build-angular:tslint",
"options": {
"tsConfig": [
"tsconfig.app.json",
"tsconfig.spec.json",
"src/main/js/e2e/tsconfig.json"
],
"exclude": [
"**/node_modules/**"
]
}
},
"e2e": {
"builder": "@angular-devkit/build-angular:protractor",
"options": {
"protractorConfig": "src/main/js/e2e/protractor.conf.js",
"devServerTarget": "dnd5-api-angular-client:serve"
},
"configurations": {
"production": {
"devServerTarget": "dnd5-api-angular-client:serve:production"
},
"ci": {
"devServerTarget": "dnd5-api-angular-client:serve:production",
"protractorConfig": "src/main/js/e2e/protractor-ci.conf.js"
}
}
}
}
}
},
"defaultProject": "dnd5-api-angular-client"
}

0 comments on commit fc61b39

Please sign in to comment.