version 1.12.0 :add File Tree

This commit is contained in:
Wildan Nursahidan
2025-05-28 11:21:37 +07:00
parent 561039ae4d
commit 253166a6ee
12 changed files with 454 additions and 8714 deletions

53
.vscode/file-tree.code-snippets vendored Normal file
View File

@@ -0,0 +1,53 @@
{
"File Tree Component": {
"prefix": "filetree",
"body": [
"<Files>",
" <Folder name=\"${1:folder-name}\">",
" <File name=\"${2:file-name}\" />",
" <Folder name=\"${3:subfolder}\">",
" <File name=\"${4:file.tsx}\" />",
" </Folder>\n$0",
" </Folder>",
"</Files>"
],
"description": "DocuBook File Tree component with nested structure"
},
"File Tree Minimal": {
"prefix": "filetree-mini",
"body": [
"<Files>\n <Folder name=\"${1:folder}\">\n <File name=\"${2:file}\" />\n </Folder>\n</Files>$0"
],
"description": "Minimal DocuBook File Tree component"
},
"File Tree Complex": {
"prefix": "filetree-complex",
"body": [
"<Files>",
" <Folder name=\"${1:project-root}\">",
" <File name=\"package.json\" />",
" <File name=\"tsconfig.json\" />",
" <Folder name=\"src\">",
" <File name=\"index.ts\" />",
" <Folder name=\"components\">",
" <File name=\"${2:Component}.tsx\" />",
" <File name=\"${3:Component}.types.ts\" />",
" <File name=\"index.ts\" />",
" </Folder>\n$0",
" </Folder>",
" </Folder>",
"</Files>"
],
"description": "Complex DocuBook File Tree with common project structure"
},
"File Tree Folder": {
"prefix": "folder",
"body": "<Folder name=\"${1:folder-name}\">\n $0\n</Folder>",
"description": "DocuBook Folder component for file trees"
},
"File Tree File": {
"prefix": "file",
"body": "<File name=\"${1:file-name}\" />$0",
"description": "DocuBook File component for file trees"
}
}

49
.vscode/release.code-snippets vendored Normal file
View File

@@ -0,0 +1,49 @@
{
"Release Note Component": {
"prefix": "release",
"body": [
"<Release version=\"$1\" date=\"${2:$CURRENT_YEAR-${CURRENT_MONTH}-${CURRENT_DATE}}\" title=\"$3\">",
" <Changes type=\"added\">",
" - $4",
" </Changes>",
"",
" <Changes type=\"fixed\">",
" - $5",
" </Changes>",
"",
" <Changes type=\"improved\">",
" - $6",
" </Changes>",
"",
" <Changes type=\"deprecated\">",
" - $7",
" </Changes>",
"",
" <Changes type=\"removed\">",
" - $8",
" </Changes>",
"</Release>"
],
"description": "DocuBook Release Note component with all change types"
},
"Release Note Simple": {
"prefix": "release-simple",
"body": [
"<Release version=\"$1\" date=\"${2:$CURRENT_YEAR-${CURRENT_MONTH}-${CURRENT_DATE}}\" title=\"$3\">",
" <Changes type=\"$4\">",
" - $5",
" </Changes>\n$0",
"</Release>"
],
"description": "Simple DocuBook Release Note component with one change type"
},
"Changes Only": {
"prefix": "changes",
"body": [
"<Changes type=\"$1\">",
" - $2",
"</Changes>"
],
"description": "DocuBook Changes component for individual change items"
}
}