-
Notifications
You must be signed in to change notification settings - Fork 111
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* master: Add Prettier + ESLint Integration (#480) Adds 0.6.0 final version (#498) adds 060-rc.1 (#497) webpack 2.6.1 (#496) Adds vendor bundling (#487) Adds 0.6.0 alpha (#488) chore: webpack & friends dep refresh (#482) # Conflicts: # package.json # packages/babel-preset-kyt-core/yarn.lock # packages/babel-preset-kyt-react/yarn.lock # packages/kyt-cli/yarn.lock # packages/kyt-core/package.json # packages/kyt-core/yarn.lock # packages/kyt-starter-static/starter-src/yarn.lock # packages/kyt-starter-universal/starter-src/yarn.lock # yarn.lock
- Loading branch information
Showing
106 changed files
with
10,149 additions
and
3,857 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
coverage | ||
**/node_modules | ||
e2e_tests/fixtures | ||
|
||
**/build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# Migration Guide 0.5 - 0.6 | ||
|
||
## Refactor for the new vendor bundling | ||
|
||
Version 0.6 adds a new `vendor.js` and `manifest.js` script to the exported client assets. It also changes the format of the asset manifest (`publicAssets.json`). Please refer to this section in the [conventions documentation](/docs/conventions#working-with-client-assets) for how the new assets should be referenced (and in what order!). | ||
|
||
The following shows how we updated the starter kyts with the new rules: | ||
|
||
- [include the new manifest and vendor scripts and update how the client assets are referenced](https://github.com/NYTimes/kyt/pull/487/files#diff-5c9af8ba0b7857800f72a55cdc5409aa) | ||
- [output the scripts in the correct order](https://github.com/NYTimes/kyt/pull/487/files#diff-1a3dd5d68b85906698a452ac9279ecc5) | ||
|
||
## Naming your chunks | ||
|
||
Webpack added a not-so-graceful implementation for naming your `import`ed chunks. You can now [add a comment to your `import` statement](https://github.com/NYTimes/kyt/blob/843341291ad99c925d2c8a1b07f323b9d40e954b/packages/kyt-starter-static/starter-src/src/routes/index.js#L12) to name the output file. This only helps in identifying your chunks during the build process. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
|
||
const test = 1; | ||
|
||
module.exports = test; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
|
||
const test = 1 | ||
|
||
module.exports = test; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
|
||
const test = 1; | ||
|
||
module.exports = test; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
|
||
const test = 1; | ||
|
||
module.exports = test; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.