Skip to content

use twurple eventsubws instead of pubsub #564

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 16 commits into from
May 9, 2025
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
14 changes: 7 additions & 7 deletions .github/workflows/build_and_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
- name: Checkout code
uses: actions/checkout@v2
- name: Cache multiple paths
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: |
**/node_modules
Expand Down Expand Up @@ -70,7 +70,7 @@ jobs:
BRANCH: ${{ steps.vars.outputs.branch }}

- name: Uploading Version Info Artifact
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: version_info
path: './src/version_info.json'
Expand All @@ -80,7 +80,7 @@ jobs:
- run: npm run build:all

- name: Uploading Angular Dist Files
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: angular-dist
path: dist
Expand Down Expand Up @@ -166,7 +166,7 @@ jobs:
- name: Checkout code
uses: actions/checkout@v2
- name: Cache multiple paths
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: |
**/node_modules
Expand All @@ -179,7 +179,7 @@ jobs:
- run: npm install

- name: Download Angular Output from build
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
name: angular-dist
path: dist
Expand Down Expand Up @@ -216,7 +216,7 @@ jobs:
- name: Checkout code
uses: actions/checkout@v2
- name: Cache multiple paths
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: |
**/node_modules
Expand All @@ -229,7 +229,7 @@ jobs:
- run: npm install

- name: Download Angular Output from build
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
name: angular-dist
path: dist
Expand Down
12 changes: 7 additions & 5 deletions .github/workflows/pullrequest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
fetch-depth: 0
- name: Cache multiple paths
id: cache-package
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: |
**/node_modules
Expand Down Expand Up @@ -48,7 +48,7 @@ jobs:
- uses: actions/checkout@v2
- name: Cache multiple paths
id: cache-package
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: |
**/node_modules
Expand All @@ -63,7 +63,7 @@ jobs:
- run: npm run build:pkg -- -o release/out/memebox
- run: release/out/memebox --cli-test-mode=true --config=./release/config
- run: npm run electron:build:only
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
with:
name: ${{ matrix.os }}_output
path: |
Expand All @@ -74,6 +74,8 @@ jobs:
!release-electron/mac/**

build_tauri:
# install webkit deps breaks, so disabling for now
if: false
runs-on: ${{ matrix.os }}
strategy:
matrix:
Expand All @@ -83,7 +85,7 @@ jobs:
uses: actions/checkout@v2
- name: Cache multiple paths
id: cache-package
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: |
**/node_modules
Expand Down Expand Up @@ -118,7 +120,7 @@ jobs:
run: npm run build:windows
- name: Build Tauri app
run: npm run tauri:build
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
with:
name: tauri-${{ matrix.os }}
path: |
Expand Down
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ Thumbs.db
/src/assets/*.webm
/src/assets/*.mp3
/src/assets/*.mp4
!angular.webpack.cjs
!angular.webpack.cjs
**/settings.json
**/settings.json*.backup
*.log
Expand All @@ -71,3 +71,5 @@ documentation.json

# misc
.eslintcache
.angular
/build
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
16
8 changes: 2 additions & 6 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -182,14 +182,13 @@
"path": "./angular.webpack.cjs",
"target": "web"
},
"webWorkerTsConfig": "tsconfig.worker.json"
"webWorkerTsConfig": "src/tsconfig.worker.json"
},
"configurations": {
"dev": {
"optimization": false,
"outputHashing": "all",
"sourceMap": true,
"extractCss": true,
"namedChunks": false,
"aot": false,
"extractLicenses": true,
Expand All @@ -206,7 +205,6 @@
"optimization": false,
"outputHashing": "all",
"sourceMap": true,
"extractCss": true,
"namedChunks": false,
"aot": false,
"extractLicenses": true,
Expand All @@ -223,7 +221,6 @@
"optimization": false,
"outputHashing": "all",
"sourceMap": true,
"extractCss": true,
"namedChunks": true,
"aot": true,
"extractLicenses": false,
Expand All @@ -240,7 +237,6 @@
"optimization": true,
"outputHashing": "all",
"sourceMap": false,
"extractCss": true,
"namedChunks": true,
"aot": true,
"extractLicenses": true,
Expand All @@ -256,7 +252,7 @@
"with": "src/environments/modules/modules.prod.ts"
}
],
"serviceWorker": true,
"serviceWorker": false,
"ngswConfigPath": "ngsw-config.json"
}
}
Expand Down
25 changes: 25 additions & 0 deletions buildByEsbuild.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
import * as esbuild from 'esbuild'
import esbuildPluginTsc from 'esbuild-plugin-tsc';

const tsConfigPath = 'server/tsconfig.server.json';

esbuild.build({
entryPoints: ['server/server.ts'],
bundle: true,
outdir: 'build/server-esbuild',
platform: 'node',
packages: 'external',
target: 'esnext',

external: ['vm2', 'consolidate'],
format: 'cjs',
treeShaking: true,
legalComments: 'external',
tsconfig: tsConfigPath,
plugins: [
esbuildPluginTsc({
tsconfigPath: tsConfigPath,

}),
]
})
Loading
Loading