tsconfig.jsonrootDir has been changed to ./src. ./ is now deprecated and will give a warning
Improvements
Async Rollup Plugins for tsdx.config.js are now supported out-of-the-box (no more need for hacks like objectHashIgnoreUnknownHack)
Jest's --config flag is now respected
tsconfig.json's declarationDir is now respected
Much better support of JS & JSX files in build, test, and lint. This should enhance the gradual migration experience quite a bit
Co-located test files are ignored during build by default now (so unnecessary declarations aren't generated for them)
Bugfixes
Babel presets should no longer be ignored and will be merged with TSDX's defaults
Multiple JSX -> JSX imports should resolve correctly now
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's esModule / CJS __esModule -- a bug made it so these were always added previously. This does not impact parsing of esModuleInterop for anything else, which worked correctly and still does.
Jest transform regexes are now properly anchored, non-TS/TSX files shouldn't be passed to ts-jest anymore
Jest config parsing now errors loudly instead of silently during failures
Async Rollup Plugins in tsdx.config.js don't bug out anymore
Templates
Storybook template has been significantly upgraded and patched
GH Actions have been added to all templates
tsconfig.jsonrootDir has been changed to ./src. ./ is now deprecated and will give a warning
Confusing tsconfig.jsontarget has been removed as it is not currently configurable (configured with @babel/preset-env instead)
src is now included in package.jsonfiles to improve debugging
Node version requirement is enforced when creating templates
Commits:
Features
(feat): support custom jest config paths via --config (#526) 16459df
(feat): use tsconfig declarationDir is set (#468) b23f158
(feat): support JS & JSX files in tsdx test (#486) 424fc25
(feat): support JS & JSX files in tsdx lint (#487) 655bb53
Ensure co-located test files don't have definitions generated (#472) a56894f
Bugfixes
Add JSX extension to @rollup/plugin-node-resolve options (#524) 735f301
This version was pushed to npm by agilgur5, a new releaser for tsdx since your current version.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
- `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme
Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)
Bumps tsdx from 0.11.0 to 0.13.0.
Release notes
Sourced from tsdx's releases.
Commits
e84e8d6
v0.13.018e3c05
(ci/optim): add caching for yarn install (#625)77e7c70
Add publish npm script (#582)82e764f
(clean): remove unused fixture test directories (#626)0f72117
(ci): remove experimental --runInBand as tests pass now (#624)6679c23
(optim/ci): don't build a second time for lint or test (#623)3a6e098
docs: add justingrant as a contributor (#622)287dc44
Add 'src' to package.json files to improve source maps (#620)b21d7af
(refactor): use outputFile instead of mkdirs + writeFile (#617)d4dd010
docs: add github as a contributor (#616)Maintainer changes
This version was pushed to npm by agilgur5, a new releaser for tsdx since your current version.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Pull request limits (per update run and/or open at any time) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired)