* use file as version for local links
this also makes it closer to the production version and less likely to accidentally introudce an issue
* always install latest without asking
* work around issues with esbuild installing properly
* test shouldn't run build-release on the cli
* build cli.js and api outside of the test
* try test on windows
* change file
* switch back to linux test
* -y prompt not available on npm@6, remove
* pipe
* CTA welcome prompt and recipes links
* fix tests for new recipe names
* check that package file exists before build
* change file
* turn off vuecli tests until we can get them to pass
* better defaults in CI mode
* chalk should be a dep since it needs to be installed by user
* always install webkit2gtk
* avoid installing `cli.js` from npm in `--dev` mode
* use correct path for `api` linking in tests
* update `tauri.conf.json` after init
* remove `beforeBuild/DevCommand` from vanilla recipe
* explicitly install `vite` deps
* change file
Co-authored-by: amrbashir <48618675+amrbashir@users.noreply.github.com>
* feat: setup testing for CTA
* install with yarn
* build before test
* add yarn to npm runs for install / test start
* add dev mode to link cli.js and api locally
* remove fixtures
* run tests serially
* cli.js build-release avoids webpack error
* assert on package.json contents as first check
* run tauri build and split out custom asserts
* add changefile
* shorten workflow name
* too short
* exclude npm@6 on node@16
* increase timeout, tauri build takes a bit of time
* only assert that the tauri script exists
* chore: update install commands in setup scripts
* chore(examples/api): add `tauri` script
* chore(contributing.md): update to match new developments
* fix(scripts/setup): typo
* chore(examples): replace communication with helloworld
* remove deno submodule as it was added on accident
* fix(examples/helloword): add __tauri.js to .gitignore
* fix(examples): helloworld example with `cargo run`, change dev path
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
* fix: webpack progress display options not valid
It seems something changed that the progress and display options we were using the hide the output are no longer valid. Remove them.
* add build-release as part of tests
* feat: build tauri communication app on demand
* add run command
* manually set defaults, build tauri.js
* add script defaults and options
* run command doesn't need the `yarn` and `build`
* try just build?
* empty script
* just skip it for now
* try fix on fix/paths-expect-arrays branch
* add tauri as script
* use nested folders
* enable on pr again
* switch to preferGlobal
* skip install
* build without action
* flip global
* list
* add yarn bin to path
* now try with action
* extra spaces
* prepare for release
* don't run on pr
* 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>
* reorder packages that core is published last
* general ledger comment, not just npm
* we do want to create releases
* leading ! does not seem to negate
* dump a bunch of info to debug
* add covector to root
* add workflow to covector config
* bump covector
* add webkit install on publish
* create workflow to version and publish
* remove workflows no longer needed
* add repo info to root package.json
* add early exits based on new output
* switch to dry run version of publish commands
* latest branch is being removed in this PR
* add summary component around yarn audit
* chore: add audit button and yarn audit
This is a new feature that should give us a button that we can click a button to see audit results rather than waiting for a cron or a run within our workflows.
* split audit into js and rust
* perf(workflow) run bundler test only when the bundler changes
* perf(workflow) split clippy/eslint/fmt checks
* chore(workflow) rerun if workflow file change
* chore(workflow) fix name
* fix(tests) bundler test on windows, removed since it's not used
This fixes the commit so it includes "version updates" in the text. As it is a single commit, the default squash behavior uses the commit instead of the PR title for the commit that shows up in the dev branch (which wouldn't trigger the next workflow).
* update readme with notes about character limits and designating bumps
* edit PR template to note addition of a change file
* add change file for #674
* add change file for #673
* add change file for #672
* add change file for #671
* add version action
* set version command in config
* add change file for #677
* add labels to PRs
* Update .changes/tauri-info-crash.md
Co-authored-by: Rajiv Shah <rajivshah1@icloud.com>
* Update .changes/HttpRequestBuilder-implementation.md
Co-authored-by: Rajiv Shah <rajivshah1@icloud.com>
* Update kill-beforeDevProcess-on-shutdown.md
* Update reflect-conf-changes.md
Co-authored-by: Rajiv Shah <rajivshah1@icloud.com>
Co-authored-by: Lucas Fernandes Nogueira <lucasfernandesnog@gmail.com>
We are turning off the smoke tests for the time being as they are eating up our runners to much relative to the value we are currently getting from them. We will enable them in the future in a way that makes better use of our resources.
* install webkit after we confirmed we will publish
this should speed up the publish sequence as we now only run one at a time
* new lines don't work, use empty echo
We were running into race conditions where one package depended on another being published. Limit to only allow one publish at a time, and sort based on dependencies to (hopefully) eliminate the race condition.
* 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>
`tauri-bundler` is not in the main cargo workspace so the target directory is not in the top level. Update the publishPath to compensate.
Also removing a couple extraneous things that aren't needed either. We had an extra '/' and we don't need to bother showing the directory within the `cargo package` command.
* feature(workflows): Add ESLint check to workflow
* Use setup-node v1.x.x instead of v1.0.0
Co-Authored-By: Jacob Bolda <me@jacobbolda.com>
Co-authored-by: Jacob Bolda <me@jacobbolda.com>