@squiz/dxp-cli-next 1.0.0 → 1.0.1
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/lib/dxp.js +3 -0
- package/package.json +4 -2
package/lib/dxp.js
CHANGED
|
@@ -4,6 +4,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
const commander_1 = __importDefault(require("commander"));
|
|
7
|
+
const update_notifier_1 = __importDefault(require("update-notifier"));
|
|
8
|
+
const pkg = require('../package.json');
|
|
9
|
+
(0, update_notifier_1.default)({ pkg }).notify();
|
|
7
10
|
const auth_1 = __importDefault(require("./auth"));
|
|
8
11
|
const td_1 = __importDefault(require("./td"));
|
|
9
12
|
const program = new commander_1.default.Command();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@squiz/dxp-cli-next",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"repository": {
|
|
5
5
|
"url": "https://gitlab.squiz.net/developer-experience/dxp-cli-next"
|
|
6
6
|
},
|
|
@@ -39,7 +39,8 @@
|
|
|
39
39
|
"codecov"
|
|
40
40
|
],
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"commander": "^9.0.0"
|
|
42
|
+
"commander": "^9.0.0",
|
|
43
|
+
"update-notifier": "^5.1.0"
|
|
43
44
|
},
|
|
44
45
|
"devDependencies": {
|
|
45
46
|
"@semantic-release/git": "^10.0.1",
|
|
@@ -47,6 +48,7 @@
|
|
|
47
48
|
"@semantic-release/npm": "^9.0.0",
|
|
48
49
|
"@types/jest": "^27.4.0",
|
|
49
50
|
"@types/node": "^17.0.14",
|
|
51
|
+
"@types/update-notifier": "^5.1.0",
|
|
50
52
|
"@typescript-eslint/eslint-plugin": "^5.10.2",
|
|
51
53
|
"@typescript-eslint/parser": "^5.10.2",
|
|
52
54
|
"chalk": "^4.1.2",
|