get outta here
This commit is contained in:
parent
28b8301aed
commit
428974baa1
37
.github/CONTRIBUTING.md
vendored
37
.github/CONTRIBUTING.md
vendored
@ -1,37 +0,0 @@
|
|||||||
## Contributing
|
|
||||||
|
|
||||||
Welcome to The Lounge, it's great to have you here! We thank you in advance for
|
|
||||||
your contributions.
|
|
||||||
|
|
||||||
### I want to report a bug
|
|
||||||
|
|
||||||
- Look at the [open and closed
|
|
||||||
issues](https://github.com/thelounge/thelounge/issues?q=is%3Aissue) to see if
|
|
||||||
this was not already discussed before. If you can't see any, feel free to
|
|
||||||
[open a new issue](https://github.com/thelounge/thelounge/issues/new).
|
|
||||||
- If you think you discovered a security vulnerability, **do not open a public
|
|
||||||
issue on GitHub.** Refer to our [security guidelines](/SECURITY.md) instead.
|
|
||||||
|
|
||||||
### I want to contribute to the code
|
|
||||||
|
|
||||||
- Make sure to discuss your ideas with the community in an
|
|
||||||
[issue](https://github.com/thelounge/thelounge/issues) or on the IRC channel.
|
|
||||||
- Take a look at the open issues labeled as [`help wanted`](https://github.com/thelounge/thelounge/labels/help%20wanted)
|
|
||||||
if you want to help without having a specific idea in mind.
|
|
||||||
- Make sure that your PRs do not contain unnecessary commits or merge commits.
|
|
||||||
[Squash commits](https://git-scm.com/book/en/v2/Git-Tools-Rewriting-History)
|
|
||||||
whenever possible.
|
|
||||||
- [Rebase](https://git-scm.com/book/en/v2/Git-Branching-Rebasing) (instead of
|
|
||||||
merge) outdated PRs on the `master` branch.
|
|
||||||
- Give extra care to your commit messages. Use the [imperative present
|
|
||||||
tense](https://git-scm.com/book/ch5-2.html#Commit-Guidelines) and [follow Tim
|
|
||||||
Pope's guidelines](http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html).
|
|
||||||
- Each PR will be reviewed by at least two different project maintainers. You
|
|
||||||
can read more about this in the [maintainers'
|
|
||||||
corner](https://github.com/thelounge/thelounge/wiki/Maintainers'-corner).
|
|
||||||
- Please document any relevant changes in the documentation that can be found
|
|
||||||
[in its own repository](https://github.com/thelounge/thelounge.chat).
|
|
||||||
- Note that we use prettier on the project. You can set up IDE plugins to format
|
|
||||||
on save ([see VS Code one here](https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode)).
|
|
||||||
- We have a git hook to automatically run prettier before commit, in case you don't install the plugin.
|
|
||||||
- If for any reason, prettier does not work for you, you can run `yarn format:prettier` and that should format everything.
|
|
14
.github/ISSUE_TEMPLATE/Bug_Report.md
vendored
14
.github/ISSUE_TEMPLATE/Bug_Report.md
vendored
@ -1,14 +0,0 @@
|
|||||||
---
|
|
||||||
name: Bug Report
|
|
||||||
about: Create a bug report
|
|
||||||
labels: "Type: Bug"
|
|
||||||
---
|
|
||||||
|
|
||||||
<!-- Have a question? Join #thelounge on Libera.Chat -->
|
|
||||||
|
|
||||||
- _Node version:_
|
|
||||||
- _Browser version:_
|
|
||||||
- _Device, operating system:_
|
|
||||||
- _The Lounge version:_
|
|
||||||
|
|
||||||
---
|
|
10
.github/ISSUE_TEMPLATE/Feature_Request.md
vendored
10
.github/ISSUE_TEMPLATE/Feature_Request.md
vendored
@ -1,10 +0,0 @@
|
|||||||
---
|
|
||||||
name: Feature Request
|
|
||||||
about: Request a new feature
|
|
||||||
labels: "Type: Feature"
|
|
||||||
---
|
|
||||||
|
|
||||||
<!-- Have a question? Join #thelounge on Libera.Chat. -->
|
|
||||||
<!-- Make sure to check the existing issues prior to submitting your suggestion. -->
|
|
||||||
|
|
||||||
### Feature Description
|
|
16
.github/ISSUE_TEMPLATE/config.yml
vendored
16
.github/ISSUE_TEMPLATE/config.yml
vendored
@ -1,16 +0,0 @@
|
|||||||
contact_links:
|
|
||||||
- name: Docker container issues
|
|
||||||
url: https://github.com/thelounge/thelounge-docker/issues
|
|
||||||
about: Report issues related to the Docker container here
|
|
||||||
|
|
||||||
- name: Debian package issues
|
|
||||||
url: https://github.com/thelounge/thelounge-deb/issues
|
|
||||||
about: Report issues related to the Debian package here
|
|
||||||
|
|
||||||
- name: Arch Linux package issues
|
|
||||||
url: https://github.com/thelounge/thelounge-archlinux/issues
|
|
||||||
about: Report issues related to the Arch Linux package here
|
|
||||||
|
|
||||||
- name: General support
|
|
||||||
url: https://demo.thelounge.chat/?join=%23thelounge
|
|
||||||
about: "Join #thelounge on Libera.Chat to ask a question before creating an issue"
|
|
11
.github/SUPPORT.md
vendored
11
.github/SUPPORT.md
vendored
@ -1,11 +0,0 @@
|
|||||||
## Support
|
|
||||||
|
|
||||||
Welcome to The Lounge, it's great to have you here! If you have a question, or
|
|
||||||
need help, you have a few options:
|
|
||||||
|
|
||||||
- Check out [existing questions on Stack Overflow](https://stackoverflow.com/questions/tagged/thelounge)
|
|
||||||
to see if yours has been answered before. If not, feel free to [ask for a new question](https://stackoverflow.com/questions/ask?tags=thelounge)
|
|
||||||
(using `thelounge` tag so that other people can easily find it).
|
|
||||||
- Find us on the Libera.Chat channel `#thelounge`. You might not get an answer
|
|
||||||
right away, but this channel is full of nice people who will be happy to
|
|
||||||
help you.
|
|
48
.github/workflows/build.yml
vendored
48
.github/workflows/build.yml
vendored
@ -1,48 +0,0 @@
|
|||||||
name: Build
|
|
||||||
|
|
||||||
permissions:
|
|
||||||
contents: read
|
|
||||||
|
|
||||||
on: [push, pull_request]
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
build:
|
|
||||||
name: Node ${{ matrix.node_version }} on ${{ matrix.os }}
|
|
||||||
|
|
||||||
strategy:
|
|
||||||
matrix:
|
|
||||||
include:
|
|
||||||
# EOL: April 2024
|
|
||||||
- os: ubuntu-latest
|
|
||||||
node_version: 16.x
|
|
||||||
- os: macOS-latest
|
|
||||||
node_version: 18.x
|
|
||||||
- os: windows-latest
|
|
||||||
node_version: 18.x
|
|
||||||
# EOL: April 2025
|
|
||||||
- os: ubuntu-latest
|
|
||||||
node_version: 18.x
|
|
||||||
# EOL: April 2026
|
|
||||||
- os: ubuntu-latest
|
|
||||||
node_version: 20.x
|
|
||||||
|
|
||||||
runs-on: ${{ matrix.os }}
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@master
|
|
||||||
|
|
||||||
- name: Setup Node.js
|
|
||||||
uses: actions/setup-node@v3
|
|
||||||
with:
|
|
||||||
node-version: ${{ matrix.node_version }}
|
|
||||||
|
|
||||||
- name: Install
|
|
||||||
run: yarn --frozen-lockfile --non-interactive
|
|
||||||
|
|
||||||
- name: Build
|
|
||||||
run: yarn build
|
|
||||||
env:
|
|
||||||
NODE_ENV: production
|
|
||||||
|
|
||||||
- name: Test
|
|
||||||
run: yarn test
|
|
55
.github/workflows/release.yml
vendored
55
.github/workflows/release.yml
vendored
@ -1,55 +0,0 @@
|
|||||||
name: Release
|
|
||||||
|
|
||||||
permissions:
|
|
||||||
contents: read
|
|
||||||
id-token: write
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
tags: v*
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
release:
|
|
||||||
name: Release workflow
|
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@master
|
|
||||||
|
|
||||||
- name: Setup Node.js
|
|
||||||
uses: actions/setup-node@v3
|
|
||||||
with:
|
|
||||||
registry-url: "https://registry.npmjs.org/"
|
|
||||||
|
|
||||||
- name: Install
|
|
||||||
run: yarn --frozen-lockfile --non-interactive
|
|
||||||
|
|
||||||
- name: Build
|
|
||||||
run: yarn build
|
|
||||||
env:
|
|
||||||
NODE_ENV: production
|
|
||||||
|
|
||||||
- name: Test
|
|
||||||
run: yarn test
|
|
||||||
|
|
||||||
- name: Update npm
|
|
||||||
run: npm install -g npm
|
|
||||||
|
|
||||||
- name: Publish latest
|
|
||||||
if: "!contains(github.ref, '-')"
|
|
||||||
run: npm publish --tag latest --provenance
|
|
||||||
env:
|
|
||||||
NODE_AUTH_TOKEN: ${{ secrets.NODE_AUTH_TOKEN }}
|
|
||||||
|
|
||||||
- name: Publish next
|
|
||||||
if: contains(github.ref, '-')
|
|
||||||
run: npm publish --tag next --provenance
|
|
||||||
env:
|
|
||||||
NODE_AUTH_TOKEN: ${{ secrets.NODE_AUTH_TOKEN }}
|
|
||||||
|
|
||||||
- name: Remove next tag
|
|
||||||
if: "!contains(github.ref, '-')"
|
|
||||||
run: npm dist-tag rm thelounge next || true
|
|
||||||
env:
|
|
||||||
NODE_AUTH_TOKEN: ${{ secrets.NODE_AUTH_TOKEN }}
|
|
Loading…
Reference in New Issue
Block a user