* 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>
* 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
* 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