Skip to content

Releases: jaredpalmer/tsdx

v0.8.0

14 Aug 16:34

Choose a tag to compare

Improvements

  • Added experimental --extractErrors flag
  • Added ability to specify path to a custom tsconfig.json
  • Added --template flag to tsdx create So you can run npx tsdx create --template=react now.
  • Relaxed Jest's testMatch flag and made it overridable..
  • Added tsdx lint command 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 testMatch to 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...v0.8.0

v0.7.2

19 Jun 19:30

Choose a tag to compare

Patch

Updated .gitignore in the templates to ignore the new esm cache

Commits

  • fixed issue mentioned in #148 - Gitignore contains '.rts2_cache_esm' (#149) 98cf1db

v0.7.1...v0.7.2

v0.7.1

18 Jun 14:00

Choose a tag to compare

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...v0.7.1

v0.7.0

18 Jun 13:52

Choose a tag to compare

Breaking Changes 🚨

  • TSDX will no longer build a UMD bundle by default, you now must specify it using the --format=umd,esm,cjs
  • Renamed es format to esm. So --format=es -> --format=esm. In addition, the ESM output bundle is now named <packagename>.esm.js, so update your package.json module field 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...v0.7.0

v0.6.1

31 May 17:48

Choose a tag to compare

What's New?

  • Add ability to specify custom tsconfig.json by passing --tsconfig flag

Bugfixes

  • Fixed @babel/preset-env resolution

Commits

  • Use require.resolve for @babel/preset-env 823acc9
  • feat(custom-tsconfig): Add ability to specify custom tsconfig.json (#124) 22ee1d0
  • Fix React template .gitignore (#123) 8d9d478
  • Document react template usage with lerna (#119) 2567ff8

v0.6.0...v0.6.1

v0.6.0

29 May 19:02

Choose a tag to compare

Improvements

  • Better transpilation via babel-preset-env and a few generator plugins.
  • Fixed shebang woes so making CLI's should work again

Commits

v0.5.12...v0.6.0

v0.5.12

28 May 19:15

Choose a tag to compare

Bugfix

  • Make es5 the default target for typescript.

Commits

  • Remove esnext target override from ts rollup config. Make es5 the default target. (#111) e06d690
  • Update CONTRIBUTING.md e040514
  • Update CONTRIBUTING.md 9cc322e
  • Create CONTRIBUTING.md (#108) 779e156
  • Add prepare npm task 74c9a9d

v0.5.11...v0.5.12

v0.5.11

16 May 22:08

Choose a tag to compare

Botched last release! Woops.

v0.5.10...v0.5.11

v0.5.10

16 May 21:56

Choose a tag to compare

Commits

v0.5.9...v0.5.10

v0.5.9

10 May 14:59

Choose a tag to compare

Improvements

  • Added build npm task to example

Bugfixes

  • Fixed babel optimizations!

Commits

  • Explicitly specify ts and tsx extensions in babel options (#96) 6512b46
  • Merge pull request #93 from slorber/patch-1 517b8fa
  • add "yarn build" for example 8033699

v0.5.8...v0.5.9