Commit Graph

49 Commits

Author SHA1 Message Date
shisama fa652bb8ec Remove mkdirp package from devDependencies
webpack supports Node.js 10.13.0 as minimum Node.js version now.
Node.js 10.13.0 provides recursive option for fs.mkdirSync.
So, mkdirp package is not needed.
2020-01-14 00:29:12 +09:00
Tobias Koppers b401713633 fix problem with snapshotting managed items
add support for child loggers
add logging for snapshot errors
improve FileSystemInfo logging
improve managed item reading performance
upgrade enhanced-resolve for readdir purge fix
2019-11-05 23:12:02 +01:00
Tobias Koppers fe790eea65 update eslint and lint-staged 2019-08-06 10:57:37 +02:00
Tobias Koppers e9c0d068dd refactor filesystem interfaces
add Compiler.intermediateFileSystem
avoid using `path` and `fs` module when possible
move `join`, `mkdirp` and `dirname` into utils
join and dirname is optional in FileSystem interface
remove mkdirp from Filesystem interface
2019-06-11 17:32:58 +02:00
Tobias Koppers 180f912493 Merge tag 'v4.29.2' into next
4.29.2
2019-02-06 15:37:11 +01:00
Tobias Koppers 5fe66199c0 fix liniting 2019-02-05 10:00:33 +01:00
Tobias Koppers 123b0a64e7 add plugin system for Stats presets, defaults, creation and printing 2018-12-18 22:07:14 +01:00
Florent Cailhol 9caaa664f7 Refactor webpack main 2018-12-09 15:32:03 +01:00
Tobias Koppers f5be9a62d4 update watch test cases for new jest integration 2018-08-02 16:58:41 +02:00
Tobias Koppers a4825654eb upgrade jest 2018-07-10 16:02:02 +02:00
Tobias Koppers 4a541303c9 Upgrade jest
increase timeout
fix hanging
avoid inspector in CI
setup jest caching
2018-05-24 12:52:48 +02:00
Tobias Koppers 4769dc6a51 add support for test.filter.js in watchCases 2018-05-02 09:31:22 +02:00
Tobias Koppers 21e1e6f8d5 Improve WatchTestCases 2018-05-01 16:09:44 +02:00
Tobias Koppers 9958930092 Merge branch 'master' into jest
# Conflicts:
#	test/WatchTestCases.test.js
2018-04-30 17:45:33 +02:00
Tobias Koppers 908b4654bf remove spammy output in CI 2018-04-30 17:26:37 +02:00
Tobias Koppers 7bf5bac2dc fix timestamp issue in WatchTestCases 2018-04-30 11:09:34 +02:00
Bazyli Brzóska 002b04fe9c no need for is-ci package + use stderr for live printing 2018-04-26 23:39:04 +02:00
Bazyli Brzóska 3655f05103 add a workaround for jest clearing up the wrong resource 2018-04-19 15:54:34 +02:00
Bazyli Brzóska dc6d02cec1 add CI logging during compilation execution 2018-04-19 11:52:59 +02:00
Bazyli Brzóska 35130585ae fix skipped tests 2018-04-11 23:54:02 +02:00
Bazyli Brzóska aff29fe3ba run prettier across the codebase 2018-04-10 22:52:22 +02:00
Bazyli Brzóska 3e7c139a1e tests: extract remove to helpers 2018-03-07 01:14:56 +01:00
Bazyli Brzóska 3abb6e7939 jest: more fixes for running tests well 2018-03-07 00:16:19 +01:00
Bazyli Brzóska 49ff3d4e18 define tests asynchronously 2018-03-05 22:48:18 +01:00
Bazyli Brzóska 36e8e30875 run prettier on existing code 2018-02-25 11:46:17 +01:00
Tobias Koppers f32bd41c52 fix linting 2018-02-25 02:15:37 +01:00
Tobias Koppers 5238159d21 run prettier on existing code 2018-02-25 02:00:20 +01:00
Bazyli Brzóska b2c54f176e migrate away from forced tests to a beforeAll hook 2018-02-25 01:18:51 +01:00
Florent Cailhol aa217e9abc Fix wrong regexp replacements 2018-01-30 21:03:23 +01:00
Bazyli Brzóska c01735e3b7 migrate WatchTestCases 2018-01-27 16:34:11 +01:00
Tobias Koppers a2eada1d33 Merge branch 'master' into next
# Conflicts:
#	lib/BannerPlugin.js
2018-01-22 08:48:30 +01:00
nename0 1895b76dfc Add Tests checking chunkhash of runtime chunk only changes if needed 2018-01-12 23:50:47 +01:00
Tobias Koppers d434a012a9
Merge pull request #6165 from ooflorent/watch_flag
Allow watch tests to be skip
2017-12-21 09:31:38 +01:00
Florent Cailhol e58e1f9261 Use hooks in test cases 2017-12-21 07:17:27 +01:00
Florent Cailhol e4002b5e76 Allow watch tests to be skip 2017-12-20 16:53:56 +01:00
Tobias Koppers 2201b860a5 Add mode option and choose defaults depending on mode
add optimization options
use development mode for watch/hot/config tests
use production mode for integration/stats tests
create output directory if not existing
move __esModule to runtime
fix dependency behavior for cases without usedExports
2017-11-24 08:17:17 +01:00
Tobias Koppers 5941ab0d0c fix linting errors 2017-11-15 14:08:11 +01:00
Tobias Koppers 0975d13da7 assign correct cache to child compilation
fixes webpack-contrib/extract-text-webpack-plugin#612
2017-09-13 16:29:37 +02:00
Tobias Koppers 9dbed7360d integrate the delegated module better into the exports flagging process 2017-07-26 10:12:40 +02:00
Tobias Koppers b4c74b2f27 allow watch cases to have errors per step 2017-07-15 13:36:31 +02:00
Tobias Koppers 0db9d8f107 run watch cases with more timeout
this makes CI stable
2017-03-16 08:43:22 +01:00
Tobias Koppers f84412cfb2 allow watcher to detect removals
fixes #4162
maybe fixes #4079
maybe fixes #1533
2017-03-15 15:50:05 +01:00
James Newell 5536b1e82b increase timeout for unrelated tests to see if they pass on CI 2017-03-06 14:52:17 +11:00
Shubheksha Jalan c7d5ecf8d3 refactor(ES6): WatchTestCases.test.js 2017-01-18 21:17:00 +05:30
Yuriy Ostapenko a87b61f526 Include child compilation hash into parent hash computation (#3744)
Without it, child compilations like those added by "extract-text-webpack-plugin" are not included in stats hash and aren't properly displayed on change.
2017-01-05 23:03:54 -06:00
Yuriy Ostapenko 9f6a601ca6 Fix multiconfig watch (#3737)
* Fix MultiCompiler watch mode stats output

Previously, stats would contain stale configuration child stats. This is very confusing, since it looks as if some things are emitted when they shouldn't be.

Add support for making assertions to stats in watch tests.

* Fix test hanging on Windows/Linux

Parallel watchpack's (happens when MultiCompiler is in use) do not emit events in watch tests, unless some timeout is added.
This does not seem to be an issue on macOS.

* Correctly close watcher in watch tests

This fixes macOS build, where changes keep being triggered
2017-01-04 23:46:13 -06:00
Tobias Koppers 0d0f7e0062 allow webpack.config.js in watch test 2016-12-21 22:56:16 +01:00
Tobias Koppers e299d600f7 ignore extra compilation while testing watching 2016-12-19 20:03:15 +01:00
Tobias Koppers bcc0227089 add infrastructure for watch tests 2016-12-17 09:05:34 +01:00