@j-ulrich/release-it-regex-bumper 3.0.1 → 3.0.2
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/LICENSE +1 -1
- package/README.md +13 -4
- package/index.js +177 -128
- package/package.json +9 -3
- package/.github/workflows/CI.yml +0 -76
- package/.gitignore +0 -6
- package/.release-it.json +0 -29
- package/CHANGELOG.md +0 -166
- package/test.js +0 -686
package/.release-it.json
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"hooks": {
|
|
3
|
-
"before:init": "npm test"
|
|
4
|
-
},
|
|
5
|
-
"plugins": {
|
|
6
|
-
"./index.js": {
|
|
7
|
-
"out": [
|
|
8
|
-
{
|
|
9
|
-
"files": [ "README.md", "LICENSE" ],
|
|
10
|
-
"search": {
|
|
11
|
-
"pattern": "((?:\\\\)?[Cc])opyright (.*?)(\\d+-)?(\\d+)",
|
|
12
|
-
"flags": "g"
|
|
13
|
-
},
|
|
14
|
-
"replace": "$1opyright $2${3}{{now:yyyy}}"
|
|
15
|
-
},
|
|
16
|
-
{
|
|
17
|
-
"file": "CHANGELOG.md",
|
|
18
|
-
"search": "Unreleased",
|
|
19
|
-
"replace": "[{{version}}] - {{now:yyyy-MM-dd}}"
|
|
20
|
-
},
|
|
21
|
-
{
|
|
22
|
-
"file": "CHANGELOG.md",
|
|
23
|
-
"search": "(\\[{{version}}\\]: http)",
|
|
24
|
-
"replace": "[{{version}}]: https://github.com/j-ulrich/release-it-regex-bumper/releases/tag/{{version}}\n$1"
|
|
25
|
-
}
|
|
26
|
-
]
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
}
|
package/CHANGELOG.md
DELETED
|
@@ -1,166 +0,0 @@
|
|
|
1
|
-
# Changelog #
|
|
2
|
-
This is the changelog of the release-it-regex-bumper plugin.
|
|
3
|
-
|
|
4
|
-
This project adheres to [Semantic Versioning](https://semver.org).
|
|
5
|
-
This changelog follows the [Keep a Changelog](https://keepachangelog.com) format.
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
---
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
## [3.0.1] - 2021-10-26 ##
|
|
12
|
-
|
|
13
|
-
### Changed ###
|
|
14
|
-
- Updated dev dependencies to be able to test against Node.js 16.x.
|
|
15
|
-
|
|
16
|
-
### Fixed ###
|
|
17
|
-
- Several code quality issues.
|
|
18
|
-
- Improved documentation and added missing documentation.
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
---
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
## [3.0.0] - 2021-10-08 ##
|
|
25
|
-
|
|
26
|
-
### Added ###
|
|
27
|
-
- Support for placeholders in the search patterns.
|
|
28
|
-
⚠️ Note that this is a potential **breaking change**. See below for details.
|
|
29
|
-
|
|
30
|
-
### Changed ###
|
|
31
|
-
- It is now possible to set just the `search.flags` or `search.pattern` in the global `search` options, in
|
|
32
|
-
`out.search` options and `in.search` options. The other property is then using its default value.
|
|
33
|
-
|
|
34
|
-
#### Breaking Changes ####
|
|
35
|
-
- Patterns like `{{version}}` in the search pattern were previously matching literally but now they have a special
|
|
36
|
-
meaning (see documentation of `in.search.pattern` and `out.search.pattern`). Use `{{{}}` to insert a curly brace in
|
|
37
|
-
the pattern to avoid the interpretation as placeholder. For example, use `{{{}}{version}}` to match `{{version}}`
|
|
38
|
-
literally.
|
|
39
|
-
|
|
40
|
-
---
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
## [2.0.0] - 2021-04-22 ##
|
|
44
|
-
|
|
45
|
-
### Changed ###
|
|
46
|
-
|
|
47
|
-
#### Breaking Changes ####
|
|
48
|
-
- [[#1]] Replaced Moment.js with date-fns. This means the format syntax for the date/time formatting has changed.
|
|
49
|
-
See https://date-fns.org/v2.8.0/docs/format for the new syntax.
|
|
50
|
-
⚠️ Especially note that the year and day patterns now use lower case letters (for example `yyyy` and `dd`).
|
|
51
|
-
See also https://git.io/fxCyr.
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
---
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
## [1.2.6] - 2021-04-22 ##
|
|
58
|
-
|
|
59
|
-
### Fixed ###
|
|
60
|
-
- Version declaration of release-it peerDependency was too strict since older versions are supported as well.
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
---
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
## [1.2.5] - 2021-04-16 ##
|
|
67
|
-
|
|
68
|
-
### Fixed ###
|
|
69
|
-
- [[#2]] Declared release-it as a peerDependency instead of a regular dependency.
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
---
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
## [1.2.4] - 2021-04-07 ##
|
|
76
|
-
|
|
77
|
-
### Fixed ###
|
|
78
|
-
- Reverted unnecessary increase of dependency requirements in package.json.
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
---
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
## [1.2.3] - 2021-04-07 ##
|
|
85
|
-
|
|
86
|
-
### Security ###
|
|
87
|
-
- Updated dependencies to remove vulnerability CVE-2020-28498.
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
---
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
## [1.2.2] - 2021-04-07 ##
|
|
94
|
-
|
|
95
|
-
### Security ###
|
|
96
|
-
- Updated dependencies to remove vulnerability CVE-2020-7774.
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
---
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
## [1.2.1] - 2020-01-29 ##
|
|
103
|
-
|
|
104
|
-
### Fixed ###
|
|
105
|
-
- Missing documentation of global `encoding` option.
|
|
106
|
-
- Error in the example in the documentation.
|
|
107
|
-
|
|
108
|
-
### Security ###
|
|
109
|
-
- Updated dependencies to remove low severity vulnerability CVE-2020-7788.
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
---
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
## [1.2.0] - 2020-09-10 ##
|
|
116
|
-
|
|
117
|
-
### Added ###
|
|
118
|
-
- Placeholders `{{major}}`, `{{minor}}`, `{{patch}}`, `{{prerelease}}`, `{{build}}`,
|
|
119
|
-
`{{versionWithoutBuild}}`, `{{versionWithoutPrerelease}}` and `{{{}}`.
|
|
120
|
-
|
|
121
|
-
### Fixed ###
|
|
122
|
-
- Set maximum supported release-it version.
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
---
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
## [1.1.1] - 2020-09-03 ##
|
|
129
|
-
|
|
130
|
-
### Fixed ###
|
|
131
|
-
- Incompatibility with release-it 14.x due to removed `global` property.
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
---
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
## [1.1.0] - 2020-09-02 ##
|
|
138
|
-
|
|
139
|
-
### Added ###
|
|
140
|
-
- `out.files` option
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
---
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
## [1.0.0] - 2020-08-28 ##
|
|
147
|
-
Initial release.
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
[3.0.1]: https://github.com/j-ulrich/release-it-regex-bumper/releases/tag/3.0.1
|
|
152
|
-
[3.0.0]: https://github.com/j-ulrich/release-it-regex-bumper/releases/tag/3.0.0
|
|
153
|
-
[2.0.0]: https://github.com/j-ulrich/release-it-regex-bumper/releases/tag/2.0.0
|
|
154
|
-
[1.2.6]: https://github.com/j-ulrich/release-it-regex-bumper/releases/tag/1.2.6
|
|
155
|
-
[1.2.5]: https://github.com/j-ulrich/release-it-regex-bumper/releases/tag/1.2.5
|
|
156
|
-
[1.2.4]: https://github.com/j-ulrich/release-it-regex-bumper/releases/tag/1.2.4
|
|
157
|
-
[1.2.3]: https://github.com/j-ulrich/release-it-regex-bumper/releases/tag/1.2.3
|
|
158
|
-
[1.2.2]: https://github.com/j-ulrich/release-it-regex-bumper/releases/tag/1.2.2
|
|
159
|
-
[1.2.1]: https://github.com/j-ulrich/release-it-regex-bumper/releases/tag/1.2.1
|
|
160
|
-
[1.2.0]: https://github.com/j-ulrich/release-it-regex-bumper/releases/tag/1.2.0
|
|
161
|
-
[1.1.1]: https://github.com/j-ulrich/release-it-regex-bumper/releases/tag/1.1.1
|
|
162
|
-
[1.1.0]: https://github.com/j-ulrich/release-it-regex-bumper/releases/tag/1.1.0
|
|
163
|
-
[1.0.0]: https://github.com/j-ulrich/release-it-regex-bumper/releases/tag/1.0.0
|
|
164
|
-
|
|
165
|
-
[#2]: https://github.com/j-ulrich/release-it-regex-bumper/issues/2
|
|
166
|
-
[#1]: https://github.com/j-ulrich/release-it-regex-bumper/issues/1
|