-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
start building the new `simulator-ui` based on a minimal jhipster application.
- Loading branch information
Showing
252 changed files
with
31,539 additions
and
24,907 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# EditorConfig helps developers define and maintain consistent | ||
# coding styles between different editors and IDEs | ||
# editorconfig.org | ||
|
||
root = true | ||
|
||
[*] | ||
|
||
# We recommend you to keep these unchanged | ||
end_of_line = lf | ||
charset = utf-8 | ||
trim_trailing_whitespace = true | ||
insert_final_newline = true | ||
|
||
# Change these settings to your own preference | ||
indent_style = space | ||
indent_size = 4 | ||
|
||
[*.{ts,tsx,js,jsx,json,css,scss,yml,html,vue}] | ||
indent_size = 2 | ||
|
||
[*.md] | ||
trim_trailing_whitespace = false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
# --------------------------------------------------------------------------- | ||
# Licensed to the Apache Software Foundation (ASF) under one or more | ||
# contributor license agreements. See the NOTICE file distributed with | ||
# this work for additional information regarding copyright ownership. | ||
# The ASF licenses this file to You under the Apache License, Version 2.0 | ||
# (the "License"); you may not use this file except in compliance with | ||
# the License. You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
# --------------------------------------------------------------------------- | ||
|
||
name: main | ||
on: | ||
pull_request: | ||
branches: | ||
- main | ||
paths-ignore: | ||
- '**.adoc' | ||
- '**.md' | ||
- 'KEYS' | ||
- 'LICENSE' | ||
- 'NOTICE' | ||
push: | ||
branches: | ||
- main | ||
paths-ignore: | ||
- '**.adoc' | ||
- '**.md' | ||
- 'KEYS' | ||
- 'LICENSE' | ||
- 'NOTICE' | ||
jobs: | ||
build: | ||
strategy: | ||
fail-fast: true | ||
matrix: | ||
node-version: [ 18.x, 20.x ] | ||
os: [ ubuntu-20.04 ] | ||
runs-on: ${{ matrix.os }} | ||
steps: | ||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
- name: Info | ||
run: | | ||
node -version | ||
npm -version | ||
- name: Change to Citrus-Simulator UI | ||
run: cd simulator-ui | ||
- name: Install dependencies | ||
run: npm ci --cache .npm | ||
- name: Frontend Tests | ||
run: npm run ci:frontend:test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...esources/META-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
org.citrusframework.simulator.SimulatorAutoConfiguration | ||
org.citrusframework.simulator.endpoint.SimulatorEndpointAutoConfiguration | ||
org.citrusframework.simulator.http.SimulatorRestAutoConfiguration | ||
org.citrusframework.simulator.jms.SimulatorJmsAutoConfiguration | ||
org.citrusframework.simulator.endpoint.SimulatorEndpointAutoConfiguration | ||
org.citrusframework.simulator.ws.SimulatorWebServiceAutoConfiguration | ||
org.citrusframework.simulator.ws.SimulatorWebServiceClientAutoConfiguration |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
node_modules/ | ||
src/main/docker/ | ||
jest.conf.js | ||
webpack/ | ||
target/ | ||
build/ | ||
node/ | ||
coverage/ | ||
postcss.config.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,99 @@ | ||
{ | ||
"parser": "@typescript-eslint/parser", | ||
"plugins": ["@angular-eslint/eslint-plugin", "@typescript-eslint"], | ||
"extends": [ | ||
"eslint:recommended", | ||
"plugin:@typescript-eslint/recommended", | ||
"plugin:@typescript-eslint/recommended-requiring-type-checking", | ||
"plugin:@angular-eslint/recommended", | ||
"prettier", | ||
"eslint-config-prettier" | ||
], | ||
"env": { | ||
"browser": true, | ||
"es6": true, | ||
"commonjs": true | ||
}, | ||
"parserOptions": { | ||
"ecmaVersion": 2018, | ||
"sourceType": "module", | ||
"project": ["./tsconfig.app.json", "./tsconfig.spec.json"] | ||
}, | ||
"rules": { | ||
"@angular-eslint/component-selector": [ | ||
"error", | ||
{ | ||
"type": "element", | ||
"prefix": "jhi", | ||
"style": "kebab-case" | ||
} | ||
], | ||
"@angular-eslint/directive-selector": [ | ||
"error", | ||
{ | ||
"type": "attribute", | ||
"prefix": "jhi", | ||
"style": "camelCase" | ||
} | ||
], | ||
"@angular-eslint/relative-url-prefix": "error", | ||
"@typescript-eslint/ban-types": [ | ||
"error", | ||
{ | ||
"extendDefaults": true, | ||
"types": { | ||
"{}": false | ||
} | ||
} | ||
], | ||
"@typescript-eslint/explicit-function-return-type": ["error", { "allowExpressions": true }], | ||
"@typescript-eslint/explicit-module-boundary-types": "off", | ||
"@typescript-eslint/member-ordering": [ | ||
"error", | ||
{ | ||
"default": [ | ||
"public-static-field", | ||
"protected-static-field", | ||
"private-static-field", | ||
"public-instance-field", | ||
"protected-instance-field", | ||
"private-instance-field", | ||
"constructor", | ||
"public-static-method", | ||
"protected-static-method", | ||
"private-static-method", | ||
"public-instance-method", | ||
"protected-instance-method", | ||
"private-instance-method" | ||
] | ||
} | ||
], | ||
"@typescript-eslint/no-explicit-any": "off", | ||
"@typescript-eslint/no-floating-promises": "off", | ||
"@typescript-eslint/no-non-null-assertion": "off", | ||
"@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", | ||
"arrow-body-style": "error", | ||
"curly": "error", | ||
"eqeqeq": ["error", "always", { "null": "ignore" }], | ||
"guard-for-in": "error", | ||
"no-bitwise": "error", | ||
"no-caller": "error", | ||
"no-console": ["error", { "allow": ["warn", "error"] }], | ||
"no-eval": "error", | ||
"no-labels": "error", | ||
"no-new": "error", | ||
"no-new-wrappers": "error", | ||
"object-shorthand": ["error", "always", { "avoidExplicitReturnArrows": true }], | ||
"radix": "error", | ||
"spaced-comment": ["warn", "always"] | ||
} | ||
} |
Oops, something went wrong.