Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dev/generator rework #249

Closed
wants to merge 31 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
bc73018
init rework
spartacus04 Sep 5, 2023
9bdadd8
init rework
spartacus04 Sep 5, 2023
9739939
Start reworking everything
spartacus04 Sep 6, 2023
af9054f
Tweak docs and config | start re-adding discs | window state management
spartacus04 Sep 7, 2023
53a7d2f
Remove docs dir
spartacus04 Sep 7, 2023
bdc2bf3
Add barrel files
spartacus04 Sep 9, 2023
86f0526
init AddDiscPopup
spartacus04 Sep 14, 2023
6ae0387
new rework
spartacus04 Mar 5, 2024
88d7fa1
begin to add ffmpeg conversion | tauri setup | finish disc adding
spartacus04 Mar 7, 2024
be5a577
fix ffmpeg browser fallback | include multithreaded version when avai…
spartacus04 Mar 8, 2024
023d369
add discs preview | begin to work on multiple selection
spartacus04 Mar 8, 2024
931d4e3
fix multiple selection | work a bit on the docs
spartacus04 Mar 8, 2024
6f82957
Begin to add disc editor | Add tooltip preview
spartacus04 Mar 11, 2024
76b8281
finish disc management | fix multiple disc selection | update docs | …
spartacus04 Mar 13, 2024
c397264
Add icon | fix gh action
spartacus04 Mar 13, 2024
d27978a
fix gh action
spartacus04 Mar 13, 2024
e430dda
fix gh action
spartacus04 Mar 13, 2024
0bae8b7
add tauri deep linking
spartacus04 Mar 19, 2024
78b759a
add cleanup-artifacts workflow
spartacus04 Mar 19, 2024
8a58a3a
fix cleanup-artifacts workflow
spartacus04 Mar 19, 2024
b08d0ad
fix cleanup-artifacts workflow
spartacus04 Mar 19, 2024
e5a78e1
Add resourcepack generation
spartacus04 Mar 20, 2024
df3c2fe
made generation more "minecrafty" | finish rp merging
spartacus04 Mar 21, 2024
ef5d1ff
rename "name" to "title" in jext.json
spartacus04 Mar 22, 2024
4462501
fix pack.mcmeta & ffmpeg loading multiple times
spartacus04 Mar 22, 2024
a496dfb
Add SEO | Add apply to server button
spartacus04 Mar 24, 2024
6edaa31
fix bedrock generation parity issue
spartacus04 Mar 24, 2024
d1856b7
Lint & fix rp generation
spartacus04 Mar 25, 2024
e555ef6
Finish writing docs & add desktop app download
spartacus04 Mar 25, 2024
3c078df
Lint pages
spartacus04 Mar 25, 2024
4a17b61
Add build-website action
spartacus04 Mar 25, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions .editorconfig

This file was deleted.

20 changes: 14 additions & 6 deletions .eslintignore
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/**/*
41 changes: 41 additions & 0 deletions .eslintrc.cjs
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: '^_'
}
]
}
};
117 changes: 0 additions & 117 deletions .eslintrc.json

This file was deleted.

73 changes: 73 additions & 0 deletions .github/workflows/build-tauri.yml
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
Loading
Loading