Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^0.6.1
->^0.14.0
Release Notes
formium/tsdx
v0.14.1
Compare Source
Bugfixes
An upstream cache bug that affected certain combinations of build formats has been fixed
The built-in
lodash
->lodash-es
replacement no longer breaks imports oflodash/fp
Dependencies
eslint-config-react-app
has been resolvedCommits
Lists of commits:
Bugfixes
Dependencies
GitHub
Internal
All Contributors
Commit Range
v0.14.0
Compare Source
BREAKING CHANGES
Slightly Breaking Changes
Node 10+
Updated the required Node version from 8 to 10.
While previous versions of TSDX began deprecating support for Node 8, it was not officially dropped.
In this release, we have officially dropped Node 8: TSDX now requires Node 10+ as many dependencies that were upgraded similarly do.
This should not impact most users as Node 8 has been EoL for ~9 months now.
Many packages had already required Node 10+ and the vast majority already have support for it.
Most users are on Node 12 or Node 14 already.
Jest 25
Updated the Jest version used by
tsdx test
from 24 to 25.The main breaking change in Jest 25 is the upgrade of the default JSDOM environment from JSDOM v11 to JSDOM v15.
For most Jest users, this change either has no impact or will reduce configuration if you've manually set a more up-to-date
jest-environment-jsdom
in yourjest.config.js
.In some rare cases, where code relied on the old version of JSDOM, this may result in breakage.
ts-jest
andjest-plugin-typeahead
have also been upgraded to support Jest 25.Babel Changes
babel-plugin-transform-async-to-promises
->babel-plugin-polyfill-regenerator
async-to-promises
has been unmaintained for around a year now and has several correctness issues, many of which have affected TSDX users. For that reason, we've switched to usingbabel-plugin-polyfill-regenerator
instead, which will add a pure, non-pollutingregenerator-runtime
polyfill if yourtargets
require it.The vast majority of browsers (94.37%) now support async/await and generators with no polyfilling necessary, but the default
preset-env
will add it. If you don't already have one, we recommend adding a.browserslistrc
(orpreset-env
targets
) to specify the environments you're targeting.This should be totally backward-compatible, but it may change the output quite a bit, including making bundles larger due to inclusion of
regenerator-runtime
.babel-plugin-macros
TSDX's internal Babel plugin ordering has changed, moving
babel-plugin-macros
to be first.This was done in order to support several use-cases like
styled-components/macro
, which previously did not work due to the ordering.This shouldn't really break anything, but there is an off chance it might have an impact on some rare builds.
Improvements
babel-plugin-polyfill-regenerator
change above, TSDX now supports polyfilling generators out-of-the-box. Previously we only supported async/await withbabel-plugin-transform-async-to-promises
and required users to configure their own plugins for generator polyfillingstyled-components/macro
support per above--max-warnings
flag has been added totsdx lint
, which works the same as ESLint's--max-warnings
flagTemplate Improvements
size-limit
has been added to all templates for bundle analysis via NPM/Yarn scripts and a GitHub Actionbahmutov/npm-install
tsconfig.json
now setskipLibCheck
,forceConsistentCasingInFileNames
, andnoEmit
tsc
for type-checking.skipLibCheck
will also greatly increase performance oftsc
's type-checkingtsconfig.json
now have detailed comments explaining nearly every configuration option in useDocs
patch-package
is now officially listed as a customization optionDependencies
@babel/preset-env
was updated to the latest minor to support nullish coalescing and optional chaining without additional plugins, as well as to update the compatibility table.preset-env
or Autoprefixer, as TSDX's internal test suite does, you may need to update those snapshots.yarn-deduplicate
, overall install size should have decreased a good bitCommits
Lists of commits:
Improvements
--max-warnings
flag totsdx lint
(#858) dd92fecBugfixes
Template Improvements
Docs
patch-package
reference to Customization section (#855) 08a8ef8Dependencies
GitHub
Internal
All Contributors
Commit Range
Postscript
Apologies again for the delay on getting to
v0.14.0
, COVID added a lot of stress and work had been busy, to say the least. Unfortunately I wasn't able to get to all the changes I wanted to into it, but v0.14.0 has been waiting long enough. Only two complex issues were left out and many more PRs added in, though not everything had made it intov0.13.x
either.I also wanted to push Rollup 2, TS 4.0, Prettier 2, and ESLint upgrades into this, but the breaking changes in the changelog started getting too big, so I decided to wait a bit to split those changes across more releases to not throw too much breakage at users at once.
If you're wondering, all of my co-workers, my team, and I were suddenly laid off just over a week ago, so that's why I had time (and want to distract myself) to push out ~2 dozen PRs the past week 😕
Best wishes and stay safe to everyone!
v0.13.3
Compare Source
Optimizations
Template Bugfixes
baseUrl
orpaths
set in theirtsconfig
, fixing a long-standing bugTemplate Docs
Commits
Lists of commits:
Optimizations
Template Improvements
Template Bugfixes
Template Docs
Docs
GitHub
Internal
All Contributors
Commit Range
Postscript
Apologies for the delay on releasing this and the delay on getting to
v0.14.0
, COVID added a lot of stress and work has been busy, to say the least. I'm behind on all of my OSS repos, TSDX is actually the most maintained (but needs a lot more attention) 😕v0.14.0
will be the next release, which will be a breaking change mostly due to updating dependencies' majors. I held back on it to get more intov0.13.x
before getting busy, but unfortunately I wasn't able to get to all the changes I wanted to into it, but v0.14.0 has been waiting long enoughWishing everyone well! Please stay safe and please do your part to follow public health guidelines!
✊ Quoting from a Chromium release ✊ :
v0.13.2
Compare Source
Bugfixes
@types/jest
was moved to be a dependency instead of a devDependency. It has also been removed from the templates.@types/jest
v25 but Jest v24.semver
was also moved from devDependency to dependency. It's used intsdx create
, so it was misplaced.Template Improvements
tsconfig
compilerOptions
have been removed.strict
already includes all of these.Commits:
Lists of commits:
Bugfixes
Template Improvements
Internal
All Contributors
Commit Range
Postscript
Wishing everyone well during the pandemic! Please stay safe and please do your part to follow public health guidelines!
If you're looking for more ways to help out, there are many, many around and likely local initiatives where you live. I also included a small few I stumbled upon in the previous release postscript.
Another recent relevant one might be the shortage of COBOL programmers in the US. If you're a tech worker interested in helping out NJ (whether you know COBOL or not), there's a sign-up form here.
v0.13.1
Compare Source
Template Bugfix
tsconfig.json
include
was changed to removetest
from the array. This faulty include resulted in declarations being generated indist/
for test files as well as slowing down builds. It was also the cause of TS errors around v0.13.0's change torootDir: './src'
Tests
Commits:
Lists of commits:
Template Bugfix
Internal
3cb3841
477a6dd
9f559fa
985a97b
6e34b20
Tests
863c56d
9fde343
ee391e4
25587a5
fc4e23e
9569d0c
9d72222
944ab02
70c8c68
1e690b5
7617726
a43da8d
d234dff
05e5b64
All Contributors
7364efe
Commit Range
Postscript
Wishing everyone well during the pandemic! Please stay safe and follow the guidelines of public health officials, for yourself, for your family, and for everyone else and their families!
There's also lots of ways to help out, here's just a few I've stumbled upon:
v0.13.0
Compare Source
Deprecations
tsconfig.json
rootDir
has been changed to./src
../
is now deprecated and will give a warningImprovements
tsdx.config.js
are now supported out-of-the-box (no more need for hacks likeobjectHashIgnoreUnknownHack
)--config
flag is now respectedtsconfig.json
'sdeclarationDir
is now respectedBugfixes
src/index.jsx
will now be parsed as an entry file (previously only.ts
,.tsx
, and.js
were)esModuleInterop
should be properly read now for the purposes of configuring Rollup'sesModule
/ CJS__esModule
-- a bug made it so these were always added previously. This does not impact parsing ofesModuleInterop
for anything else, which worked correctly and still does.ts-jest
anymoretsdx.config.js
don't bug out anymoreTemplates
tsconfig.json
rootDir
has been changed to./src
../
is now deprecated and will give a warningtsconfig.json
target
has been removed as it is not currently configurable (configured with@babel/preset-env
instead)src
is now included inpackage.json
files
to improve debuggingCommits:
Lists of commits:
Features
16459df
b23f158
424fc25
655bb53
a56894f
Bugfixes
735f301
c12f92c
ad33c01
f19fa61
d164dd2
edd8045
e2a91ad
1b1b9f8
4ec56fc
b17a0be
a97a5af
67a07bd
40ba936
Templates
287dc44
670cc56
68f26c9
21893b8
9f183e7
1d8f123
Docs
test
script doesn't run Jest in interactive mode (#536)a2e4b78
1269115
Dependencies
3462576
ab73e25
3a6d42f
6a0a2c5
4f6de10
1a7d816
f12fcdf
95ff6da
23c8826
Internal
18e3c05
77e7c70
82e764f
0f72117
6679c23
b21d7af
3530265
9fef652
fec415e
df22fe3
b3632fe
4e5e48a
All Contributors
Expand very long list. All historical contributors were added during this release.
3a6e098
d4dd010
6b9f205
e0e1a79
60cc280
8b2fb0c
1611158
3558e7b
32ca779
7e4601d
0930aeb
8ed4547
35eb230
1118a53
8bba957
272547e
43e4e2f
de3c565
109355f
efbcfe2
9702550
f1e06c2
dc871c1
570ed7a
47a566e
1ad4787
9a11b10
c256093
2277e8a
4495dde
dc43151
72904ca
17ef158
1fe8d51
254783a
e0ad9cd
3a270f5
ac1fd87
ac2e80f
544cf4e
ab213f7
dabc620
78073f7
518ef10
345f850
53713aa
c878caf
e72ec4e
d84756a
7c1d677
68d5601
216bb56
7102819
0419262
10e54d5
f4783d6
d4e12ee
4f1e1ef
97480cc
a929772
a31ee26
1b9092b
b71431b
93c4be6
ba1d276
70dd8e5
d819596
d9eb226
3932958
4f2ba6f
317b673
77c28d0
7bb50a4
651be2f
Commit Range
Postscript
Sorry for the long delay on this release everyone, I was recently added as an official maintainer (a week ago) and just given publishing privileges (yesterday). See https://github.com/jaredpalmer/tsdx/issues/512 for more details.
Wishing everyone well during the pandemic!
v0.12.3
Compare Source
Patch
tsdx test
no longer defaults to watch mode in interactive environments. This reverts previous behavior which caused bugs.Commits
367a7a5
bd35f65
95ac3f4
f1cf8b1
v0.12.2
Compare Source
Patch
Commits
e5747fd
9e8ab92
00f80ac
ea124bc
cfc1e76
35fa947
158ee9a
a38041f
f338613
v0.12.1
Compare Source
Improvements
transpileOnly
flagBugfixes
Commits
e1370de
ec0f285
7c79b74
27ba1dd
387f3c2
531010e
be3c410
efb3539
ab54278
2a5e5a5
ee4b307
v0.12.0
Compare Source
Improvements
node_modules
, you can delete the .rts2_cache_xxx folders from root and remove them from your .gitignore filesprocess.env.CI
false
),tsdx test
now runs Jest in watch mode. Note: Most CI services setCI
env variable to true by default. Our implementation is exactly how create-react-app does it.tsdx test
will pass in cases where no tests exist"prepare"
task topackage.json
scripts so that you can publish immediately. For those interested, I like to publish (TSDX) packages withnp
to do this.Bugfixes
Roadmap
Commits
843c676
930feb9
c5df5ac
](https://togithub.com/formium/tsdx/commit/c5df5aConfiguration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.