@i2analyze/create-connector 2.0.0-next.0 → 2.0.1-dev.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 +16 -8
- package/index.js +12 -5
- package/main.js +3 -2
- package/package.json +37 -37
package/CHANGELOG.md
CHANGED
|
@@ -1,33 +1,41 @@
|
|
|
1
1
|
# @i2analyze/create-connector
|
|
2
2
|
|
|
3
|
-
## 2.0.
|
|
3
|
+
## 2.0.1-dev.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated copyright text
|
|
8
|
+
|
|
9
|
+
## 2.0.0
|
|
4
10
|
|
|
5
11
|
### Major Changes
|
|
6
12
|
|
|
7
|
-
-
|
|
13
|
+
- BREAKING CHANGE: Set 14.17.0 as the minimum supported node.js version.
|
|
14
|
+
- BREAKING CHANGE: Removed "--no-connectors" argument when creating new connector server
|
|
15
|
+
- Rename package name from `@i2analyze/create-i2connect-server` to `@i2analyze/create-connector`.
|
|
8
16
|
|
|
9
17
|
## 1.0.3
|
|
10
18
|
|
|
11
19
|
### Patch Changes
|
|
12
20
|
|
|
13
|
-
-
|
|
14
|
-
-
|
|
21
|
+
- Update copyright information.
|
|
22
|
+
- Update urls to use correct github organization.
|
|
15
23
|
|
|
16
24
|
## 1.0.2
|
|
17
25
|
|
|
18
26
|
### Patch Changes
|
|
19
27
|
|
|
20
|
-
-
|
|
28
|
+
- Update READMEs and homepages for public packages
|
|
21
29
|
|
|
22
30
|
## 1.0.1
|
|
23
31
|
|
|
24
32
|
### Patch Changes
|
|
25
33
|
|
|
26
|
-
-
|
|
27
|
-
-
|
|
34
|
+
- Use a `^` dependency for i2connect-scripts.
|
|
35
|
+
- Rename `sample` to `skeleton` in the template, and change casing to better reflect the nature of the files produced.
|
|
28
36
|
|
|
29
37
|
## 1.0.0
|
|
30
38
|
|
|
31
39
|
### Major Changes
|
|
32
40
|
|
|
33
|
-
-
|
|
41
|
+
- Initial release.
|
package/index.js
CHANGED
|
@@ -1,20 +1,27 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
|
|
3
|
-
*
|
|
2
|
+
/*
|
|
3
|
+
* i2, i2 Group, the i2 Group logo, and i2group.com are trademarks of N.Harris Computer Corporation.
|
|
4
|
+
* © N.Harris Computer Corporation (2022)
|
|
4
5
|
* SPDX-License-Identifier: MIT
|
|
5
6
|
*/
|
|
6
7
|
|
|
7
8
|
'use strict';
|
|
8
9
|
|
|
9
10
|
var thisVersion = process.versions.node;
|
|
10
|
-
var
|
|
11
|
+
var versions = thisVersion.split('.');
|
|
12
|
+
|
|
13
|
+
var thisMajor = parseInt(versions[0], 10);
|
|
14
|
+
var thisMinor = parseInt(versions[1], 10);
|
|
11
15
|
var minimumMajorRequired = 14;
|
|
16
|
+
var minimumMinorRequired = 17;
|
|
12
17
|
|
|
13
|
-
if (thisMajor < minimumMajorRequired) {
|
|
18
|
+
if (thisMajor < minimumMajorRequired || (thisMajor === minimumMajorRequired && thisMinor < minimumMinorRequired)) {
|
|
14
19
|
console.error(
|
|
15
20
|
'Node ' +
|
|
16
21
|
minimumMajorRequired +
|
|
17
|
-
'
|
|
22
|
+
'.' +
|
|
23
|
+
minimumMinorRequired +
|
|
24
|
+
'.0 or higher is required. You are using ' +
|
|
18
25
|
thisVersion +
|
|
19
26
|
'. Update your version of Node.'
|
|
20
27
|
);
|
package/main.js
CHANGED
package/package.json
CHANGED
|
@@ -1,37 +1,37 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@i2analyze/create-connector",
|
|
3
|
-
"version": "2.0.
|
|
4
|
-
"license": "MIT",
|
|
5
|
-
"publishConfig": {
|
|
6
|
-
"access": "public",
|
|
7
|
-
"registry": "https://registry.npmjs.org/"
|
|
8
|
-
},
|
|
9
|
-
"homepage": "https://github.com/i2group/analyze-connect-node-sdk",
|
|
10
|
-
"bin": "index.js",
|
|
11
|
-
"files": [
|
|
12
|
-
"index.js",
|
|
13
|
-
"main.js"
|
|
14
|
-
],
|
|
15
|
-
"devDependencies": {
|
|
16
|
-
"@i2analyze/i2connect-scripts": "2.
|
|
17
|
-
"@types/node-fetch": "^2.5.12",
|
|
18
|
-
"node-fetch": "^2.6.1"
|
|
19
|
-
},
|
|
20
|
-
"dependencies": {
|
|
21
|
-
"chalk": "^4.1.0",
|
|
22
|
-
"commander": "^8.0.0",
|
|
23
|
-
"cross-spawn": "^7.0.3",
|
|
24
|
-
"file-uri-to-path": "^2.0.0",
|
|
25
|
-
"file-url": "^3.0.0"
|
|
26
|
-
},
|
|
27
|
-
"engines": {
|
|
28
|
-
"node": ">=14"
|
|
29
|
-
},
|
|
30
|
-
"volta": {
|
|
31
|
-
"extends": "../../package.json"
|
|
32
|
-
},
|
|
33
|
-
"scripts": {
|
|
34
|
-
"lint": "eslint .",
|
|
35
|
-
"test": "node ./test.js"
|
|
36
|
-
}
|
|
37
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@i2analyze/create-connector",
|
|
3
|
+
"version": "2.0.1-dev.0",
|
|
4
|
+
"license": "MIT",
|
|
5
|
+
"publishConfig": {
|
|
6
|
+
"access": "public",
|
|
7
|
+
"registry": "https://registry.npmjs.org/"
|
|
8
|
+
},
|
|
9
|
+
"homepage": "https://github.com/i2group/analyze-connect-node-sdk",
|
|
10
|
+
"bin": "index.js",
|
|
11
|
+
"files": [
|
|
12
|
+
"index.js",
|
|
13
|
+
"main.js"
|
|
14
|
+
],
|
|
15
|
+
"devDependencies": {
|
|
16
|
+
"@i2analyze/i2connect-scripts": "2.1.0-dev.0",
|
|
17
|
+
"@types/node-fetch": "^2.5.12",
|
|
18
|
+
"node-fetch": "^2.6.1"
|
|
19
|
+
},
|
|
20
|
+
"dependencies": {
|
|
21
|
+
"chalk": "^4.1.0",
|
|
22
|
+
"commander": "^8.0.0",
|
|
23
|
+
"cross-spawn": "^7.0.3",
|
|
24
|
+
"file-uri-to-path": "^2.0.0",
|
|
25
|
+
"file-url": "^3.0.0"
|
|
26
|
+
},
|
|
27
|
+
"engines": {
|
|
28
|
+
"node": ">=14.17.0"
|
|
29
|
+
},
|
|
30
|
+
"volta": {
|
|
31
|
+
"extends": "../../package.json"
|
|
32
|
+
},
|
|
33
|
+
"scripts": {
|
|
34
|
+
"lint": "eslint .",
|
|
35
|
+
"test": "node ./test.js"
|
|
36
|
+
}
|
|
37
|
+
}
|