@nosana/node 1.1.7-rc → 1.1.8-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,13 +1,14 @@
1
1
  {
2
2
  "name": "@nosana/node",
3
- "version": "1.1.7-rc",
3
+ "version": "1.1.8-rc",
4
4
  "description": "",
5
5
  "bin": {
6
6
  "nosana-node": "./dist/src/index.js"
7
7
  },
8
8
  "type": "module",
9
9
  "scripts": {
10
- "dev": "APP_ENV=development node --no-warnings --loader ts-node/esm src/index.ts",
10
+ "dev:start": "./docker-run.sh start --docker /var/run/docker.sock",
11
+ "dev:run": "./docker-run.sh run --docker /var/run/docker.sock",
11
12
  "build": "npm run prepare && tsc && cp .env ./dist/ && cp .env.prd ./dist/ && cp .env.dev ./dist/",
12
13
  "generate": "openapi-typescript http://dashboard.k8s.prd.nos.ci/api/swagger/json -o ./src/NodeManager/client/schema.d.ts",
13
14
  "test": "APP_ENV=development DOCKER_CERT_PATH= vitest run",
@@ -57,6 +58,7 @@
57
58
  "eslint-plugin-prettier": "^4.2.1",
58
59
  "eslint-plugin-promise": "^6.0.0",
59
60
  "husky": "^9.1.7",
61
+ "nodemon": "^3.1.14",
60
62
  "prettier": "^2.8.8",
61
63
  "ts-node": "^10.9.2",
62
64
  "typescript": "^5.3.2",
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@nosana/node",
3
- "version": "1.1.7-rc",
3
+ "version": "1.1.8-rc",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@nosana/node",
9
- "version": "1.1.7-rc",
9
+ "version": "1.1.8-rc",
10
10
  "license": "ISC",
11
11
  "dependencies": {
12
12
  "@coral-xyz/anchor": "^0.28.1-beta.1",
@@ -70,6 +70,7 @@
70
70
  "eslint-plugin-prettier": "^4.2.1",
71
71
  "eslint-plugin-promise": "^6.0.0",
72
72
  "husky": "^9.1.7",
73
+ "nodemon": "^3.1.14",
73
74
  "prettier": "^2.8.8",
74
75
  "ts-node": "^10.9.2",
75
76
  "typescript": "^5.3.2",
@@ -3322,6 +3323,20 @@
3322
3323
  "url": "https://github.com/chalk/ansi-styles?sponsor=1"
3323
3324
  }
3324
3325
  },
3326
+ "node_modules/anymatch": {
3327
+ "version": "3.1.3",
3328
+ "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.3.tgz",
3329
+ "integrity": "sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==",
3330
+ "dev": true,
3331
+ "license": "ISC",
3332
+ "dependencies": {
3333
+ "normalize-path": "^3.0.0",
3334
+ "picomatch": "^2.0.4"
3335
+ },
3336
+ "engines": {
3337
+ "node": ">= 8"
3338
+ }
3339
+ },
3325
3340
  "node_modules/arg": {
3326
3341
  "version": "4.1.3",
3327
3342
  "resolved": "https://registry.npmjs.org/arg/-/arg-4.1.3.tgz",
@@ -3584,6 +3599,19 @@
3584
3599
  "node": "*"
3585
3600
  }
3586
3601
  },
3602
+ "node_modules/binary-extensions": {
3603
+ "version": "2.3.0",
3604
+ "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.3.0.tgz",
3605
+ "integrity": "sha512-Ceh+7ox5qe7LJuLHoY0feh3pHuUDHAcRUeyL2VYghZwfpkNIy/+8Ocg0a3UuSoYzavmylwuLWQOf3hl0jjMMIw==",
3606
+ "dev": true,
3607
+ "license": "MIT",
3608
+ "engines": {
3609
+ "node": ">=8"
3610
+ },
3611
+ "funding": {
3612
+ "url": "https://github.com/sponsors/sindresorhus"
3613
+ }
3614
+ },
3587
3615
  "node_modules/bindings": {
3588
3616
  "version": "1.5.0",
3589
3617
  "resolved": "https://registry.npmjs.org/bindings/-/bindings-1.5.0.tgz",
@@ -3863,6 +3891,44 @@
3863
3891
  "integrity": "sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA==",
3864
3892
  "license": "MIT"
3865
3893
  },
