Skip to content
Open
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
6 changes: 0 additions & 6 deletions .eslintignore

This file was deleted.

18 changes: 0 additions & 18 deletions .eslintrc.js

This file was deleted.

3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -106,4 +106,5 @@ dist
# VSCode files
.vscode/

.DS_Store
.DS_Store
CLAUDE.md
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM --platform=$TARGETPLATFORM node:20-alpine
FROM node:20-alpine
ARG TARGETPLATFORM
ARG BUILDPLATFORM

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ that's returned by the TCP agent.

## development builds

The current version has been tested with node v16.18.1 and npm v8.19.2
The current version has been tested with node v16.18.1 and npm v11.6.0

Before making a submission, please run the following so that it's linted properly:
```
Expand Down
12 changes: 9 additions & 3 deletions build/build.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,14 @@
#!/bin/bash

if [ -z "$TAG" ]; then
echo "no TAG set, exiting..."
set -x

if [ -z "$IMAGE_TAG" ]; then
echo "no IMAGE_TAG set, exiting..."
exit 2
fi

docker buildx build --no-cache --platform=linux/arm64,linux/amd64 --push --pull --progress=plain --tag jitsi/signal-sidecar:latest --tag jitsi/signal-sidecar:$TAG .
[ -z "$DOCKER_REPO_HOST" ] && DOCKER_REPO_HOST=""

docker buildx build --no-cache --platform=linux/arm64,linux/amd64 --push --pull --progress=plain \
--tag ${DOCKER_REPO_HOST}jitsi/signal-sidecar:latest \
--tag ${DOCKER_REPO_HOST}jitsi/signal-sidecar:$IMAGE_TAG .
19 changes: 19 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
import eslint from '@eslint/js';
import tseslint from 'typescript-eslint';
import prettier from 'eslint-plugin-prettier/recommended';

export default tseslint.config(
eslint.configs.recommended,
...tseslint.configs.recommended,
prettier,
{
files: ['src/**/*.ts', 'src/**/*.tsx'],
languageOptions: {
ecmaVersion: 2020,
sourceType: 'module',
},
},
{
ignores: ['dist/**', 'node_modules/**', '*.js', '*.mjs'],
},
);
Loading