@robert.tools/setup 1.1.0 → 1.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 +30 -5
- package/dist/apps/index.d.ts +1 -1
- package/dist/apps/index.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,17 +1,42 @@
|
|
|
1
1
|
# @robert.tools/setup
|
|
2
2
|
|
|
3
|
-
A setup package for robert.tools.
|
|
3
|
+
A setup package for robert.tools providing several commands to ease package management and release.
|
|
4
4
|
|
|
5
5
|
## Installation
|
|
6
6
|
|
|
7
7
|
```bash
|
|
8
|
-
npm install @robert.tools/setup
|
|
8
|
+
npm install --save-dev @robert.tools/setup
|
|
9
9
|
```
|
|
10
10
|
|
|
11
11
|
## Usage
|
|
12
|
+
To use the setup script you either can run on demand:
|
|
13
|
+
```node
|
|
14
|
+
npx robi <command> <param>
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
or put it to your npm tasks:
|
|
18
|
+
```
|
|
19
|
+
"release": "robi release",
|
|
20
|
+
```
|
|
12
21
|
|
|
13
|
-
|
|
14
|
-
import { setup } from '@robert.tools/setup';
|
|
22
|
+
## commands
|
|
15
23
|
|
|
16
|
-
|
|
24
|
+
### release
|
|
25
|
+
bumps the version in all files.
|
|
26
|
+
|
|
27
|
+
* without parameter `robi release` it will ask you for the type of version bump
|
|
28
|
+
* with parameter `robi release <semantic>` it will bump the version accordingly, e.g. for major:
|
|
29
|
+
|
|
30
|
+
```
|
|
31
|
+
robi release major
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
* semantic: `major` | `minor` | `patch`
|
|
35
|
+
|
|
36
|
+
### init
|
|
37
|
+
This works same as release but also replaces several placeholders.
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
```
|
|
41
|
+
robi init <semantic>
|
|
17
42
|
```
|
package/dist/apps/index.d.ts
CHANGED
package/dist/apps/index.js
CHANGED