add wrangler for deploying

This commit is contained in:
Rowan 2024-10-17 21:06:03 -05:00
parent 37e9b3e116
commit f2672b48ba
6 changed files with 1463 additions and 16 deletions

2
.gitignore vendored
View file

@ -1,2 +1,4 @@
dist/
node_modules/
.wrangler/

View file

@ -1,4 +0,0 @@
#!/usr/bin/env sh
(cd dist; zip -r ../pkg.zip .)

1445
package-lock.json generated Normal file

File diff suppressed because it is too large Load diff

16
package.json Normal file
View file

@ -0,0 +1,16 @@
{
"name": "kitsucafe-redux",
"version": "1.0.0",
"main": "index.js",
"scripts": {
"dev": "wrangler pages dev dist --live-reload",
"deploy": "wrangler pages deploy dist --project-name kitsunecafe"
},
"keywords": [],
"author": "",
"license": "ISC",
"description": "",
"devDependencies": {
"wrangler": "^3.81.0"
}
}

BIN
pkg.zip

Binary file not shown.

12
watch
View file

@ -1,12 +0,0 @@
#!/usr/bin/env sh
kill_server() {
kill "$server"
}
roxy_cli content dist
inotifywait -mre create,delete,modify content layouts | while read dirname events basename;
do
roxy_cli content dist
done