@nosana/node 1.1.11 → 1.1.13-rc
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/dist/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nosana/node",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.13-rc",
|
|
4
4
|
"description": "",
|
|
5
5
|
"bin": {
|
|
6
6
|
"nosana-node": "./dist/src/index.js"
|
|
@@ -9,6 +9,8 @@
|
|
|
9
9
|
"scripts": {
|
|
10
10
|
"dev:start": "./docker-run.sh start --docker /var/run/docker.sock",
|
|
11
11
|
"dev:run": "./docker-run.sh run --docker /var/run/docker.sock",
|
|
12
|
+
"dev:podman:start": "./podman-run.sh start",
|
|
13
|
+
"dev:podman:run": "./podman-run.sh run",
|
|
12
14
|
"build": "npm run prepare && tsc && cp .env ./dist/ && cp .env.prd ./dist/ && cp .env.dev ./dist/",
|
|
13
15
|
"generate": "openapi-typescript http://dashboard.k8s.prd.nos.ci/api/swagger/json -o ./src/NodeManager/client/schema.d.ts",
|
|
14
16
|
"test": "APP_ENV=development DOCKER_CERT_PATH= vitest run",
|
|
@@ -72,7 +74,6 @@
|
|
|
72
74
|
"@nosana/sdk": "^0.4.81",
|
|
73
75
|
"@solana/web3.js": "^1.78.0",
|
|
74
76
|
"bn.js": "^5.2.1",
|
|
75
|
-
"cacheable-lookup": "^7.0.0",
|
|
76
77
|
"chalk": "^5.3.0",
|
|
77
78
|
"cli-progress": "^3.12.0",
|
|
78
79
|
"commander": "^11.0.0",
|
package/dist/src/index.js
CHANGED
|
@@ -1,19 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env -S node --no-warnings
|
|
2
2
|
/// <reference path="./global.d.ts" />
|
|
3
|
-
import http from 'http';
|
|
4
|
-
import https from 'https';
|
|
5
|
-
import { setDefaultResultOrder } from 'dns';
|
|
6
|
-
import CacheableLookup from 'cacheable-lookup';
|
|
7
3
|
import { pkg } from './static/index.js';
|
|
8
4
|
import { startCLI } from './cli/index.js';
|
|
9
5
|
const VERSION = pkg.version;
|
|
10
|
-
setDefaultResultOrder('ipv4first');
|
|
11
|
-
const cacheable = new CacheableLookup();
|
|
12
|
-
const httpAgent = new http.Agent({ family: 4 });
|
|
13
|
-
const httpsAgent = new https.Agent({ family: 4 });
|
|
14
|
-
cacheable.install(httpAgent);
|
|
15
|
-
cacheable.install(httpsAgent);
|
|
16
|
-
http.globalAgent = httpAgent;
|
|
17
|
-
https.globalAgent = httpsAgent;
|
|
18
6
|
startCLI(VERSION);
|
|
19
7
|
export * from './cli/createNosanaCli.js';
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nosana/node",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.13-rc",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "@nosana/node",
|
|
9
|
-
"version": "1.1.
|
|
9
|
+
"version": "1.1.13-rc",
|
|
10
10
|
"license": "ISC",
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"@coral-xyz/anchor": "^0.28.1-beta.1",
|
|
@@ -14,7 +14,6 @@
|
|
|
14
14
|
"@nosana/sdk": "^0.4.81",
|
|
15
15
|
"@solana/web3.js": "^1.78.0",
|
|
16
16
|
"bn.js": "^5.2.1",
|
|
17
|
-
"cacheable-lookup": "^7.0.0",
|
|
18
17
|
"chalk": "^5.3.0",
|
|
19
18
|
"cli-progress": "^3.12.0",
|
|
20
19
|
"commander": "^11.0.0",
|
|
@@ -3820,15 +3819,6 @@
|
|
|
3820
3819
|
"node": ">= 0.8"
|
|
3821
3820
|
}
|
|
3822
3821
|
},
|
|
3823
|
-
"node_modules/cacheable-lookup": {
|
|
3824
|
-
"version": "7.0.0",
|
|
3825
|
-
"resolved": "https://registry.npmjs.org/cacheable-lookup/-/cacheable-lookup-7.0.0.tgz",
|
|
3826
|
-
"integrity": "sha512-+qJyx4xiKra8mZrcwhjMRMUhD5NR1R8esPkzIYxX96JiecFoxAXFuz/GpR3+ev4PE1WamHip78wV0vcmPQtp8w==",
|
|
3827
|
-
"license": "MIT",
|
|
3828
|
-
"engines": {
|
|
3829
|
-
"node": ">=14.16"
|
|
3830
|
-
}
|
|
3831
|
-
},
|
|
3832
3822
|
"node_modules/call-bind": {
|
|
3833
3823
|
"version": "1.0.2",
|
|
3834
3824
|
"resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.2.tgz",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nosana/node",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.13-rc",
|
|
4
4
|
"description": "",
|
|
5
5
|
"bin": {
|
|
6
6
|
"nosana-node": "./dist/src/index.js"
|
|
@@ -9,6 +9,8 @@
|
|
|
9
9
|
"scripts": {
|
|
10
10
|
"dev:start": "./docker-run.sh start --docker /var/run/docker.sock",
|
|
11
11
|
"dev:run": "./docker-run.sh run --docker /var/run/docker.sock",
|
|
12
|
+
"dev:podman:start": "./podman-run.sh start",
|
|
13
|
+
"dev:podman:run": "./podman-run.sh run",
|
|
12
14
|
"build": "npm run prepare && tsc && cp .env ./dist/ && cp .env.prd ./dist/ && cp .env.dev ./dist/",
|
|
13
15
|
"generate": "openapi-typescript http://dashboard.k8s.prd.nos.ci/api/swagger/json -o ./src/NodeManager/client/schema.d.ts",
|
|
14
16
|
"test": "APP_ENV=development DOCKER_CERT_PATH= vitest run",
|
|
@@ -72,7 +74,6 @@
|
|
|
72
74
|
"@nosana/sdk": "^0.4.81",
|
|
73
75
|
"@solana/web3.js": "^1.78.0",
|
|
74
76
|
"bn.js": "^5.2.1",
|
|
75
|
-
"cacheable-lookup": "^7.0.0",
|
|
76
77
|
"chalk": "^5.3.0",
|
|
77
78
|
"cli-progress": "^3.12.0",
|
|
78
79
|
"commander": "^11.0.0",
|
|
@@ -102,4 +103,4 @@
|
|
|
102
103
|
"util": "^0.12.5",
|
|
103
104
|
"yaml": "^2.8.0"
|
|
104
105
|
}
|
|
105
|
-
}
|
|
106
|
+
}
|