tree-fs 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -11
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -4,10 +4,11 @@
|
|
|
4
4
|
|
|
5
5
|
It is designed to be the **standard "Paste & Go" receiver for AI-generated code**.
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
<a href="https://www.npmjs.com/package/tree-fs"><img src="https://img.shields.io/npm/v/tree-fs.svg?style=flat-square&color=007acc" alt="npm version"></a>
|
|
8
|
+
<a href="https://www.npmjs.com/package/tree-fs"><img src="https://img.shields.io/npm/dt/tree-fs.svg?style=flat-square&color=success" alt="npm downloads"></a>
|
|
9
|
+
<a href="https://github.com/tree-fs/blob/main/LICENSE"><img src="https://img.shields.io/github/license/tree-fs.svg?style=flat-square&color=blue" alt="license"></a>
|
|
10
|
+
<a href="https://github.com/tree-fs/stargazers"><img src="https://img.shields.io/github/stars/tree-fs?style=flat-square&logo=github" alt="stars"></a>
|
|
9
11
|
|
|
10
|
-
---
|
|
11
12
|
|
|
12
13
|
## ⚡ Why tree-fs?
|
|
13
14
|
|
|
@@ -31,8 +32,6 @@ Copying that structure manually is tedious. **tree-fs** makes it instant.
|
|
|
31
32
|
* **Smart:** Distinguishes `v1.0` (folder) from `v1.0.js` (file) automatically.
|
|
32
33
|
* **Zero Dependencies:** Installs in seconds.
|
|
33
34
|
|
|
34
|
-
---
|
|
35
|
-
|
|
36
35
|
## 🚀 Usage
|
|
37
36
|
|
|
38
37
|
### 1. Interactive Mode (The "Paste" Workflow)
|
|
@@ -85,8 +84,6 @@ generateFS(tree, path.resolve(__dirname, "./output"))
|
|
|
85
84
|
console.log("Structure created!")
|
|
86
85
|
```
|
|
87
86
|
|
|
88
|
-
---
|
|
89
|
-
|
|
90
87
|
## 💡 Syntax Guide & Robustness
|
|
91
88
|
|
|
92
89
|
tree-fs is built to handle the "messy reality" of text inputs.
|
|
@@ -131,8 +128,6 @@ project
|
|
|
131
128
|
Known files without extensions are correctly identified as files.
|
|
132
129
|
* `Dockerfile`, `Makefile`, `LICENSE`, `Procfile`, `.gitignore`, `Jenkinsfile`
|
|
133
130
|
|
|
134
|
-
---
|
|
135
|
-
|
|
136
131
|
## 📦 CI/CD Integration
|
|
137
132
|
|
|
138
133
|
You can use `tree-fs` to scaffold environments in GitHub Actions or pipelines.
|
|
@@ -147,8 +142,6 @@ To test without writing files (Dry Run):
|
|
|
147
142
|
tree-fs structure.txt --dry-run
|
|
148
143
|
```
|
|
149
144
|
|
|
150
|
-
---
|
|
151
|
-
|
|
152
145
|
## License
|
|
153
146
|
|
|
154
147
|
MIT
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tree-fs",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "Generate file system structures from text-based directory trees. The standard receiver for AI-generated project scaffolding.",
|
|
5
5
|
"bin": {
|
|
6
6
|
"tree-fs": "bin/tree-fs.js"
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"node": ">=14.0.0"
|
|
18
18
|
},
|
|
19
19
|
"scripts": {
|
|
20
|
-
"test": "echo \"Error: no test specified\" && exit
|
|
20
|
+
"test": "echo \"Error: no test specified\" && exit 0",
|
|
21
21
|
"start": "node bin/tree-fs.js"
|
|
22
22
|
},
|
|
23
23
|
"repository": {
|
|
@@ -40,5 +40,5 @@
|
|
|
40
40
|
"bugs": {
|
|
41
41
|
"url": "https://github.com/mgks/tree-fs/issues"
|
|
42
42
|
},
|
|
43
|
-
"homepage": "https://github.com/mgks/tree-fs"
|
|
43
|
+
"homepage": "https://github.com/mgks/tree-fs#readme"
|
|
44
44
|
}
|