@@ -28,49 +28,49 @@ with the difference being the single string for `to` and `from`.
2828
2929#### Defined in
3030
31- [ index.ts:87] ( https://github.com/centralnicgroup-opensource/rtldev-middleware-semantic-release-replace-plugin/blob/17307cb /src/index.ts#L87 )
31+ [ index.ts:87] ( https://github.com/centralnicgroup-opensource/rtldev-middleware-semantic-release-replace-plugin/blob/a490964 /src/index.ts#L87 )
3232
33- ___
33+ ---
3434
3535### countMatches
3636
3737• ` Optional ` ** countMatches** : ` boolean `
3838
3939#### Defined in
4040
41- [ index.ts:88] ( https://github.com/centralnicgroup-opensource/rtldev-middleware-semantic-release-replace-plugin/blob/17307cb /src/index.ts#L88 )
41+ [ index.ts:88] ( https://github.com/centralnicgroup-opensource/rtldev-middleware-semantic-release-replace-plugin/blob/a490964 /src/index.ts#L88 )
4242
43- ___
43+ ---
4444
4545### disableGlobs
4646
4747• ` Optional ` ** disableGlobs** : ` boolean `
4848
4949#### Defined in
5050
51- [ index.ts:89] ( https://github.com/centralnicgroup-opensource/rtldev-middleware-semantic-release-replace-plugin/blob/17307cb /src/index.ts#L89 )
51+ [ index.ts:89] ( https://github.com/centralnicgroup-opensource/rtldev-middleware-semantic-release-replace-plugin/blob/a490964 /src/index.ts#L89 )
5252
53- ___
53+ ---
5454
5555### dry
5656
5757• ` Optional ` ** dry** : ` boolean `
5858
5959#### Defined in
6060
61- [ index.ts:91] ( https://github.com/centralnicgroup-opensource/rtldev-middleware-semantic-release-replace-plugin/blob/17307cb /src/index.ts#L91 )
61+ [ index.ts:91] ( https://github.com/centralnicgroup-opensource/rtldev-middleware-semantic-release-replace-plugin/blob/a490964 /src/index.ts#L91 )
6262
63- ___
63+ ---
6464
6565### encoding
6666
6767• ` Optional ` ** encoding** : ` string `
6868
6969#### Defined in
7070
71- [ index.ts:90] ( https://github.com/centralnicgroup-opensource/rtldev-middleware-semantic-release-replace-plugin/blob/17307cb /src/index.ts#L90 )
71+ [ index.ts:90] ( https://github.com/centralnicgroup-opensource/rtldev-middleware-semantic-release-replace-plugin/blob/a490964 /src/index.ts#L90 )
7272
73- ___
73+ ---
7474
7575### files
7676
@@ -80,9 +80,9 @@ files to search for replacements
8080
8181#### Defined in
8282
83- [ index.ts:42] ( https://github.com/centralnicgroup-opensource/rtldev-middleware-semantic-release-replace-plugin/blob/17307cb /src/index.ts#L42 )
83+ [ index.ts:42] ( https://github.com/centralnicgroup-opensource/rtldev-middleware-semantic-release-replace-plugin/blob/a490964 /src/index.ts#L42 )
8484
85- ___
85+ ---
8686
8787### from
8888
@@ -104,32 +104,32 @@ conversion rules as mentioned above.
104104
105105#### Defined in
106106
107- [ index.ts:58] ( https://github.com/centralnicgroup-opensource/rtldev-middleware-semantic-release-replace-plugin/blob/17307cb /src/index.ts#L58 )
107+ [ index.ts:58] ( https://github.com/centralnicgroup-opensource/rtldev-middleware-semantic-release-replace-plugin/blob/a490964 /src/index.ts#L58 )
108108
109- ___
109+ ---
110110
111111### ignore
112112
113113• ` Optional ` ** ignore** : ` string ` [ ]
114114
115115#### Defined in
116116
117- [ index.ts:86] ( https://github.com/centralnicgroup-opensource/rtldev-middleware-semantic-release-replace-plugin/blob/17307cb /src/index.ts#L86 )
117+ [ index.ts:86] ( https://github.com/centralnicgroup-opensource/rtldev-middleware-semantic-release-replace-plugin/blob/a490964 /src/index.ts#L86 )
118118
119- ___
119+ ---
120120
121121### results
122122
123- • ` Optional ` ** results** : \{ ` file ` : ` string ` ; ` hasChanged ` : ` boolean ` ; ` numMatches? ` : ` number ` ; ` numReplacements? ` : ` number ` }[ ]
123+ • ` Optional ` ** results** : \{ ` file ` : ` string ` ; ` hasChanged ` : ` boolean ` ; ` numMatches? ` : ` number ` ; ` numReplacements? ` : ` number ` }[ ]
124124
125125The results array can be passed to ensure that the expected replacements
126126have been made, and if not, throw and exception with the diff.
127127
128128#### Defined in
129129
130- [ index.ts:96] ( https://github.com/centralnicgroup-opensource/rtldev-middleware-semantic-release-replace-plugin/blob/17307cb /src/index.ts#L96 )
130+ [ index.ts:96] ( https://github.com/centralnicgroup-opensource/rtldev-middleware-semantic-release-replace-plugin/blob/a490964 /src/index.ts#L96 )
131131
132- ___
132+ ---
133133
134134### to
135135
@@ -143,6 +143,7 @@ The context object is used to render the template. Additional values
143143can be found at: https://semantic-release.gitbook.io/semantic-release/developer-guide/js-api#result
144144
145145For advanced replacement (NOTE: only for use with ` release.config.js ` file version), pass in a function to replace non-standard variables
146+
146147```
147148{
148149 from: `__VERSION__ = 11`, // eslint-disable-line
@@ -162,4 +163,4 @@ to match the amount of `from` matchers.
162163
163164#### Defined in
164165
165- [ index.ts:85] ( https://github.com/centralnicgroup-opensource/rtldev-middleware-semantic-release-replace-plugin/blob/17307cb /src/index.ts#L85 )
166+ [ index.ts:85] ( https://github.com/centralnicgroup-opensource/rtldev-middleware-semantic-release-replace-plugin/blob/a490964 /src/index.ts#L85 )
0 commit comments