3894
+ "node_modules/chokidar": {
3895
+ "version": "3.6.0",
3896
+ "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.6.0.tgz",
3897
+ "integrity": "sha512-7VT13fmjotKpGipCW9JEQAusEPE+Ei8nl6/g4FBAmIm0GOOLMua9NDDo/DWp0ZAxCr3cPq5ZpBqmPAQgDda2Pw==",
3898
+ "dev": true,
3899
+ "license": "MIT",
3900
+ "dependencies": {
3901
+ "anymatch": "~3.1.2",
3902
+ "braces": "~3.0.2",
3903
+ "glob-parent": "~5.1.2",
3904
+ "is-binary-path": "~2.1.0",
3905
+ "is-glob": "~4.0.1",
3906
+ "normalize-path": "~3.0.0",
3907
+ "readdirp": "~3.6.0"
3908
+ },
3909
+ "engines": {
3910
+ "node": ">= 8.10.0"
3911
+ },
3912
+ "funding": {
3913
+ "url": "https://paulmillr.com/funding/"
3914
+ },
3915
+ "optionalDependencies": {
3916
+ "fsevents": "~2.3.2"
3917
+ }
3918
+ },
3919
+ "node_modules/chokidar/node_modules/glob-parent": {
3920
+ "version": "5.1.2",
3921
+ "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz",
3922
+ "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==",
3923
+ "dev": true,
3924
+ "license": "ISC",
3925
+ "dependencies": {
3926
+ "is-glob": "^4.0.1"
3927
+ },
3928
+ "engines": {
3929
+ "node": ">= 6"
3930
+ }
3931
+ },
3866
3932
  "node_modules/chownr": {
3867
3933
  "version": "2.0.0",
3868
3934
  "resolved": "https://registry.npmjs.org/chownr/-/chownr-2.0.0.tgz",
@@ -6041,6 +6107,13 @@
6041
6107
  "node": ">= 4"
6042
6108
  }
6043
6109
  },
6110
+ "node_modules/ignore-by-default": {
6111
+ "version": "1.0.1",
6112
+ "resolved": "https://registry.npmjs.org/ignore-by-default/-/ignore-by-default-1.0.1.tgz",
6113
+ "integrity": "sha512-Ius2VYcGNk7T90CppJqcIkS5ooHUZyIQK+ClZfMfMNFEF9VSE73Fq+906u/CWu92x4gzZMWOwfFYckPObzdEbA==",
6114
+ "dev": true,
6115
+ "license": "ISC"
6116
+ },
6044
6117
  "node_modules/ignore-file": {
6045
6118
  "version": "1.1.3",
6046
6119
  "resolved": "https://registry.npmjs.org/ignore-file/-/ignore-file-1.1.3.tgz",
@@ -6379,6 +6452,19 @@
6379
6452
  "url": "https://github.com/sponsors/ljharb"
6380
6453
  }
6381
6454
  },
6455
+ "node_modules/is-binary-path": {
6456
+ "version": "2.1.0",
6457
+ "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz",
6458
+ "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==",
6459
+ "dev": true,
6460
+ "license": "MIT",
6461
+ "dependencies": {
6462
+ "binary-extensions": "^2.0.0"
6463
+ },
6464
+ "engines": {
6465
+ "node": ">=8"
6466
+ }
6467
+ },
6382
6468
  "node_modules/is-boolean-object": {
6383
6469
  "version": "1.1.2",
6384
6470
  "resolved": "https://registry.npmjs.org/is-boolean-object/-/is-boolean-object-1.1.2.tgz",
@@ -7283,6 +7369,107 @@
7283
7369
  "node-gyp-build-test": "build-test.js"
7284
7370
  }
7285
7371
  },
