merge-requests/3190/head
Alex Gleason 2024-11-08 13:16:38 -06:00
rodzic 058917b22f
commit 094e886da0
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 7211D1F99744FBB7
7 zmienionych plików z 8465 dodań i 9306 usunięć

Wyświetl plik

@ -1,4 +1,4 @@
image: node:22
image: denoland/deno:2.0.5
default:
interruptible: true
@ -10,12 +10,12 @@ stages:
build:
stage: build
before_script:
- yarn install --ignore-scripts
- deno install
- apt-get update -y && apt-get install -y zip
script:
- yarn lint
- yarn i18n && git diff --quiet || (echo "Locale files are out of date. Please run `yarn i18n`" && exit 1)
- NODE_ENV=production yarn build
- deno task lint
- deno task i18n && git diff --quiet || (echo "Locale files are out of date. Please run `deno task i18n`" && exit 1)
- NODE_ENV=production deno task build
- cp dist/index.html dist/404.html
- cd dist && zip -r ../soapbox.zip . && cd ..
artifacts:

Wyświetl plik

@ -1 +1 @@
nodejs 21.4.0
deno 2.0.5

8456
deno.lock 100644

Plik diff jest za duży Load Diff

Wyświetl plik

@ -99,6 +99,7 @@
"clsx": "^2.0.0",
"comlink": "^4.4.1",
"cssnano": "^6.0.0",
"csstype": "^3.1.3",
"detect-passive-events": "^2.0.0",
"emoji-datasource": "15.0.1",
"emoji-mart": "^5.6.0",

Wyświetl plik

@ -51,7 +51,7 @@ export function useNostrReq(filters: NostrFilter[]): { events: NostrEvent[]; eos
}, [relay, value]);
return {
events: [...nset.current],
events: [...nset.current.values()],
eose,
closed,
};

Wyświetl plik

@ -23,6 +23,7 @@ import type { AppDispatch } from 'soapbox/store';
// Mock Redux
// https://redux.js.org/recipes/writing-tests/
const rootState = rootReducer(undefined, {} as Action);
// @ts-ignore idk
const mockStore = configureMockStore<typeof rootState, AnyAction, AppDispatch>([thunk]);
/** Apply actions to the state, one at a time. */

9299
yarn.lock

Plik diff jest za duży Load Diff