mirror of
https://github.com/OpenLiberty/liberty-bikes.git
synced 2024-11-21 00:51:27 +08:00
Update to Angular 15, Liberty 22.0.0.12
This commit is contained in:
parent
91fb9cffea
commit
c0fccae3e0
@ -3,12 +3,12 @@ buildscript {
|
||||
mavenCentral()
|
||||
}
|
||||
dependencies {
|
||||
classpath 'io.openliberty.tools:liberty-gradle-plugin:3.5.1'
|
||||
classpath 'io.openliberty.tools:liberty-gradle-plugin:3.5.2'
|
||||
}
|
||||
}
|
||||
|
||||
plugins {
|
||||
id 'com.avast.gradle.docker-compose' version "0.14.9"
|
||||
id 'com.avast.gradle.docker-compose' version "0.16.11"
|
||||
}
|
||||
|
||||
task clean(type: Delete) {
|
||||
@ -57,7 +57,7 @@ subprojects {
|
||||
mavenCentral()
|
||||
}
|
||||
dependencies {
|
||||
classpath 'io.openliberty.tools:liberty-gradle-plugin:3.5.1'
|
||||
classpath 'io.openliberty.tools:liberty-gradle-plugin:3.5.2'
|
||||
}
|
||||
}
|
||||
|
||||
@ -70,7 +70,7 @@ subprojects {
|
||||
providedCompile group: 'jakarta.platform', name: 'jakarta.jakartaee-api', version: '8.0.0'
|
||||
testImplementation group: 'junit', name: 'junit', version: '4.13.1'
|
||||
testImplementation group: 'org.eclipse', name: 'yasson', version: '1.0.8'
|
||||
libertyRuntime group: 'io.openliberty', name: 'openliberty-runtime', version: '22.0.0.9'
|
||||
libertyRuntime group: 'io.openliberty', name: 'openliberty-runtime', version: '22.0.0.12'
|
||||
}
|
||||
|
||||
eclipse {
|
||||
|
@ -1,5 +1,5 @@
|
||||
plugins {
|
||||
id 'com.github.node-gradle.node' version '3.5.0'
|
||||
id 'com.github.node-gradle.node' version '3.5.1'
|
||||
}
|
||||
|
||||
ext {
|
||||
@ -15,8 +15,8 @@ war {
|
||||
}
|
||||
|
||||
node {
|
||||
version = '18.12.1'
|
||||
npmVersion = '8.19.2'
|
||||
version = '18.14.1'
|
||||
npmVersion = '9.5.0'
|
||||
download = true
|
||||
workDir = file("${rootDir}/frontend/prebuild/node")
|
||||
nodeModulesDir = file("${rootDir}/frontend/prebuild")
|
||||
|
7375
frontend/prebuild/package-lock.json
generated
7375
frontend/prebuild/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -13,16 +13,16 @@
|
||||
},
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"@angular/animations": "^14.2.12",
|
||||
"@angular/common": "^14.2.12",
|
||||
"@angular/compiler": "^14.2.12",
|
||||
"@angular/core": "^14.2.12",
|
||||
"@angular/forms": "^14.2.12",
|
||||
"@angular/localize": "^14.2.12",
|
||||
"@angular/platform-browser": "^14.2.12",
|
||||
"@angular/platform-browser-dynamic": "^14.2.12",
|
||||
"@angular/router": "^14.2.12",
|
||||
"@ng-bootstrap/ng-bootstrap": "^13.1.1",
|
||||
"@angular/animations": "^15.1.5",
|
||||
"@angular/common": "^15.1.5",
|
||||
"@angular/compiler": "^15.1.5",
|
||||
"@angular/core": "^15.1.5",
|
||||
"@angular/forms": "^15.1.5",
|
||||
"@angular/localize": "^15.1.5",
|
||||
"@angular/platform-browser": "^15.1.5",
|
||||
"@angular/platform-browser-dynamic": "^15.1.5",
|
||||
"@angular/router": "^15.1.5",
|
||||
"@ng-bootstrap/ng-bootstrap": "^14.0.1",
|
||||
"autoprefixer": "^10.4.13",
|
||||
"bootstrap": "^4.3.1",
|
||||
"core-js": "^3.16.3",
|
||||
@ -34,10 +34,10 @@
|
||||
"zone.js": "~0.11.4"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@angular-devkit/build-angular": "^14.2.10",
|
||||
"@angular/cli": "^14.2.10",
|
||||
"@angular/compiler-cli": "^14.2.12",
|
||||
"@angular/language-service": "^14.2.12",
|
||||
"@angular-devkit/build-angular": "^15.1.6",
|
||||
"@angular/cli": "^15.1.6",
|
||||
"@angular/compiler-cli": "^15.1.5",
|
||||
"@angular/language-service": "^15.1.5",
|
||||
"@types/jasmine": "^3.6.9",
|
||||
"@types/jasminewd2": "~2.0.3",
|
||||
"@types/node": "^14.14.37",
|
||||
@ -54,6 +54,6 @@
|
||||
"sass": "^1.38.1",
|
||||
"ts-node": "~7.0.0",
|
||||
"tslint": "^6.1.3",
|
||||
"typescript": "~4.6.4"
|
||||
"typescript": "~4.9.5"
|
||||
}
|
||||
}
|
||||
|
@ -16,7 +16,7 @@ const routes: Routes = [
|
||||
];
|
||||
|
||||
@NgModule({
|
||||
imports: [ RouterModule.forRoot(routes, { relativeLinkResolution: 'legacy' }) ],
|
||||
imports: [ RouterModule.forRoot(routes, {}) ],
|
||||
exports: [ RouterModule ]
|
||||
})
|
||||
export class AppRoutingModule {}
|
||||
|
@ -14,7 +14,6 @@ import {
|
||||
|
||||
// Unfortunately there's no typing for the `__karma__` variable. Just declare it as any.
|
||||
declare const __karma__: any;
|
||||
declare const require: any;
|
||||
|
||||
// Prevent Karma from running prematurely.
|
||||
__karma__.loaded = function () {};
|
||||
@ -26,9 +25,5 @@ getTestBed().initTestEnvironment(
|
||||
teardown: { destroyAfterEach: false }
|
||||
}
|
||||
);
|
||||
// Then we find all the tests.
|
||||
const context = require.context('./', true, /\.spec\.ts$/);
|
||||
// And load the modules.
|
||||
context.keys().map(context);
|
||||
// Finally, start Karma to run the tests.
|
||||
__karma__.start();
|
||||
|
@ -9,13 +9,14 @@
|
||||
"declaration": false,
|
||||
"moduleResolution": "node",
|
||||
"experimentalDecorators": true,
|
||||
"target": "es2020",
|
||||
"target": "ES2022",
|
||||
"typeRoots": [
|
||||
"node_modules/@types"
|
||||
],
|
||||
"lib": [
|
||||
"es2017",
|
||||
"dom"
|
||||
]
|
||||
],
|
||||
"useDefineForClassFields": false
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user