Shubheksha Jalan
9215b6affd
refactor(ES6): upgrade CommonsChunkPlugin to ES6
2017-01-10 17:18:36 +05:30
Tobias Koppers
a1dca894d9
Merge pull request #3860 from tejasbubane/case-sensitive-modules-warning-es6
...
Convert CaseSensitiveModulesWarning to es2015
2017-01-10 08:09:20 +01:00
Alistair Brown
1f9dc71e3d
Run quick NodeWatchFileSystem tests as part of test run ( #3863 )
2017-01-09 23:19:38 -06:00
Alistair Brown
9681a3b15f
Add tests for HotUpdateChunkTemplate ( #3867 )
2017-01-09 23:16:59 -06:00
Alistair Brown
0542f4ae56
Add tests for WarnCaseSensitiveModulesPlugin ( #3865 )
2017-01-09 23:15:28 -06:00
Tobias Koppers
4f9cd8153e
fixes and tests for #3755 ( #3862 )
2017-01-09 23:00:03 -06:00
Tejas Bubane
6e8cdc1459
Convert CaseSensitiveModulesWarning to es2015
2017-01-10 09:37:51 +05:30
Tobias Koppers
9380bd4c12
Bugfix/disable module in harmony ( #3755 )
...
* moved format location into separate file
allow dependencies to report errors too
* NullDependencies do not change the hash
* dependencies can opt-out from `__webpack_require__` param
* apply module syntax plugins earlier
* emit errors if using AMD or CommonJS syntax in harmony modules
2017-01-09 10:11:34 -06:00
Tobias Koppers
8bd27386dd
Merge pull request #3856 from timse/minor-things
...
Minor things
2017-01-09 15:59:19 +01:00
Tim Sebastian
d45801a7f0
one crypto require should be enough
2017-01-10 00:55:44 +11:00
Tim Sebastian
c3845c0731
remove unused/useless function sortItemsBeforeIds
2017-01-10 00:51:39 +11:00
Tobias Koppers
054b37f978
Merge pull request #3853 from willmendesneto/refactor-module-warnings
...
refactor(ModuleWarning): upgrade to ES6
2017-01-09 08:32:45 +01:00
Tobias Koppers
ecafbe4b06
Merge pull request #3852 from webpack/bugfix/import-position
...
make harmony order stable
2017-01-09 08:32:10 +01:00
Naoyuki Kanezawa
a22b00e23d
Dynamic entry support ( #3634 )
...
* enable to set a function to entry option
* add tests for entry function
* fix style
* fix identifier and readableIdentifier of MultiModule
* use arrow functions
* use arrow function
* remove incorrect new operators
* fix Validation tests
2017-01-09 01:31:49 -06:00
Will Mendes
0f444e8530
refactor(ModuleWarning): upgrade to ES6
2017-01-09 17:15:18 +11:00
Tobias Koppers
6ae2b07012
make harmony order stable
2017-01-09 00:50:32 +01:00
Tobias Koppers
42b95d9394
Merge pull request #3844 from alistairjcbrown/feature/bin_cases_infra
...
feat(test): add very simple binCases test infra to build off of [Fork]
2017-01-08 21:48:25 +01:00
Alistair Brown
4dcbf96e72
Update stdout and stderror to be array of lines
2017-01-08 19:53:14 +00:00
Will Mendes
0607fc1127
refactor(JsonpHotUpdateChunkTemplatePlugin): upgrade to ES6 ( #3831 )
2017-01-08 12:49:54 -06:00
timse
d803bc1cc8
give hint what warnings were expected and which file ( #3842 )
...
currently if you "break" warnings you have no idea which ones where supposed to show
or which module actually failed.
2017-01-08 12:18:02 -06:00
timse
86c00207bd
Extract to parser helpers ( #3843 )
...
* rename ModuleParserHelpers to ParserHelpers
- rename module and file from ModuleParserHelpers to ParserHelpers
- change imports and usages
- rename addParsedVariable to addParsedVariableToModule to add module context again
* introduce setTypeof helper to ParserHelpers
* switch setTypeof in amdplugin - use ParsersHelpers instead
* switch setTypeof in CommonJsPlugin - use ParsersHelpers instead
* switch setTypeof in SystemPlugin - use ParsersHelpers instead
* add ParserHelpers.expressionIsUnsupported method
* use ParserHelpers.expressionIsUnsupported in SystemPlugin and NodeStuffPlugin
* refactor setTypeOf to more atomic helper methods
- reduces sideeffects as parser is called outside of helper
- allows better reuse
* use ParserHelper on more pieces in CommonJsPlugin making BasicEvaluatedExpression obsolete
* switch new BasicEvaluatedExpression().setString(<somestring>).setRange(expr.range) in dependencies to ParserHelpers
* switch other new BasicEvaluatedExpression().setString(<somestring>).setRange(expr.range) to ParserHelpers
* rename wrongly named function - name anonymous functions
2017-01-08 12:11:26 -06:00
Alistair Brown
f8be239fc1
Add test for help output
2017-01-08 18:08:51 +00:00
Alistair Brown
dca14d6a36
Simplify test files and move to opts parser
...
Move command execution into root test runner to remove boilerplate code
from specific test files. Move from arguments JSON hash to opts file
using mochas opts parser.
2017-01-08 18:08:51 +00:00
Will Mendes
ef8c6fb179
refactor(ConstPlugin): upgrade to ES6 ( #3845 )
2017-01-08 12:07:44 -06:00
Sean Larkin
bb8e28bfb4
ci(test): Add circle ci as third CI/CD Pipeline ( #3849 )
...
* ci(circle): add circleci testing integration
2017-01-08 11:59:19 -06:00
Sean Larkin
7034daea7d
reworked the binCases infra. Now ARGUMENTS.json can hold commands
2017-01-08 10:55:12 +00:00
Sean Larkin
b9128f85df
feat(test): add very simple binCases test infra to build off of
2017-01-08 10:55:12 +00:00
timse
e6d3a40739
refactor Dependency.js to es6 ( #3696 )
...
* refactor Dependency.js to es6
2017-01-08 00:15:46 -06:00
Shubheksha Jalan
5aa522d5be
refactor(ES6): upgrade NodeHotUpdateChunkTemplatePlugin to ES6 ( #3795 )
2017-01-07 22:07:59 -06:00
ritikrishu
0e90586219
refactoring AMDRequireDependenciesBlock to es6 syntax ( #3832 )
2017-01-07 22:07:00 -06:00
ritikrishu
bb31c25e71
refactor RequireEnsureDependenciesBlock to es6 syntax ( #3834 )
2017-01-07 22:05:14 -06:00
timse
8ba55e17a6
refactor of ContextDependency to es6 ( #3818 )
2017-01-07 22:03:25 -06:00
timse
d458fcb389
refactor of ModuleDependency to es6 ( #3812 )
2017-01-07 22:02:55 -06:00
ritikrishu
097d8aaeb4
refactor ImportDependenciesBlock to es6 syntax ( #3833 )
2017-01-07 22:01:38 -06:00
Alistair Brown
af00214583
Add tests for CachePlugin ( #3840 )
2017-01-07 20:11:53 -06:00
Jens Tinfors
973430931d
Bump up test coverage on NodeWatchFileSystem test ( #3837 )
...
* Bump up test coverage on NodeWatchFileSystem test
2017-01-07 18:17:21 -06:00
Alistair Brown
ecb63b9742
Add maintemplateplugin tests ( #3839 )
...
* Add tets for AmdMainTemplatePlugin
* Add tests for JsonpExportMainTemplatePlugin
2017-01-07 18:05:19 -06:00
Alistair Brown
81a7f7f4bf
Add tests for LibraryTemplatePlugin ( #3835 )
2017-01-07 14:27:22 -06:00
timse
ff30099bc3
refactor of ImportContextDependency to es6 ( #3814 )
2017-01-07 12:05:10 -06:00
timse
5d398ca27a
refactor of RequireResolveContextDependency to es6 ( #3816 )
2017-01-07 12:04:21 -06:00
timse
866701c9d6
refactor of RequireContextDependency to es6 ( #3817 )
2017-01-07 12:03:28 -06:00
timse
2028f3d943
Refactor harmony import and harmony accept import dependency to es6 ( #3787 )
...
* refactor HarmonyAcceptImportDependency to es6
* expose getContent as makeImportStatement to prevent the need to initialize Templates to access it
2017-01-07 11:24:30 -06:00
timse
b25325d50c
refactor of RequireEnsureItemDependency to es6 ( #3811 )
2017-01-07 10:10:00 -06:00
timse
331eaee286
refactor of CommonJsRequireDependency to es6 ( #3809 )
2017-01-07 10:08:01 -06:00
Sean Larkin
86485f6c88
refactor(es6): Upgrade MultiEntryPlugin to ES6 🎉 ( #3801 )
2017-01-07 10:06:59 -06:00
Oleg Pimenov
6b2c35c533
refactor(plugins): upgrade to ES6 NodeChunkTemplatePlugin & NodeTemplatePlugin ( #3792 )
2017-01-07 10:06:08 -06:00
Chris Heikkinen
ea966dcb34
refactor of RequireJsStuffPlugin to es6 ( #3823 )
2017-01-07 10:05:02 -06:00
timse
f2afbb4ed9
refactor of AMDRequireItemDependency to es6 ( #3808 )
2017-01-07 10:04:15 -06:00
Alistair Brown
5da3c99584
Add tests for MultiCompiler ( #3802 )
...
* Split out multi-compiler functionality
* Add tests for MultiWatching
* Add tests for MultiStats
* Add tests for MultiCompiler
2017-01-07 00:56:47 -06:00
Sean Larkin
5f29ffc0eb
fix(tests): fix line endings which broke master ( #3827 )
2017-01-06 22:09:13 -06:00