Skip to content

Commit

Permalink
FlatHub Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
adenlall committed Mar 29, 2024
1 parent 062699e commit 5efbb55
Show file tree
Hide file tree
Showing 160 changed files with 164,589 additions and 2,336 deletions.
14 changes: 14 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
root = true

[*]
indent_style = space
indent_size = 2
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = false

[*.{js,json,ts}]
indent_size = 4

[*.{js,ts}]
insert_final_newline = true
4 changes: 4 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/types/**
/gi-types/**
.eslintrc.js
_build
20 changes: 20 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
module.exports = {
extends: [
'eslint:recommended',
'plugin:@typescript-eslint/recommended',
'plugin:@typescript-eslint/recommended-requiring-type-checking',
'prettier',
],
parser: '@typescript-eslint/parser',
parserOptions: {
sourceType: 'module',
project: 'tsconfig.json',
tsconfigRootDir: __dirname,
},
rules: {
'@typescript-eslint/restrict-template-expressions': ['error', { allowNullish: true, },],
'prettier/prettier': 'error',
},
plugins: ['@typescript-eslint', 'prettier'],
root: true,
};
1 change: 0 additions & 1 deletion .flatpak-builder/ccache/disabled/ccache.conf

This file was deleted.

1 change: 0 additions & 1 deletion .flatpak-builder/checksums/i386-app.salatok.gtk.yml

This file was deleted.

13 changes: 0 additions & 13 deletions .github/FUNDING.yml

This file was deleted.

38 changes: 0 additions & 38 deletions .github/ISSUE_TEMPLATE/bug_report.md

This file was deleted.

20 changes: 0 additions & 20 deletions .github/ISSUE_TEMPLATE/feature_request.md

This file was deleted.

19 changes: 9 additions & 10 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
build
obj-i686-linux-gnu
debian/.debhelper
debian/salatokapp
flatpak-builder
.flatpak-builder
repo
git
dir
build-dir
_build
**/*.swp
**/*.*~
**/tags.*
.flatpak
node_modules/
.vscode/
.fenv/
.flatpak-builder/
39 changes: 39 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
include:
- project: "gnome/citemplates"
file: "flatpak/flatpak_ci_initiative.yml"

variables:
GIT_SUBMODULE_STRATEGY: recursive
GIT_SUBMODULE_DEPTH: 1
MANIFEST_PATH: "com.github.adenlall.salatok-gtk.json"
BUNDLE: "salatok.flatpak"
FLATPAK_MODULE: "salatok"
RUNTIME_REPO: "https://nightly.gnome.org/gnome-nightly.flatpakrepo"
APP_ID: "com.github.adenlall.salatok-gtk"

flatpak:
extends: '.flatpak@x86_64'
before_script:
- flatpak --user install -y org.freedesktop.Sdk.Extension.node18//23.08 org.freedesktop.Sdk.Extension.typescript//23.08

flatpak-aarch64:
extends: '.flatpak@aarch64'
before_script:
- flatpak --user install -y org.freedesktop.Sdk.Extension.node18//23.08 org.freedesktop.Sdk.Extension.typescript//23.08

nightly:
extends: ".publish_nightly"

eslint:
image: quay.io/fedora/fedora:latest

variables:
LINT_LOG: "eslint-report.txt"
script:
- sudo dnf install -y npm
- npm install
- npx eslint -o $LINT_LOG --no-color src || { cat $LINT_LOG; false; }
artifacts:
paths:
- ${LINT_LOG}
when: on_failure
19 changes: 19 additions & 0 deletions .gitlab/issue_templates/Bug.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Description of the bug

Detail the issue that you're facing as much as possible. Put as much
information as you can, potentially with images showing the issue.

Salatok version:

Operating system:

Steps to reproduce:

1. Open Salatok
2. Change X to something else
3. ...

Expected result:

Actual result:

21 changes: 21 additions & 0 deletions .gitlab/issue_templates/Feature.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Description

Please describe your feature with details.
Add screenshots, design images or other files which would help for
understanding the feature or for implementation.
Also add links when needed, for instance for implementation standards
or other relevant resources.

Proposed Mockups:

## Design Tasks

* [ ] design tasks

## Development Tasks

* [ ] development tasks

## QA Tasks

* [ ] qa (quality assurance) tasks
4 changes: 4 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[submodule "gi-types"]
path = gi-types
url = https://gitlab.gnome.org/BrainBlasted/gi-typescript-definitions.git
branch = nightly
3 changes: 3 additions & 0 deletions .prettierrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module.exports = {
singleQuote: true,
}
7 changes: 7 additions & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
Meg Ford <megford@gnome.org>

Design by:

Reda Lazri <the.red.shortcut@gmail.com>
Garrett LaSage <garrettl@gmail.com>
Hylke Bons <hylkebons@gmail.com>
Loading

0 comments on commit 5efbb55

Please sign in to comment.