chore: repository clean-up

This commit is contained in:
Paul Makles 2022-06-09 14:58:39 +01:00
parent 72e60b7528
commit ec8b51f559
4 changed files with 12 additions and 44 deletions

View file

@ -1,40 +0,0 @@
image: node:16-buster
variables:
GIT_SUBMODULE_STRATEGY: recursive
cache:
paths:
- node_modules
# Fetch dependencies and setup project for compilation.
install:
stage: prepare
script:
- yarn
# Type check the project
typecheck:
stage: test
needs:
- install
dependencies:
- install
script:
- yarn typecheck
# Lint the project and check prettier output.
lint:
stage: test
allow_failure: true
needs:
- install
dependencies:
- install
script:
- yarn lint
- yarn --check 'src/**/*.{js,jsx,ts,tsx}'
stages:
- prepare
- test

View file

@ -4,6 +4,18 @@
This is the web client for Revolt, which is also available live at [app.revolt.chat](https://app.revolt.chat).
## Pending Rewrite
The following code is pending a partial or full rewrite:
- `src/components`: components are being migrated to [revoltchat/components](https://github.com/revoltchat/components)
- `src/styles`: needs to be migrated to [revoltchat/components](https://github.com/revoltchat/components)
- `src/context/intermediate`: modal system is being rewritten from scratch
- `src/context/revoltjs`: client state management needs to be rewritten and include support for concurrent clients
- `src/lib`: this needs to be organised
- `src/*.ts(x)`: half of these files should be moved
- `src/*.d.ts`: should be in dedicated types folder
## Stack
- [Preact](https://preactjs.com/)

View file

@ -1 +0,0 @@
0.5.3-1

View file

@ -1,3 +0,0 @@
{
"routes": [{ "src": "/[^.]+", "dest": "/", "status": 200 }]
}