Skip to content

Commit

Permalink
automatic project update for v8.0.0-rc.1
Browse files Browse the repository at this point in the history
  • Loading branch information
deepu105 committed Oct 14, 2023
1 parent c7cbef4 commit 521d095
Show file tree
Hide file tree
Showing 69 changed files with 626 additions and 442 deletions.
2 changes: 1 addition & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
// maven and gradle wrappers are used by default, we don't need them installed globally
// "INSTALL_MAVEN": "true",
// "INSTALL_GRADLE": "false",
"NODE_VERSION": "18.17.1"
"NODE_VERSION": "18.18.1"
}
},

Expand Down
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ build/
node/
coverage/
postcss.config.js
target/classes/static/
115 changes: 0 additions & 115 deletions .mvn/wrapper/MavenWrapperDownloader.java

This file was deleted.

2 changes: 1 addition & 1 deletion .mvn/wrapper/maven-wrapper.properties
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.4/apache-maven-3.9.4-bin.zip
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.5/apache-maven-3.9.5-bin.zip
wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.2.0/maven-wrapper-3.2.0.jar
11 changes: 7 additions & 4 deletions .prettierignore
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
node_modules
target
build
package-lock.json
.git
target/

# Generated by jhipster:client
target/classes/static/

# Generated by jhipster:maven
target
.mvn
gradle
.gradle
26 changes: 14 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,14 +109,6 @@ create src/main/webapp/app/my-component/my-component.component.ts
update src/main/webapp/app/app.module.ts
```

### JHipster Control Center

JHipster Control Center can help you manage and control your application(s). You can start a local control center server (accessible on http://localhost:7419) with:

```
docker compose -f src/main/docker/jhipster-control-center.yml up
```

## Building for production

### Packaging as jar
Expand Down Expand Up @@ -146,8 +138,18 @@ To package your application as a war in order to deploy it to an application ser
./mvnw -Pprod,war clean verify
```

### JHipster Control Center

