touch-win
Advanced tools
Comparing version 0.6.3 to 0.7.0
{ | ||
"name": "touch-win", | ||
"version": "0.6.3", | ||
"description": "This package written in JavaScript allows you to use the Linux \"touch\" command on Windows.", | ||
"version": "0.7.0", | ||
"description": "A tool that will allow you to create multiple files using the terminal in Windows.", | ||
"bin": { | ||
"touch-win": "./index.js" | ||
"touch-win": "./lib/src/index.js" | ||
}, | ||
"scripts": { | ||
"start": "node ./index.js" | ||
"prepare": "npm run build", | ||
"build": "rimraf ./lib && tsc", | ||
"watch": "tsc --watch" | ||
}, | ||
@@ -33,3 +35,11 @@ "repository": { | ||
"yargs": "^17.3.1" | ||
}, | ||
"devDependencies": { | ||
"@types/node": "^17.0.31", | ||
"@types/update-notifier": "^5.1.0", | ||
"@types/yargs": "^17.0.10", | ||
"rimraf": "^3.0.2", | ||
"ts-node": "^10.7.0", | ||
"typescript": "^4.6.4" | ||
} | ||
} | ||
} |
@@ -48,4 +48,8 @@ <br> | ||
> If you think that touch-win is a great project, consider making a small donation to be able to continue creating more projects like this. <a href="https://github.com/sponsors/zitrocode">GitHub Sponsor</a>. | ||
> If you think touch-win is a support for you, please consider making a small donation so that I can continue to allocate time to do more projects like this. <a href="https://github.com/sponsors/zitrocode"><strong>GitHub Sponsor</strong></a>. | ||
<div align="center"> | ||
<a href="https://ko-fi.com/M4M8C5NAP"><img src="https://ko-fi.com/img/githubbutton_sm.svg"></a> | ||
</div> | ||
<br> | ||
@@ -57,4 +61,6 @@ <div align="center"> | ||
**[Touch Win](https://github.com/zitrocode)** is a cli program that helps you create various files with a single command, it is inspired by the "touch" command found natively in Linux and Unix based operating systems. Even though there are several programs/packages in [npmjs](https://npmjs.com) that help you get this command on Windows, **I assure you that there is no one like it**. | ||
**[Touch Win](https://github.com/zitrocode/touch-win)** is a cli program that helps you create various files with a single command, it is inspired by the "touch" command found natively in Linux and Unix based operating systems. Even though there are several programs/packages in [npmjs](https://www.npmjs.com/package/touch-win) that help you get this command on Windows, **I assure you that there is no one like it**. | ||
🧠 **Don't forget** to give a ⭐ if you like this project! | ||
## ✨ Features | ||
@@ -111,25 +117,23 @@ | ||
```bash | ||
touch-win --template config/webpack.[rf].js common dev build | ||
touch-win --template config/webpack.[rn].js common dev build | ||
``` | ||
**Note:** It's important to put `[rf]` where you want it to be replaced by the arguments. | ||
**Note:** It's important to put `[rn]` where you want it to be replaced by the arguments. | ||
<details> | ||
<summary>More examples with "template"</summary> | ||
<br> | ||
<p><strong>Change extensions:</strong></p> | ||
<code> | ||
touch-win -t src/components/my_component.[rf] js css | ||
touch-win -t src/components/my_component.[rn] js css | ||
</code> | ||
<br> | ||
<p><strong>Rename the file:</strong></p> | ||
<code> | ||
touch-win -t src/helpers/[rf].js alerts directory file | ||
touch-win -t src/helpers/[rn].js alerts directory file | ||
</code> | ||
</details> | ||
--- | ||
## 📝 License | ||
⚠️ **WARNING**: This package is still under development, so it may have some bugs. | ||
This project is **[MIT](./LICENSE)** licensed. |
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
154927
12
160
137
6
1