Skip to content

Commit 4260110

Browse files
Generate skeleton for new integration test
1 parent 6b69273 commit 4260110

22 files changed

+10816
-1
lines changed

CI/circle_parallel.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ elif [ "$NODE_INDEX" = "3" ]; then
7373
export NVM_DIR="/opt/circleci/.nvm"
7474
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
7575
#nvm install stable
76-
# install v16 instead of the latest stable version
76+
# install v18 instead of the latest stable version
7777
nvm install 18
7878
nvm alias default 18
7979
node --version
@@ -83,6 +83,7 @@ elif [ "$NODE_INDEX" = "3" ]; then
8383
echo "[ -s \"$NVM_DIR/nvm.sh\" ] && . \"$NVM_DIR/nvm.sh\"" >> $BASH_ENV
8484

8585
(cd samples/client/others/typescript-angular && mvn integration-test)
86+
(cd samples/client/others/typescript-angular-v20 && mvn integration-test)
8687
(cd samples/client/petstore/typescript-angular-v12-provided-in-root && mvn integration-test)
8788
(cd samples/client/petstore/typescript-angular-v13-provided-in-root && mvn integration-test)
8889
(cd samples/client/petstore/typescript-angular-v14-provided-in-root && mvn integration-test)
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Editor configuration, see https://editorconfig.org
2+
root = true
3+
4+
[*]
5+
charset = utf-8
6+
indent_style = space
7+
indent_size = 2
8+
insert_final_newline = true
9+
trim_trailing_whitespace = true
10+
11+
[*.ts]
12+
quote_type = single
13+
ij_typescript_use_double_quotes = false
14+
15+
[*.md]
16+
max_line_length = off
17+
trim_trailing_whitespace = false
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
# See https://docs.github.com/get-started/getting-started-with-git/ignoring-files for more about ignoring files.
2+
3+
# Compiled output
4+
/dist
5+
/tmp
6+
/out-tsc
7+
/bazel-out
8+
9+
# Node
10+
/node_modules
11+
npm-debug.log
12+
yarn-error.log
13+
14+
# IDEs and editors
15+
.idea/
16+
.project
17+
.classpath
18+
.c9/
19+
*.launch
20+
.settings/
21+
*.sublime-workspace
22+
23+
# Visual Studio Code
24+
.vscode/*
25+
!.vscode/settings.json
26+
!.vscode/tasks.json
27+
!.vscode/launch.json
28+
!.vscode/extensions.json
29+
.history/*
30+
31+
# Miscellaneous
32+
/.angular/cache
33+
.sass-cache/
34+
/connect.lock
35+
/coverage
36+
/libpeerconnection.log
37+
testem.log
38+
/typings
39+
40+
# System files
41+
.DS_Store
42+
Thumbs.db
Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
# TypescriptAngularV20
2+
3+
This project was generated using [Angular CLI](https://github.com/angular/angular-cli) version 20.2.2.
4+
5+
## Development server
6+
7+
To start a local development server, run:
8+
9+
```bash
10+
ng serve
11+
```
12+
13+
Once the server is running, open your browser and navigate to `http://localhost:4200/`. The application will automatically reload whenever you modify any of the source files.
14+
15+
## Code scaffolding
16+
17+
Angular CLI includes powerful code scaffolding tools. To generate a new component, run:
18+
19+
```bash
20+
ng generate component component-name
21+
```
22+
23+
For a complete list of available schematics (such as `components`, `directives`, or `pipes`), run:
24+
25+
```bash
26+
ng generate --help
27+
```
28+
29+
## Building
30+
31+
To build the project run:
32+
33+
```bash
34+
ng build
35+
```
36+
37+
This will compile your project and store the build artifacts in the `dist/` directory. By default, the production build optimizes your application for performance and speed.
38+
39+
## Running unit tests
40+
41+
To execute unit tests with the [Karma](https://karma-runner.github.io) test runner, use the following command:
42+
43+
```bash
44+
ng test
45+
```
46+
47+
## Running end-to-end tests
48+
49+
For end-to-end (e2e) testing, run:
50+
51+
```bash
52+
ng e2e
53+
```
54+
55+
Angular CLI does not come with an end-to-end testing framework by default. You can choose one that suits your needs.
56+
57+
## Additional Resources
58+
59+
For more information on using the Angular CLI, including detailed command references, visit the [Angular CLI Overview and Command Reference](https://angular.dev/tools/cli) page.
Lines changed: 86 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,86 @@
1+
{
2+
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
3+
"version": 1,
4+
"newProjectRoot": "projects",
5+
"projects": {
6+
"app": {
7+
"projectType": "application",
8+
"schematics": {},
9+
"root": "projects/app",
10+
"sourceRoot": "projects/app/src",
11+
"prefix": "app",
12+
"architect": {
13+
"build": {
14+
"builder": "@angular/build:application",
15+
"options": {
16+
"browser": "projects/app/src/main.ts",
17+
"tsConfig": "projects/app/tsconfig.app.json",
18+
"assets": [
19+
{
20+
"glob": "**/*",
21+
"input": "projects/app/public"
22+
}
23+
],
24+
"styles": [
25+
"projects/app/src/styles.css"
26+
]
27+
},
28+
"configurations": {
29+
"production": {
30+
"budgets": [
31+
{
32+
"type": "initial",
33+
"maximumWarning": "500kB",
34+
"maximumError": "1MB"
35+
},
36+
{
37+
"type": "anyComponentStyle",
38+
"maximumWarning": "4kB",
39+
"maximumError": "8kB"
40+
}
41+
],
42+
"outputHashing": "all"
43+
},
44+
"development": {
45+
"optimization": false,
46+
"extractLicenses": false,
47+
"sourceMap": true
48+
}
49+
},
50+
"defaultConfiguration": "production"
51+
},
52+
"serve": {
53+
"builder": "@angular/build:dev-server",
54+
"configurations": {
55+
"production": {
56+
"buildTarget": "app:build:production"
57+
},
58+
"development": {
59+
"buildTarget": "app:build:development"
60+
}
61+
},
62+
"defaultConfiguration": "development"
63+
},
64+
"extract-i18n": {
65+
"builder": "@angular/build:extract-i18n"
66+
},
67+
"test": {
68+
"builder": "@angular/build:karma",
69+
"options": {
70+
"tsConfig": "projects/app/tsconfig.spec.json",
71+
"assets": [
72+
{
73+
"glob": "**/*",
74+
"input": "projects/app/public"
75+
}
76+
],
77+
"styles": [
78+
"projects/app/src/styles.css"
79+
],
80+
"karmaConfig": "projects/app/karma.conf.js"
81+
}
82+
}
83+
}
84+
}
85+
}
86+
}

0 commit comments

Comments
 (0)