* chore: add prettier for js/ts formatting
* fix lint-staged to object
* test commit
* format all
* lock file bump
* eslint extends prettier
This will let us skip rules in eslint that prettier can control. Prettier for styles, eslint for code errors.
* add prettier config
* roll back to what we had with eslint settings
* skip mutation observer
* add prettier typescript eslint
* run prettier in lint workflow
* format:check script
* turn off space before function in eslint
it is fighting with prettier
* fix dir in workflow
* remove semis
* add api to eslint
* shift eslint ignore comment after prettier format
* ignore errors that currently exist
* build:typevalidators
* replace was broken on typevalidator build
* try pushing up error
* format
* try removing working dir from eslint workflow
* try node 12
* fix indent in action
* bump eslint
* fix supposeded error and try another
* try breaking eslint
* try building in action
* adjust action paths again
* need dot
* remove build
* fix(tauri.js/eslint): escape glob *
* fix(tauri.js): ignore lint error
* Create prettier-taurijs.md
Co-authored-by: Noah Klayman <noahklayman@gmail.com>
* 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>
* 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>
* refactor(tauri.js): move command code into helpers
* reafactor(tauri.js): move command helpers to api dir
* fix(tauri.js/tests): import tauricon from proper dir
* fix(tauri.js/tests): add api dir to moduleNameMapper