changelogs.md


nytimes/kyt

Repository  -  API  -  Source

1.0.0

February 10, 2023
  • Upgrades ESLint dependencies in eslint-config-kyt. 540

1.0.0

January 10, 2020
  • Upgrades StyleLint and Prettier dependencies in stylelint-config-kyt, and adds a few new rules. 538 539

0.9.0

October 19, 2017

0.8.x-0.9.0 Migration guide.

  • Adds babel-preset-env to babel-preset-kyt-core/babel-preset-kyt-react to optimize the client and server build size and polyfilling. 531 532

4.5.0

April 5, 2003
  • Adds static asset support 518
  • Fixes static starter script order 524
  • Fixes asset/css fingerprinting bugs. 538
  • Adds a new eslint rule to restrict server file imports from outside of the src/server directory. 528

0.8.0

August 3, 2017

0.7.x-0.8.0 Migration guide.

  • Upgrades webpack to version 3.1.0
  • Upgrades jest to version 20.0.4
  • Adds jest test setup for global document and window

0.7.0

July 7, 2017

0.6.x-0.7.0 Migration guide.

0.6.1

June 28, 2017
  • Fixes handling of user postcss.config.js override #506.

0.6.0

June 7, 2017

0.5.x-0.6.0 Migration guide.

  • Upgrades webpack and loaders #482
  • Adds vendor bundling #487

0.5.5

May 2, 2017
  • Fixes bug in IE11, moves 'react-hot-loader/patch' after 'babel-polyfill'.#473
  • Fixes history api for static starter-kyt #468
  • Adds .ico to file stub #475
  • Adds KYT.EXECUTION_ENVIRONMENT global #465

0.5.4

April 10, 2017

Removes at-rule-no-unknown from stylelint configuration #462.

0.5.3

April 9, 2017

FEATURES

  • adds history api fallback to dev command for projects that use hasServer=false #457. Read more about how this affects the static starter kyt in the notes on implementation section.

BUGFIXES

  • fixes no-restricted-syntax error in linter #459. Read more here.

0.5.2

March 28, 2017

Adds Stylelint rule exceptions for common CSS Modules syntax, like :global, :local, etc. See more here.

0.5.1

March 27, 2017

Upgrades eslint to version 3.18 to get around an error. Read more here.

0.5.0

March 23, 2017

0.4.x-0.5.0 Migration guide.

BREAKING CHANGES

2.2

Upgraded to final version of Webpack 2.

StyleLint upgrade.

The upgrade involved updating the internal dependencies. Check out the changelog here.

ESLint upgrade.

The upgrade involved updating the internal dependencies. Check out the changelog here.

Jest 19 Upgrade

Upgrade from Jest 16 #422

FEATURES

  • Adds User survey link for modifyWebpackConfig #433
  • Adds starter-kyt versioning with npm #425
  • Adds additional functional tests #405
  • Adds source-map-support plugin #402

BUGFIXES

  • Removes transform runtime plugin from Jest Config #414
  • Replaces Ramda with Lodash #431
  • Adds missing require statments to recipe docs #415 and #410
  • Fixes bug with build on windows where old build directory wasn't deleted #429

0.4.1

March 3, 2017

FEATURES

Adds server side source maps #402. You can remove source-map-support from your projects if you registered it in your server side code.

BUGFIXES

Made src/public directory accessible in noServer=true projects #427.

Fixes autoprefixer bug where deprecated bugs were getting removed by the minimizer #390.

0.4.0

February 13, 2017

0.3.x-0.4.0 Migration guide.

BREAKING CHANGES

MONOREPO #330

kyt is now a monorepo with several packages

  1. kyt-cli - A globally installed package for project setup
    • setup command now can create a new project directory with the -d flag. kyt-cli setup
    • setup now supports copying devDependencies from starter-kyts
    • setup accepts a kyt version flag to help with local development #343
    • kyt-cli includes a list command which lists information about supported and recommended starter-kyts #340
  2. kyt-core - The kyt build and dev systems. Used as a project dependency
    • setup is now deprecated as part of kyt-core. It can be found in kyt-cli
    • start now runs the node server without a kyt wrapped command. This means kyt can be installed as a dev dependency
  3. kyt-utils - Shared kyt code. Not to be used independently
  4. starter-kyts - kyt-starter-static and kyt-starter-universal now live in the kyt repo.

e2e tests have been pulled to the top level and will be used to test all packages.

Babel Presets #347

kyt now supports having your own .babelrc file in your project.

kyt has two presets:

  • [babel-preset-core] (/packages/babel-preset-kyt-core) included as the default for kyt
  • [babel-preset-react] (/packages/babel-preset-kyt-react) included with react starter-kyts

To update an existing kyt project:

  • If your project uses react you'll want to create a .babelrc that points to the react preset. This one should work.
  • If you currently make babel plugin or preset changes via modifyWebpackConfig, checkout out the updated recipe

Linter configs

kyt's linter configs are now packaged as separate configs #344 #380 To update: copy the new linter files into the root of your project. .eslintrc.json .stylelintrc.json

New Lint commands #339

Lint commands are now as follows:

  • kyt lint-script for JS
  • kyt lint-style for CSS/Sass
  • npm run lint runs both commands (installed by kyt-cli setup) kyt lint is deprecated

kyt start is deprecated

kyt-cli setup creates an npm run start command to run the server

FEATURES

  • Support babel plugins w/o prefix #303
  • Bootstrap scripts for local development #341 #377
  • kyt-cli now supports a fully interactive setup in addition to cli args. #378

Yarn Support

kyt-cli now supports setting up projects using yarn.#270

Tooling updates

  • Updated PostCSS loader #295
  • Add babel-plugin-transform-react-jsx-source to dev #179
  • Updated babel dependencies #311
  • Use babel polyfill rather than babel-transform-runtime #255
  • Updated linter dependencies #289

Bugfixes

  • Fixes bug where e2e tests were silently failing #326
  • Fixes bug where test command wasn't written if an npm default existed #293
  • Catch SIGINT for all commands #332
  • Fixes bug where Jest moduleNameMappers didn't match imports with specific Webpack loaders #363
  • Fixes bug where style-lint only supported one file name #383

0.3.0

October 25, 2016

BREAKING CHANGES

  • Upgrades Jest to version 16 #259 See Jest docs for information on latest updates.

  • Upgrades Webpack to v2.1.0-beta.25 #264 Check the recipes to see the latest syntax for common extensions. Additional info in Webpack's migration guide

FEATURES

0.2.2

September 30, 2016
  • Fixes linter Configuration for rule "eol-last" is invalid ESLint bug by upgrading all of the linter dependencies.

0.2.1

September 23, 2016
  • Fixes kyt lint-style bug where the base config file name was incorrect (#180).

0.2.0

September 23, 2016

BREAKING CHANGES

kyt test now uses Jest

See the new testing docs. Read more about Jest

If you've already written tests in Ava check out these code mods from mikenikles and dcousineau as a resource for upgrading.

support of other ESLint and StyleLint file types

.eslintrc --> .eslintrc.json .stylelintrc --> .stylelintrc.json

kyt adds these linter files to your project on setup. These files now reference base linter files in kyt to allow for easier upgrades. As always you can use these files to create your own overrides.

kyt's global variables are now in a KYT global object rather than process.env

BUG FIXES

  • Fixes bug where dev server child process was not killed after Webpack build error
  • Fixes bug where lint rule was deprecated and showing error

0.1.0

September 12, 2016
  • Initial public release