mirror of
https://github.com/iib0011/omni-tools.git
synced 2025-09-13 19:19:32 +02:00
fix: readme
This commit is contained in:
20
.idea/workspace.xml
generated
20
.idea/workspace.xml
generated
@@ -4,10 +4,10 @@
|
||||
<option name="autoReloadType" value="SELECTIVE" />
|
||||
</component>
|
||||
<component name="ChangeListManager">
|
||||
<list default="true" id="b30e2810-c4c1-4aad-b134-794e52cc1c7d" name="Changes" comment="fix: missing files">
|
||||
<list default="true" id="b30e2810-c4c1-4aad-b134-794e52cc1c7d" name="Changes" comment="fix: create tool">
|
||||
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/Readme.md" beforeDir="false" afterPath="$PROJECT_DIR$/Readme.md" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/scripts/create-tool.mjs" beforeDir="false" afterPath="$PROJECT_DIR$/scripts/create-tool.mjs" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/tsconfig.json" beforeDir="false" afterPath="$PROJECT_DIR$/tsconfig.json" afterDir="false" />
|
||||
</list>
|
||||
<option name="SHOW_DIALOG" value="false" />
|
||||
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
||||
@@ -160,7 +160,7 @@
|
||||
<workItem from="1719092003308" duration="14856000" />
|
||||
<workItem from="1719164664347" duration="2033000" />
|
||||
<workItem from="1719166718305" duration="1783000" />
|
||||
<workItem from="1719168519203" duration="2752000" />
|
||||
<workItem from="1719168519203" duration="3286000" />
|
||||
</task>
|
||||
<task id="LOCAL-00001" summary="feat: use vite and ts">
|
||||
<option name="closed" value="true" />
|
||||
@@ -450,7 +450,15 @@
|
||||
<option name="project" value="LOCAL" />
|
||||
<updated>1719170769791</updated>
|
||||
</task>
|
||||
<option name="localTasksCounter" value="37" />
|
||||
<task id="LOCAL-00037" summary="fix: create tool">
|
||||
<option name="closed" value="true" />
|
||||
<created>1719171439639</created>
|
||||
<option name="number" value="00037" />
|
||||
<option name="presentableId" value="LOCAL-00037" />
|
||||
<option name="project" value="LOCAL" />
|
||||
<updated>1719171439639</updated>
|
||||
</task>
|
||||
<option name="localTasksCounter" value="38" />
|
||||
<servers />
|
||||
</component>
|
||||
<component name="TypeScriptGeneratedFilesManager">
|
||||
@@ -471,7 +479,6 @@
|
||||
<option name="CHECK_CODE_SMELLS_BEFORE_PROJECT_COMMIT" value="false" />
|
||||
<option name="CHECK_NEW_TODO" value="false" />
|
||||
<option name="ADD_EXTERNAL_FILES_SILENTLY" value="true" />
|
||||
<MESSAGE value="chore: split string tools ui" />
|
||||
<MESSAGE value="chore: use formik" />
|
||||
<MESSAGE value="chore: output selector" />
|
||||
<MESSAGE value="feat: text split" />
|
||||
@@ -496,7 +503,8 @@
|
||||
<MESSAGE value="fix: readme" />
|
||||
<MESSAGE value="feat: create tool script" />
|
||||
<MESSAGE value="fix: missing files" />
|
||||
<option name="LAST_COMMIT_MESSAGE" value="fix: missing files" />
|
||||
<MESSAGE value="fix: create tool" />
|
||||
<option name="LAST_COMMIT_MESSAGE" value="fix: create tool" />
|
||||
</component>
|
||||
<component name="XSLT-Support.FileAssociations.UIState">
|
||||
<expand />
|
||||
|
@@ -48,7 +48,9 @@ npm run dev
|
||||
|
||||
### Create a new tool
|
||||
|
||||
`npm run script:create:tool my-tool-name folder1/folder2`
|
||||
```bash
|
||||
npm run script:create:tool my-tool-name folder1/folder2
|
||||
```
|
||||
|
||||
## Contributors
|
||||
|
||||
|
@@ -31,6 +31,7 @@ function createFolderStructure(basePath, foldersToCreateIndexCount) {
|
||||
const indexPath = join(currentPath, 'index.ts')
|
||||
if (!fs.existsSync(indexPath) && index < folderArray.length - 1 && index >= folderArray.length - 1 - foldersToCreateIndexCount) {
|
||||
fs.writeFileSync(indexPath, '// index.ts file')
|
||||
console.log(`File created: ${indexPath}`)
|
||||
}
|
||||
// Recursively create the next folder
|
||||
recursiveCreate(currentPath, index + 1)
|
||||
|
Reference in New Issue
Block a user