-
-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e9f6443
commit fac84ae
Showing
244 changed files
with
11,518 additions
and
3,611 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,15 @@ | ||
.DS_Store | ||
node_modules | ||
dist | ||
typings | ||
vite.config.ts | ||
svelte.config.js | ||
public | ||
docs | ||
/build | ||
/.svelte-kit | ||
/package | ||
.env | ||
.env.* | ||
!.env.example | ||
|
||
# Ignore files for PNPM, NPM and YARN | ||
pnpm-lock.yaml | ||
package-lock.json | ||
yarn.lock | ||
|
||
/src-tauri/target/**/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
/** @type { import("eslint").Linter.FlatConfig } */ | ||
module.exports = { | ||
root: true, | ||
extends: [ | ||
'eslint:recommended', | ||
'plugin:@typescript-eslint/recommended', | ||
'plugin:svelte/recommended', | ||
'prettier' | ||
], | ||
parser: '@typescript-eslint/parser', | ||
plugins: ['@typescript-eslint'], | ||
parserOptions: { | ||
sourceType: 'module', | ||
ecmaVersion: 2020, | ||
extraFileExtensions: ['.svelte'] | ||
}, | ||
env: { | ||
browser: true, | ||
es2017: true, | ||
node: true | ||
}, | ||
overrides: [ | ||
{ | ||
files: ['*.svelte'], | ||
parser: 'svelte-eslint-parser', | ||
parserOptions: { | ||
parser: '@typescript-eslint/parser' | ||
} | ||
} | ||
], | ||
rules: { | ||
'@typescript-eslint/no-unused-vars': [ | ||
warn, | ||
{ | ||
argsIgnorePattern: '^_', | ||
varsIgnorePattern: '^_', | ||
caughtErrorsIgnorePattern: '^_' | ||
} | ||
] | ||
} | ||
}; |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
name: 'build-tauri' | ||
# This workflow build a Tauri app for all platforms and upload the binaries as artifacts | ||
|
||
on: | ||
push: | ||
branches: | ||
- gh-pages | ||
- dev/generator-rework | ||
|
||
jobs: | ||
publish-tauri: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
platform: [macos-latest, ubuntu-20.04, windows-latest] | ||
|
||
runs-on: ${{ matrix.platform }} | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: 'latest' | ||
|
||
- name: Install Rust stable | ||
uses: dtolnay/rust-toolchain@stable | ||
|
||
- name: Install dependencies (ubuntu only) | ||
if: matrix.platform == 'ubuntu-20.04' | ||
run: | | ||
sudo apt-get update | ||
sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.0-dev libappindicator3-dev librsvg2-dev patchelf | ||
- name: Install frontend dependencies | ||
run: npm install | ||
|
||
- uses: tauri-apps/tauri-action@v0 | ||
id: tauri | ||
|
||
- name: Upload .dmg binary | ||
if: matrix.platform == 'macos-latest' | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: Jext Plugin Manager_${{ steps.tauri.outputs.appVersion }}_x64.dmg | ||
path: src-tauri/target/release/bundle/dmg/Jext Plugin Manager_${{ steps.tauri.outputs.appVersion }}_x64.dmg | ||
|
||
- name: Upload .deb binary | ||
if: matrix.platform == 'ubuntu-20.04' | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: jext-plugin-manager_${{ steps.tauri.outputs.appVersion }}_amd64.deb | ||
path: src-tauri/target/release/bundle/deb/jext-plugin-manager_${{ steps.tauri.outputs.appVersion }}_amd64.deb | ||
|
||
- name: Upload .appimage binary | ||
if: matrix.platform == 'ubuntu-20.04' | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: jext-plugin-manager_${{ steps.tauri.outputs.appVersion }}_amd64.AppImage | ||
path: src-tauri/target/release/bundle/appimage/jext-plugin-manager_${{ steps.tauri.outputs.appVersion }}_amd64.AppImage | ||
|
||
- name: Upload .msi installer | ||
if: matrix.platform == 'windows-latest' | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: Jext Plugin Manager_${{ steps.tauri.outputs.appVersion }}_x64_en-US.msi | ||
path: src-tauri/target/release/bundle/msi/Jext Plugin Manager_${{ steps.tauri.outputs.appVersion }}_x64_en-US.msi | ||
|
||
- name: Upload .exe installer | ||
if: matrix.platform == 'windows-latest' | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: Jext Plugin Manager_${{ steps.tauri.outputs.appVersion }}_x64-setup.exe | ||
path: src-tauri/target/release/bundle/nsis/Jext Plugin Manager_${{ steps.tauri.outputs.appVersion }}_x64-setup.exe |
Oops, something went wrong.