Skip to content

Commit d4690b7

Browse files
author
Piotr Oleś
committed
chore: 🔧 add semantic-release changelog generation
To keep CHANGELOG.md file in the repository, @semantic-release/changelog plugin has been integrated.
1 parent 9179b66 commit d4690b7

File tree

3 files changed

+280
-3
lines changed

3 files changed

+280
-3
lines changed

CHANGELOG.md

+252-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,253 @@
1-
## Changelog
1+
## v1.0.3
22

3-
All release all available on the [GitHub Releases page](https://github.com/Realytics/fork-ts-checker-webpack-plugin/releases).
3+
- [use worker-rpc library for inter-process communication](https://github.com/Realytics/fork-ts-checker-webpack-plugin/pull/231)
4+
5+
## v1.0.2
6+
7+
- [Fix ignoreLintWarning mark warnings as errors](https://github.com/Realytics/fork-ts-checker-webpack-plugin/pull/243)
8+
9+
## v1.0.1
10+
11+
- [Apply rounding to compilation time](https://github.com/Realytics/fork-ts-checker-webpack-plugin/pull/235)
12+
13+
## v1.0.0
14+
15+
- [Going 1.0](https://github.com/Realytics/fork-ts-checker-webpack-plugin/pull/218)
16+
17+
This is the first major version of `fork-ts-checker-webpack-plugin`. A long time coming :-)
18+
19+
There are actually no breaking changes that we're aware of; users of 0.x `fork-ts-checker-webpack-plugin` should be be able to upgrade without any drama. Users of TypeScript 3+ may notice a performance improvement as by default the plugin now uses the [incremental watch API](https://github.com/Microsoft/TypeScript/pull/20234) in TypeScript. Should this prove problematic you can opt out of using it by supplying `useTypescriptIncrementalApi: false`.
20+
21+
We are aware of an [issue with Vue and the incremental API](https://github.com/Realytics/fork-ts-checker-webpack-plugin/issues/219). We hope it will be fixed soon - a generous member of the community is taking a look. In the meantime, we will _not_ default to using the incremental watch API when in Vue mode.
22+
23+
The plugin supports webpack 2, 3, 4 and 5 alpha and TypeScript 2.1+ alongside tslint 4+.
24+
25+
See also: https://blog.johnnyreilly.com/2019/03/the-big-one-point-oh.html
26+
27+
## v1.0.0-alpha.10
28+
29+
- [Fix incremental api to work with TS 3+ by default](https://github.com/Realytics/fork-ts-checker-webpack-plugin/pull/223)
30+
31+
## v1.0.0-alpha.9
32+
33+
- [Default to incremental api usage to true if TS 3+](https://github.com/Realytics/fork-ts-checker-webpack-plugin/pull/217)
34+
35+
## v1.0.0-alpha.8
36+
37+
- [Respect tslint configs hierarchical order](https://github.com/Realytics/fork-ts-checker-webpack-plugin/pull/214)
38+
39+
## v1.0.0-alpha.7
40+
41+
- [Add ignoreLintWarnings option](https://github.com/Realytics/fork-ts-checker-webpack-plugin/pull/213)
42+
43+
## v1.0.0-alpha.6
44+
45+
- [don't directly depend upon typescript](https://github.com/Realytics/fork-ts-checker-webpack-plugin/pull/208)
46+
47+
## v1.0.0-alpha.5
48+
49+
- [can now provide path where typescript can be found](https://github.com/Realytics/fork-ts-checker-webpack-plugin/pull/204)
50+
51+
## v1.0.0-alpha.4
52+
53+
- [make node 6 compatible](https://github.com/Realytics/fork-ts-checker-webpack-plugin/pull/202)
54+
55+
## v1.0.0-alpha.3
56+
57+
- [replace peerDeps with runtime checks](https://github.com/Realytics/fork-ts-checker-webpack-plugin/pull/201)
58+
59+
## v1.0.0-alpha.2
60+
61+
- [Add `useTypescriptIncrementalApi`](https://github.com/Realytics/fork-ts-checker-webpack-plugin/pull/198) (#196)
62+
63+
## v1.0.0-alpha.1
64+
65+
- [Use object-spread instead of `Object.assign`](https://github.com/Realytics/fork-ts-checker-webpack-plugin/pull/194) (#194)
66+
67+
## v1.0.0-alpha.0
68+
69+
- [Add support for webpack 5](https://github.com/Realytics/fork-ts-checker-webpack-plugin/pull/166)
70+
71+
### Breaking Changes
72+
73+
Version `1.x` additionally supports webpack 5 alongside webpack 4, whose hooks are now tapped differently:
74+
75+
```diff
76+
- compiler.hooks.forkTsCheckerDone.tap(...args)
77+
+ const forkTsCheckerHooks = ForkTsCheckerWebpackPlugin.getCompilerHooks(compiler)
78+
+ forkTsCheckerHooks.done.tap(...args)
79+
```
80+
81+
v1.0.0-alpha.0 drops support for node 6.
82+
83+
## v0.5.2
84+
85+
- [Fix erroneous error on diagnostics at 0 line; remove deprecated fs.existsSync](https://github.com/Realytics/fork-ts-checker-webpack-plugin/pull/190) (#190)
86+
87+
## v0.5.1
88+
89+
- [Make the checker compile with TypeScript 3.2](https://github.com/Realytics/fork-ts-checker-webpack-plugin/pull/189)
90+
91+
## 0.5.0
92+
93+
- Removed unused dependency `resolve`.
94+
- Replace `lodash` usage with native calls.
95+
- ** Breaking Changes**:
96+
- Removed all getters from `NormalizedMessage`, use direct property access instead.
97+
- **Internal**:
98+
- Test against ts-loader v5
99+
- Enable all strict type checks
100+
- Update dev dependencies
101+
102+
## v0.4.15
103+
104+
- [Add `tslintAutoFix` option to be passed on to tslint to auto format typescript files](https://github.com/Realytics/fork-ts-checker-webpack-plugin/pull/174) (#174)
105+
106+
## v0.4.14
107+
108+
- [Add support for `reportFiles` option](https://github.com/Realytics/fork-ts-checker-webpack-plugin/pull/179) (#179)
109+
110+
## v0.4.13
111+
112+
- [Merge in `compilerOptions` prior to calling `parseJsonConfigFileContent`](https://github.com/Realytics/fork-ts-checker-webpack-plugin/pull/176) (#176)
113+
114+
## v0.4.12
115+
116+
- [Add `compilerOptions` option](https://github.com/Realytics/fork-ts-checker-webpack-plugin/pull/173) (#173)
117+
118+
## v0.4.11
119+
120+
- [Fix os.cpus is not a function](https://github.com/Realytics/fork-ts-checker-webpack-plugin/pull/172) (#172)
121+
122+
## v0.4.10
123+
124+
- [Allow fork-ts-checker-webpack-plugin to be imported in .ts files using ESM import syntax](https://github.com/Realytics/fork-ts-checker-webpack-plugin/pull/163) (#163)
125+
126+
## v0.4.9
127+
128+
- [Set "compilationDone" before resolving "forkTsCheckerServiceBeforeStart"](https://github.com/Realytics/fork-ts-checker-webpack-plugin/pull/146) (#146)
129+
130+
## v0.4.8
131+
132+
- [Fix(types collision): update webpack](https://github.com/Realytics/fork-ts-checker-webpack-plugin/pull/151) (#142)
133+
134+
## v0.4.7
135+
136+
- [Fix(types collision): update chalk and chokidar](https://github.com/Realytics/fork-ts-checker-webpack-plugin/pull/147) (#142)
137+
- [Fix(logger): Don't limit Options.logger to Console type](https://github.com/Realytics/fork-ts-checker-webpack-plugin/pull/143)
138+
139+
## v0.4.6
140+
141+
- [Fix(types): Make options Partial<Options>](https://github.com/Realytics/fork-ts-checker-webpack-plugin/pull/141) (#140)
142+
143+
## v0.4.5
144+
145+
- [Fix(types): Add types to the plugin](https://github.com/Realytics/fork-ts-checker-webpack-plugin/pull/139) (#137)
146+
- [Fix(vue): Avoid false positive of no-consecutive-blank-lines TSLint rule in Vue file](https://github.com/Realytics/fork-ts-checker-webpack-plugin/pull/138) (#130)
147+
148+
## v0.4.4
149+
150+
- [Fix(vue): resolve src attribute on the script block on Vue files](https://github.com/Realytics/fork-ts-checker-webpack-plugin/pull/130) (#111, #85)
151+
- Add TypeScript ^3.0.0 to peerDependencies
152+
153+
## v0.4.3
154+
155+
- Fix "File system lag can cause Invalid source file errors to slip through" (#127)
156+
157+
## v0.4.2
158+
159+
- Format messages when `async` is false
160+
161+
## v0.4.1
162+
163+
- Fix webpack 4 hooks bug
164+
165+
## v0.4.0
166+
167+
- Support webpack 4
168+
169+
## v0.3.0
170+
171+
- Add `vue` support
172+
173+
## v0.2.10
174+
175+
- Fix #80 "Cannot read property 'getLineAndCharacterOfPosition' of undefined"
176+
- Fix #76 "TypeError: Cannot read property '0' of undefined"
177+
178+
## v0.2.9
179+
180+
- Make errors formatting closer to `ts-loader` style
181+
- Handle tslint exclude option
182+
183+
## v0.2.8
184+
185+
- Add `checkSyntacticErrors` option
186+
- Fix `process.env` pass to the child process
187+
- Add `fork-ts-checker-service-before-start` hook
188+
189+
## v0.2.7
190+
191+
- Fix service is not killed when webpack watch is done
192+
193+
## v0.2.6
194+
195+
- Add diagnostics/lints formatters - `formatter` and `formatterOptions` option
196+
197+
## v0.2.5
198+
199+
- Add `async` option - more information in `README.md`
200+
201+
## v0.2.4
202+
203+
- Fix `ESLint: "fork-ts-checker-webpack-plugin" is not published.` issue
204+
205+
## v0.2.3
206+
207+
- Add support for webpack 3 as peerDependency
208+
209+
## v0.2.2
210+
211+
- Force `isolatedModule: false` in checker compiler for better performance
212+
213+
## v0.2.1
214+
215+
- Fix for `tslint: true` option issue
216+
217+
## v0.2.0
218+
219+
- tsconfig.json and tslint.json path are not printed anymore.
220+
- `watch` option is not used on 'build' mode
221+
- Handle case with no options object (`new ForkTsCheckerWebpacPlugin()`)
222+
- Basic integration tests (along units)
223+
- **Breaking changes**:
224+
- tslint is not enabled by default - you have to set `tslint: true` or `tslint: './path/to/tslint.json'` to enable it.
225+
- `blockEmit` option is removed - it choose automatically - blocks always on 'build' mode, never on 'watch' mode.
226+
227+
## v0.1.5
228+
229+
- Disable tslint if module is not installed and no tslint path is passed
230+
- Improve README.md
231+
232+
## v0.1.4
233+
234+
- Fix send to closed channel case
235+
- Fix removed files case
236+
- Add `fork-ts-checker-service-start-error` hook
237+
238+
## v0.1.3
239+
240+
- Fix "Cannot read property 'mtime' of undefined on OSX"
241+
242+
## v0.1.2
243+
244+
- Workers mode works correctly (fixed typo)
245+
246+
## v0.1.1
247+
248+
- Support memory limit in multi-process mode
249+
- Handle already closed channel case on sending ipc message
250+
251+
## v0.1.0
252+
253+
- Initial release - not production ready.

package.json

+17
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,22 @@
8383
"path": "cz-conventional-changelog"
8484
}
8585
},
86+
"release": {
87+
"branches": [
88+
"master",
89+
{
90+
"name": "beta",
91+
"prerelease": true
92+
}
93+
],
94+
"plugins": [
95+
"@semantic-release/commit-analyzer",
96+
"@semantic-release/release-notes-generator",
97+
"@semantic-release/changelog",
98+
"@semantic-release/npm",
99+
"@semantic-release/github"
100+
]
101+
},
86102
"dependencies": {
87103
"babel-code-frame": "^6.22.0",
88104
"chalk": "^2.4.1",
@@ -95,6 +111,7 @@
95111
},
96112
"devDependencies": {
97113
"@commitlint/config-conventional": "^7.5.0",
114+
"@semantic-release/changelog": "^3.0.2",
98115
"@types/babel-code-frame": "^6.20.1",
99116
"@types/chokidar": "^1.7.5",
100117
"@types/micromatch": "^3.1.0",

yarn.lock

+11-1
Original file line numberDiff line numberDiff line change
@@ -228,6 +228,16 @@
228228
dependencies:
229229
any-observable "^0.3.0"
230230

231+
"@semantic-release/changelog@^3.0.2":
232+
version "3.0.2"
233+
resolved "https://registry.yarnpkg.com/@semantic-release/changelog/-/changelog-3.0.2.tgz#b09a8e0d072ef54d2bc7a5c82f6112dc3c8ae85d"
234+
integrity sha512-pDUaBNAuPAqQ+ArHwvR160RG2LbfyIVz9EJXgxH0V547rlx/hCs0Sp7L4Rtzi5Z+d6CHcv9g2ynxplE1xAzp2g==
235+
dependencies:
236+
"@semantic-release/error" "^2.1.0"
237+
aggregate-error "^2.0.0"
238+
fs-extra "^7.0.0"
239+
lodash "^4.17.4"
240+
231241
"@semantic-release/commit-analyzer@^7.0.0-beta.1":
232242
version "7.0.0-beta-.2"
233243
resolved "https://registry.yarnpkg.com/@semantic-release/commit-analyzer/-/commit-analyzer-7.0.0-beta-.2.tgz#5f30919eabee8f876c5f80d270274dca34933f76"
@@ -241,7 +251,7 @@
241251
lodash "^4.17.4"
242252
micromatch "^3.1.10"
243253

244-
"@semantic-release/error@^2.2.0":
254+
"@semantic-release/error@^2.1.0", "@semantic-release/error@^2.2.0":
245255
version "2.2.0"
246256
resolved "https://registry.yarnpkg.com/@semantic-release/error/-/error-2.2.0.tgz#ee9d5a09c9969eade1ec864776aeda5c5cddbbf0"
247257
integrity sha512-9Tj/qn+y2j+sjCI3Jd+qseGtHjOAeg7dU2/lVcqIQ9TV3QDaDXDYXcoOHU+7o2Hwh8L8ymL4gfuO7KxDs3q2zg==

0 commit comments

Comments
 (0)