@j-ulrich/release-it-regex-bumper 3.0.1 → 4.1.0

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.
@@ -1,76 +0,0 @@
1
- # This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
2
- # For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
3
-
4
- name: CI
5
-
6
- on: [ push, pull_request ]
7
-
8
- jobs:
9
- compatibility-test-node:
10
- name: Test Node Version Compatibility
11
- runs-on: ubuntu-latest
12
-
13
- strategy:
14
- matrix:
15
- node-version: [ 10.x, 12.x, 14.x ]
16
-
17
- steps:
18
- - uses: actions/checkout@v2
19
- - name: Use Node.js ${{ matrix.node-version }}
20
- uses: actions/setup-node@v1
21
- with:
22
- node-version: ${{ matrix.node-version }}
23
- - run: npm ci
24
- - run: npm install release-it
25
- - run: npm run build --if-present
26
- - run: npm run test
27
-
28
- compatibility-test-release:
29
- name: Test Release-it Version Compatibility
30
- runs-on: ubuntu-latest
31
-
32
- strategy:
33
- matrix:
34
- release-it-version: [ 11.x, 12.x, 13.x, 14.x ]
35
-
36
- steps:
37
- - uses: actions/checkout@v2
38
- - uses: actions/setup-node@v1
39
- with:
40
- node-version: 16.x
41
- - run: npm ci
42
- - run: npm install release-it@${{ matrix.release-it-version }}
43
- - run: npm run build --if-present
44
- - run: npm run test
45
-
46
- coverage:
47
- name: Coverage
48
- runs-on: ubuntu-latest
49
-
50
- steps:
51
- - uses: actions/checkout@v2
52
- - uses: actions/setup-node@v1
53
- with:
54
- node-version: 16.x
55
- - run: npm ci
56
- - run: npm install release-it
57
- - run: npm run build --if-present
58
- - run: npm run test+coverage
59
- - run: npx c8 report --reporter lcov
60
- - name: Upload coverage to Codacy
61
- uses: codacy/codacy-coverage-reporter-action@v1
62
- with:
63
- project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}
64
- coverage-reports: coverage/lcov.info
65
-
66
- lint:
67
- name: Lint
68
- runs-on: ubuntu-latest
69
-
70
- steps:
71
- - uses: actions/checkout@v2
72
- - uses: actions/setup-node@v1
73
- with:
74
- node-version: 16.x
75
- - run: npm ci
76
- - run: npm run lint
package/.gitignore DELETED
@@ -1,6 +0,0 @@
1
- coverage/
2
- .*
3
- !.github
4
- !.gitignore
5
- !.release-it.json
6
- node_modules/
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