Alexander Akait
a53721e1dd
refactor: fix typos
2024-03-12 18:38:34 +03:00
alexander.akait
b58abf188e
chore(deps): update enhanced-resolve
2024-03-11 17:06:28 +03:00
alexander.akait
3a70d69de7
fix: types more
2024-03-06 16:40:12 +03:00
alexander.akait
44b4f96e2b
refactor: code
2024-03-05 17:40:46 +03:00
alexander.akait
b23130013c
fix: `fs` types
2024-03-05 16:37:51 +03:00
alexander.akait
6ab9bdaa73
fix: types
2024-02-22 17:20:17 +03:00
Viktor Szépe
10014b85d4
Fix typos
2024-02-19 16:46:07 +00:00
Tobias Koppers
7025319eea
upgrade watchpack
...
use new collectTimeInfoEntries method from watchpack
add more efficient Watcher.getInfo method
2021-11-25 09:27:04 +01:00
evilebottnawi
d55382ed79
fix: remove links in clean plugin
2021-11-10 19:58:00 +03:00
Tobias Koppers
ae52a74802
improve buildHttp
...
allow multiple configurations to write to the same lockfile
add allowedUris for allowlisting
add schema validation
2021-10-19 09:21:05 +02:00
Tobias Koppers
9577b88d4b
track and resolve symlinks when reading context timestamps/hashes
...
refactor context snapshotting for abstraction purposes
add (symlink) unit test cases for FileSystemInfo snapshotting
2021-08-18 14:50:23 +02:00
Dhruvit Raithatha
e085eebd6c
make errors nullable for call signatures of filesystem types
2021-05-10 15:18:22 +05:30
Tobias Koppers
e28788a4d4
Merge pull request #12714 from jasongrout/uncpaths
2021-03-06 19:34:55 +01:00
Tobias Koppers
1ebc7ca974
fix some incorrect properties accesses
...
fix some edge cases with MultiCompiler
fixes #12770
2021-02-24 20:12:32 +01:00
Jason Grout
194ba960fe
Convert path testing functions to use node builtin isAbsolute function.
2021-02-22 09:30:45 -08:00
Jason Grout
2c01738149
Lint fix
2021-02-18 09:25:19 -08:00
Jason Grout
058951faa1
Handle Windows UNC paths as Windows paths
...
Fixes https://github.com/webpack/webpack/issues/12305
UNC paths are defined in section 2.2.57 of https://winprotocoldoc.blob.core.windows.net/productionwindowsarchives/MS-DTYP/%5bMS-DTYP%5d.pdf . See also https://docs.microsoft.com/en-us/dotnet/standard/io/file-path-formats#unc-paths , for example.
2021-02-18 08:53:42 -08:00
Tobias Koppers
9f07ecb88b
methods in OutputFileSystem must be optional to avoid breaking change
2021-02-02 19:15:34 +01:00
Sergey Melyukov
6559a55c66
fix after merge
2021-02-02 10:41:46 +03:00
Sergey Melyukov
654e4e1ba0
Merge remote-tracking branch 'upstream/master' into clean
2021-02-02 10:38:41 +03:00
Tobias Koppers
a2e326129c
make filesystem types compatible with memfs and normal fs
...
fixes #12400
2021-01-13 10:14:58 +01:00
Tobias Koppers
58984b77cb
update type annotations
2021-01-11 22:15:31 +01:00
Tobias Koppers
9563338d90
improve reading of cache file
2020-12-14 13:16:20 +01:00
Tobias Koppers
005bdbbefd
fix memory leak when using createReadStream
2020-12-14 11:06:15 +01:00
Tobias Koppers
c6311bae62
allow bigger cache sizes
2020-12-14 08:16:08 +01:00
Sergey Melyukov
132ca09a11
(refactor): CleanPlugin
2020-10-07 13:48:51 +03:00
Sergey Melyukov
4b04a4b1f5
(feat): add output.clean
2020-09-30 18:33:30 +03:00
Ivan Kopeykin
4fc44a3398
add more types
2020-08-02 23:47:54 +03:00
Tobias Koppers
6c425546df
Avoid using real watchers in MultiWatching test case
...
add watchFileSystem to MultiCompiler and typings
2020-07-08 11:17:00 +02:00
Tobias Koppers
0397701d85
improve types, moved byDependency logic into ResolverFactory
2020-06-17 22:17:14 +02:00
Tobias Koppers
1c42f71250
allow to provide and consume multiple versions of shared modules
2020-06-13 14:45:37 +02:00
Nathan Shively-Sanders
362514c10b
fix 4.0 build errors
2020-05-12 14:37:09 +02:00
Tobias Koppers
3f9e6d5ec6
move tooling into separate repo, add type generation and test types
2020-04-21 09:25:38 +02:00
Tobias Koppers
b40a345451
refactor Persistent Cache
...
cache is split into multiple .pack files which represent usage of cache items
this allows to only read/deserialize files that are needed
and reduces the need to rewrite .pack files
while still packaging multiple cache items together
lazy (de)serialization system has changed to allow writeLazy and writeSeparate
2020-01-28 11:35:06 +01:00
Tobias Koppers
e8f2a8329d
avoid emitting files when they already exits in output filesystem
2019-11-04 09:23:18 +01:00
Tobias Koppers
d3cf3928f5
Persistent Caching fixes
...
improve error handling in pack file cache strategy
support context timestamp snapshot
make ContextModule serializable
fix snapshotting bug of managed paths
use managed and immutable path info for context hashes and timestamps
enabled managedPaths for node_modules during cache tests
2019-09-04 16:33:54 +02:00
Tobias Koppers
e5cecdad23
store build dependencies snapshot in pack
...
add snapshot shortcut for package manager managed paths
add cache.managedPaths
2019-08-13 17:02: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