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
Tobias Koppers
91a9f97657
Merge pull request #9978 from webpack/bugfix/reuse-chunks-for-vendors
...
allow default vendors splitChunk setting to reuse existing chunks
2019-11-15 13:00:08 +01:00
Tobias Koppers
f48f82ed8f
allow default vendors splitChunk setting to reuse existing chunks
...
this allows the user to specify chunk names
2019-11-15 12:10:04 +01:00
Tobias Koppers
eeafeee32a
Merge pull request #9950 from webpack/dependabot/npm_and_yarn/prettier-1.19.1
...
chore(deps-dev): bump prettier from 1.18.2 to 1.19.1
2019-11-15 12:05:46 +01:00
Tobias Koppers
5cec0d92b9
Merge pull request #9976 from webpack/dependabot/npm_and_yarn/react-16.12.0
...
chore(deps-dev): bump react from 16.11.0 to 16.12.0
2019-11-15 12:05:30 +01:00
Tobias Koppers
accd66c3ba
Merge pull request #9971 from smelukov/deprecation-codes
...
Add deprecation codes
2019-11-15 12:04:47 +01:00
Tobias Koppers
497b65e122
run prettier
2019-11-15 10:56:01 +01:00
Tobias Koppers
458a17bb39
Merge pull request #9967 from webpack/dependabot/npm_and_yarn/lint-staged-9.4.3
...
chore(deps-dev): bump lint-staged from 9.4.2 to 9.4.3
2019-11-15 10:16:18 +01:00
Tobias Koppers
3a319bf1cd
change type declaration of util.deprecate to enforce code argument
2019-11-15 10:12:34 +01:00
Tobias Koppers
ba90a1d20e
hoist the deprecate function
2019-11-15 10:10:26 +01:00
Tobias Koppers
74074a9b18
add deprecationCode argument to getChunk/ModuleGraphForChunk/Module
2019-11-15 10:07:41 +01:00
dependabot-preview[bot]
abba2902a3
chore(deps-dev): bump react from 16.11.0 to 16.12.0
...
Bumps [react](https://github.com/facebook/react/tree/HEAD/packages/react ) from 16.11.0 to 16.12.0.
- [Release notes](https://github.com/facebook/react/releases )
- [Changelog](https://github.com/facebook/react/blob/master/CHANGELOG.md )
- [Commits](https://github.com/facebook/react/commits/v16.12.0/packages/react )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-15 04:15:51 +00:00
webpack bot
d5322bafb0
Merge pull request #9977 from webpack/dependabot/npm_and_yarn/react-dom-16.12.0
...
chore(deps-dev): bump react-dom from 16.11.0 to 16.12.0
2019-11-15 05:14:23 +01:00
dependabot-preview[bot]
55cf401e91
chore(deps-dev): bump react-dom from 16.11.0 to 16.12.0
...
Bumps [react-dom](https://github.com/facebook/react/tree/HEAD/packages/react-dom ) from 16.11.0 to 16.12.0.
- [Release notes](https://github.com/facebook/react/releases )
- [Changelog](https://github.com/facebook/react/blob/master/CHANGELOG.md )
- [Commits](https://github.com/facebook/react/commits/v16.12.0/packages/react-dom )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-15 00:14:42 +00:00
Tobias Koppers
73081bb5c3
update examples
2019-11-15 00:06:30 +01:00
Tobias Koppers
de1e11b0b5
5.0.0-beta.6
2019-11-14 22:54:17 +01:00
Tobias Koppers
89ad853678
Merge pull request #9972 from webpack/bugfixes/feedback
...
Bugfixes from beta feedback
2019-11-14 22:06:13 +01:00
Tobias Koppers
e9f8e63593
Make RestoreProvidedData a custom class for visibility in profiles
2019-11-14 20:58:05 +01:00
Tobias Koppers
f67d5df8b3
fix hashing for runtime modules
2019-11-14 20:58:01 +01:00
Tobias Koppers
6172b61938
fix FileSystemInfo logging when multiple different types of invalidation occur
2019-11-14 18:05:21 +01:00
Tobias Koppers
c124637646
rename missingTimestamps to missingExistance and only store booleans
2019-11-14 18:05:18 +01:00
Tobias Koppers
1e5f3d4a8f
don't check mtime for directories as fileDependency
2019-11-14 18:05:16 +01:00
Tobias Koppers
5cd866e7e3
order entry modules for deterministic chunk hash
2019-11-14 18:05:03 +01:00
Sergey Melyukov
a214be41a0
add deprecation codes
2019-11-14 17:03:15 +03:00
dependabot-preview[bot]
0092f138d0
chore(deps-dev): bump lint-staged from 9.4.2 to 9.4.3
...
Bumps [lint-staged](https://github.com/okonet/lint-staged ) from 9.4.2 to 9.4.3.
- [Release notes](https://github.com/okonet/lint-staged/releases )
- [Commits](https://github.com/okonet/lint-staged/compare/v9.4.2...v9.4.3 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-13 20:07:55 +00:00
Tobias Koppers
85145cebf3
5.0.0-beta.5
2019-11-13 14:32:06 +01:00
Tobias Koppers
2e399e2c3b
Merge pull request #9965 from webpack/perf/optimization
...
Performance
2019-11-13 14:31:38 +01:00
Tobias Koppers
e64060c8e3
upgrade webpack-sources to get rid of large string warnings for source maps
2019-11-13 13:59:28 +01:00
Tobias Koppers
137363c5de
more space-efficient ReplaceSource serialization
2019-11-13 12:19:00 +01:00
Tobias Koppers
8fcd251a7f
fix cacheWithContext inversion
2019-11-13 12:18:32 +01:00
Tobias Koppers
b086bfbcc6
faster object type lookup during deserialization
2019-11-13 12:18:04 +01:00
Tobias Koppers
f6f5364ad1
5.0.0-beta.4
2019-11-12 19:08:56 +01:00
Tobias Koppers
686ddceb01
Merge pull request #9962 from webpack/ci-azure-pipelines-cache
...
ci: azure-pipelines cache
2019-11-12 18:45:43 +01:00
Tobias Koppers
286e843a06
Merge pull request #9839 from smelukov/sourcemap-cache
...
feat: support caching in SourceMapDevToolPlugin
2019-11-12 18:38:58 +01:00