Commit Graph

12 Commits

Author SHA1 Message Date
Lucas Fernandes Nogueira
77282c1e51
feat(tauri.js) add dependency manager command (#829) 2020-07-15 18:01:37 -03:00
Lucas Fernandes Nogueira
960ad58c12
feat(tauri.js) validate tauri.conf.json schema on runtime (#756) 2020-07-07 15:42:15 -03:00
nothingismagick
2681ad361b
refactor(tauri.js) rewrite API module in TypeScript, closes #679 #435 (#703)
Co-authored-by: Quentin Goinaud <armaldio@gmail.com>
Co-authored-by: Lucas Fernandes Nogueira <lucasfernandesnog@gmail.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2020-06-27 12:20:00 -03:00
Lucas Fernandes Nogueira
ce8a7b8f6a
feat(tauri.js) automatically detect current tauri version for template (#697) 2020-06-18 13:53:41 -03:00
Lucas Fernandes Nogueira
37afc5b0dc
fix(tauri.js) determine app path correctly (#493)
* fix(tauri.js) determine app path correctly

* fix(lint): replace backtick with single-quote

* fix(tests) mock app-paths

* fix(tauri.js) linting

* fix(test) use local tauri on empty fixture

* fix(tauri.js) linting

* fix(workflows) use local tauri-bundler test-tauri-js-cli

* fix(workflows) wrong cargo install command

* fix(tauri) comment webview-spawning test

Co-authored-by: nothingismagick <denjell@sfosc.org>
2020-03-09 21:27:54 -03:00
Lucas Fernandes Nogueira
d37efa5605
test(tauri.js) add template test, close #427 (#501)
* test(tauri.js) add template test

* fix(lint) ignore prefer-optional-chain because babel-jest wont accept it

* feat(webpack) raw-loader test for windows

* fix(workflow) install tauri-bundler

* fix(EOF)

* chore(test) try with done cb

* fix(test) cwd scope

* fix(test) transform regex for windows

* fix(test) windows regex on jest transform

Co-authored-by: nothingismagick <denjell@sfosc.org>
2020-03-09 17:57:27 -03:00
Lucas Fernandes Nogueira
abd5c698bd
feat(tests) add e2e test (#244)
* feat(tauri.js) add API endpoint proxy

* feat(tauri.js) always resolve/reject proxy promise

* chore(proxy) wait for onTauriInit to start direct proxy to window.tauri

* feat(tests) add project for initial e2e test

* chore(tauri) remove whitespaces on runner.rs

* chore(test): remove updater.rs

* feat(tests) move e2e test to tauri.js/test/jest

thanks to @laegel for the awesome work moving the test code to jest

* feat(tests) prepare build for modes tests

* fix(tests) properly run build tests

* feat(tests) add dev e2e test

* fix(tests) cleanup

* chore(tests) move e2e test from express to http.createServer

* chore(tauri.js) husky back to 4.0.10

* chore(tests) custom transformer to export with default

* chore(tests) use jest mapping instead of relative paths

* chore(tests) move dev e2e test to http.createServer

* chore(tests) move dev/build e2e test to tes.each instead of for loop

* chore(tauri.js) add comment to non-webpack-require.ts

* chore(tests) change test.each to it.each

* chore(tests) adjust it.each message signature

* fix(tests) adjust to properly run on initial build

* fix(tests) properly cleanup

* fix(tests) wait server.close to reject test

* fix(tests) wait server.close to resolve test

* fix(actions) install webkit2gtk-4.0 on test-tauri-js-cli

* fix(ci) install tauri-cli on test-tauri-js-cli

* fix(tauri.js) lint errors

Co-authored-by: Lucas Nogueira <lucas@quasar.dev>
Co-authored-by: nothingismagick <denjell@sfosc.org>
2020-03-07 13:40:24 -03:00
Lucas Fernandes Nogueira
78f1e03495
feat(tauri.js) inject MutationObserver to lazy load JS/CSS on no… (#355)
* feat(tauri.js) inject MutationObserver to lazy load scripts on no-server

* feat(tauri.js) add disable inliner config

* fix(tauri.js) add types

* feat(tauri.js&tauri) lazy load CSS files on mutation observer
2020-01-27 10:03:27 -03:00
Lucas Fernandes Nogueira
3ce95d2760
feat(tauri.js) add tauri info command (#236)
* feat(tauri.js) add `tauri info` command

* fix(bug-report): add command information
- thanks @nklayman for the reminder

* fix(tauri-info): add cargo version

* feat(tauri.js) add cargo.toml and tauri.conf.json info

Co-authored-by: nothingismagick <drthompsonsmagickindustries@gmail.com>
2019-12-27 20:37:21 -03:00
Lucas Fernandes Nogueira
7845ec0e7a
refactor(tauri.js) keep folder structure on /dist (#235) 2019-12-27 20:34:24 -03:00
Lucas Fernandes Nogueira
a4e229ca10 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>
2019-12-26 15:24:36 +01:00
Noah Klayman
fab788b4bd [needs review] Convert tauri.js to typescript (#203)
* 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

* chore(tauri.js) lint-fix

* fix(tauri.js) build tauricon.ts

* chore(tauri.js) remove unused code

Co-authored-by: nothingismagick <drthompsonsmagickindustries@gmail.com>
Co-authored-by: Lucas Fernandes Nogueira <lucasfernandesnog@gmail.com>
2019-12-24 09:40:03 -03:00