* refactor(cta): use `commander` instead of `minimst`
* fix default
* pin deps
* update lock file
* rearrange options
* style changes
* colorful help message
* add missing `dev` option
* style
* use local api for tests
* concise checks for vite and solid
* update lock file
* fix api formatting
* improvements to updating json files
* hopefully the last commit in this PR
* fix eslint
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
* include lockfile-lint in devDependencies
* add cljs template
* lockfile lint should be included as part of another pr
* few fixes
- Added url for the create-cljs-app project
- Added beforeDevCommand and beforeBuildCommand
- Make sure to delete redundant lockfile depending on package manager
* reinstall dependencies after deleting lockfiles
* fix eslint check
* add support for `pnpm`
Co-authored-by: amrbashir <48618675+amrbashir@users.noreply.github.com>
`--dev` is not a valid option for `tauri` cli; instead, we should use
`-- dev` or just `dev`. Also, we can just use `tauri dev` for all
package managers so we don't need to do the npm checking.
* convert jest tests to child_process run script
* remove vuecli (it freezes), add angular
* run cargo build in correct dir
* add in asserts on fs
* normalize assert for node14
* fix installing empty dependencies
* add messages to asserts
* use test dir to check if running local cli
* try running in parallel
* run in parallel and log output serially
* avoid parallel, skip yarn for now
* add change file
* disable running with npm6 due to vite fail
Co-authored-by: amrbashir <48618675+amrbashir@users.noreply.github.com>
* 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
* feat(cta): add support for all vite templates
* vite template dir removed, ignore template step for now
Co-authored-by: Jacob Bolda <me@jacobbolda.com>
* 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>