Sohum
1dc208356a
fix(cli): use shell on win32 for update
( #1503 ) ( #1504 )
...
If there is no `npm.exe` on the system, but
instead an `npm.cmd`, then node won't find
the `npm` executable when calling `spawnSync`.
This occurs frequently when using node package
managers on Windows.
See the node documentation for `.bat` and `.cmd`
files here.
<https://nodejs.org/api/child_process.html#spawning-bat-and-cmd-files-on-windows >.
2024-10-13 10:46:51 -07:00
Jacky Zhao
b014d060f3
fix: content-disposition inline should apply to all resource types ( closes #728 )
2024-01-28 22:12:01 -08:00
Jacky Zhao
bf5a556cc1
docs: improve first-time git setup
2024-01-28 00:20:08 -08:00
Jacky Zhao
efdce070e1
deps: bump flexsearch
2024-01-27 22:15:25 -08:00
kabirgh
30640e3441
Revert "fix: rebuild errors on windows ( #692 )" ( #695 )
...
This reverts commit 8eec47c340
.
2024-01-15 11:51:46 -08:00
kabirgh
8eec47c340
fix: rebuild errors on windows ( #692 )
2024-01-15 08:39:16 -08:00
ikorihn
0a8c38dc21
fix: small typos ( #686 )
2024-01-13 09:09:41 -08:00
Jimmy He
002bbc37b1
fix: Continue setup even if a file to delete is not found ( #663 )
...
* Continue setup even if a file to delete is not found
For various reasons, `.gitkeep` may be deleted already.
(In my case, even though I followed the [Getting Started](https://quartz.jzhao.xyz ) instructions exactly, my first run resulted in an `fatal: 'upstream' does not appear to be a git repository`)
If we try to delete `.gitkeep` again and don't ignore `ENOENT`, then the whole setup fails.
* Use fs.existsSync
2024-01-01 14:14:37 -08:00
Jacky Zhao
c35818c336
fix: set upstream in sync handler, cleanup docs around setting up github
2023-12-14 16:48:09 -08:00
Jacky Zhao
1b92440009
fix: better error handling on spawnsync failures
2023-12-11 10:38:55 -08:00
Jacky Zhao
5196f3b9db
docs: github setup and hosting fixes
2023-12-03 23:25:40 -08:00
Jacky Zhao
cf6ab9e933
feat: option to specify npx quartz sync message ( closes #583 )
2023-11-12 14:27:53 -08:00
Jacky Zhao
af9ddadc4d
fix(css): import base from custom instead of the other way around ( #536 )
2023-10-14 13:45:56 -07:00
Jeremy Press
b6b1dabde0
feat: support configurable ws port and remote development ( #429 )
...
Co-authored-by: Jeremy Press <jeremy@replit.com>
Co-authored-by: Jacky Zhao <j.zhao2k19@gmail.com>
2023-08-27 17:39:42 -07:00
Ben Schlegel
4b89202f7e
cleanup: rework cli to allow invoking create and build outside of cli ( #428 )
...
* refactor: move `bootstrap-cli.mjs` tp cli
also update reference in docs
* refactor(cli): move build handler to `cli-functions`
* refactor(cli): move create to handler + helpers
* refactor(cli): extract arg definitions
* refactor: rename handlers and helpers
* refactor(cli): move update, await handlers
* refactor(cli): create constants, migrate to helpers
* refactor(cli): migrate `restore`
* refactor(cli): migrate `sync`
* format
* refactor(cli): remove old imports/functions
* refactor(cli): remove unused imports + format
* chore: remove old log statement
* fix: fix imports, clean duplicate code
* fix: relative import
* fix: simplified cacheFile path
* fix: update cacheFile import path
* refactor: move bootstrap-cli to quartz
* format
* revert: revert path to bootstrap-cli
* ci: re-run
* ci: fix execution permission
2023-08-27 15:59:51 -07:00