Browse Source

app template version update

pull/23057/head
erdemcaygor 1 year ago
parent
commit
3ec5e0a5eb
  1. 22
      npm/ng-packs/package.json
  2. 48
      templates/app/angular/angular.json
  3. 2
      templates/app/angular/karma.conf.js
  4. 30
      templates/app/angular/package.json
  5. 4
      templates/app/angular/tsconfig.json

22
npm/ng-packs/package.json

@ -53,18 +53,18 @@
"@angular-eslint/eslint-plugin": "~20.0.0", "@angular-eslint/eslint-plugin": "~20.0.0",
"@angular-eslint/eslint-plugin-template": "~20.0.0", "@angular-eslint/eslint-plugin-template": "~20.0.0",
"@angular-eslint/template-parser": "~20.0.0", "@angular-eslint/template-parser": "~20.0.0",
"@angular/animations": "20.0.2", "@angular/animations": "20.0.3",
"@angular/cli": "~20.0.1", "@angular/cli": "~20.0.1",
"@angular/common": "20.0.2", "@angular/common": "20.0.3",
"@angular/compiler": "20.0.2", "@angular/compiler": "20.0.3",
"@angular/compiler-cli": "20.0.2", "@angular/compiler-cli": "20.0.3",
"@angular/core": "20.0.2", "@angular/core": "20.0.3",
"@angular/forms": "20.0.2", "@angular/forms": "20.0.3",
"@angular/language-service": "20.0.2", "@angular/language-service": "20.0.3",
"@angular/localize": "20.0.2", "@angular/localize": "20.0.3",
"@angular/platform-browser": "20.0.2", "@angular/platform-browser": "20.0.3",
"@angular/platform-browser-dynamic": "20.0.2", "@angular/platform-browser-dynamic": "20.0.3",
"@angular/router": "20.0.2", "@angular/router": "20.0.3",
"@fortawesome/fontawesome-free": "^6.0.0", "@fortawesome/fontawesome-free": "^6.0.0",
"@ng-bootstrap/ng-bootstrap": "~19.0.0-rc.0", "@ng-bootstrap/ng-bootstrap": "~19.0.0-rc.0",
"@ngneat/spectator": "~19.6.2", "@ngneat/spectator": "~19.6.2",

48
templates/app/angular/angular.json

@ -19,12 +19,15 @@
"prefix": "app", "prefix": "app",
"architect": { "architect": {
"build": { "build": {
"builder": "@angular-devkit/build-angular:browser", "builder": "@angular/build:application",
"options": { "options": {
"outputPath": "dist/MyProjectName", "outputPath": {
"base": "dist/MyProjectName"
},
"index": "src/index.html", "index": "src/index.html",
"main": "src/main.ts", "polyfills": [
"polyfills": "src/polyfills.ts", "src/polyfills.ts"
],
"tsConfig": "tsconfig.app.json", "tsConfig": "tsconfig.app.json",
"inlineStyleLanguage": "scss", "inlineStyleLanguage": "scss",
"allowedCommonJsDependencies": ["chart.js", "js-sha256"], "allowedCommonJsDependencies": ["chart.js", "js-sha256"],
@ -112,7 +115,8 @@
}, },
"src/styles.scss" "src/styles.scss"
], ],
"scripts": [] "scripts": [],
"browser": "src/main.ts"
}, },
"configurations": { "configurations": {
"production": { "production": {
@ -137,9 +141,7 @@
"outputHashing": "all" "outputHashing": "all"
}, },
"development": { "development": {
"buildOptimizer": false,
"optimization": false, "optimization": false,
"vendorChunk": true,
"extractLicenses": false, "extractLicenses": false,
"sourceMap": true, "sourceMap": true,
"namedChunks": true "namedChunks": true
@ -148,7 +150,7 @@
"defaultConfiguration": "production" "defaultConfiguration": "production"
}, },
"serve": { "serve": {
"builder": "@angular-devkit/build-angular:dev-server", "builder": "@angular/build:dev-server",
"configurations": { "configurations": {
"production": { "production": {
"buildTarget": "MyProjectName:build:production" "buildTarget": "MyProjectName:build:production"
@ -160,13 +162,13 @@
"defaultConfiguration": "development" "defaultConfiguration": "development"
}, },
"extract-i18n": { "extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-i18n", "builder": "@angular/build:extract-i18n",
"options": { "options": {
"buildTarget": "MyProjectName:build" "buildTarget": "MyProjectName:build"
} }
}, },
"test": { "test": {
"builder": "@angular-devkit/build-angular:karma", "builder": "@angular/build:karma",
"options": { "options": {
"main": "src/test.ts", "main": "src/test.ts",
"polyfills": "src/polyfills.ts", "polyfills": "src/polyfills.ts",
@ -186,5 +188,31 @@
} }
} }
} }
},
"schematics": {
"@schematics/angular:component": {
"type": "component"
},
"@schematics/angular:directive": {
"type": "directive"
},
"@schematics/angular:service": {
"type": "service"
},
"@schematics/angular:guard": {
"typeSeparator": "."
},
"@schematics/angular:interceptor": {
"typeSeparator": "."
},
"@schematics/angular:module": {
"typeSeparator": "."
},
"@schematics/angular:pipe": {
"typeSeparator": "."
},
"@schematics/angular:resolver": {
"typeSeparator": "."
}
} }
} }

