Skip to content

Commit

Permalink
Merge pull request #214 from enactjs/feature/remove-shrinkwrap
Browse files Browse the repository at this point in the history
PLAT-103297: Investigate and remove shrinkwrap when dependency issue is resolved
  • Loading branch information
germboy authored Mar 25, 2020
2 parents 73aa8dd + daaf465 commit 70abd56
Show file tree
Hide file tree
Showing 4 changed files with 2,681 additions and 2,260 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,6 @@ module.exports = {
'import/no-duplicates': 2,
'import/extensions': [1, 'always', {js: 'never', json: 'always'}],
'import/newline-after-import': 1,
'import/order': [1, {'newlines-between': 'never'}]
'import/order': [1, {'newlines-between': 'never', 'groups': ["builtin", "external", "internal", "parent", "sibling", "index"]}]
}
};
5 changes: 4 additions & 1 deletion commands/pack.js
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,10 @@ function printFileSizes(stats, output) {
};
});
assets.sort((a, b) => b.size - a.size);
const longestSizeLabelLength = Math.max.apply(null, assets.map(a => stripAnsi(a.sizeLabel).length));
const longestSizeLabelLength = Math.max.apply(
null,
assets.map(a => stripAnsi(a.sizeLabel).length)
);
assets.forEach(asset => {
let sizeLabel = asset.sizeLabel;
const sizeLength = stripAnsi(sizeLabel).length;
Expand Down
Loading

0 comments on commit 70abd56

Please sign in to comment.