Skip to content

Commit

Permalink
JNG-5288 replace formatter (#253)
Browse files Browse the repository at this point in the history
* JNG-5288 replace formatter

* JNG-5288 fix organise imports

* JNG-5288 fix formatter fragment

* JNG-5288 remove useless script
  • Loading branch information
noherczeg authored Dec 7, 2023
1 parent d9ec3f5 commit c66b9d0
Show file tree
Hide file tree
Showing 7 changed files with 153 additions and 138 deletions.
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
{
"$schema": "./node_modules/rome/configuration_schema.json",
"$schema": "./node_modules/@biomejs/biome/configuration_schema.json",
"organizeImports": {
"enabled": true
},
"formatter": {
"enabled": true,
"formatWithErrors": false,
"indentStyle": "space",
"indentSize": 2,
"indentWidth": 2,
"lineWidth": 120,
{{> actor/rome.json.ignore.fragment.hbs }}
{{> actor/biome.json.ignore.fragment.hbs }}
},
"javascript": {
"formatter": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
"@biomejs/biome": "1.4.1",
"@pandino/pandino-api": "0.8.29",
"@types/node": "18.15.11",
"@types/react": "18.0.26",
"@types/react-dom": "18.0.9",
"@types/uuid": "9.0.1",
"@vitejs/plugin-react": "4.1.0",
"rome": "12.0.0",
"typescript": "5.2.2",
"vite": "4.5.0",
"vitest": "0.34.6"
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
"test:dev": "vitest",
"test": "vitest run",
"coverage": "vitest run --coverage",
"format": "rome format ./src --write"
"format": "biome format ./src --write && biome check --apply ./src"
136 changes: 71 additions & 65 deletions judo-ui-react/src/main/resources/actor/pnpm-lock.pro.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,9 @@ dependencies:
version: 9.0.0

devDependencies:
'@biomejs/biome':
specifier: 1.4.1
version: 1.4.1
'@pandino/pandino-api':
specifier: 0.8.29
version: 0.8.29
Expand All @@ -118,9 +121,6 @@ devDependencies:
'@vitejs/plugin-react':
specifier: 4.1.0
version: 4.1.0([email protected])
rome:
specifier: 12.0.0
version: 12.0.0
typescript:
specifier: 5.2.2
version: 5.2.2
Expand Down Expand Up @@ -425,6 +425,74 @@ packages:
to-fast-properties: 2.0.0
dev: true

/@biomejs/[email protected]:
resolution: {integrity: sha512-JccVAwPbhi37pdxbAGmaOBjUTKEwEjWAhl7rKkVVuXHo4MLASXJ5HR8BTgrImi4/7rTBsGz1tgVD1Kwv1CHGRg==}
engines: {node: '>=14.*'}
hasBin: true
requiresBuild: true
optionalDependencies:
'@biomejs/cli-darwin-arm64': 1.4.1
'@biomejs/cli-darwin-x64': 1.4.1
'@biomejs/cli-linux-arm64': 1.4.1
'@biomejs/cli-linux-x64': 1.4.1
'@biomejs/cli-win32-arm64': 1.4.1
'@biomejs/cli-win32-x64': 1.4.1
dev: true

/@biomejs/[email protected]:
resolution: {integrity: sha512-PZWy2Idndqux38p6AXSDQM2ldRAWi32bvb7bMbTN0ALzpWYMYnxd71ornatumSSJYoNhKmxzDLq+jct7nZJ79w==}
engines: {node: '>=14.*'}
cpu: [arm64]
os: [darwin]
requiresBuild: true
dev: true
optional: true

/@biomejs/[email protected]:
resolution: {integrity: sha512-soj3BWhnsM1M2JlzR09cibUzG1owJqetwj/Oo7yg0foijo9lNH9XWXZfJBYDKgW/6Fomn+CC2EcUS+hisQzt9g==}
engines: {node: '>=14.*'}
cpu: [x64]
os: [darwin]
requiresBuild: true
dev: true
optional: true

/@biomejs/[email protected]:
resolution: {integrity: sha512-YIZqfJUg4F+fPsBTXxgD7EU2E5OAYbmYSl/snf4PevwfQCWE/omOFZv+NnIQmjYj9I7ParDgcJvanoA3/kO0JQ==}
engines: {node: '>=14.*'}
cpu: [arm64]
os: [linux]
requiresBuild: true
dev: true
optional: true

/@biomejs/[email protected]:
resolution: {integrity: sha512-9YOZw3qBd/KUj63A6Hn2zZgzGb2nbESM0qNmeMXgmqinVKM//uc4OgY5TuKITuGjMSvcVxxd4dX1IzYjV9qvNQ==}
engines: {node: '>=14.*'}
cpu: [x64]
os: [linux]
requiresBuild: true
dev: true
optional: true

/@biomejs/[email protected]:
resolution: {integrity: sha512-nWQbvkNKxYn/kCQ0yVF8kCaS3VzaGvtFSmItXiMknU4521LDjJ7tNWH12Gol+pIslrCbd4E1LhJa0a3ThRsBVg==}
engines: {node: '>=14.*'}
cpu: [arm64]
os: [win32]
requiresBuild: true
dev: true
optional: true

/@biomejs/[email protected]:
resolution: {integrity: sha512-88fR2CQxQ4YLs2BUDuywWYQpUKgU3A3sTezANFc/4LGKQFFLV2yX+F7QAdZVkMHfA+RD9Xg178HomM/6mnTNPA==}
engines: {node: '>=14.*'}
cpu: [x64]
os: [win32]
requiresBuild: true
dev: true
optional: true

/@emotion/[email protected]:
resolution: {integrity: sha512-m4HEDZleaaCH+XgDDsPF15Ht6wTLsgDTeR3WYj9Q/k76JtWhrJjcP4+/XlG8LGT/Rol9qUfOIztXeA84ATpqPQ==}
dependencies:
Expand Down Expand Up @@ -1296,54 +1364,6 @@ packages:
engines: {node: '>=14'}
dev: false

/@rometools/[email protected]:
resolution: {integrity: sha512-kEFCzU6cgy6vfY0mkMzq57ea3srqV5X2wyCAxjVfA2JF7fioq695uWhy7yOCBW+nUUFIz62N9v1nf/aYqX8XkA==}
cpu: [arm64]
os: [darwin]
requiresBuild: true
dev: true
optional: true

/@rometools/[email protected]:
resolution: {integrity: sha512-YDevVPKrkRFdjjM/3zOpOWI5mEY2ivjKM2eR8Yqv9xH3SZhyD/t67f/xo7Azp6NkGUVXSnHLGdkmIg+qrYgz5A==}
cpu: [x64]
os: [darwin]
requiresBuild: true
dev: true
optional: true

/@rometools/[email protected]:
resolution: {integrity: sha512-n2LJg6eAZENUcJF99wjDeqQCr/40IqGUJDbX7NwiU1RvCy+RBZNmhcmSAaKOc6rCoLUcM9W5q+H4jfn4bWfJBA==}
cpu: [arm64]
os: [linux]
requiresBuild: true
dev: true
optional: true

/@rometools/[email protected]:
resolution: {integrity: sha512-VuQO4eOrKmfrLrc8KzMaZypz3i1rD9FXRxwOFk6ha16DNHV+17dRQYm7jRZ1p+HrXdjAJYTScxR/E03yGLThlQ==}
cpu: [x64]
os: [linux]
requiresBuild: true
dev: true
optional: true

/@rometools/[email protected]:
resolution: {integrity: sha512-lvOh5/B8YuQdI2ieGJnJ6CUMZxvVwA8+1VDkEZJyl5IEF8AXzbXYx4k6SFA5a79cfXEL9tJuJy0rn+Zs/+1yJQ==}
cpu: [arm64]
os: [win32]
requiresBuild: true
dev: true
optional: true

/@rometools/[email protected]:
resolution: {integrity: sha512-yTfz71k8+9QIDzglKnMbEMMv1JUk30qfeSomgEUG2v0qDSbSq0Gs1ff0H0dysYOHLvZZmWA3IheOY/SC8fj1nA==}
cpu: [x64]
os: [win32]
requiresBuild: true
dev: true
optional: true

/@sinclair/[email protected]:
resolution: {integrity: sha512-+Fj43pSMwJs4KRrH/938Uf+uAELIgVBmQzg/q1YG10djyfA3TnrU8N8XzqCh/okZdszqBQTZf96idMfE5lnwTA==}
dev: true
Expand Down Expand Up @@ -2246,20 +2266,6 @@ packages:
fsevents: 2.3.2
dev: true

/[email protected]:
resolution: {integrity: sha512-w/tLvLj5PGUCx3R+Kna08BMq4zL83Xzh9spvrqoWa3Nkzk16SkD8JSpyWWP9WhI2r3qv3Xvc7FnYZ4QDnjAiYg==}
engines: {node: '>=14.*'}
hasBin: true
requiresBuild: true
optionalDependencies:
'@rometools/cli-darwin-arm64': 12.0.0
'@rometools/cli-darwin-x64': 12.0.0
'@rometools/cli-linux-arm64': 12.0.0
'@rometools/cli-linux-x64': 12.0.0
'@rometools/cli-win32-arm64': 12.0.0
'@rometools/cli-win32-x64': 12.0.0
dev: true

/[email protected]:
resolution: {integrity: sha512-CtuThmgHNg7zIZWAXi3AsyIzA3n4xx7aNyjwC2VJldO2LMVDhFK+63xGqq6CsJH4rTAt6/M+N4GhZiDYPx9eUw==}
dependencies:
Expand Down
136 changes: 71 additions & 65 deletions judo-ui-react/src/main/resources/actor/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions judo-ui-react/src/main/resources/ui-react.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
templates:
- name: actor/rome.json
pathExpression: "'rome.json'"
templateName: actor/rome.json.hbs
- name: actor/biome.json
pathExpression: "'biome.json'"
templateName: actor/biome.json.hbs

- name: actor/.editorconfig
pathExpression: "'.editorconfig'"
Expand Down

0 comments on commit c66b9d0

Please sign in to comment.