neozip-cli 0.75.0-beta → 0.75.1-beta
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/src/config/ConfigSetup.js +455 -0
- package/dist/src/config/ConfigStore.js +373 -0
- package/dist/src/exit-codes.js +210 -0
- package/dist/src/index.js +141 -0
- package/dist/src/neolist.js +1194 -0
- package/dist/src/neounzip.js +2157 -0
- package/dist/src/neozip/CommentManager.js +240 -0
- package/dist/src/neozip/blockchain.js +387 -0
- package/dist/src/neozip/createZip.js +2288 -0
- package/dist/src/neozip/file-operations.js +924 -0
- package/dist/src/neozip/types.js +6 -0
- package/dist/src/neozip/user-interaction.js +266 -0
- package/dist/src/neozip/utils.js +96 -0
- package/dist/src/neozip.js +785 -0
- package/dist/src/version.js +59 -0
- package/package.json +2 -2
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Centralized version information for NeoZip CLI
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.APP_RELEASE_DATE = exports.APP_VERSION = void 0;
|
|
40
|
+
const path = __importStar(require("path"));
|
|
41
|
+
const fs = __importStar(require("fs"));
|
|
42
|
+
// Resolve package.json path - works in both development and installed locations
|
|
43
|
+
function getPackageJson() {
|
|
44
|
+
// Try relative path first (development)
|
|
45
|
+
let packageJsonPath = path.join(__dirname, '../package.json');
|
|
46
|
+
if (!fs.existsSync(packageJsonPath)) {
|
|
47
|
+
// If not found, try going up two levels (installed: dist/src -> dist -> root)
|
|
48
|
+
packageJsonPath = path.join(__dirname, '../../package.json');
|
|
49
|
+
}
|
|
50
|
+
if (!fs.existsSync(packageJsonPath)) {
|
|
51
|
+
// Last resort: try from process.cwd() or __dirname
|
|
52
|
+
packageJsonPath = path.join(__dirname, '../../../package.json');
|
|
53
|
+
}
|
|
54
|
+
return JSON.parse(fs.readFileSync(packageJsonPath, 'utf8'));
|
|
55
|
+
}
|
|
56
|
+
const packageJson = getPackageJson();
|
|
57
|
+
exports.APP_VERSION = packageJson.version;
|
|
58
|
+
exports.APP_RELEASE_DATE = packageJson.release_date || new Date().toISOString().split('T')[0];
|
|
59
|
+
//# sourceMappingURL=version.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "neozip-cli",
|
|
3
|
-
"version": "0.75.
|
|
3
|
+
"version": "0.75.1-beta",
|
|
4
4
|
"description": "A full-featured command-line ZIP application with NeoZipKit integration",
|
|
5
5
|
"main": "dist/src/index.js",
|
|
6
6
|
"bin": {
|
|
@@ -148,7 +148,7 @@
|
|
|
148
148
|
"typescript": "^5.0.0",
|
|
149
149
|
"uuid": "^9.0.0",
|
|
150
150
|
"web3": "^4.0.0",
|
|
151
|
-
"neozipkit": "^0.3.
|
|
151
|
+
"neozipkit": "^0.3.1"
|
|
152
152
|
},
|
|
153
153
|
"devDependencies": {
|
|
154
154
|
"@types/chalk": "^2.2.4",
|