7372
+ "node_modules/nodemon": {
7373
+ "version": "3.1.14",
7374
+ "resolved": "https://registry.npmjs.org/nodemon/-/nodemon-3.1.14.tgz",
7375
+ "integrity": "sha512-jakjZi93UtB3jHMWsXL68FXSAosbLfY0In5gtKq3niLSkrWznrVBzXFNOEMJUfc9+Ke7SHWoAZsiMkNP3vq6Jw==",
7376
+ "dev": true,
7377
+ "license": "MIT",
7378
+ "dependencies": {
7379
+ "chokidar": "^3.5.2",
7380
+ "debug": "^4",
7381
+ "ignore-by-default": "^1.0.1",
7382
+ "minimatch": "^10.2.1",
7383
+ "pstree.remy": "^1.1.8",
7384
+ "semver": "^7.5.3",
7385
+ "simple-update-notifier": "^2.0.0",
7386
+ "supports-color": "^5.5.0",
7387
+ "touch": "^3.1.0",
7388
+ "undefsafe": "^2.0.5"
7389
+ },
7390
+ "bin": {
7391
+ "nodemon": "bin/nodemon.js"
7392
+ },
7393
+ "engines": {
7394
+ "node": ">=10"
7395
+ },
7396
+ "funding": {
7397
+ "type": "opencollective",
7398
+ "url": "https://opencollective.com/nodemon"
7399
+ }
7400
+ },
7401
+ "node_modules/nodemon/node_modules/balanced-match": {
7402
+ "version": "4.0.4",
7403
+ "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-4.0.4.tgz",
7404
+ "integrity": "sha512-BLrgEcRTwX2o6gGxGOCNyMvGSp35YofuYzw9h1IMTRmKqttAZZVU67bdb9Pr2vUHA8+j3i2tJfjO6C6+4myGTA==",
7405
+ "dev": true,
7406
+ "license": "MIT",
7407
+ "engines": {
7408
+ "node": "18 || 20 || >=22"
7409
+ }
7410
+ },
7411
+ "node_modules/nodemon/node_modules/brace-expansion": {
7412
+ "version": "5.0.4",
7413
+ "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-5.0.4.tgz",
7414
+ "integrity": "sha512-h+DEnpVvxmfVefa4jFbCf5HdH5YMDXRsmKflpf1pILZWRFlTbJpxeU55nJl4Smt5HQaGzg1o6RHFPJaOqnmBDg==",
7415
+ "dev": true,
7416
+ "license": "MIT",
7417
+ "dependencies": {
7418
+ "balanced-match": "^4.0.2"
7419
+ },
7420
+ "engines": {
7421
+ "node": "18 || 20 || >=22"
7422
+ }
7423
+ },
7424
+ "node_modules/nodemon/node_modules/has-flag": {
7425
+ "version": "3.0.0",
7426
+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",
7427
+ "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==",
7428
+ "dev": true,
7429
+ "license": "MIT",
7430
+ "engines": {
7431
+ "node": ">=4"
7432
+ }
7433
+ },
7434
+ "node_modules/nodemon/node_modules/minimatch": {
7435
+ "version": "10.2.4",
7436
+ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.2.4.tgz",
7437
+ "integrity": "sha512-oRjTw/97aTBN0RHbYCdtF1MQfvusSIBQM0IZEgzl6426+8jSC0nF1a/GmnVLpfB9yyr6g6FTqWqiZVbxrtaCIg==",
7438
+ "dev": true,
7439
+ "license": "BlueOak-1.0.0",
7440
+ "dependencies": {
7441
+ "brace-expansion": "^5.0.2"
7442
+ },
7443
+ "engines": {
7444
+ "node": "18 || 20 || >=22"
7445
+ },
7446
+ "funding": {
7447
+ "url": "https://github.com/sponsors/isaacs"
7448
+ }
7449
+ },
7450
+ "node_modules/nodemon/node_modules/supports-color": {
7451
+ "version": "5.5.0",
7452
+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",
7453
+ "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",
7454
+ "dev": true,
7455
+ "license": "MIT",
7456
+ "dependencies": {
7457
+ "has-flag": "^3.0.0"
7458
+ },
7459
+ "engines": {
7460
+ "node": ">=4"
7461
+ }
7462
+ },
7463
+ "node_modules/normalize-path": {
7464
+ "version": "3.0.0",
7465
+ "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz",
7466
+ "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==",
7467
+ "dev": true,
7468
+ "license": "MIT",
7469
+ "engines": {
7470
+ "node": ">=0.10.0"
7471
+ }
7472
+ },
7286
7473
  "node_modules/object-assign": {
7287
7474
  "version": "4.1.1",
7288
7475
  "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz",
@@ -7885,6 +8072,13 @@
7885
8072
  "integrity": "sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==",
7886
8073
  "license": "MIT"
7887
8074
  },
8075
+ "node_modules/pstree.remy": {
8076
+ "version": "1.1.8",
8077
+ "resolved": "https://registry.npmjs.org/pstree.remy/-/pstree.remy-1.1.8.tgz",
8078
+ "integrity": "sha512-77DZwxQmxKnu3aR542U+X8FypNzbfJ+C5XQDk3uWjWxn6151aIMGthWYRXTqT1E5oJvg+ljaa2OJi+VfvCOQ8w==",
8079
+ "dev": true,
8080
+ "license": "MIT"
8081
+ },
7888
8082
  "node_modules/pump": {
7889
8083
  "version": "3.0.0",
7890
8084
  "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz",
@@ -7988,6 +8182,19 @@
7988
8182
  "node": ">= 6"
7989
8183
  }
7990
8184
  },
8185
+ "node_modules/readdirp": {
8186
+ "version": "3.6.0",
8187
+ "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz",
8188
+ "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==",
8189
+ "dev": true,
8190
+ "license": "MIT",
8191
+ "dependencies": {
8192
+ "picomatch": "^2.2.1"
8193
+ },
8194
+ "engines": {
8195
+ "node": ">=8.10.0"
8196
+ }
8197
+ },
7991
8198
  "node_modules/regenerator-runtime": {
7992
8199
  "version": "0.14.1",
7993
8200
  "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.14.1.tgz",
@@ -8418,6 +8625,19 @@
8418
8625
  "integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==",
8419
8626
  "license": "ISC"
8420
8627
  },
