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

Commit 0c25f50

Browse files
authored
Move all dependencies to devDependencies (#16)
* Move all dependencies to devDependencies * Add upgrade instructions to README
1 parent 850fc53 commit 0c25f50

File tree

4 files changed

+24
-10
lines changed

4 files changed

+24
-10
lines changed

.eslintrc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"extends": "eslint-config-neo/config-backend",
33
"rules": {
4-
"no-console": "off"
4+
"no-console": "off",
5+
"import/no-extraneous-dependencies": ["error", { "devDependencies": true }]
56
}
67
}

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.0.1 (January 26, 2020)
4+
5+
Move all dependencies to devDependencies
6+
37
## 1.0.0 (January 26, 2020)
48

59
Initial release! :tada:

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,16 @@ alias awsx="source _awsx"
2626

2727
Reload your profile by launching a new shell or running `source ~/.bash_profile`.
2828

29+
### Upgrading
30+
31+
```sh
32+
// npm
33+
npm install -g awsx
34+
35+
// yarn
36+
yarn global upgrade awsx --latest
37+
```
38+
2939
### Switching profiles
3040

3141
#### `awsx` or `awsx [profile]`

package.json

Lines changed: 8 additions & 9 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.0.0",
4+
"version": "1.0.1",
55
"author": "Neo Financial Engineering <engineering@neofinancial.com>",
66
"license": "MIT",
77
"repository": {
@@ -44,29 +44,28 @@
4444
"prettier --write"
4545
]
4646
},
47-
"dependencies": {
48-
"aws-sdk": "2.610.0",
49-
"chalk": "3.0.0",
50-
"ini": "1.3.5",
51-
"inquirer": "7.0.4",
52-
"yargs": "15.1.0"
53-
},
47+
"dependencies": {},
5448
"devDependencies": {
5549
"@types/ini": "1.3.30",
5650
"@types/inquirer": "6.5.0",
5751
"@types/jest": "^24.9.1",
5852
"@types/node": "13.5.0",
5953
"@types/yargs": "15.0.1",
6054
"@zeit/ncc": "0.21.0",
55+
"aws-sdk": "2.610.0",
56+
"chalk": "3.0.0",
6157
"eslint": "6.8.0",
6258
"eslint-config-neo": "0.5.2",
6359
"husky": "4.2.1",
60+
"ini": "1.3.5",
61+
"inquirer": "7.0.4",
6462
"jest": "^25.1.0",
6563
"lint-staged": "10.0.2",
6664
"prettier": "1.19.1",
6765
"rimraf": "3.0.0",
6866
"ts-jest": "^25.0.0",
6967
"ts-node": "8.6.2",
70-
"typescript": "3.7.5"
68+
"typescript": "3.7.5",
69+
"yargs": "15.1.0"
7170
}
7271
}

0 commit comments

Comments
 (0)