- Fixes broken link to blog post on
kyt
kyt-cli
is removed, commands are merged back intokyt
- New package:
kyt-runtime
. Using this ensures that you will be nagged about installing dependencies for your production install. This is useful when you are pruningnode_modules
for production in CI, which will removekyt
. Also, allows you makekyt
a dev dependency. - New package:
jest-preset-kyt-styled
. Use this preset to runstylelint
against yourstyled.js
files.styled.js
is the convention that the NYT uses to storecss
andstyled
exports from Pretty Lights. - SCSS support is now completely removed.
stylelint-config-kyt
still exists, but you will have to configure SCSS viamodifyWebpackConfig
.
- Upgrades ESLint prettier and babel-eslint and makes it a
peerDependency
ineslint-config-kyt
. 543 - Fixes at-rule for Sass support in
eslint-config-stylelint
. 543
- Upgrades ESLint dependencies in
eslint-config-kyt
. 540
- Upgrades StyleLint and Prettier dependencies in
stylelint-config-kyt
, and adds a few new rules. 538 539
- Adds
babel-preset-env
tobabel-preset-kyt-core
/babel-preset-kyt-react
to optimize the client and server build size and polyfilling. 531 532 - Upgrades node-sass from 4.5.0 to 4.5.3 for Node 8 support.
- 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
- Upgrades webpack to version 3.1.0
- Upgrades jest to version 20.0.4
- Adds jest test setup for global
document
andwindow
- Adds Prettier. See more in the eslint-config-kyt README.
- Upgrades ESLint and Airbnb plugins. See more in the eslint-config-kyt README.
- Fixes handling of user postcss.config.js override #506.
- 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
Removes at-rule-no-unknown
from stylelint configuration #462.
- adds history api fallback to
dev
command for projects that usehasServer=false
#457. Read more about how this affects the static starter kyt in the notes on implementation section.
Adds Stylelint rule exceptions for common CSS Modules syntax, like :global
, :local
, etc. See more here.
Upgrades eslint to version 3.18 to get around an error. Read more here.
Upgraded to final version of Webpack 2.
The upgrade involved updating the internal dependencies. Check out the changelog here.
The upgrade involved updating the internal dependencies. Check out the changelog here.
Upgrade from Jest 16 #422
- 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
- 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
Adds server side source maps #402. You can remove source-map-support
from your projects if you registered it in your server side code.
Made src/public
directory accessible in noServer=true
projects #427.
Fixes autoprefixer bug where deprecated bugs were getting removed by the minimizer #390.
MONOREPO #330
kyt is now a monorepo with several packages
- 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
- 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-clistart
now runs the node server without a kyt wrapped command. This means kyt can be installed as a dev dependency
- kyt-utils - Shared kyt code. Not to be used independently
- 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 included as the default for kyt
- babel-preset-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
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 JSkyt lint-style
for CSS/Sassnpm run lint
runs both commands (installed bykyt-cli
setup)kyt lint
is deprecated
kyt-cli setup
creates an npm run start
command to run the server
- 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
kyt-cli now supports setting up projects using yarn.#270
- 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
- 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
-
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
-
Adds serverless option to kyt #174 See the new static starter-kyt
-
Flags can now be passed through to internal tools #230
-
Adds multiple server entry handling #247
-
Default starter-kyt on setup is now the universal starter-kyt #265
-
Assets now use chunkhash #239
-
Make logs more readable #190
-
Displays Gzip size of assets #244
-
Adds end to end tests #241
- Fixes linter
Configuration for rule "eol-last" is invalid
ESLint bug by upgrading all of the linter dependencies.
- Fixes
kyt lint-style
bug where the base config file name was incorrect (#180).
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.
.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
- Fixes bug where dev server child process was not killed after Webpack build error
- Fixes bug where lint rule was deprecated and showing error
- Initial public release