mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-06 11:30:13 +08:00
feat: import file-graph package
* Update Dockerfile structure, copy quests, packages to sub folder
This commit is contained in:
1 parent
6c70a6eaea
commit
c3683ddaea
9 files changed
+64
-15
No files matched your search
@@ -54,4 +54,8 @@ export default class FileGraph {
|
||||
// Implement other cases if needed
|
||||
}
|
||||
}
|
||||
|
||||
toJSON() {
|
||||
return this.root.toJSON()
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
export { default as File } from './file.js'
|
||||
export { default as FileNode } from './fileNode.js'
|
||||
export { default as FileGraph } from './fileGraph.js'
|
||||
@@ -1,7 +1,8 @@
|
||||
{
|
||||
"name": "file-graph",
|
||||
"name": "@linux-odyssey/file-graph",
|
||||
"version": "1.0.0",
|
||||
"main": "index.js",
|
||||
"exports": "./index.js",
|
||||
"license": "MIT",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
|
||||
Reference in new issue
Block a user