Tobias Koppers
697ebe81e1
5.0.0-beta.7
2019-11-20 22:51:44 +01:00
Tobias Koppers
9eb2d0cadd
Merge pull request #10011 from webpack/deps/webpack-sources
...
upgrade webpack-sources
2019-11-20 22:25:42 +01:00
Tobias Koppers
b2eed7436e
Merge pull request #10009 from webpack/bugfix/spacing-error-details
...
fix spacing of errors/warnings when details or stack is enabled
2019-11-20 16:39:23 +01:00
Tobias Koppers
54858bed32
upgrade webpack-sources
2019-11-20 16:39:05 +01:00
webpack bot
9c668a52bc
Merge pull request #9983 from webpack/dependabot/npm_and_yarn/husky-3.1.0
...
chore(deps-dev): bump husky from 3.0.9 to 3.1.0
2019-11-20 16:22:27 +01:00
Tobias Koppers
3c87c0b5ba
Merge pull request #10006 from webpack/perf/chunk-modules-by-source-type
...
offer cached methods to get chunk modules by source type
2019-11-20 16:04:28 +01:00
Tobias Koppers
c94bd66ee5
fix spacing of errors/warnings when details or stack is enabled
2019-11-20 15:54:32 +01:00
dependabot-preview[bot]
5f46ba2490
chore(deps-dev): bump husky from 3.0.9 to 3.1.0
...
Bumps [husky](https://github.com/typicode/husky ) from 3.0.9 to 3.1.0.
- [Release notes](https://github.com/typicode/husky/releases )
- [Changelog](https://github.com/typicode/husky/blob/master/CHANGELOG.md )
- [Commits](https://github.com/typicode/husky/compare/v3.0.9...v3.1.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-20 14:32:44 +00:00
Tobias Koppers
88615eea3a
Merge pull request #10005 from webpack/rename/exports-type-default
...
Rename exportsType "named" -> "default"
2019-11-20 15:29:42 +01:00
Tobias Koppers
3378ac21cf
additional performance improvement for chunks with single source type
2019-11-20 15:27:38 +01:00
Tobias Koppers
a58717e379
types for NormalModule constructor
2019-11-20 12:43:57 +01:00
Tobias Koppers
55914b2e46
Generator.generate may return null
2019-11-20 12:43:56 +01:00
Tobias Koppers
5a01ed8121
rename exportsType named to default
...
exportsType default doesn't include named exports in strict esm
2019-11-20 12:43:53 +01:00
Tobias Koppers
fe67677f55
offer cached methods to get chunk modules by source type
2019-11-20 11:20:34 +01:00
webpack bot
ce70102a8f
Merge pull request #10001 from webpack/dependabot/npm_and_yarn/types/node-12.12.10
...
chore(deps-dev): bump @types/node from 12.12.8 to 12.12.10
2019-11-19 20:50:07 +01:00
dependabot-preview[bot]
a8c885ed67
chore(deps-dev): bump @types/node from 12.12.8 to 12.12.10
...
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) from 12.12.8 to 12.12.10.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-19 19:31:28 +00:00
Tobias Koppers
53cb3c6479
Merge pull request #9997 from webpack/example/build
...
update example build process
2019-11-19 15:50:27 +01:00
Tobias Koppers
c38e226717
update example build process
...
collapse runtime code in examples
disable colors in examples
update examples
2019-11-19 14:30:38 +01:00
Tobias Koppers
0291bd0d7b
Merge pull request #9984 from smelukov/module-factory-cache
...
Improve getting generator/parse cache in module factory
2019-11-19 14:11:02 +01:00
Tobias Koppers
74fdbd44fc
Merge pull request #9993 from webpack/bugfix/rr-async
...
add missing runtime requirement for async module header
2019-11-19 13:44:29 +01:00
Tobias Koppers
1f3d2b680e
rename empty object constant
2019-11-19 13:14:58 +01:00
Tobias Koppers
cda629eaac
add missing runtime requirement for async module header
...
active async modules when top level await is used
2019-11-19 13:11:23 +01:00
Tobias Koppers
e00b0a40d4
avoid has -> get, set -> get
2019-11-19 12:17:46 +01:00
webpack bot
e82b870007
Merge pull request #9989 from webpack/dependabot/npm_and_yarn/eslint-config-prettier-6.7.0
...
chore(deps-dev): bump eslint-config-prettier from 6.6.0 to 6.7.0
2019-11-19 10:02:32 +01:00
dependabot-preview[bot]
ac590d4d40
chore(deps-dev): bump eslint-config-prettier from 6.6.0 to 6.7.0
...
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier ) from 6.6.0 to 6.7.0.
- [Release notes](https://github.com/prettier/eslint-config-prettier/releases )
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/master/CHANGELOG.md )
- [Commits](https://github.com/prettier/eslint-config-prettier/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-19 08:41:05 +00:00
Sergey Melyukov
53764f5d36
refactor: fix review comments
2019-11-18 20:01:54 +03:00
Sergey Melyukov
265ef68405
refactor: improve generator/parse cache in module factory
2019-11-18 18:12:12 +03:00
Tobias Koppers
0c7e135cc5
Merge pull request #9679 from maxwoo-houzz/master
...
List of files modified during watch cycle is now accessible to plugins
2019-11-18 10:04:48 +01:00
Tobias Koppers
0cd8a75e2d
Merge pull request #9982 from webpack/dependabot/npm_and_yarn/eslint-config-prettier-6.6.0
...
chore(deps-dev): bump eslint-config-prettier from 6.5.0 to 6.6.0
2019-11-17 20:05:18 +01:00
Tobias Koppers
6df6f5b0cb
Merge pull request #9981 from webpack/dependabot/npm_and_yarn/types/node-12.12.8
...
chore(deps-dev): bump @types/node from 12.12.7 to 12.12.8
2019-11-17 20:04:11 +01:00
dependabot-preview[bot]
e7a2154e91
chore(deps-dev): bump eslint-config-prettier from 6.5.0 to 6.6.0
...
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier ) from 6.5.0 to 6.6.0.
- [Release notes](https://github.com/prettier/eslint-config-prettier/releases )
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/master/CHANGELOG.md )
- [Commits](https://github.com/prettier/eslint-config-prettier/compare/v6.5.0...v6.6.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-17 00:49:30 +00:00
dependabot-preview[bot]
c85269b64e
chore(deps-dev): bump @types/node from 12.12.7 to 12.12.8
...
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) from 12.12.7 to 12.12.8.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-15 20:09:21 +00:00
Tobias Koppers
bc9da61390
use separate directory for test
...
wait a bit after creating files
2019-11-15 20:31:22 +01:00
Tobias Koppers
b7bdd38bb6
Set timestamps of directories to fake times too
2019-11-15 19:47:03 +01:00
Tobias Koppers
fd66e3a08a
make test case report better errors
2019-11-15 15:14:03 +01:00
Tobias Koppers
1dae1f34db
merge test cases, increased delays
2019-11-15 13:53:59 +01:00
Tobias Koppers
3ee78deb33
Increase timeout
2019-11-15 13:53:58 +01:00
Tobias Koppers
b65f82e965
upgrade watchpack
2019-11-15 13:53:55 +01:00
Tobias Koppers
5bcafa64e2
use async rimraf
2019-11-15 13:49:32 +01:00
Tobias Koppers
2d21828633
add temp folder to gitignore
2019-11-15 13:49:30 +01:00
Tobias Koppers
ae0edf3fbb
replace timeouts in test with compiler done checks
2019-11-15 13:49:29 +01:00
Tobias Koppers
7f1bf78016
fix test suite
2019-11-15 13:49:27 +01:00
Tobias Koppers
2339a5aad7
name test suite like file
2019-11-15 13:49:25 +01:00
Max Woo
99f76149c2
reversed changes to NodeWatchFileSystem, no interface-breaking changes
...
see https://github.com/webpack/webpack/pull/9679#discussion_r322593796
also renamed "ChangedFiles" to "ModifiedFiles" in test description
removed a stray log statement
2019-11-15 13:49:23 +01:00
Max Woo
12cb651cbd
combined tests into one file
2019-11-15 13:49:21 +01:00
Max Woo
dfd97ce9db
define watchRunFinished outside of watchRun hook
...
we don't know when the watchRun hook is called, so if we define watchRunFinished
inside the hook, it could be undefined when it gets to the watchRunFinished.then(...) call
so we should define it outside the hook to ensure that it is defined by the time
watchRunFinished.then(...) is called
also use watcher.close() callback to call done(), to ensure that it's called after
the watcher is finished closed
see https://github.com/webpack/webpack/pull/9679/
files/d5b421a408dc59ee0120019cc0947330f53fee2a#r322592231
2019-11-15 13:49:19 +01:00
Max Woo
c04b4ab10e
add ModifiedFiles test, fixed RemoveFiles test, renamed filesModified to modifiedFiles
...
this is just merging branch 'test-expose-modified-files' into master
2019-11-15 13:49:17 +01:00
Tobias Koppers
2f1a0176b3
rename filesModified -> modifiedFiles
...
avoid creating additional arrays by allowing Iterable on WatchFileSystem interface
2019-11-15 13:49:15 +01:00
Max Woo
77f01de81a
reset filesModified during compiler construction and watch(), to match removedFiles
2019-11-15 13:49:13 +01:00
Max Woo
d24eb46482
files modified during watch cycle are now accessible in a compiler property
2019-11-15 13:49:11 +01:00