@intecoag/inteco-cli 1.0.0 → 1.1.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.
@@ -0,0 +1 @@
1
+ npx --no-install commitlint --edit "$1"
@@ -0,0 +1,4 @@
1
+ const config = {
2
+ extends: ['@commitlint/config-conventional']
3
+ };
4
+ export default config;
package/package.json CHANGED
@@ -1,11 +1,12 @@
1
1
  {
2
2
  "name": "@intecoag/inteco-cli",
3
- "version": "1.0.0",
3
+ "version": "1.1.1",
4
4
  "description": "CLI-Tools for Inteco",
5
5
  "main": "src/index.js",
6
6
  "type": "module",
7
7
  "scripts": {
8
- "start": "node src/index.js"
8
+ "start": "node src/index.js",
9
+ "prepare": "husky"
9
10
  },
10
11
  "author": "ah1",
11
12
  "license": "ISC",
@@ -28,12 +29,16 @@
28
29
  "prompts": "^2.4.2",
29
30
  "properties-parser": "^0.3.1",
30
31
  "readline": "^1.3.0",
32
+ "update-notifier": "^7.3.1",
31
33
  "yaml": "^1.10.2"
32
34
  },
33
35
  "bin": {
34
36
  "inteco": "src/index.js"
35
37
  },
36
38
  "devDependencies": {
39
+ "@commitlint/cli": "^20.2.0",
40
+ "@commitlint/config-conventional": "^20.2.0",
41
+ "husky": "^9.1.7",
37
42
  "semantic-release": "^25.0.2"
38
43
  },
39
44
  "release": {
package/src/index.js CHANGED
@@ -19,6 +19,16 @@ import extdSearch from './modules/extdSearch.js';
19
19
  import syncConfig from './modules/syncConfig.js';
20
20
  import bundleProduct from './modules/bundleProduct.js';
21
21
 
22
+ import updateNotifier from 'update-notifier';
23
+
24
+ updateNotifier({
25
+ pkg: {
26
+ name: packageJson.name,
27
+ version: packageJson.version
28
+ },
29
+ updateCheckInterval: 0}).notify();
30
+
31
+
22
32
  const helpText = cliMeowHelp({
23
33
  name: `inteco`,
24
34
  desc: "Version: "+packageJson.version,