Skip to content

Commit

Permalink
Upgrade Jhipster to v8.0.0-rc.1
Browse files Browse the repository at this point in the history
  • Loading branch information
RamiSouai committed Nov 1, 2023
1 parent 5f9ad7c commit 5b39c75
Show file tree
Hide file tree
Showing 769 changed files with 114,858 additions and 28,309 deletions.
23 changes: 0 additions & 23 deletions .browserslistrc

This file was deleted.

4 changes: 2 additions & 2 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# See here for image contents: https://github.com/microsoft/vscode-dev-containers/tree/v0.209.6/containers/java/.devcontainer/base.Dockerfile

# [Choice] Java version (use -bullseye variants on local arm64/Apple Silicon): 11, 17, 11-bullseye, 17-bullseye, 11-buster, 17-buster
ARG VARIANT="11"
# [Choice] Java version (use -bullseye variants on local arm64/Apple Silicon): 17, 17-bullseye, 17-buster
ARG VARIANT="17"
FROM mcr.microsoft.com/vscode/devcontainers/java:0-${VARIANT}

# [Option] Install Maven
Expand Down
45 changes: 25 additions & 20 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,33 +5,38 @@
"build": {
"dockerfile": "Dockerfile",
"args": {
// Update the VARIANT arg to pick a Java version: 11, 17
// Update the VARIANT arg to pick a Java version: 17, 19
// Append -bullseye or -buster to pin to an OS version.
// Use the -bullseye variants on local arm64/Apple Silicon.
"VARIANT": "11",
"VARIANT": "17-bullseye",
// Options
"INSTALL_MAVEN": "false",
"INSTALL_GRADLE": "true",
"NODE_VERSION": "lts/*"
// maven and gradle wrappers are used by default, we don't need them installed globally
// "INSTALL_MAVEN": "false",
// "INSTALL_GRADLE": "true",
"NODE_VERSION": "18.18.1"
}
},

// Set *default* container specific settings.json values on container create.
"settings": {
"java.home": "/docker-java-home"
},
"customizations": {
"vscode": {
// Set *default* container specific settings.json values on container create.
"settings": {
"java.jdt.ls.java.home": "/docker-java-home"
},

// Add the IDs of extensions you want installed when the container is created.
"extensions": [
"angular.ng-template",
"christian-kohler.npm-intellisense",
"firsttris.vscode-jest-runner",
"ms-vscode.vscode-typescript-tslint-plugin",
"dbaeumer.vscode-eslint",
"vscjava.vscode-java-pack",
"pivotal.vscode-boot-dev-pack",
"esbenp.prettier-vscode"
],
// Add the IDs of extensions you want installed when the container is created.
"extensions": [
"angular.ng-template",
"christian-kohler.npm-intellisense",
"firsttris.vscode-jest-runner",
"ms-vscode.vscode-typescript-tslint-plugin",
"dbaeumer.vscode-eslint",
"vscjava.vscode-java-pack",
"pivotal.vscode-boot-dev-pack",
"esbenp.prettier-vscode"
]
}
},

