@goldstack/utils-sh 0.5.34 → 0.5.36
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 +17 -2
- package/package.json +4 -5
package/README.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
|
-
|
|
1
|
+
[](https://badge.fury.io/js/%40goldstack%2Futils-sh)
|
|
2
|
+
|
|
3
|
+
# Goldstack Shell Utilities
|
|
2
4
|
|
|
3
5
|
This library provides various convenience methods for working with files and folders as well as interacting with the shell.
|
|
4
6
|
|
|
5
|
-
|
|
7
|
+
This utility has been developed for the [Goldstack](https://goldstack.party) starter project builder. Check it out for starting your next project ❤️
|
|
8
|
+
## Installation
|
|
9
|
+
|
|
10
|
+
```bash
|
|
11
|
+
npm install @goldstack/utils-sh
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
## Usage
|
|
15
|
+
```typescript
|
|
16
|
+
import { sh } from '@goldstack/utils-sh';
|
|
17
|
+
|
|
18
|
+
await sh('echo hello');
|
|
19
|
+
|
|
20
|
+
```
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@goldstack/utils-sh",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.36",
|
|
4
4
|
"description": "Utilities for working with files and folders in a bash like manner",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"goldstack",
|
|
@@ -30,13 +30,13 @@
|
|
|
30
30
|
"compile-watch:light": "nodemon --watch ./src/ -e '*' --exec 'yarn compile'",
|
|
31
31
|
"coverage": "jest --collect-coverage --passWithNoTests --config=./jest.config.js --runInBand",
|
|
32
32
|
"prepublishOnly": "yarn run build",
|
|
33
|
-
"publish": "
|
|
33
|
+
"publish": "yarn npm publish --tolerate-republish",
|
|
34
34
|
"test": "jest --passWithNoTests --config=./jest.config.js --runInBand",
|
|
35
|
-
"version:apply": "
|
|
35
|
+
"version:apply": "yarn version $@ && yarn version apply",
|
|
36
36
|
"version:apply:force": "yarn version $@ && yarn version apply"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@goldstack/utils-log": "0.3.
|
|
39
|
+
"@goldstack/utils-log": "0.3.31",
|
|
40
40
|
"archiver": "^5.3.1",
|
|
41
41
|
"extract-zip": "^2.0.1",
|
|
42
42
|
"fs-extra": "^11.2.0",
|
|
@@ -45,7 +45,6 @@
|
|
|
45
45
|
"which": "^2.0.2"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
|
-
"@goldstack/utils-git": "0.2.22",
|
|
49
48
|
"@swc/core": "^1.15.8",
|
|
50
49
|
"@swc/jest": "^0.2.39",
|
|
51
50
|
"@types/archiver": "^6.0.3",
|