Skip to content
This repository was archived by the owner on Jan 27, 2025. It is now read-only.

Commit a438721

Browse files
authored
Move update notifier to dependencies (#20)
* Move update notifier to dependencies * Update CHANGELOG * Update lockfile
1 parent 4cd1001 commit a438721

File tree

3 files changed

+15
-10
lines changed

3 files changed

+15
-10
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
## 1.1.1 (April 14, 2020)
4+
5+
Move `update-notifier` to dependencies and exclude from ncc build
6+
37
## 1.1.0 (April 2, 2020)
48

59
Adding and augmenting commands to enable assumed role adoption

package.json

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "awsx",
33
"description": "AWS CLI profile switcher with MFA support",
4-
"version": "1.1.0",
4+
"version": "1.1.1",
55
"author": "Neo Financial Engineering <engineering@neofinancial.com>",
66
"license": "MIT",
77
"repository": {
@@ -18,8 +18,8 @@
1818
"scripts": {
1919
"start": "NODE_ENV=development ts-node src/app.ts",
2020
"start:build": "node bin/awsx.js",
21-
"build": "NODE_ENV=production ncc build src/app.ts -o build --minify",
22-
"watch": "NODE_ENV=production ncc build src/app.ts -o build --minify --watch",
21+
"build": "NODE_ENV=production ncc build src/app.ts -o build --minify --external update-notifier",
22+
"watch": "NODE_ENV=production ncc build src/app.ts -o build --watch --external update-notifier",
2323
"test": "NODE_ENV=test jest",
2424
"clean": "rimraf build",
2525
"lint": "eslint \"**/*.{ts,js}\"",
@@ -44,13 +44,15 @@
4444
"prettier --write"
4545
]
4646
},
47-
"dependencies": {},
47+
"dependencies": {
48+
"update-notifier": "4.1.0"
49+
},
4850
"devDependencies": {
4951
"@types/ini": "1.3.30",
5052
"@types/inquirer": "6.5.0",
51-
"@types/jest": "^24.9.1",
53+
"@types/jest": "24.9.1",
5254
"@types/node": "13.5.0",
53-
"@types/update-notifier": "^2.5.0",
55+
"@types/update-notifier": "2.5.0",
5456
"@types/yargs": "15.0.1",
5557
"@zeit/ncc": "0.21.0",
5658
"aws-sdk": "2.610.0",
@@ -67,7 +69,6 @@
6769
"ts-jest": "^25.0.0",
6870
"ts-node": "8.6.2",
6971
"typescript": "3.7.5",
70-
"update-notifier": "^4.1.0",
7172
"yargs": "15.1.0"
7273
}
7374
}

yarn.lock

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -443,7 +443,7 @@
443443
"@types/istanbul-lib-coverage" "*"
444444
"@types/istanbul-lib-report" "*"
445445

446-
"@types/jest@^24.9.1":
446+
"@types/jest@24.9.1":
447447
version "24.9.1"
448448
resolved "https://registry.yarnpkg.com/@types/jest/-/jest-24.9.1.tgz#02baf9573c78f1b9974a5f36778b366aa77bd534"
449449
integrity sha512-Fb38HkXSVA4L8fGKEZ6le5bB8r6MRWlOCZbVuWZcmOMSCd2wCYOwN1ibj8daIoV9naq7aaOZjrLCoCMptKU/4Q==
@@ -482,7 +482,7 @@
482482
dependencies:
483483
"@types/node" "*"
484484

485-
"@types/update-notifier@^2.5.0":
485+
"@types/update-notifier@2.5.0":
486486
version "2.5.0"
487487
resolved "https://registry.yarnpkg.com/@types/update-notifier/-/update-notifier-2.5.0.tgz#63cfcee92cc915f9a6eea4d1442ec6efd012e118"
488488
integrity sha512-YV+ZcSIiv30GhLM7WwxI+bsbcW34d3Yhl2JSFBNFL6qtfsoI9++hogxz+jTqeS86ynKcMUE0AsnLWQynfJnsfA==
@@ -5072,7 +5072,7 @@ unset-value@^1.0.0:
50725072
has-value "^0.3.1"
50735073
isobject "^3.0.0"
50745074

5075-
update-notifier@^4.1.0:
5075+
update-notifier@4.1.0:
50765076
version "4.1.0"
50775077
resolved "https://registry.yarnpkg.com/update-notifier/-/update-notifier-4.1.0.tgz#4866b98c3bc5b5473c020b1250583628f9a328f3"
50785078
integrity sha512-w3doE1qtI0/ZmgeoDoARmI5fjDoT93IfKgEGqm26dGUOh8oNpaSTsGNdYRN/SjOuo10jcJGwkEL3mroKzktkew==

0 commit comments

Comments
 (0)