@transferwise/components 37.4.3 → 37.5.0

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
@@ -3,6 +3,17 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [37.5.0](https://github.com/transferwise/neptune-web/compare/@transferwise/components@37.4.3...@transferwise/components@37.5.0) (2021-09-22)
7
+
8
+
9
+ ### Features
10
+
11
+ * add updatePeerDependencies script on npm postversion ([#1094](https://github.com/transferwise/neptune-web/issues/1094)) ([1793a61](https://github.com/transferwise/neptune-web/commit/1793a616b917fc1895689c8dcc64ab6905a084c3))
12
+
13
+
14
+
15
+
16
+
6
17
  ## [37.4.3](https://github.com/transferwise/neptune-web/compare/@transferwise/components@37.4.2...@transferwise/components@37.4.3) (2021-09-17)
7
18
 
8
19
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@transferwise/components",
3
- "version": "37.4.3",
3
+ "version": "37.5.0",
4
4
  "description": "Neptune React components",
5
5
  "license": "Apache-2.0",
6
6
  "main": "./build/umd/polyfill/main.js",
@@ -47,7 +47,7 @@
47
47
  "lintless:fix": "yarn lintless --fix"
48
48
  },
49
49
  "bin": {
50
- "neptune-upgrade-util": "bin/neptune-upgrader.js"
50
+ "neptune-upgrade-util": "scripts/neptune-upgrader.js"
51
51
  },
52
52
  "devDependencies": {
53
53
  "@babel/cli": "^7.14.8",
@@ -122,5 +122,5 @@
122
122
  "resolutions": {
123
123
  "@storybook/**/kind-of": "^6.0.3"
124
124
  },
125
- "gitHead": "06df60519988d90e0f6a8b7771a79a9a3f19cd87"
125
+ "gitHead": "c3f1f30cc3cfc6a89a26b490a543efe493e482d6"
126
126
  }
@@ -1,11 +1,12 @@
1
1
  #!/usr/bin/env node
2
2
  /* eslint-disable no-console */
3
3
 
4
- const inquirer = require('inquirer');
5
- const inquirerFileTreeSelection = require('inquirer-file-tree-selection-prompt');
6
4
  const { exec } = require('child_process');
7
5
  const path = require('path');
8
6
 
7
+ const inquirer = require('inquirer');
8
+ const inquirerFileTreeSelection = require('inquirer-file-tree-selection-prompt');
9
+
9
10
  inquirer.registerPrompt('file-tree-selection', inquirerFileTreeSelection);
10
11
 
11
12
  const IGNORE_PATTERN = '**/node_modules/*';
@@ -82,8 +83,8 @@ const run = async () => {
82
83
 
83
84
  const options = `${dry ? '-d' : ''} ${verbose ? '-v=2' : ''}`;
84
85
 
85
- const handleOutput = (err, stdout, stderr) => {
86
- if (err) {
86
+ const handleOutput = (error, stdout, stderr) => {
87
+ if (error) {
87
88
  console.log(stderr);
88
89
  return;
89
90
  }