v0.12.0
Improvements
- Added Storybook template
- Upgraded to Ts 3.7.x
- Updated rollup deps / plugins
- Moved the cache root to be inside of
node_modules
, you can delete the .rts2_cache_xxx folders from root and remove them from your .gitignore files - (internals) Made internal methods async where possible, should result in a minor speed boost.
- Added optional chaining and nullish coalescing operators support
- When running in an interactive shell (i.e. if
process.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- Added
"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
- Fix error when providing babel/preset-env without options
- Got rid of eslint warning upon install
- (Internal) Tests now run on PRs
- Do not output warning about react on non-react projects
Roadmap
- Add Closure Compiler
- Better support for "preshaking" and top level exports
- Monorepo support. Note: Formik is now using lerna and TSDX, so we'll be using it as a playground
Commits
- (deps/lint): upgrade @typescript-eslint to support ?. and ?? (#377) 843c676
- (ci): add a lint job so PRs will require passing lint (#378) 930feb9
- (clean): remove .rts_cache_* from storybook gitignore (#375) c5df5ac
- Add optional chaining and nullish coalescing operators support (#370) a736c77
- Added Storybook template (#318) c487377
- Merge pull request #373 from agilgur5/fix-pr-ci 7c8481b
- (fix/ci): GitHub Actions should run on PRs as well 5da9f65
- Merge pull request #372 from agilgur5/fix-format b8f24e2
- (fix/format): formatting of #366 didn't pass lint f3399e0
- Add prepare script to generated project (#334) ef93d1d
- default jest to watch mode when not in CI (#366) 5ee9dfc
- (fix): respect tsconfig esModuleInterop flag (#327) e8be03c
- Merge pull request #368 from jamesgeorge007/hotfix/typo-fix 78cccfe
- fix: minor typo aa8ab42
- update rollup deps and plugins (#364) d621994
- update rollup deps and plugins eb35feb
- update to ts 3.7 (#363) cab5591
- update to ts 3.7 5e84911
- Remove unnecessary yarn install command in GH action (#361) c44bd41
- Remove unnecessary yarn install command in GH action 3148138
- Replaced some sync methods for their async version (#291) c5f65bc
- Merge pull request #360 from goznauk/master 5aa5eda
- update README.md dfdd364
- update README.md 085916c
- Use node_modules/.cache/... as cacheRoot (#329) 55c0d47
- fix(lint): Only default to src test if they exist (#344) 3261dea
- Fix error when providing babel/preset-env without options (#350) a1a0dcb
- Replaced some sync methods for their async version 4deb7e2
- fix(lint): do not output warning about react on non-react projec… (#308) 6252b70
- chore(lint): use
detect
setting for eslint-plugin-react in react projects b6c3153 - fix(eslint): do not output warning about react on non-react projects 830e413
- Merge pull request #303 from jaredpalmer/greenkeeper/rollup-plugin-typescript2-0.25.2 ffd8733
- chore(package): update lockfile yarn.lock ed6f490
- fix(package): update rollup-plugin-typescript2 to version 0.25.2 62f0241
- feat(utils): add util that gets the React version of a project, if exists cf6718c
- Tweak docs f1a2643
- Update execa to the latest version 🚀 (#266) 6225b8e
- Merge branch 'master' into greenkeeper/execa-3.2.0 c9f04c3
- Merge pull request #195 from sadsa/patch-1 acd7e54
- Update eslint-plugin-react-hooks to the latest version 🚀 (#281) 72154fa
- chore(package): update lockfile yarn.lock 1186b7d
- fix(package): update eslint-plugin-react-hooks to version 2.2.0 28f16c2
- chore(package): update lockfile yarn.lock 1cd2fb3
- fix(package): update execa to version 3.2.0 d6b5ef3
- Pass tests in cases where no tests exist 61a3177