// Use 'forwardPorts' to make a list of ports inside the container available locally.
"forwardPorts": [4200, 3001, 9000, 8080],
Expand Down
2 changes: 2 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ webpack/
target/
build/
node/
coverage/
postcss.config.js
build/resources/main/static/
### MODIFICATION-START ###
contrib/
### MODIFICATION-END ###
4 changes: 2 additions & 2 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"parserOptions": {
"ecmaVersion": 2018,
"sourceType": "module",
"project": "./tsconfig.json"
"project": ["./tsconfig.app.json", "./tsconfig.spec.json"]
},
"rules": {
"@angular-eslint/component-selector": [
Expand Down Expand Up @@ -71,13 +71,13 @@
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-floating-promises": "off",
"@typescript-eslint/no-non-null-assertion": "off",
"@typescript-eslint/no-parameter-properties": ["warn", { "allows": ["public", "private", "protected"] }],
"@typescript-eslint/no-shadow": ["error"],
"@typescript-eslint/no-unnecessary-condition": "error",
"@typescript-eslint/no-unsafe-argument": "off",
"@typescript-eslint/no-unsafe-assignment": "off",
"@typescript-eslint/no-unsafe-call": "off",
"@typescript-eslint/no-unsafe-member-access": "off",
"@typescript-eslint/no-unused-vars": "off",
"@typescript-eslint/prefer-nullish-coalescing": "error",
"@typescript-eslint/prefer-optional-chain": "error",
"@typescript-eslint/unbound-method": "off",
Expand Down
8 changes: 0 additions & 8 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,10 +1,3 @@
######################
# Project Specific
######################
/src/main/webapp/content/css/main.css
/build/resources/main/static/**
/src/test/javascript/coverage/

######################
# Node
######################
Expand Down Expand Up @@ -37,7 +30,6 @@ local.properties
.settings/
.loadpath
.factorypath
/src/main/resources/rebel.xml

# External tool builders
.externalToolBuilders/**
Expand Down
1 change: 1 addition & 0 deletions .jhipster/Activity.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,6 @@
"pagination": "infinite-scroll",
"readOnly": false,
"relationships": [],
"searchEngine": "no",
"service": "serviceImpl"
}
4 changes: 4 additions & 0 deletions .jhipster/Badge.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,13 +81,15 @@
"otherEntityName": "badgeSkill",
"otherEntityRelationshipName": "badge",
"relationshipName": "skills",
"relationshipSide": "left",
"relationshipType": "one-to-many"
},
{
"otherEntityField": "title",
"otherEntityName": "image",
"otherEntityRelationshipName": "badge",
"relationshipName": "image",
"relationshipSide": "right",
"relationshipType": "many-to-one"
},
{
Expand All @@ -96,8 +98,10 @@
"otherEntityRelationshipName": "badges",
"ownerSide": true,
"relationshipName": "dimensions",
"relationshipSide": "left",
"relationshipType": "many-to-many"
}
],
"searchEngine": "no",
"service": "serviceImpl"
}
4 changes: 4 additions & 0 deletions .jhipster/BadgeSkill.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"applications": "*",
"changelogDate": "20210510110905",
"documentation": "Lookup table entity for N-to-M relationships",
"dto": "mapstruct",
"embedded": false,
"entityTableName": "badge_skill",
Expand All @@ -17,6 +18,7 @@
"otherEntityName": "badge",
"otherEntityRelationshipName": "skills",
"relationshipName": "badge",
"relationshipSide": "right",
"relationshipType": "many-to-one",
"relationshipValidateRules": "required"
},
Expand All @@ -25,9 +27,11 @@
"otherEntityName": "skill",
"otherEntityRelationshipName": "badges",
"relationshipName": "skill",
"relationshipSide": "right",
"relationshipType": "many-to-one",
"relationshipValidateRules": "required"
}
],
"searchEngine": "no",
"service": "serviceImpl"
}
3 changes: 3 additions & 0 deletions .jhipster/Comment.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
"otherEntityName": "team",
"otherEntityRelationshipName": "comment",
"relationshipName": "team",
"relationshipSide": "right",
"relationshipType": "many-to-one",
"relationshipValidateRules": "required"
},
Expand All @@ -41,9 +42,11 @@
"otherEntityName": "skill",
"otherEntityRelationshipName": "comment",
"relationshipName": "skill",
"relationshipSide": "right",
"relationshipType": "many-to-one",
"relationshipValidateRules": "required"
}
],
"searchEngine": "no",
"service": "serviceImpl"
}
4 changes: 4 additions & 0 deletions .jhipster/Dimension.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,22 +52,26 @@
"otherEntityName": "level",
"otherEntityRelationshipName": "dimension",
"relationshipName": "levels",
"relationshipSide": "left",
"relationshipType": "one-to-many"
},
{
"otherEntityName": "badge",
"otherEntityRelationshipName": "dimensions",
"ownerSide": false,
"relationshipName": "badges",
"relationshipSide": "right",
"relationshipType": "many-to-many"
},
{
"otherEntityName": "team",
"otherEntityRelationshipName": "participations",
"ownerSide": false,
"relationshipName": "participants",
"relationshipSide": "right",
"relationshipType": "many-to-many"
}
],
"searchEngine": "no",
"service": "serviceImpl"
}
1 change: 1 addition & 0 deletions .jhipster/Image.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,5 +50,6 @@
"pagination": "infinite-scroll",
"readOnly": false,
"relationships": [],
"searchEngine": "no",
"service": "serviceImpl"
}
5 changes: 5 additions & 0 deletions .jhipster/Level.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,29 +73,34 @@
"otherEntityRelationshipName": "level",
"ownerSide": true,
"relationshipName": "dependsOn",
"relationshipSide": "left",
"relationshipType": "one-to-one"
},
{
"otherEntityName": "levelSkill",
"otherEntityRelationshipName": "level",
"relationshipName": "skills",
"relationshipSide": "left",
"relationshipType": "one-to-many"
},
{
"otherEntityField": "title",
"otherEntityName": "image",
"otherEntityRelationshipName": "level",
"relationshipName": "image",
"relationshipSide": "right",
"relationshipType": "many-to-one"
},
{
"otherEntityField": "titleEN",
"otherEntityName": "dimension",
"otherEntityRelationshipName": "levels",
"relationshipName": "dimension",
"relationshipSide": "right",
"relationshipType": "many-to-one",
"relationshipValidateRules": "required"
}
],
"searchEngine": "no",
"service": "serviceImpl"
}
4 changes: 4 additions & 0 deletions .jhipster/LevelSkill.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"applications": "*",
"changelogDate": "20210510110910",
"documentation": "Lookup table entity for N-to-M relationships.",
"dto": "mapstruct",
"embedded": false,
"entityTableName": "level_skill",
Expand All @@ -17,6 +18,7 @@
"otherEntityName": "skill",
"otherEntityRelationshipName": "levels",
"relationshipName": "skill",
"relationshipSide": "right",
"relationshipType": "many-to-one",
"relationshipValidateRules": "required"
},
Expand All @@ -25,9 +27,11 @@
"otherEntityName": "level",
"otherEntityRelationshipName": "skills",
"relationshipName": "level",
"relationshipSide": "right",
"relationshipType": "many-to-one",
"relationshipValidateRules": "required"
}
],
"searchEngine": "no",
"service": "serviceImpl"
}
2 changes: 2 additions & 0 deletions .jhipster/PersistentAuditEvent.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,11 @@
"otherEntityName": "persistentAuditEventData",
"otherEntityRelationshipName": "event",
"relationshipName": "data",
"relationshipSide": "left",
"relationshipType": "one-to-many"
}
],
"searchEngine": "no",
"service": "no",
"skipClient": true
}
2 changes: 2 additions & 0 deletions .jhipster/PersistentAuditEventData.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,12 @@
"otherEntityName": "persistentAuditEvent",
"otherEntityRelationshipName": "data",
"relationshipName": "event",
"relationshipSide": "right",
"relationshipType": "many-to-one",
"relationshipValidateRules": "required"
}
],
"searchEngine": "no",
"service": "no",
"skipClient": true
}
1 change: 1 addition & 0 deletions .jhipster/Report.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,6 @@
"pagination": "no",
"readOnly": false,
"relationships": [],
"searchEngine": "no",
"service": "serviceImpl"
}
5 changes: 5 additions & 0 deletions .jhipster/Skill.json
Original file line number Diff line number Diff line change
Expand Up @@ -107,27 +107,32 @@
"otherEntityName": "badgeSkill",
"otherEntityRelationshipName": "skill",
"relationshipName": "badges",
"relationshipSide": "left",
"relationshipType": "one-to-many"
},
{
"otherEntityName": "levelSkill",
"otherEntityRelationshipName": "skill",
"relationshipName": "levels",
"relationshipSide": "left",
"relationshipType": "one-to-many"
},
{
"otherEntityName": "teamSkill",
"otherEntityRelationshipName": "skill",
"relationshipName": "teams",
"relationshipSide": "left",
"relationshipType": "one-to-many"
},
{
"otherEntityName": "training",
"otherEntityRelationshipName": "skill",
"ownerSide": false,
"relationshipName": "trainings",
"relationshipSide": "right",
"relationshipType": "many-to-many"
}
],
"searchEngine": "no",
"service": "serviceImpl"
}
Loading

0 comments on commit 5b39c75

Please sign in to comment.