You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Defined in: [index.ts:306](https://github.com/centralnicgroup-opensource/rtldev-middleware-semantic-release-replace-plugin/blob/3c967f53ff3edf273839579fb756410beeb0ef7d/src/index.ts#L306)
11
+
Defined in: [index.ts:314](https://github.com/centralnicgroup-opensource/rtldev-middleware-semantic-release-replace-plugin/blob/72897e5fd6a629573f597e0e200d3cdd145a96b9/src/index.ts#L314)
Defined in: [index.ts:111](https://github.com/centralnicgroup-opensource/rtldev-middleware-semantic-release-replace-plugin/blob/3c967f53ff3edf273839579fb756410beeb0ef7d/src/index.ts#L111)
9
+
Defined in: [index.ts:111](https://github.com/centralnicgroup-opensource/rtldev-middleware-semantic-release-replace-plugin/blob/72897e5fd6a629573f597e0e200d3cdd145a96b9/src/index.ts#L111)
10
10
11
11
PluginConfig is used to provide multiple replacement.
12
12
@@ -40,6 +40,6 @@ PluginConfig is used to provide multiple replacement.
Defined in: [index.ts:113](https://github.com/centralnicgroup-opensource/rtldev-middleware-semantic-release-replace-plugin/blob/3c967f53ff3edf273839579fb756410beeb0ef7d/src/index.ts#L113)
43
+
Defined in: [index.ts:113](https://github.com/centralnicgroup-opensource/rtldev-middleware-semantic-release-replace-plugin/blob/72897e5fd6a629573f597e0e200d3cdd145a96b9/src/index.ts#L113)
Defined in: [index.ts:19](https://github.com/centralnicgroup-opensource/rtldev-middleware-semantic-release-replace-plugin/blob/3c967f53ff3edf273839579fb756410beeb0ef7d/src/index.ts#L19)
9
+
Defined in: [index.ts:19](https://github.com/centralnicgroup-opensource/rtldev-middleware-semantic-release-replace-plugin/blob/72897e5fd6a629573f597e0e200d3cdd145a96b9/src/index.ts#L19)
10
10
11
11
Replacement is similar to the interface used by https://www.npmjs.com/package/replace-in-file
12
12
with the difference being the single string for `to` and `from`.
@@ -17,57 +17,57 @@ with the difference being the single string for `to` and `from`.
17
17
18
18
> `optional`**allowEmptyPaths**: `boolean`
19
19
20
-
Defined in: [index.ts:68](https://github.com/centralnicgroup-opensource/rtldev-middleware-semantic-release-replace-plugin/blob/3c967f53ff3edf273839579fb756410beeb0ef7d/src/index.ts#L68)
20
+
Defined in: [index.ts:68](https://github.com/centralnicgroup-opensource/rtldev-middleware-semantic-release-replace-plugin/blob/72897e5fd6a629573f597e0e200d3cdd145a96b9/src/index.ts#L68)
21
21
22
-
***
22
+
---
23
23
24
24
### countMatches?
25
25
26
26
> `optional`**countMatches**: `boolean`
27
27
28
-
Defined in: [index.ts:69](https://github.com/centralnicgroup-opensource/rtldev-middleware-semantic-release-replace-plugin/blob/3c967f53ff3edf273839579fb756410beeb0ef7d/src/index.ts#L69)
28
+
Defined in: [index.ts:69](https://github.com/centralnicgroup-opensource/rtldev-middleware-semantic-release-replace-plugin/blob/72897e5fd6a629573f597e0e200d3cdd145a96b9/src/index.ts#L69)
29
29
30
-
***
30
+
---
31
31
32
32
### disableGlobs?
33
33
34
34
> `optional`**disableGlobs**: `boolean`
35
35
36
-
Defined in: [index.ts:70](https://github.com/centralnicgroup-opensource/rtldev-middleware-semantic-release-replace-plugin/blob/3c967f53ff3edf273839579fb756410beeb0ef7d/src/index.ts#L70)
36
+
Defined in: [index.ts:70](https://github.com/centralnicgroup-opensource/rtldev-middleware-semantic-release-replace-plugin/blob/72897e5fd6a629573f597e0e200d3cdd145a96b9/src/index.ts#L70)
37
37
38
-
***
38
+
---
39
39
40
40
### dry?
41
41
42
42
> `optional`**dry**: `boolean`
43
43
44
-
Defined in: [index.ts:72](https://github.com/centralnicgroup-opensource/rtldev-middleware-semantic-release-replace-plugin/blob/3c967f53ff3edf273839579fb756410beeb0ef7d/src/index.ts#L72)
44
+
Defined in: [index.ts:72](https://github.com/centralnicgroup-opensource/rtldev-middleware-semantic-release-replace-plugin/blob/72897e5fd6a629573f597e0e200d3cdd145a96b9/src/index.ts#L72)
45
45
46
-
***
46
+
---
47
47
48
48
### encoding?
49
49
50
50
> `optional`**encoding**: `string`
51
51
52
-
Defined in: [index.ts:71](https://github.com/centralnicgroup-opensource/rtldev-middleware-semantic-release-replace-plugin/blob/3c967f53ff3edf273839579fb756410beeb0ef7d/src/index.ts#L71)
52
+
Defined in: [index.ts:71](https://github.com/centralnicgroup-opensource/rtldev-middleware-semantic-release-replace-plugin/blob/72897e5fd6a629573f597e0e200d3cdd145a96b9/src/index.ts#L71)
53
53
54
-
***
54
+
---
55
55
56
56
### files
57
57
58
58
> **files**: `string`[]
59
59
60
-
Defined in: [index.ts:23](https://github.com/centralnicgroup-opensource/rtldev-middleware-semantic-release-replace-plugin/blob/3c967f53ff3edf273839579fb756410beeb0ef7d/src/index.ts#L23)
60
+
Defined in: [index.ts:23](https://github.com/centralnicgroup-opensource/rtldev-middleware-semantic-release-replace-plugin/blob/72897e5fd6a629573f597e0e200d3cdd145a96b9/src/index.ts#L23)
Defined in: [index.ts:39](https://github.com/centralnicgroup-opensource/rtldev-middleware-semantic-release-replace-plugin/blob/3c967f53ff3edf273839579fb756410beeb0ef7d/src/index.ts#L39)
70
+
Defined in: [index.ts:39](https://github.com/centralnicgroup-opensource/rtldev-middleware-semantic-release-replace-plugin/blob/72897e5fd6a629573f597e0e200d3cdd145a96b9/src/index.ts#L39)
71
71
72
72
The RegExp pattern to use to match.
73
73
@@ -83,21 +83,21 @@ functions, etc.
83
83
Multiple matchers may be provided as an array, following the same
84
84
conversion rules as mentioned above.
85
85
86
-
***
86
+
---
87
87
88
88
### ignore?
89
89
90
90
> `optional`**ignore**: `string`[]
91
91
92
-
Defined in: [index.ts:67](https://github.com/centralnicgroup-opensource/rtldev-middleware-semantic-release-replace-plugin/blob/3c967f53ff3edf273839579fb756410beeb0ef7d/src/index.ts#L67)
92
+
Defined in: [index.ts:67](https://github.com/centralnicgroup-opensource/rtldev-middleware-semantic-release-replace-plugin/blob/72897e5fd6a629573f597e0e200d3cdd145a96b9/src/index.ts#L67)
93
93
94
-
***
94
+
---
95
95
96
96
### results?
97
97
98
98
> `optional`**results**: `object`[]
99
99
100
-
Defined in: [index.ts:77](https://github.com/centralnicgroup-opensource/rtldev-middleware-semantic-release-replace-plugin/blob/3c967f53ff3edf273839579fb756410beeb0ef7d/src/index.ts#L77)
100
+
Defined in: [index.ts:77](https://github.com/centralnicgroup-opensource/rtldev-middleware-semantic-release-replace-plugin/blob/72897e5fd6a629573f597e0e200d3cdd145a96b9/src/index.ts#L77)
101
101
102
102
The results array can be passed to ensure that the expected replacements
103
103
have been made, and if not, throw and exception with the diff.
@@ -118,13 +118,13 @@ have been made, and if not, throw and exception with the diff.
Defined in: [index.ts:66](https://github.com/centralnicgroup-opensource/rtldev-middleware-semantic-release-replace-plugin/blob/3c967f53ff3edf273839579fb756410beeb0ef7d/src/index.ts#L66)
127
+
Defined in: [index.ts:66](https://github.com/centralnicgroup-opensource/rtldev-middleware-semantic-release-replace-plugin/blob/72897e5fd6a629573f597e0e200d3cdd145a96b9/src/index.ts#L66)
128
128
129
129
The replacement value using a template of variables.
130
130
@@ -134,6 +134,7 @@ The context object is used to render the template. Additional values
134
134
can be found at: https://semantic-release.gitbook.io/semantic-release/developer-guide/js-api#result
135
135
136
136
For advanced replacement (NOTE: only for use with `release.config.js` file version), pass in a function to replace non-standard variables
Defined in: [index.ts:7](https://github.com/centralnicgroup-opensource/rtldev-middleware-semantic-release-replace-plugin/blob/3c967f53ff3edf273839579fb756410beeb0ef7d/src/index.ts#L7)
11
+
Defined in: [index.ts:7](https://github.com/centralnicgroup-opensource/rtldev-middleware-semantic-release-replace-plugin/blob/72897e5fd6a629573f597e0e200d3cdd145a96b9/src/index.ts#L7)
Defined in: [index.ts:8](https://github.com/centralnicgroup-opensource/rtldev-middleware-semantic-release-replace-plugin/blob/3c967f53ff3edf273839579fb756410beeb0ef7d/src/index.ts#L8)
11
+
Defined in: [index.ts:8](https://github.com/centralnicgroup-opensource/rtldev-middleware-semantic-release-replace-plugin/blob/72897e5fd6a629573f597e0e200d3cdd145a96b9/src/index.ts#L8)
0 commit comments