2
templates/app/angular/karma.conf.js

@ -10,7 +10,7 @@ module.exports = function (config) {
require('karma-chrome-launcher'), require('karma-chrome-launcher'),
require('karma-jasmine-html-reporter'), require('karma-jasmine-html-reporter'),
require('karma-coverage'), require('karma-coverage'),
require('@angular-devkit/build-angular/plugins/karma')
], ],
client: { client: {
jasmine: { jasmine: {

30
templates/app/angular/package.json

@ -21,15 +21,15 @@
"@abp/ng.tenant-management": "~9.2.0", "@abp/ng.tenant-management": "~9.2.0",
"@abp/ng.theme.lepton-x": "~4.2.0", "@abp/ng.theme.lepton-x": "~4.2.0",
"@abp/ng.theme.shared": "~9.2.0", "@abp/ng.theme.shared": "~9.2.0",
"@angular/animations": "~19.1.0", "@angular/animations": "~20.0.3",
"@angular/common": "~19.1.0", "@angular/common": "~20.0.3",
"@angular/compiler": "~19.1.0", "@angular/compiler": "~20.0.3",
"@angular/core": "~19.1.0", "@angular/core": "~20.0.3",
"@angular/forms": "~19.1.0", "@angular/forms": "~20.0.3",
"@angular/localize": "~19.1.0", "@angular/localize": "~20.0.3",
"@angular/platform-browser": "~19.1.0", "@angular/platform-browser": "~20.0.3",
"@angular/platform-browser-dynamic": "~19.1.0", "@angular/platform-browser-dynamic": "~20.0.3",
"@angular/router": "~19.1.0", "@angular/router": "~20.0.3",
"bootstrap-icons": "~1.8.0", "bootstrap-icons": "~1.8.0",
"rxjs": "~7.8.0", "rxjs": "~7.8.0",
"tslib": "^2.0.0", "tslib": "^2.0.0",
@ -37,15 +37,15 @@
}, },
"devDependencies": { "devDependencies": {
"@abp/ng.schematics": "~9.2.0", "@abp/ng.schematics": "~9.2.0",
"@angular-devkit/build-angular": "~19.1.0",
"@angular-eslint/builder": "~19.0.0", "@angular-eslint/builder": "~19.0.0",
"@angular-eslint/eslint-plugin": "~19.0.0", "@angular-eslint/eslint-plugin": "~19.0.0",
"@angular-eslint/eslint-plugin-template": "~19.0.0", "@angular-eslint/eslint-plugin-template": "~19.0.0",
"@angular-eslint/schematics": "~19.0.0", "@angular-eslint/schematics": "~19.0.0",
"@angular-eslint/template-parser": "~19.0.0", "@angular-eslint/template-parser": "~19.0.0",
"@angular/cli": "~19.1.0", "@angular/build": "^20.0.1",
"@angular/compiler-cli": "~19.1.0", "@angular/cli": "~20.0.1",
"@angular/language-service": "~19.1.0", "@angular/compiler-cli": "~20.0.3",
"@angular/language-service": "~20.0.3",
"@types/jasmine": "~3.6.0", "@types/jasmine": "~3.6.0",
"@types/node": "^12.11.1", "@types/node": "^12.11.1",
"@typescript-eslint/eslint-plugin": "7.16.0", "@typescript-eslint/eslint-plugin": "7.16.0",
@ -57,6 +57,6 @@
"karma-coverage": "~2.1.0", "karma-coverage": "~2.1.0",
"karma-jasmine": "~4.0.0", "karma-jasmine": "~4.0.0",
"karma-jasmine-html-reporter": "^1.7.0", "karma-jasmine-html-reporter": "^1.7.0",
"typescript": "~5.6.0" "typescript": "~5.8.3"
} }
} }

4
templates/app/angular/tsconfig.json

@ -5,10 +5,10 @@
"baseUrl": "./", "baseUrl": "./",
"outDir": "./dist/out-tsc", "outDir": "./dist/out-tsc",
"sourceMap": true, "sourceMap": true,
"esModuleInterop": true,
"declaration": false, "declaration": false,
"downlevelIteration": true,
"experimentalDecorators": true, "experimentalDecorators": true,
"moduleResolution": "node", "moduleResolution": "bundler",
"importHelpers": true, "importHelpers": true,
"target": "ES2022", "target": "ES2022",
"module": "es2020", "module": "es2020",

Loading…
Cancel
Save