Releases: jaredpalmer/tsdx
Releases · jaredpalmer/tsdx
v0.8.0
Improvements
- Added experimental
--extractErrorsflag - Added ability to specify path to a custom
tsconfig.json - Added
--templateflag totsdx createSo you can runnpx tsdx create --template=reactnow. - Relaxed Jest's
testMatchflag and made it overridable.. - Added
tsdx lintcommand with eslint x typescript x prettier.
Bugfixes
- Gracefully exit with code 1 when build failed (breaking change)
- Ignore ESM cache
Internal Stuff
- Dropped CircleCI for GitHub CI!
Migration Guide
To take advantage of tsdx lint, simply add a npm script to your package.json like so.
{
"scripts": {
"start": "tsdx watch",
"build": "tsdx build",
+ "lint": "tsdx lint"
}
}Commits
- Add comma after lint command ef5a9c2
- Update README.md c36c1a8
- Add tsdx lint command to new project pkg.json 5a319ac
- GitHub CI (#177) dd4123d
- Add tsdx lint command (#99) e2f2983
- Add some more info about extractErrors 1a2e50c
- Update readme for errors e4da38c
- Update createJestConfig.ts
testMatchto allow for other folder… (#159) f6ecdc9 - Ignore esm cache's locally 06b9b68
- Add error code extract and transform (#138) a20429d
- Provide ability to preserve console output during watch (#158) 37d7664
- add netlify deploy instructions to react readme (#157) a382fd2
- Add template flag to create command (#163) 8247f0a
- Gracefully exit with code 1 when build failed (#160) c850b5c
- Merge pull request #164 from leonardodino/react-doctype 8455d28
- Add doctype to react template html file cfc12fe
- Merge pull request #153 from enesTufekci/custom-tsconfig-update-readme 7b00e51
- add custom tsconfig flag usage to readme eef0b31
- Merge pull request #1 from palmerhq/master 68fab9e
v0.7.2
Patch
Updated .gitignore in the templates to ignore the new esm cache
Commits
v0.7.1
Patch
- Fixed the module field in templates to reflect the new name of the ESM output bundle.
Commits
- HOTFIX: Fix module field in template pkg.json ab22779
v0.7.0
Breaking Changes 🚨
- TSDX will no longer build a UMD bundle by default, you now must specify it using the
--format=umd,esm,cjs - Renamed
esformat toesm. So--format=es->--format=esm. In addition, the ESM output bundle is now named<packagename>.esm.js, so update yourpackage.jsonmodulefield accordingly.
{
"name": "formik",
"main":"dist/index.js",
- "module": "dist/formik.es.production.js",
+ "module": "dist/formik.esm.js",
...
}- ESM builds no longer are environment specific. If you are using env-specific code, you should document that your end users must rely on bundler tools to do variable replacement.
- TSDX is no longer dependent on a specific TypeScript version
Improvements ✨
- Builds will be much faster by default since TSDX no longer builds UMD by default.
- New spiffy ascii art when bootstrapping a new project
- The react example now aliases the profiler build of react-dom so you can more easily do perf analysis and profiling.
Commits
- strip package scope in safePackageName function (#146) 4422366
- No env specific bundle for ESM (#142) 0f9d964
- Don't depend on specific TS version (#147) 830e104
- Merge pull request #145 from quentin-sommer/patch-1 2fb7e05
- Update README.md d837fa3
- use profiler build of react for playground 943648e
- Fix dependecines => dependencies (#131) d75f548
- Merge branch 'master' of github.com:jaredpalmer/tsdx 2134755
- Run prettier on contributing.md 0cd316c
- Remove UMD format from default build outputs (#126) e81f5a6
- Add spiffy ascii art to tsdx create (#129) c7f58a1
- Fix --format=es (#128) 47fb723
v0.6.1
What's New?
- Add ability to specify custom tsconfig.json by passing
--tsconfigflag
Bugfixes
- Fixed
@babel/preset-envresolution
Commits