Skip to content

Commit 9941820

Browse files
committed
chore: adapt the prettier integration
1 parent 0053cfb commit 9941820

File tree

59 files changed

+526
-483
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+526
-483
lines changed

.github/workflows/ci-build.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: Continuous Integration - Build
22

3-
on: [ push, pull_request ]
3+
on: [push, pull_request]
44

55
jobs:
66
Build:

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,4 @@ buildNumber.properties
1212
# https://github.com/takari/maven-wrapper#usage-without-binary-jar
1313
.mvn/wrapper/maven-wrapper.jar
1414
.custom
15+
node_modules

.prettierrc.yml renamed to .prettierrc.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
plugins:
2+
- prettier-plugin-java
13
overrides:
24
- files:
35
- "*.java"

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
The following commands assume the ArchiCode workspace is located in the current directory.
1010

1111
**Show the help information**
12+
1213
```shell
1314
docker run \
1415
-u "$(id -u):$(id -g)" \
@@ -17,6 +18,7 @@ docker run \
1718
```
1819

1920
**Generate all views**
21+
2022
```shell
2123
docker run \
2224
-u "$(id -u):$(id -g)" \
@@ -25,6 +27,7 @@ docker run \
2527
```
2628

2729
**Get the JSON schema for the Workspace resource**
30+
2831
```shell
2932
docker run \
3033
-u "$(id -u):$(id -g)" \
@@ -33,6 +36,7 @@ docker run \
3336
```
3437

3538
**Get the JSON schema for the Manifest resource**
39+
3640
```shell
3741
docker run \
3842
-u "$(id -u):$(id -g)" \
@@ -43,16 +47,19 @@ docker run \
4347
## Maintenance
4448

4549
**Dependencies upgrade**
50+
4651
```shell
4752
./mvnw versions:display-dependency-updates
4853
```
4954

5055
**Quarkus update**
56+
5157
```shell
5258
./mvnw quarkus:update
5359
```
5460

5561
**Release**
62+
5663
```shell
5764
./mvnw --batch-mode release:clean \
5865
&& ./mvnw --batch-mode release:prepare \
@@ -61,11 +68,13 @@ docker run \
6168
```
6269

6370
**Build package and OIC image**
71+
6472
```shell
6573
./mvnw package -Dquarkus.container-image.build=true
6674
```
6775

6876
**Build package and OIC image without test execution**
77+
6978
```shell
7079
./mvnw package -Dquarkus.container-image.build=true -Dmaven.test.skip
7180
```

package-lock.json

Lines changed: 129 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"dependencies": {
3+
"prettier": "^3.3.3",
4+
"prettier-plugin-java": "^2.6.4"
5+
}
6+
}

src/doc/examples/domain_configuration/default_formatters.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ formatters:
88
qualifiers: "%s"
99
link:
1010
label: "%s"
11-
qualifiers: "%s"
11+
qualifiers: "%s"
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
settings:
22
manifests:
33
paths:
4-
- "manifests"
4+
- "manifests"
55
relationships:
66
default-synthetic-label: "uses"
77
views:
88
path: "views"
99
facets:
1010
globalEnabled: true
11-
directoryNameTemplate: "%s-%s"
11+
directoryNameTemplate: "%s-%s"

src/doc/examples/domain_configuration/default_styles.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ styles:
44
background-color: "transparent"
55
line-color: "darkgray"
66
line-style: 5
7-
font-style: "normal"
7+
font-style: "normal"

src/doc/examples/domain_workspace/default.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ technology: {}
33
settings:
44
manifests:
55
paths:
6-
- "manifests"
6+
- "manifests"
77
relationships:
88
default-synthetic-label: "uses"
99
views:
@@ -30,4 +30,4 @@ formatters:
3030
qualifiers: "%s"
3131
link:
3232
label: "%s"
33-
qualifiers: "%s"
33+
qualifiers: "%s"

0 commit comments

Comments
 (0)