JHipster Control Center can help you manage and control your application(s). You can start a local control center server (accessible on http://localhost:7419) with:

```
docker compose -f src/main/docker/jhipster-control-center.yml up
```

## Testing

### Spring Boot tests

To launch your application's tests, run:

```
Expand All @@ -171,7 +173,7 @@ You can execute automated [lighthouse audits][https://developers.google.com/web/
You should only run the audits when your application is packaged with the production profile.
The lighthouse report is created in `target/cypress/lhreport.html`

### Other tests
### Gatling

Performance tests are run by [Gatling][] and written in Scala. They're located in [src/test/java/gatling/simulations](src/test/java/gatling/simulations).

Expand All @@ -181,9 +183,9 @@ You can execute all Gatling tests with
./mvnw gatling:test
```

For more information, refer to the [Running tests page][].
## Others

### Code quality
### Code quality using Sonar

Sonar is used to analyse code quality. You can start a local Sonar server (accessible on http://localhost:9001) with:

Expand Down Expand Up @@ -216,7 +218,7 @@ sonar.password=admin

For more information, refer to the [Code quality page][].

## Using Docker to simplify development (optional)
### Using Docker to simplify development (optional)

You can use Docker to improve your JHipster development experience. A number of docker-compose configuration are available in the [src/main/docker](src/main/docker) folder to launch required third party services.

Expand Down
3 changes: 2 additions & 1 deletion angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,8 @@
"test": {
"builder": "@angular-builders/jest:run",
"options": {
"configPath": "jest.conf.js"
"configPath": "jest.conf.js",
"tsConfig": "tsconfig.spec.json"
}
}
}
Expand Down
1 change: 1 addition & 0 deletions cypress.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ export default defineConfig({
// We've imported your old cypress plugins here.
// You may want to clean this up later by importing these.
async setupNodeEvents(on, config) {
// eslint-disable-next-line @typescript-eslint/no-unsafe-return
return (await import('./src/test/javascript/cypress/plugins/index')).default(on, config);
},
baseUrl: 'http://localhost:8080/',
Expand Down
70 changes: 35 additions & 35 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@
"ci:e2e:teardown:docker": "docker compose -f src/main/docker/services.yml down -v && docker ps -a",
"ci:frontend:build": "npm run webapp:build:$npm_package_config_default_environment",
"ci:frontend:test": "npm run ci:frontend:build && npm test",
"ci:server:await": "echo \"Waiting for server at port $npm_package_config_backend_port to start\" && wait-on -t 180000 http-get://localhost:$npm_package_config_backend_port/management/health && echo \"Server at port $npm_package_config_backend_port started\"",
"clean-www": "rimraf target/classes/static/app/{src,target/}",
"cleanup": "rimraf target/classes/static/",
"ci:server:await": "echo \"Waiting for server at port $npm_package_config_backend_port to start\" && wait-on -t 180000 http-get://127.0.0.1:$npm_package_config_backend_port/management/health && echo \"Server at port $npm_package_config_backend_port started\"",
"clean-www": "rimraf target/classes/static/",
"cleanup": "rimraf target/",
"cypress": "cypress open --e2e",
"cypress:audits": "cypress open --e2e --config-file cypress-audits.config.js",
"docker:db:down": "docker compose -f src/main/docker/postgresql.yml down -v",
Expand All @@ -41,7 +41,7 @@
"e2e:cypress:headed": "npm run e2e:cypress -- --headed",
"e2e:cypress:record": "npm run e2e:cypress -- --record",
"e2e:dev": "concurrently -k -s first \"./mvnw\" \"npm run e2e\"",
"e2e:devserver": "concurrently -k -s first \"npm run backend:start\" \"npm start\" \"wait-on -t 180000 http-get://localhost:9000 && npm run e2e:headless -- -c baseUrl=http://localhost:9000\"",
"e2e:devserver": "concurrently -k -s first \"npm run backend:start\" \"npm start\" \"wait-on -t 180000 http-get://127.0.0.1:9000 && npm run e2e:headless -- -c baseUrl=http://localhost:9000\"",
"pree2e:headless": "npm run ci:server:await",
"e2e:headless": "npm run e2e:cypress --",
"java:docker": "./mvnw -ntp verify -DskipTests -Pprod jib:dockerBuild",
Expand Down Expand Up @@ -83,68 +83,68 @@
"packaging": "jar"
},
"dependencies": {
"@angular/common": "16.2.3",
"@angular/compiler": "16.2.3",
"@angular/core": "16.2.3",
"@angular/forms": "16.2.3",
"@angular/localize": "16.2.3",
"@angular/platform-browser": "16.2.3",
"@angular/platform-browser-dynamic": "16.2.3",
"@angular/router": "16.2.3",
"@angular/common": "16.2.9",
"@angular/compiler": "16.2.9",
"@angular/core": "16.2.9",
"@angular/forms": "16.2.9",
"@angular/localize": "16.2.9",
"@angular/platform-browser": "16.2.9",
"@angular/platform-browser-dynamic": "16.2.9",
"@angular/router": "16.2.9",
"@fortawesome/angular-fontawesome": "0.13.0",
"@fortawesome/fontawesome-svg-core": "6.4.2",
"@fortawesome/free-solid-svg-icons": "6.4.2",
"@ng-bootstrap/ng-bootstrap": "15.1.1",
"@ngx-translate/core": "15.0.0",
"@ngx-translate/http-loader": "8.0.0",
"@popperjs/core": "2.11.8",
"bootstrap": "5.3.1",
"dayjs": "1.11.9",
"bootstrap": "5.3.2",
"dayjs": "1.11.10",
"ngx-infinite-scroll": "16.0.0",
"rxjs": "7.8.1",
"tslib": "2.6.2",
"zone.js": "0.13.1"
"zone.js": "0.13.3"
},
"devDependencies": {
"@angular-builders/custom-webpack": "16.0.1",
"@angular-builders/jest": "16.0.1",
"@angular-devkit/build-angular": "16.2.1",
"@angular-eslint/eslint-plugin": "16.1.1",
"@angular/cli": "16.2.1",
"@angular/compiler-cli": "16.2.3",
"@angular/service-worker": "16.2.3",
"@types/jest": "29.5.4",
"@types/node": "18.17.14",
"@typescript-eslint/eslint-plugin": "6.6.0",
"@typescript-eslint/parser": "6.6.0",
"@angular-devkit/build-angular": "16.2.6",
"@angular-eslint/eslint-plugin": "16.2.0",
"@angular/cli": "16.2.6",
"@angular/compiler-cli": "16.2.9",
"@angular/service-worker": "16.2.9",
"@types/jest": "29.5.5",
"@types/node": "18.18.5",
"@typescript-eslint/eslint-plugin": "6.7.5",
"@typescript-eslint/parser": "6.7.5",
"browser-sync": "2.29.3",
"browser-sync-webpack-plugin": "2.3.0",
"buffer": "6.0.3",
"concurrently": "8.2.1",
"copy-webpack-plugin": "11.0.0",
"cypress": "13.1.0",
"cypress": "13.3.1",
"cypress-audit": "1.1.0",
"eslint": "8.48.0",
"eslint": "8.51.0",
"eslint-config-prettier": "9.0.0",
"eslint-plugin-cypress": "2.14.0",
"eslint-plugin-cypress": "2.15.1",
"eslint-webpack-plugin": "4.0.1",
"folder-hash": "4.0.4",
"generator-jhipster": "7.9.4",
"husky": "8.0.3",
"jest": "29.6.4",
"jest": "29.7.0",
"jest-date-mock": "1.0.8",
"jest-environment-jsdom": "29.6.4",
"jest-environment-jsdom": "29.7.0",
"jest-junit": "16.0.0",
"jest-preset-angular": "13.1.1",
"jest-preset-angular": "13.1.2",
"jest-sonar": "0.2.16",
"lighthouse": "11.0.0",
"lighthouse": "11.2.0",
"lint-staged": "14.0.1",
"merge-jsons-webpack-plugin": "2.0.1",
"prettier": "3.0.3",
"prettier-plugin-java": "2.3.1",
"prettier-plugin-packagejson": "2.4.5",
"rimraf": "5.0.1",
"swagger-ui-dist": "5.5.0",
"prettier-plugin-packagejson": "2.4.6",
"rimraf": "5.0.5",
"swagger-ui-dist": "5.9.0",
"ts-jest": "29.1.1",
"typescript": "5.1.6",
"wait-on": "7.0.1",
Expand All @@ -153,7 +153,7 @@
"webpack-notifier": "1.15.0"
},
"engines": {
"node": ">=18.17.1"
"node": ">=18.18.1"
},
"cacheDirectories": [
"node_modules"
Expand Down
Loading

0 comments on commit 521d095

Please sign in to comment.