8628
+ "node_modules/simple-update-notifier": {
8629
+ "version": "2.0.0",
8630
+ "resolved": "https://registry.npmjs.org/simple-update-notifier/-/simple-update-notifier-2.0.0.tgz",
8631
+ "integrity": "sha512-a2B9Y0KlNXl9u/vsW6sTIu9vGEpfKu2wRV6l1H3XEas/0gUIzGzBoP/IouTcUQbm9JWZLH3COxyn03TYlFax6w==",
8632
+ "dev": true,
8633
+ "license": "MIT",
8634
+ "dependencies": {
8635
+ "semver": "^7.5.3"
8636
+ },
8637
+ "engines": {
8638
+ "node": ">=10"
8639
+ }
8640
+ },
8421
8641
  "node_modules/simple-wcswidth": {
8422
8642
  "version": "1.1.2",
8423
8643
  "resolved": "https://registry.npmjs.org/simple-wcswidth/-/simple-wcswidth-1.1.2.tgz",
@@ -8914,6 +9134,16 @@
8914
9134
  "integrity": "sha512-y/mWCZinnvxjTKYhJ+pYxwD0mRLVvOtdS2Awbgxln6iEnt4rk0yBxeSBHkGJcPucRiG0e55mwWp+g/05rsrd6w==",
8915
9135
  "license": "MIT"
8916
9136
  },
9137
+ "node_modules/touch": {
9138
+ "version": "3.1.1",
9139
+ "resolved": "https://registry.npmjs.org/touch/-/touch-3.1.1.tgz",
9140
+ "integrity": "sha512-r0eojU4bI8MnHr8c5bNo7lJDdI2qXlWWJk6a9EAFG7vbhTjElYhBVS3/miuE0uOuoLdb8Mc/rVfsmm6eo5o9GA==",
9141
+ "dev": true,
9142
+ "license": "ISC",
9143
+ "bin": {
9144
+ "nodetouch": "bin/nodetouch.js"
9145
+ }
9146
+ },
8917
9147
  "node_modules/tr46": {
8918
9148
  "version": "0.0.3",
8919
9149
  "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz",
@@ -9370,6 +9600,13 @@
9370
9600
  "url": "https://github.com/sponsors/ljharb"
9371
9601
  }
9372
9602
  },
9603
+ "node_modules/undefsafe": {
9604
+ "version": "2.0.5",
9605
+ "resolved": "https://registry.npmjs.org/undefsafe/-/undefsafe-2.0.5.tgz",
9606
+ "integrity": "sha512-WxONCrssBM8TSPRqN5EmsjVrsv4A8X12J4ArBiiayv3DyyG3ZlIg6yysuuSYdZsVz3TKcTg2fd//Ujd4CHV1iA==",
9607
+ "dev": true,
9608
+ "license": "MIT"
9609
+ },
9373
9610
  "node_modules/undici": {
9374
9611
  "version": "6.14.1",
9375
9612
  "resolved": "https://registry.npmjs.org/undici/-/undici-6.14.1.tgz",
package/package.json CHANGED
@@ -1,13 +1,14 @@
1
1
  {
2
2
  "name": "@nosana/node",
3
- "version": "1.1.7-rc",
3
+ "version": "1.1.8-rc",
4
4
  "description": "",
5
5
  "bin": {
6
6
  "nosana-node": "./dist/src/index.js"
7
7
  },
8
8
  "type": "module",
9
9
  "scripts": {
10
- "dev": "APP_ENV=development node --no-warnings --loader ts-node/esm src/index.ts",
10
+ "dev:start": "./docker-run.sh start --docker /var/run/docker.sock",
11
+ "dev:run": "./docker-run.sh run --docker /var/run/docker.sock",
11
12
  "build": "npm run prepare && tsc && cp .env ./dist/ && cp .env.prd ./dist/ && cp .env.dev ./dist/",
12
13
  "generate": "openapi-typescript http://dashboard.k8s.prd.nos.ci/api/swagger/json -o ./src/NodeManager/client/schema.d.ts",
13
14
  "test": "APP_ENV=development DOCKER_CERT_PATH= vitest run",
@@ -57,6 +58,7 @@
57
58
  "eslint-plugin-prettier": "^4.2.1",
58
59
  "eslint-plugin-promise": "^6.0.0",
59
60
  "husky": "^9.1.7",
61
+ "nodemon": "^3.1.14",
60
62
  "prettier": "^2.8.8",
61
63
  "ts-node": "^10.9.2",
62
64
  "typescript": "^5.3.2",
@@ -100,4 +102,4 @@
100
102
  "util": "^0.12.5",
101
103
  "yaml": "^2.8.0"
102
104
  }
103
- }
105
+ }