Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions docker-compose-macos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ services:
container_name: devicehub-processor
env_file:
- scripts/variables.env
command: stf processor --name processor --connect-app-dealer tcp://devicehub-triproxy-app:7160 --connect-dev-dealer tcp://devicehub-triproxy-dev:7260 --connect-sub tcp://devicehub-triproxy-app:7150 --connect-push tcp://devicehub-triproxy-app:7170 --connect-sub-dev tcp://devicehub-triproxy-dev:7250 --connect-push-dev tcp://devicehub-triproxy-dev:7270
command: stf processor --name processor --connect-app-dealer tcp://devicehub-triproxy-app:7160 --connect-dev-dealer tcp://devicehub-triproxy-dev:7260
depends_on:
devicehub-migrate:
condition: service_completed_successfully
Expand All @@ -121,7 +121,7 @@ services:
container_name: devicehub-reaper
env_file:
- scripts/variables.env
command: stf reaper --name reaper001 --connect-push tcp://devicehub-triproxy-dev:7270 --connect-sub tcp://devicehub-triproxy-app:7150 --heartbeat-timeout 30000
command: stf reaper --name reaper001 --connect-push tcp://devicehub-triproxy-dev:7270 --connect-sub tcp://devicehub-triproxy-dev:7250 --heartbeat-timeout 30000
depends_on:
devicehub-migrate:
condition: service_completed_successfully
Expand Down Expand Up @@ -233,7 +233,7 @@ services:
container_name: devicehub-api-groups-engine
env_file:
- scripts/variables.env
command: stf groups-engine --connect-sub tcp://devicehub-triproxy-app:7150 --connect-push tcp://devicehub-triproxy-app:7170 --connect-sub-dev tcp://devicehub-triproxy-dev:7250 --connect-push-dev tcp://devicehub-triproxy-dev:7270
command: stf groups-engine --connect-push tcp://devicehub-triproxy-app:7170 --connect-push-dev tcp://devicehub-triproxy-dev:7270
depends_on:
devicehub-migrate:
condition: service_completed_successfully
Expand Down Expand Up @@ -263,4 +263,4 @@ services:
- certs:/certs:rw
volumes:
devicehub-db-volume:
certs:
certs:
6 changes: 3 additions & 3 deletions docker-compose-prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ services:
container_name: devicehub-processor
env_file:
- scripts/variables.env
command: stf processor --name processor --connect-app-dealer tcp://devicehub-triproxy-app:7160 --connect-dev-dealer tcp://devicehub-triproxy-dev:7260 --connect-sub tcp://devicehub-triproxy-app:7150 --connect-push tcp://devicehub-triproxy-app:7170 --connect-sub-dev tcp://devicehub-triproxy-dev:7250 --connect-push-dev tcp://devicehub-triproxy-dev:7270
command: stf processor --name processor --connect-app-dealer tcp://devicehub-triproxy-app:7160 --connect-dev-dealer tcp://devicehub-triproxy-dev:7260
depends_on:
devicehub-migrate:
condition: service_completed_successfully
Expand All @@ -137,7 +137,7 @@ services:
container_name: devicehub-reaper
env_file:
- scripts/variables.env
command: stf reaper --name reaper001 --connect-push tcp://devicehub-triproxy-dev:7270 --connect-sub tcp://devicehub-triproxy-app:7150 --heartbeat-timeout 30000
command: stf reaper --name reaper001 --connect-push tcp://devicehub-triproxy-dev:7270 --connect-sub tcp://devicehub-triproxy-dev:7250 --heartbeat-timeout 30000
depends_on:
devicehub-migrate:
condition: service_completed_successfully
Expand Down Expand Up @@ -249,7 +249,7 @@ services:
container_name: devicehub-api-groups-engine
env_file:
- scripts/variables.env
command: stf groups-engine --connect-sub tcp://devicehub-triproxy-app:7150 --connect-push tcp://devicehub-triproxy-app:7170 --connect-sub-dev tcp://devicehub-triproxy-dev:7250 --connect-push-dev tcp://devicehub-triproxy-dev:7270
command: stf groups-engine --connect-push tcp://devicehub-triproxy-app:7170 --connect-push-dev tcp://devicehub-triproxy-dev:7270
depends_on:
devicehub-migrate:
condition: service_completed_successfully
Expand Down
18 changes: 16 additions & 2 deletions eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@ export default tseslint.config(
},
},
{
ignores: ['dist'],
files: ['lib/**/*.js'],
// ignores: ['dist'],
languageOptions: {
ecmaVersion: 2025,
sourceType: 'module',
Expand Down Expand Up @@ -213,15 +214,28 @@ export default tseslint.config(
'no-restricted-modules': 0,
'no-sync': 0,
'no-async-promise-executor': 0,

"no-restricted-imports": ["error", {
"patterns": [{
"regex": ".*\\.ts",
"message": "Do not import typescript files. Import them with *.js"
}]
}]
},
},
{
languageOptions: {
languageOptions: {
parser: tseslint.parser,
parserOptions: {
projectService: true,
tsconfigRootDir: import.meta.dirname,
},
},
},
tseslint.configs.eslintRecommended,
{
rules: {
"prefer-const": "off"
}
}
)
Loading
Loading