Commit Graph

39 Commits

Author SHA1 Message Date
Tobias Koppers fe790eea65 update eslint and lint-staged 2019-08-06 10:57:37 +02:00
Tobias Koppers b73d35bbee Merge tag 'v4.39.0' into next
4.39.0
2019-08-05 13:12:09 +02:00
Tobias Koppers 0b0e9e9608 fix Progress and Stats Tests for colors and output 2019-08-01 14:04:24 +02:00
Tobias Koppers 4c472adbf1 capture infrastructure log 2019-08-01 14:04:20 +02:00
Tobias Koppers c17dfde7a8 Merge tag 'v4.37.0' into next
4.37.0
2019-07-24 10:51:04 +02:00
Tobias Koppers d849160d3f add logging API
Plugins:
Compiler.getInfrastructureLogger(name)
Compilation.getLogger(name)

Loader:
this.getLogger([name])

API equal to console API with these methods:
error, warn, info, log, debug,
time, timeLog, timeEnd,
group, groupCollapsed, groupEnd,
profile, profileEnd,
clear
2019-07-18 17:13:40 +02:00
Tobias Koppers cd879ef9af fix different stats snapshots on node versions 2019-07-17 11:57:18 +02:00
Tobias Koppers 31ea2c7212 improve performance of date time formating
improve tests for timings
2019-07-15 16:31:59 +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 b66143f706 Merge tag 'v4.30.0' into next
4.30.0
2019-05-09 21:34:28 +02:00
Tobias Koppers d34d69e62b Merge tag 'v4.29.5' into next
4.29.5
2019-02-19 08:58:46 +01:00
Tobias Koppers ef9e25d8ea report dependencies from resolver to the compilation
refactor NormalModuleFactory
2019-01-08 15:14:25 +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
Florent Cailhol a68426e925 Add error message 2018-12-07 08:58:55 +01:00
Tobias Koppers 2b68e46906 show all sizes in stats 2018-12-05 20:19:02 +01:00
Tobias Koppers ad308f9d5a increase timeout for StatsTestCases 2018-10-29 22:57:34 +01:00
Tobias Koppers b20556c1ff move profile to ModuleGraph 2018-08-22 14:54:28 +02:00
Florent Cailhol 7b02084bc5 Replace Basic and Advanced optimzation hooks by stages 2018-08-16 14:10:51 +02:00
Tobias Koppers 6d5310fbd6 allow multiple entryModules per chunk
allow to specify ChunkGroup to depend on
move entry modules into ChunkGraph
2018-08-15 11:51:16 +02:00
Tobias Koppers 86ff1a4642 Merge tag 'v4.16.1' into next
4.16.1
2018-07-16 10:30:31 +02:00
Tobias Koppers 753dcce188 fix order of occurrence order plugin
remove enforced additional occurrence order plugin from test cases
make test cases more independent of module/chunk order/ids
2018-07-13 16:15:01 +02:00
Tobias Koppers 95ff4e96f7 remove loader options plugin from test cases 2018-07-11 13:08:19 +02:00
Tobias Koppers 5b30edebfc allow filtering of tests in statsCases 2018-07-02 17:44:47 +02:00
Tobias Koppers 2d279fcfbe Use jest snapshot testing 2018-05-01 16:09:50 +02:00
Bazyli Brzóska aff29fe3ba run prettier across the codebase 2018-04-10 22:52:22 +02:00
Bazyli Brzóska 3abb6e7939 jest: more fixes for running tests well 2018-03-07 00:16:19 +01:00
Bazyli Brzóska 36e8e30875 run prettier on existing code 2018-02-25 11:46:17 +01:00
Bazyli Brzóska 7b5c3516f6 Merge branch 'v4-beta3' into jest
# Conflicts:
#	test/BenchmarkTestCases.benchmark.js
#	test/CachePlugin.unittest.js
#	test/HotTestCases.test.js
#	test/NormalModule.unittest.js
#	test/ProfilingPlugin.unittest.js
#	test/TestCases.test.js
#	test/configCases/parsing/harmony-this/index.js
#	test/configCases/plugins/profiling-plugin/index.js
#	test/configCases/plugins/profiling-plugin/webpack.config.js
#	test/watchCases/runtime/static-import/0/index.js
#	yarn.lock
2018-02-25 11:41:05 +01:00
Leon Weidauer 152575c2b0 Fix Stats and BinTestCases after adding "Built at"
In order to pass the tests, a similar
test replacement as with the millisecond values
needs to happen.

For the "Built at" stat all dates are replaces with
Thu Jan 01 1970 00:00:00 GMT.

Related to issue #5305

add semicolon
2018-01-29 19:51:49 -08:00
Leon Weidauer 09f959c684 Fix Stats and BinTestCases after adding "Built at"
In order to pass the tests, a similar
test replacement as with the millisecond values
needs to happen.

For the "Built at" stat all dates are replaces with
Thu Jan 01 1970 00:00:00 GMT.

Related to issue #5305
2018-01-29 14:59:13 -08:00
Florent Cailhol cd419d0546 Migrate integration tests to Jest 2018-01-24 17:29:57 +01:00
Tobias Koppers 45f8a28b44 Merge branch 'master' into next
# Conflicts:
#	lib/JsonpMainTemplatePlugin.js
#	lib/NoEmitOnErrorsPlugin.js
2018-01-04 20:59:34 +01:00
Mike Greiling 71efc0db63 update NoEmitOnErrorsPlugin to recognize child compilation errors, add tests 2017-12-28 03:41:42 -06:00
Florent Cailhol 7dd41b55c6 Replace deprecated Tapable#apply by Plugin#apply 2017-12-20 11:53:56 +01:00
Tobias Koppers 2148f556a4 Enable minimizing in production mode 2017-12-14 00:06: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 122e7dc649 Merge branch 'master' into next
# Conflicts:
#	package.json
#	test/HarmonyModulesHelpers.unittest.js
#	test/StatsTestCases.test.js
#	yarn.lock
2017-10-19 21:31:35 +02:00
Tobias Koppers 0c104a683f separate integration and unit tests, use codecov flags 2017-10-19 17:35:20 +02:00