You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 KiB
11 KiB
2017-03-26
- Removing extraneous construct
- Syncing packages to docs, adding scripts for publishing
- Syncing package readmes with docs
- Extracting webpack utils to their own file (#147)
- use correct value for package.json config (#146)
This might have been an old way to define the configuration?
Only works when I use
neutrino
, otherwise I get an error:WebpackOptionsValidationError: Invalid configuration object. Webpack has been initialised using a configuration object that does not match the API schema.
2017-03-25
- Rdesign Advanced Customization examples to use Neutrino v5 fashion (#145)
- Update upgrading-neutrino.md (eslint middleware) (#144)
The code explaining the usage of
neutrino-middleware-eslint
was wrong here. It caused me a great headache last night, when I was migrating a pair of eslint presets. Thank god eslint middleware documentation page is OK and you can compare and infer the correct usage.
2017-03-24
- Merge pull request #141 from eliperelman/publicpath-docs Adding documention about web publicPath
- Adding documention about web publicPath
2017-03-23
- Updating changelog
- Updating yarn.lock files
- Merge pull request #140 from eliperelman/v5-docs-again Hopefully last round of docs changes for v5
- Hopefully last round of docs changes
- Mocha dependency upgrades
- Merge pull request #139 from eliperelman/v5-deps Upgrading dependencies
- Upgrading dependencies
- Merge pull request #138 from eliperelman/webpack-validate Validate webpack configuration before running compiler
- Validate webpack configuration before running compiler
2017-03-22
- Merge pull request #137 from eliperelman/functional Functional refactor
- Functional refactor
2017-03-20
- Merge pull request #135 from eirikurn/issue-116 Resolve packages from parent node_modules folders
- Fix resolution issues when linking neutrino
Some presets depend on
webpack
andwebpack-dev-server
for HMR logic. This commit makes those dependencies explicit and fixes issues when installing neutrino packages withnpm link
. - Resolve packages from parent node_modules folders A la classic NodeJS resolution and webpack default. See #116.
- Merge pull request #132 from jaridmargolin/master Fix typo in develop function.
- Fix typo in develop function.
2017-03-19
- Merge pull request #127 from jaridmargolin/neutrino-webpack Neutrino webpack
2017-03-18
- Remove unnecessary specificity from webpack config test.
- Pull webpack actions out of Neutrino class.
- Merge pull request #123 from jaridmargolin/getWebpackConfig
Rename
getWebpackOptions
togetWebpackConfig
.
2017-03-17
- Rename
getWebpackOptions
togetWebpackConfig
.
2017-03-16
- Updating yarn.lock
- Merge pull request #119 from jaridmargolin/neutrino-refactor Neutrino refactor
- Add packages/bin/neutrino to lint files list.
- Set environment variable, NODE_ENV, inside of
runCommand
(also adds --env option to CLI). - Add
runCommand
helper method to Neutrino. - Remove concept of "presets" in favor of "middleware(s)/use".
- Move
run
process logic to location of call. - Make run method in bin/neutrino self contained.
- Move require/import middleware functionality to api.
- Merge pull request #120 from eliperelman/fixing-linting Fixing linting to run for all packages
- Fixing linting to run for all packages
2017-03-14
- Merge pull request #117 from helfi92/fix-links Fix link
- Switch to relative paths
- Fix link
2017-03-13
- Merge pull request #115 from eirikurn/patch-1 Fix svg mime-type
- Fix svg mime-type
Browsers don't display svg from data-uri if the mimetype is
application/svg+xml
(testing with <img> tag in Firefox and Chrome). However,image/svg+xml
works. - Merge pull request #111 from eliperelman/compile-targets Adding option-configurable compile targets
- Adding option-configurable compile targets
- Merge pull request #88 from guzart/patch-1 Add support building react-native app
2017-03-12
- Add support building react-native app
- Merge pull request #110 from eliperelman/test-preset-config-on-test Defer test configuration overrides until on:test
- Defer test configuration overrides until on:test
2017-03-09
- Merge pull request #106 from eliperelman/linting-round-2 Using neutrino to lint itself
- Merge pull request #105 from psyrendust/devtool-sourcemap Should generate correct sourcemaps during dev
- Using neutrino to lint itself Removing --fix from lint command
- Should generate correct sourcemaps during dev
The current devtool configuration of
eval
makes it very difficult to debug your source code when running the development commandneutrino start
. I did some digging and there is an issue with sourcemaps and Webpack 2. See https://github.com/webpack/webpack/issues/3165 and https://github.com/webpack/webpack/issues/4423 for more information. In the meantime, it would be great if the default setting for the development commandneutrino start
would generate correct sourcemaps with a reference to the original source and allow you to set breakpoints correctly. I did some tests in OS X Chrome v56.0.2924.87 (64-bit) by trying different devtool configurations in a custom neutrino config that extendsneutrino-preset-web
.eval
: reports correct line in transformed code, and breakpoints work, but difficult to debugcheap-eval-source-map
: reports incorrect line in transformed code, breakpoints can be added, but are on incorrect line and don't workcheap-source-map
: reports incorrect line in transformed code, breakpoints work, but are on incorrect linecheap-module-eval-source-map
: reports incorrect line in source, breakpoints can be added, but are on incorrect line and don't workcheap-module-source-map
: reports incorrect line in source, breakpoints work, but are on incorrect lineeval-source-map
: reports correct line in source, but breakpoints don't worksource-map
: reports correct line in source, and breakpoints worknosources-source-map
: reports correct line in source, but no source is generated If you are just runningneutrino-preset-web
out of the box you should be able to debug your code easily. Making this change can cause slower rebuilds, but I'd be willing to wait a few 100ms (or whatever--
means in time) to rebuild my code for better debugging. If and when the above Webpack 2 issues are fixed, I would suggest revisiting thedevtool
option by changing it tocheap-module-eval-source-map
oreval-source-map
for speedier rebuilds with sourcemaps that point to source code vs transpiled code.
2017-03-08
- Merge pull request #102 from aretecode/eslint eslint
- unquote property names, rebase, remove react bits
2017-03-07
- Merge pull request #103 from eliperelman/readmes README updates for v5
- README updates for v5
- Merge pull request #98 from eliperelman/v5-docs v5 Docs
- Merge pull request #86 from eliperelman/v5 Baseline for Neutrino v5
- Adding rule include and exclude upgrade documentation
- Adding missing packages to travis cache, removing duplicate yarn install directive
- Typo
- Switching clean middleware to use options.root
- Updating for latest v5 changes
- add .eslintrc file, eslint fix script. add deps: prettier, prettier-eslint, eslint, eslint-plugin-react. use config from neutrino-preset-mozilla-rpweb
- Review nits
- Switching paths to relative
- Manually caching monorepo package node_modules for travis
- Attempting to cache packages' node_modules via wildcard
- Moving peerDeps of deps to devDeps
- Normalize API paths based on absolute or relative location
- Upgrading to webpack-chain v3, add more tests for full presets
2017-03-06
- Cleaning up unused gitignores
- Pointing package.json respository to tree location
2017-03-05
- v5 Docs
- Preparing docs for v5
- peerDeps and invalid deps
- Upgrade webpack-chain to v2, add --inspect
2017-03-02
- Simplify deep picking with pathOr
- Allow linting overrides to airbnb preset
- Dynamic import() for Node
- Adding dynamic import syntax, babel-polyfill by default, devserver port fix
- Fixing json extension
- Travis changes
- Adding rudimentary testing
2017-03-01
- Node.js HMR, source watching, named modules for Node and Web
- Trying out use(loader, options)
- Switch packages licenses to MPL v2, add AVA to start test implementation
- Refining middleware concept, splitting presets into middleware packages
- Baseline for Neutrino v5
- Bumping for bugfix in webpack-chain
- Heading typo
- Why use a chaining API? (#87)
2017-02-28
- Node preset v4.2.2
- Make sourcemap support optional for node libraries (#85)
2017-02-27
- Neutrino and Jest preset v4.3.0
- Added coverage support to jest preset (#76)
- Added coverage support to jest preset
- Documented jest coverage option
- Added missing documentation