Christopher Monsanto
dd2396719d
Add pnpm deploy: pipe the assets tar to DEPLOY_COMMAND from .env
...
The deploy tool grows a deploy subcommand that runs the build, packs the
tar, and streams it to the command .env names. Packing now finalizes the
archive; without the end-of-archive marker, strict stream readers
(Python tarfile, hence smogonctl) die on truncation.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com >
2026-08-21 01:13:11 -04:00
Christopher Monsanto
75580a962a
Run TS sources directly: ESM sprite-root, .ts imports, node:test
...
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com >
2026-08-12 17:44:51 -04:00
Christopher Monsanto
608a112faa
deploy: write info to stderr instead of stdout
...
interferes with tar
2023-04-05 01:12:44 -04:00
Christopher Monsanto
9d3e9abebf
deploy: add basic hash support so we can Just Ship It
2023-04-05 01:11:24 -04:00
Christopher Monsanto
0bc74044c6
deploy: add support for writing tar archives
2023-03-29 02:58:40 -04:00
Christopher Monsanto
472e6f4fd4
update typescript
2023-03-24 22:07:51 -04:00
Christopher Monsanto
164d0e090e
move deploy/spritename to data
2020-08-26 08:21:33 -04:00
Christopher Monsanto
a22db88368
deploy: normalize print() messages
2020-08-25 02:55:18 -04:00
Christopher Monsanto
6625b457e6
deploy: print # of characters in write
2020-08-25 02:40:22 -04:00
Christopher Monsanto
b666ad2619
deploy: procDst -> pushOp
2020-08-25 02:38:09 -04:00
Christopher Monsanto
a6f97fd561
stray comment
2020-08-24 19:20:48 -04:00
Christopher Monsanto
a850459a00
deploy/script: refactor Op for less typechecker hackery
2020-08-24 19:19:37 -04:00
Christopher Monsanto
bfb00891b8
deploy/script: factor out procDst
2020-08-24 18:27:16 -04:00
Christopher Monsanto
216c26cf99
deploy/script: add write()
2020-08-24 04:50:35 -04:00
Christopher Monsanto
bb10c65842
deploy/script: add read()
2020-08-24 04:50:34 -04:00
Christopher Monsanto
173d65746f
deploy/script: add debug() to runOnFile, fix skip() interaction with debug()
2020-08-24 04:07:00 -04:00
Christopher Monsanto
11f0507df5
deploy/script: add skip()
2020-08-24 03:46:19 -04:00
Christopher Monsanto
76928a90f3
deploy/script: move exception handling to run*
2020-08-24 03:39:35 -04:00
Christopher Monsanto
d150893cc4
deploy/script: runOnFile takes aq
2020-08-24 03:36:49 -04:00
Christopher Monsanto
b79a6ea804
deploy: print verbosity level
2020-08-23 21:25:24 -04:00
Christopher Monsanto
ebf11f6c86
deploy/script: throw should gdebug
2020-08-23 21:25:24 -04:00
Christopher Monsanto
ce64c42f7b
deploy/script: assoc debug() with copy(), add gdebug()
2020-08-23 21:25:24 -04:00
Christopher Monsanto
93c338e35c
deploy/script: logentry obj : any --> unknown
2020-08-23 21:03:23 -04:00
Christopher Monsanto
e98d42d0cf
deploy: debug() on exception
2020-08-22 22:43:36 -04:00
Christopher Monsanto
3119d5dcb8
deploy: fix debug()
2020-08-22 22:34:54 -04:00
Christopher Monsanto
32ba2af711
data: don't expose Map directly
2020-08-21 06:43:37 -04:00
Christopher Monsanto
1293ff4799
deploy/script: add spritedata to env
2020-08-15 02:18:46 -04:00
Christopher Monsanto
d011df227b
deploy/script: add debug()
2020-08-15 02:12:25 -04:00
Christopher Monsanto
2f45ec3b6d
dumb typo
2020-08-14 06:25:37 -04:00
Christopher Monsanto
4176e86d21
deploy: buffer copy() errors
2020-08-14 06:23:46 -04:00
Christopher Monsanto
5cb88c94d2
deploy/script: copy() takes delta
2020-08-13 02:11:12 -04:00
Christopher Monsanto
baf1564e4c
deploy: remove aq.join/add output dir to print/describe/run
2020-08-13 01:35:14 -04:00
Christopher Monsanto
abc8a5e069
deploy: string interface for runOnFile
2020-08-10 05:41:42 -04:00
Christopher Monsanto
30ffa1f2d0
deploy: check that ActionQueue dst isnt absolute & no duplicates
2020-08-10 05:37:12 -04:00
Christopher Monsanto
1d9d10cf63
deploy: ActionQueue interfaces use strings instead of Path objects
2020-08-10 05:29:06 -04:00
Christopher Monsanto
830c0fadfc
deploy: add vm.Script wrapper, remove fs dependency in index.ts
2020-08-10 03:46:21 -04:00
Christopher Monsanto
8fb0f51b8f
deploy: add ActionQueue::join
2020-08-09 06:12:36 -04:00
Christopher Monsanto
fca3bd0ca3
deploy: add ActionQueue::print
2020-08-09 05:59:21 -04:00
Christopher Monsanto
e625489c45
deploy/script: fix bad prototype interaction with Env/contextify
2020-08-08 05:43:22 -04:00
Christopher Monsanto
24edce9b94
deploy/script: factor out more cli logic into runOnFile
2020-08-08 04:41:13 -04:00
Christopher Monsanto
623f8290c4
deploy: add scriptname to env
2020-08-07 05:27:10 -04:00
Christopher Monsanto
1032980d1f
deploy: fix ActionQueue.run()
2020-08-07 04:34:10 -04:00
Christopher Monsanto
49c5f5a873
deploy: add script.ts (replacement for lang.js)
2020-08-07 04:34:10 -04:00