mirror of
https://github.com/stoatchat/for-legacy-web.git
synced 2026-03-09 18:15:28 +00:00
chore: repository clean-up
This commit is contained in:
@@ -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
|
|
||||||
12
README.md
12
README.md
@@ -4,6 +4,18 @@
|
|||||||
|
|
||||||
This is the web client for Revolt, which is also available live at [app.revolt.chat](https://app.revolt.chat).
|
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
|
## Stack
|
||||||
|
|
||||||
- [Preact](https://preactjs.com/)
|
- [Preact](https://preactjs.com/)
|
||||||
|
|||||||
@@ -1,3 +0,0 @@
|
|||||||
{
|
|
||||||
"routes": [{ "src": "/[^.]+", "dest": "/", "status": 200 }]
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user