feat(tauri) use config as JSON (#214)

* feat(tauri.js): move to typescript

* fix(tauri.js): properly export api as commonjs

* feat(tauri.js): convert tauricon to typescript

* fix(tauri.js/tauricon): type error

* chore(tauri.js/package): update yarn.lock

* chore(tauri.js/package): add build/pretest scripts

* refactor(tauri.js/template): remove duplicate types

* feat(tauri.js): use tauri.conf.json instead of .js

* feat(tauri) read config using tauri.conf.json

* fix(tauri) read devPath index.html from distDir

* chore(examples) move to conf.json

* chore(tauri.js) remove todo

* fix(ci) TAURI_DIR env variable

* fix(examples) move svelte-app config to tauri.conf.json

* fix(examples): line endings tauri.conf.json

* addition to previous commit

* fix(test): EOF in tauri.conf.json

Co-authored-by: Noah Klayman <noahklayman@gmail.com>
Co-authored-by: nothingismagick <drthompsonsmagickindustries@gmail.com>
This commit is contained in:
Lucas Fernandes Nogueira
2019-12-26 11:24:36 -03:00
committed by nothingismagick
parent 8489a9a520
commit a4e229ca10
38 changed files with 353 additions and 370 deletions

View File

@@ -76,7 +76,7 @@ jobs:
run: cargo build
env:
TAURI_DIST_DIR: ../../test/fixture/dist
TAURI_DIR: ../test/fixture
TAURI_DIR: ../test/fixture/src-tauri
- run: cargo install --path ./cli/tauri-cli --force
- name: install cli deps via yarn
run: |

View File

@@ -30,7 +30,7 @@ jobs:
cargo build
env:
TAURI_DIST_DIR: ../../test/fixture/dist
TAURI_DIR: ../test/fixture/
TAURI_DIR: ../test/fixture/src-tauri
build-tauri-bundler:
runs-on: ${{ matrix.platform }}