Justin Lin
2feedc329c
refactor: use bun for package management
...
+ add package.json to each packages
+ update import path
2026-10-11 16:50:01 +11:00
Justin Lin
3b77d91796
Quest: remove unnecessary ls-stages ( #195 )
...
* quest: remove ls-stages in create
* feat: prevent throwing errors when failed to copy files
* feat: log new command in dev mode
* quest: copy
* quest: mv
* quest: rm
* quest: execute. Add many exceptions
* feat: pwd discovers parent folders
2025-04-30 15:01:25 +08:00
Justin Lin
f0a09ac4d9
Feat filegraph ( #194 )
...
* feat: update filegraph on touch command
* feat: update filegraph on mkdir
* feat: add different parsing opts for each command
* refactor: replace axios with fetch. put handleCommand to a new file
* feat: add config for mounting cli in dev stage
* refactor: clean up unused validators
* feat: add command handler for copy files. reuse resolvePath function
* feat: add rm handler, support specific files deletion. Glob not supported yet
* feat: handle discover cases that the folder is actually empty
* feat: handle discover empty folder better and support rmdir
* feat: handle mv command
* refactor: remove unused console logs
2025-04-29 20:40:02 +08:00
Justin Lin
f7e2b00358
fix: test in game and file-graph
2025-04-26 12:52:12 +08:00
Justin Lin
26e79690f8
feat: add pwd handling to session and update related components
2025-04-25 11:33:16 +08:00
Justin Lin
b3ed0e646e
fix: app import inteface
2025-04-24 23:23:58 +08:00
Justin Lin
87b8ca5d04
wip: replace packages with pure files
2025-04-24 23:20:40 +08:00
Justin Lin
2d95ca382f
wip: integrate filegraph into session
2025-04-24 22:05:10 +08:00
Justin Lin
cdd22634e0
refactor: replace "folder" with "directory" across file handling components and tests
2025-04-24 21:24:55 +08:00
Justin Lin
7e50c8e06c
refactor: remove condition tests and update file node interfaces in game session
...
TODO: replace "folder" with "directory"
2025-04-24 18:10:47 +08:00
Justin Lin
cfbc386c16
refactor: update file-graph package structure and integrate with game session management
2025-04-23 17:04:00 +08:00
wancat
33a1a110e8
feat: use project references to build dependencies efficiently
2024-04-05 22:42:02 +08:00
wancat
b059cca7b2
fix jest types by import @jest/globals
2024-02-27 11:45:10 +08:00
Annie Huang
5091f8f24f
revise jest tsconfig
2024-02-26 23:44:53 +08:00
Annie Huang
87060aa3ef
try: fix collison excluding and including
2024-02-23 18:19:33 +08:00
wancat
c0efce69f4
fix: jest. enable coverage
2024-02-22 21:31:29 +08:00
wancat
075e21fb89
change scripts from "watch" to "dev"
2024-02-19 18:05:01 +08:00
wancat
253bd04588
finish file-graph and solve jest ts
2024-02-07 10:03:53 +08:00
wancat
19cd66475c
add building scripts
2024-02-05 12:33:05 +08:00
wancat
78966d351f
change to use esm
2024-01-30 09:06:41 +08:00
wancat
eb231e4056
Remove project references and add build:watch all
2024-01-29 13:26:41 +08:00
wancat
7216158053
add app
2024-01-29 13:21:07 +08:00
wancat
30aefb47f9
feat: setup project reference
2024-01-29 12:42:50 +08:00
Lin, Hung-Shin
a18e0d9b68
fix: setup Jest with TS
2024-01-29 12:42:50 +08:00
Lin, Hung-Shin
557af91d4b
feat: change to use commonjs output
2024-01-29 12:42:50 +08:00
Lin, Hung-Shin
2bdb804f24
WIP: fixing tests
2024-01-29 12:42:50 +08:00
Lin, Hung-Shin
8eaec839d3
feat: add post-build-script to gradually migrate
2024-01-29 12:42:50 +08:00
Lin, Hung-Shin
3977db87a3
feat: add typescript to file-graph and server
2024-01-29 12:42:50 +08:00
wancat
917083ad30
fix: remove debugging console log
2023-10-29 17:42:31 +08:00
wancat
6b94b1ae81
fix: merge discovery state (with test)
...
* update fileNode.toString to add discovery state
2023-08-29 16:28:29 +08:00
wancat
638dff4be2
refactor: move test scripts to project root
2023-08-29 13:28:36 +08:00
wancat
264d70fe3f
feat: add directly discover tests
2023-08-29 13:27:47 +08:00
wancat
cfb23347f8
feat: add load nested fileNode
2023-08-29 13:26:14 +08:00
wancat
728399938a
feat: update contains and add test cases
2023-08-29 13:16:36 +08:00
wancat
c3683ddaea
feat: import file-graph package
...
* Update Dockerfile structure, copy quests, packages to sub folder
2023-08-29 11:58:14 +08:00
Chen, Tai-Lin
02e1219228
feat: revise fileGraph discover
2023-08-28 17:53:52 +08:00
Chen, Tai-Lin
190a5abf3c
feat: rewrite remove function and add remove test
2023-08-28 16:17:23 +08:00
Chen, Tai-Lin
e73113d376
working: update file-graph-algorithm
2023-08-28 14:39:52 +08:00
Chen, Tai-Lin
7041e89a49
feat: finish file-graph-algorithm (check required)
2023-08-28 14:39:52 +08:00
wancat
1b51346eb9
feat: merge middle part
2023-08-28 14:39:52 +08:00
wancat
a66de4dfe1
feat: add merge function
...
Able to deal with:
1. merge a subtree
2023-08-28 14:39:52 +08:00
wancat
1778780364
feat: add makeParent options to addChild
2023-08-28 14:39:52 +08:00
wancat
781e01d43a
draft: add fileGraph handler draft
2023-08-28 14:39:52 +08:00
wancat
569016077e
feat: add error handling for duplicate or not exists
2023-08-28 14:39:52 +08:00
wancat
fa496ceae7
feat: create FileNode class, addChild method
2023-08-28 14:39:52 +08:00