sku 12.4.7 → 12.4.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # sku
2
2
 
3
+ ## 12.4.8
4
+
5
+ ### Patch Changes
6
+
7
+ - Fix running lint-staged when `package.json` files are staged ([#918](https://github.com/seek-oss/sku/pull/918))
8
+
3
9
  ## 12.4.7
4
10
 
5
11
  ### Patch Changes
@@ -11,9 +11,10 @@ const config = {
11
11
 
12
12
  // Yarn lock integrity check
13
13
  if (isYarn) {
14
- config['+(package.json|yarn.lock)'] = [
15
- getCommand('yarn', 'install', ['--check-files']),
16
- ];
14
+ config['+(package.json|yarn.lock)'] =
15
+ // The function form allows running the command without file arguments
16
+ // https://github.com/lint-staged/lint-staged#example-run-tsc-on-changes-to-typescript-files-but-do-not-pass-any-filename-arguments
17
+ () => getCommand('yarn', 'install', ['--check-files']);
17
18
  }
18
19
 
19
20
  module.exports = config;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sku",
3
- "version": "12.4.7",
3
+ "version": "12.4.8",
4
4
  "description": "Front-end development toolkit, powered by Webpack, Babel, CSS Modules, Less and Jest",
5
5
  "main": "index.js",
6
6
  "bin": {