@statoscope/cli
Advanced tools
Changelog
5.13.0 (09 October 2021)
[webpack-ui]
- update highcharts to v9
[webpack-ui]
- add box
-view to build flex layout
[{
view: 'box',
content: [
{ view: 'box', content: 'struct' },
{ view: 'box', content: 'struct' },
{ view: 'box', content: 'struct' },
]
},
{
view: 'box',
options: { direction: 'column' },
content: [
{ view: 'box', content: 'struct' },
{ view: 'box', content: 'struct' },
]
}]
There are some supported options:
display
direction
shrink
grow
alignItems
justifyItems
alignContent
justifyContent
width
height
padding
margin
[webpack-model]
- add resolveExtensionByCompilation
-helper - resolves extension by id and compilation
[webpack-model]
- resolveExtension*
resolves extension even if the extension has no API (not warning anymore)
[webpack-model]
- add StatsExtensionWebpackAdapter type
[webpack-plugin]
- add extensions
-options (see plugin readme for more info)
[webpack-model]
- resolveExtension
resolves extension by its name and filename that the extension attached to[webpack-stats-extension-compressed]
- implement webpack stats extension interface[webpack-stats-extension-package-info]
- implement webpack stats extension interfaceChangelog
5.12.0 (06 October 2021)
[cli]
- output is no longer a required argument (tmp directory is used by default) (#119 by @wildOrlik)[webpack-model]
- fix crash when unknown extension is used[webpack-model]
- fix crash with regenerator runtimeChangelog
5.11.2 (01 October 2021)
[webpack-ui]
- fix shouldExcludeResource
-helper
Now returns true if no regexp specified
Changelog
5.11.1 (01 October 2021)
[webpack-ui]
- use default target for babel-env (support more browsers)Changelog
5.11.0 (01 October 2021)
[webpack-ui]
- add new options to specify a regexp
All assets matched the regexp will be ignored from download size/time calculation
[stats-validator-plugin-webpack]
- add asset-type exclude to diff-entry-download-size-limits
-rule
[stats-validator-plugin-webpack]
- add asset-type exclude to diff-entry-download-time-limits
-rule
[stats-validator-plugin-webpack]
- add asset-type exclude to entry-download-size-limits
-rule
[stats-validator-plugin-webpack]
- add asset-type exclude to entry-download-time-limits
-rule
[webpack-ui]
- improve settings popupChangelog
5.10.4 (29 September 2021)
[cli]
- use >=12.0.0
instead of ^12.0.0
in engines.nodeChangelog
5.10.0 (27 September 2021)
[webpack-ui]
- add chart
-view (based on highcharts)
{
view: 'chart,
options: [/* any highcharts options */]
}
Changelog
5.9.0 (27 September 2021)
[stats-extension-custom-reports]
- add package for passing custom reports to the UI (#108)
[webpack-plugin]
- support custom reports (#108)
[webpack-ui]
- support custom reports (#108)
[helpers]
- support lock
/unlock
for Resolver
(#107)
By default, all the resolvers is locked (no items can be added to resolver storage)
const resolver = makeResolver(modules, m => m.identifier);
modules.push(fooModule);
resolver('foo'); // null
resolver.unlock(); // allow to fetch resolver storage for new elements
modules.push(fooModule);
resolver('foo'); // fooModule
In other words, locked resolver remembers its source items and ignores any source changes.
It is useful for performance.
[helpers]
- add Indexer
to build an index (#108)
Index is more complex of resolver. It provides some API to manipulate its storage:
const moduleIndex = makeIndex(module => module.identifier); // no source needed
moduleIndex.add(fooModule);
moduleIndex.get('foo'); // fooModule
moduleIndex.get('bar'); // null
moduleIndex.add(barModule);
moduleIndex.get('bar'); // barModule
moduleIndex.getAll(); // [fooModule, barModule]
[stats-extension-compressed]
- support indexer (#108)
[stats-extension-package-info]
- support indexer (#108)
[stats-extension-stats-validation-result]
- support indexer (#108)
[config]
- add requireConfig
(#108)
[cli]
- support requireConfig
(#108)
[cli]
- add makeReplacer
helper to create json replacer (#107)
[webpack-model]
- add __statoscope.context
field (#107)
[report-writer]
- remove context path from stats (it makes all the path relative from context) (#107)
[webpack-plugin]
- remove context path from stats (it makes all the path relative from context) (#107)
[webpack-stats-extension-package-info]
- remove context path from stats (it makes all the path relative from context) (#107)
[webpack-model]
- use module.identifier to resolve a module (#107)
[webpack-model]
- decouple extension and compilation (#108)
Extensions have attached to files, not to compilations
[webpack-ui]
- use module.identifier
to resolve a module (#107)
[webpack-stats-extension-compressed]
- use module.identifier
to resolve a module (#107)
[stats-validator-plugin-webpack]
- use module.identifier
to resolve a module (#107)
[webpack-model]
- not fail when incomplete stats have used